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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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