AP Computer Science A Unit 5 Section 2 (Constructors)

AP Computer Science A Unit 5 Section 2 (Constructors)

10th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

If_while_quiz

If_while_quiz

9th - 10th Grade

8 Qs

Excel If function WSC 4.2.3

Excel If function WSC 4.2.3

7th Grade - University

10 Qs

HTML

HTML

12th Grade

10 Qs

Microsoft Excel

Microsoft Excel

12th Grade

10 Qs

Quiz: Python Conditional Statements

Quiz: Python Conditional Statements

12th Grade

10 Qs

Pop Quiz

Pop Quiz

11th Grade

10 Qs

Tesztelés

Tesztelés

9th - 12th Grade

10 Qs

Trò chơi ôn tập giữa kỳ I Tin 10_1

Trò chơi ôn tập giữa kỳ I Tin 10_1

10th Grade

10 Qs

AP Computer Science A Unit 5 Section 2 (Constructors)

AP Computer Science A Unit 5 Section 2 (Constructors)

Assessment

Quiz

Computers

10th - 12th Grade

Easy

Created by

Herman Galioulline

Used 16+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Media Image
Media Image
Media Image
Media Image
Media Image

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?

Media Image
Media Image
Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

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

Media Image

/* Precondition: m <= n */

/* Precondition: n <= m */

/* Precondition: m >= 0 and n >= 0 */

/* Precondition: m <= 0 and n <= 0 */

/* Precondition: m <= 0 and n >= 0 */