
APCSA Quiz 1

Quiz
•
Computers
•
9th Grade
•
Medium
Brendan Kerchner
Used 1+ times
FREE Resource
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be printed from this code (pictured)?
7.0
9.0
6.0
7
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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
Similar Resources on Wayground
17 questions
AP CS Test 0 Module 1

Quiz
•
9th - 12th Grade
15 questions
Area and Arrays

Quiz
•
10th - 12th Grade
15 questions
computer class output upto for loop

Quiz
•
9th Grade
9 questions
Java For Loops

Quiz
•
9th - 12th Grade
15 questions
Sentinel Controlled Repetition (Java)

Quiz
•
12th Grade
10 questions
Java Code Tracing Practice A

Quiz
•
9th - 12th Grade
15 questions
Java

Quiz
•
University
14 questions
Lets explore Java

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade