0% found this document useful (0 votes)
0 views1 page

Mid Sem Java Programming For Level 200

The document outlines the Mid Semester Examination for a Java Programming course, requiring students to answer four programming questions. These questions involve creating Java programs for temperature conversion, calculating the volume of a cylinder, generating a payroll statement, and computing future investment value. Students must submit their work by a specified deadline in a zipped folder labeled with their student ID.

Uploaded by

chuksottih
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
0 views1 page

Mid Sem Java Programming For Level 200

The document outlines the Mid Semester Examination for a Java Programming course, requiring students to answer four programming questions. These questions involve creating Java programs for temperature conversion, calculating the volume of a cylinder, generating a payroll statement, and computing future investment value. Students must submit their work by a specified deadline in a zipped folder labeled with their student ID.

Uploaded by

chuksottih
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Mid Semester Examination

Java Programming, Level 200


1 ½ hrs.
Answer all

Question 1:
Write a simple java program to convert the temperature in Fahrenheit to Celsius. The formula for
the conversion is as follows Celsius = (5/9) * (Fah-32).

Question 2:
Write a program to compute the volume of a cylinder, given the radius on length of the cylinder.
Using the formulas below;
i. Area = radius * radius * 3.142,
ii. Volume = area * length.

Question 3:
Write a program that reads the following information and prints a payroll statement. Employee’s
Full Name, Number of hours worked in a week, Hourly pay amount and Amount tax rate.

Question 4:
Write a program that reads in investment amount, annual interest rate and number of years, and
display the future investment value using the following formular:
Future investment value = Investment Amount*(1+monthly interest Rate) year*12.

Note:

i. Use java application to solve the above questions


ii. Create a folder with your student ID number only and save all your files in it.
iii. Zip the folder and forward it to: danblow000@gmail.com
iv. Submission Date & Time: Sunday, 24th September 2023, 12:00 pm prompt.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy