AP CS - Unit 5 Review

AP CS - Unit 5 Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Topic 4.5 Method Part 2

Topic 4.5 Method Part 2

12th Grade

19 Qs

AP CSP Unit 6

AP CSP Unit 6

10th - 12th Grade

20 Qs

Loops

Loops

9th - 12th Grade

10 Qs

AP CSA Unit 1 Review

AP CSA Unit 1 Review

10th - 12th Grade

20 Qs

IT Essentials Ch 6 Review - Applied Networking

IT Essentials Ch 6 Review - Applied Networking

9th Grade - University

20 Qs

CSAwesome Unit 1 Test

CSAwesome Unit 1 Test

12th Grade

18 Qs

Shapes in Java Processing

Shapes in Java Processing

9th Grade

12 Qs

CSP-Selection and Iteration

CSP-Selection and Iteration

9th - 12th Grade

10 Qs

AP CS - Unit 5 Review

AP CS - Unit 5 Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Katherine Boward

Used 208+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is a mutator ?

An instance method that modifies the object’s internal state.

An instance method that provides information about the state of an object, without modifying it.

Code that interacts with another class or objects of that class.

The parent class in an inheritance relationship.

Hiding the implementation details of an object from the clients of the object, usually using the private keyword.

2.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

2. What is encapsulation ?

An instance method that modifies the object’s internal state.

An instance method that provides information about the state of an object, without modifying it.

Code that interacts with another class or objects of that class

The parent class in an inheritance relationship

Hiding the implementation details of an object from the clients of the object, usually using the private keyword.

3.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is an accessor ?

An instance method that modifies the object’s internal state.

An instance method that provides information about the state of an object, without modifying it.

Code that interacts with another class or objects of that class

The parent class in an inheritance relationship

Hiding the implementation details of an object from the clients of the object, usually using the private keyword.

4.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

What is a client (also called client code) ?

An instance method that modifies the object’s internal state.

An instance method that provides information about the state of an object, without modifying it.

Code that interacts with another class or objects of that class

The parent class in an inheritance relationship

Hiding the implementation details of an object from the clients of the object, usually using the private keyword.

5.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

true

false

x == y

x != y

(x <= y) && (x >= y)

6.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

7 8 8

0 8 8

0 0 8

0 0 0

7.

MULTIPLE CHOICE QUESTION

15 mins • 1 pt

Media Image

I only

II only

III only

I and II

I, II, and III

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?