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

Operating system

Operating system

11th - 12th Grade

10 Qs

BÀI TẬP T7 - KHỞI ĐỘNG

BÀI TẬP T7 - KHỞI ĐỘNG

10th - 12th Grade

10 Qs

LOP 10A3

LOP 10A3

10th Grade

10 Qs

CSS (background-position-list)

CSS (background-position-list)

1st Grade - University

10 Qs

Variables and Functions

Variables and Functions

KG - University

10 Qs

PowerPoint 1

PowerPoint 1

12th Grade - University

10 Qs

UH EXCEL TIK

UH EXCEL TIK

10th Grade

10 Qs

AIJ XI TKJ

AIJ XI TKJ

11th 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

Practice Problem

Easy

Created by

Herman Galioulline

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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 */

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?