ICT102 Introduction To Programming Assignment

Assignment Help JAVA Programming
Reference no: EM132522695

ICT102 Introduction To Programming - King's Own Institute

Assessment

Develop Java applications based on the given scenarios: individual assignment.

Purpose: This assessment will allow students to demonstrate their understanding of Java programming language covering all the concepts covered throughout the trimester and implementation of those concepts to develop a small java application based on the given specifications. This assessment contributes to learning outcomes c and d.

Assessment topic: Java applications

Problem 1: An online video streaming service has three different subscription packages for its customers: Package Lite: For $5 per month 5 hours of access are provided. Additional hours are $3.00 per hour.
Package Regular: For $15 per month 30 hours of access are provided. Additional hours are $2.00 per hour. Package Unlimited: For $30 per month unlimited access is provided. Write a program that calculates a customer's monthly bill. It should ask the user to enter the name of the package the customer has purchased (Lite, Regular, or Unlimited) and the number of hours that were used. It should then display the total charges.

In addition, calculate and display the amount of money Lite package customers would save if they purchased the regular or unlimited package, and the amount of money Regular customers would save if they purchased the unlimited package. If there would be no savings, no message should be printed.

Problem 2: Write a program that plays a simple dice game between the computer and the user. It uses an unusual dice that has 12 sides, with numbers that start from 10. When the program runs, a loop should repeat 5 times.

Each iteration of the loop should do the following:

o Generate a random integer in the range of 10 through 21. This is the value of the computer's die.
o Generate another random integer in the range of 10 through 21. This is the value of the user's die.
o The die with the highest value wins. (In case of a tie, you can randomly decide who wins.)

As the loop iterates, the program should keep count of the number of times the computer wins, and the number of times that the user wins. After the loop performs all of its iterations, the program should display who was the grand winner, the computer or the user.

Problem 3: A programming Problem will be given to each student in their tutorial class. The student is required to complete the answer to the Problem by writing Java code under supervision from their teacher. The student will be asked to demonstrated their code is working and answer questions about their code from their teacher in their tutorial.

Attachment:- Introduction To Programming.rar

Reference no: EM132522695

Questions Cloud

Calculate the net present value of the new equipment : The new equipment would require a repair of $25,000 in year four and another repair costing $80,000 in year eight. Calculate the net present value
Describe how switching to more dynamic database : Describe how switching to a more dynamic database will give Falcon Security a competitive advantage.
What is the probability that the shipment will be? rejected : A shipment of 50 inexpensive digital? watches, including 10 that are? defective, is sent to a department store. The receiving department selects
Compute the break-even point in units for each process : The second process would have a variable cost of $6 per case and total fixed cost of $200,000. Compute the break-even point in units for each process
ICT102 Introduction To Programming Assignment : ICT102 Introduction To Programming Assignment Help and Solution, King’s Own Institute - Assessment Writing Service - Develop Java applications
Contains an unknown number of white marbles : Let X be the number of drawings until the rst white marble is drawn with replacement. If you know that E[X] = 10, what is P(X = 4)?
Prepare antique balance sheet at december : What would happen to Antique financial ratios if company did not impair its accounts receivable at the year end. Recalculate the ratios.
Discrete probability distribution always be mutually : Must the values of x in a discrete probability distribution always be mutually exclusive? Why or why not? Provide an example.
What is the amount and character of Michelles gains : During the current year Michelle sold for $40,000 an unimproved tract of land, What is the amount and character of Michelle's gains

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a program that ask the user to enter a usemame

Write a program usennuftevalidator.java that ask the user to enter a usemame and checks whether the usemame meets the following criteria

  What is printed out by the following code

What is printed out by the following code

  Explain what it means to swallow an exception

Explain what it means to swallow an exception, and why that's almost never an acceptable practice.

  Write code fragment to declare and create twoaccountobjects

Write a code fragment to declare and create twoAccountobjects named acc1 andacct2. Initialize the balance to $300 and $500, respectively. Set the name of owner for both accounts toJohn Doe.

  Your task in this assignment is to develop a graphical user

your task in this assignment is to develop a graphical user interface based java program that can communicate with a

  List all cars that are made by toyota gm etc

How many cars are currently available. How many are not. List all cars that are made by Toyota, GM, etc. List all cars that were manufactured in a given year.

  Define a class called incometax

define a class called IncomeTax. The class accepts a value represeting the individuals income - define the percentage as class constants

  What is the purpose of using javascript on a website what

what is the purpose of using javascript on a website? what is a specific example of a javascript application that will

  Tutorial on taking a screen shot

If you need a tutorial on taking a screen shot, visit one of the following locations: (PC users: http://www.take-a-screenshot.org/) (MAC users: http://binged.it/1xriOcN).

  Utilization of checked exceptions

There are instances where the utilization of checked exceptions are more appropriate than unchecked exceptions in exception handling. Provide an example of each exception not mentioned in the article. Explain why each type of exception is more app..

  Write a java program and pseudocode to read a number

Write a java program and pseudocode to read a number up to 15 digits long or a date (dd/mm/yyyy). The program should distinguish numbers from input date, and prints them in alphabetic spelling form

  Design programs that leverage switch and case logic

Kennesaw State University - CSE 1321L Programming and Problem Solving Lab Assignment - Selection Structures. Design programs that leverage switch and case logic

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd