AP Computer Science A Unit 5 Section 2 (Constructors)
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Medium
Christian Willaum
Used 109+ times
FREE Resource
Student preview

5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The Employee class will contain a String attribute for an employee’s name and a double attribute for the employee’s salary.
Which of the following is the most appropriate implementation of the class?
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Student max = new Student ("Max", 10, 3.75);
Student max = new Student (3.75, "Max", 10);
Student max = new Student (3.75, 10, "Max");
Student max = new Student (10, "Max", 3.75);
Student max = new Student (10, 3.75, "Max");
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
/* Precondition: m <= n */
/* Precondition: n <= m */
/* Precondition: m >= 0 and n >= 0 */
/* Precondition: m <= 0 and n <= 0 */
/* Precondition: m <= 0 and n >= 0 */
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade