AP CS - Unit 5 Review

AP CS - Unit 5 Review

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Сетевые компоненты

Сетевые компоненты

7th - 10th Grade

12 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

LỚP 12 - CHỦ ĐỀ B - BÀI 1 + 2 MẠNG MT VÀ GIAO THỨC

10th Grade - University

18 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Desafio Santarenzinho

Desafio Santarenzinho

KG - University

11 Qs

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

AP CS - Unit 5 Review

AP CS - Unit 5 Review

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Katherine Boward

Used 210+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?