Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Material Type: Quiz; Professor: Mount; Class: OBJECT-ORIENTED PROG I; Subject: Computer Science; University: University of Maryland; Term: Unknown 1989;
Typology: Quizzes
1 / 1
CMSC 131 Quiz 1 Worksheet
The first Quiz of the course will be on Monday Sept 13 during your lab session (either at 10 am or 11 am). The following list provides more information about the quiz:
The following exercises cover the material you are expected to be familiar for Quiz #1, Solutions to these exercises will not be provided but you are welcome to discuss your solutions with TAs and instructors during office hours. When asked to write a Java application, you should give the entire class definition, not just the main method.
1. From Lewis & Loftus a. Page 56 (“programming projects section”): 1.1, 1.3. b. Page 120 (“exercises”): 2.6 (a, b, c, d, e, f, g, n, o, p, q) c. Page 123 (“programming projects”): 2.2, 2.3, 2.5, 2.6, 2.7, 2.11. (Assume that input values come from JOptionPane.showInputDialog.) d. Page 198 (“exercises”): 3.4, 3.5, 3.6. 2. Write a Java program that computes the letter grade associated with student based on a numeric grade value. The program will read the numeric grade of the student and will compute a letter grade using the following cutoff values:
Letter Grade Cutoff
Any grade value lower than 60.0 will have F as letter grade.