APCS

APCS

12th Grade

22 Qs

quiz-placeholder

Similar activities

Unit 6 ArrayLists and String Methods

Unit 6 ArrayLists and String Methods

9th - 12th Grade

20 Qs

Kiểu xâu

Kiểu xâu

1st - 12th Grade

20 Qs

ÔN TẬP KIỂU XÂU

ÔN TẬP KIỂU XÂU

1st - 12th Grade

21 Qs

JAVA string

JAVA string

12th Grade

20 Qs

Primitive Data Type

Primitive Data Type

12th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Topic 4.5 Method Part 2

Topic 4.5 Method Part 2

12th Grade

19 Qs

Computer Science

Computer Science

9th - 12th Grade

18 Qs

APCS

APCS

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Margaret Ehrich

Used 1+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An enhanced for loop can be used to replace each element of an int array with the value 0

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a code segment contains an attempt to perform integer division by zero, a run-time error will occur.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If an object reference is declared in a client class and initialized to null, a NullPointerException will be thrown.

True

False

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

The scope of a local variable is the method in which the variable is declared.

True

False

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

private instance variables cna be used in all method of the class in which they are declared.

True

False

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A superclass inherits all the public methods of its subclasses

True

False

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

A subclass must define its own constructors

True

False

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?