AP CS - Unit 5 Review

AP CS - Unit 5 Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Bethany Wilson Quizizz

Bethany Wilson Quizizz

9th - 11th Grade

20 Qs

PC4.8-PC4.9 CSC403 T2

PC4.8-PC4.9 CSC403 T2

9th Grade

10 Qs

OSI Model - Data Link Layer

OSI Model - Data Link Layer

9th Grade - Professional Development

10 Qs

Comp Sci Unit 2 #8

Comp Sci Unit 2 #8

11th Grade

10 Qs

AP CSA Java Unit 5 Classes

AP CSA Java Unit 5 Classes

9th - 12th Grade

15 Qs

AP CSA Unit 4 Review

AP CSA Unit 4 Review

11th Grade

13 Qs

String

String

10th - 12th Grade

10 Qs

AP CSP Unit 5 Review: Lists, Loops and Traversals

AP CSP Unit 5 Review: Lists, Loops and Traversals

9th - 12th Grade

19 Qs

AP CS - Unit 5 Review

AP CS - Unit 5 Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Katherine Boward

Used 207+ 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?