APCS

APCS

12th Grade

22 Qs

quiz-placeholder

Similar activities

Ch 3 Java Review-Strings and Math

Ch 3 Java Review-Strings and Math

9th - 12th Grade

21 Qs

JAVA string

JAVA string

12th Grade

18 Qs

Arrays in Java

Arrays in Java

9th - 12th Grade

20 Qs

3rd Qtr QUIZ1 COMPUTER PROGRAMMING-Strings in Java-2-22-2023

3rd Qtr QUIZ1 COMPUTER PROGRAMMING-Strings in Java-2-22-2023

12th Grade

20 Qs

Java Base

Java Base

9th - 12th Grade

19 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

9th - 12th Grade

20 Qs

Java Basics

Java Basics

12th Grade

17 Qs

U2-String-Class-Objects

U2-String-Class-Objects

10th - 12th Grade

20 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?