APCSA Quiz 1

APCSA Quiz 1

9th Grade

13 Qs

quiz-placeholder

Similar activities

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Administrasi Sistem Jaringan

Administrasi Sistem Jaringan

1st - 10th Grade

10 Qs

End of term assessment

End of term assessment

9th Grade

15 Qs

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

Computer Performance

Computer Performance

9th - 11th Grade

10 Qs

APCSA Quiz 1

APCSA Quiz 1

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Brendan Kerchner

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be printed from this code (pictured)?

7.0

9.0

6.0

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be printed from this code (pictured)?

A) 8 9 6 7

B) 8 9 5 6

C) 8 8 5 6

D) 8 9 5 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What are the values of x, y, and z after execution (pictured)?

x=20, y=4.5, z=true

x=15, y=6.5, z=false

x=15, y=4.5, z=true

Compile-time error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Fill in the missing code (pictured) to calculate and print the volume of a cylinder:

PI * radius * height

PI radius * radius * height

2 * PI * radius * height

(PI + radius + height)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why will this not compile?

boolean active;

System.out.println(active);

The variable "active" is not declared

Boolean variables cannot be printed.

The variable "active" is not initialized

boolean is not a valid data type

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be printed?

System.out.println("7" + 3);

10

73

"7" + 3

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is printed?

int year = 2025;

String message = "CS Exam";

System.out.println("Welcome " + message + " " + year);

Welcome CS Exam 2025

Welcome CS Exam2025

WelcomeCS Exam 2025

Welcome2025 CS Exam

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?