Java programming exam questions

Post A Question

Classifications:

exam questions Categories:

java OOP EXAM question Wharehouse, Items
icon 1 answers
icon610 Views
icon0 Likes
java program to calculate the ISBN 13 digits
icon 1 answers
icon168 Views
icon0 Likes
Write a Java program that performs the following: • Represent Pass/Fail distribution for a course grades as a bar graph. The program should prompt the user to enter either P for pass or F for fail, to stop the user enters S
icon 1 answers
icon226 Views
icon0 Likes
Find and Fix the 5 errors in the following code. The program output should be a triangle. For example if the user enters 5, then this will be the output
icon 1 answers
icon102 Views
icon0 Likes
What is the output of the following java programs?
icon 1 answers
icon125 Views
icon0 Likes
Write a java class called Products that reads product information and extracts products information and print it to the user
icon 1 answers
icon236 Views
icon0 Likes
Write pseudocode for an algorithm that describes how to prepare Sunday breakfast in your household
icon 1 answers
icon270 Views
icon0 Likes
Suppose you put your younger brother in charge of backing up your work. Write a set of detailed instructions for carrying out his task. Explain how often he should do it, and what files he needs to copy from which folder to which location. Explain how he should verify that the backup was carried out
icon 1 answers
icon300 Views
icon0 Likes
In How To 1.1, you made assumptions about the price of gas and annual usage to compare cars. Ideally, you would like to know which car is the better deal without making these assumptions. Why can’t a computer program solve that problem?
icon 1 answers
icon243 Views
icon0 Likes
In order to estimate the cost of painting a house, a painter needs to know the surface area of the exterior. Develop an algorithm for computing that value. Your inputs are the width, length, and height of the house, the number of windows and doors, and their dimensions. (Assume the windows and doo
icon 1 answers
icon272 Views
icon0 Likes
Suppose the numbers ($10,000, 6 percent, $500) were user selectable. Are there values for which the algorithm you developed would not terminate? If so, change the algorithm to make sure it always terminates
icon 1 answers
icon298 Views
icon0 Likes
Write an algorithm to settle the following question: A bank account starts out with $10,000. Interest is compounded monthly at 6 percent per year (0.5 percent per month). Every month, $500 is withdrawn to meet college expenses. After how many years is the account depleted?
icon 1 answers
icon286 Views
icon0 Likes
Write three versions of the HelloPrinter.java program that have different compiletime errors. Write a version that has a run-time error
icon 1 answers
icon309 Views
icon0 Likes