Search Header Logo

APCS

Authored by Margaret Ehrich

Computers

12th Grade

Used 1+ times

APCS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

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?