
Feb 20, 2025 AP CompSci - 1st Period

Quiz
•
Computers
•
12th Grade
•
Easy
Scotty Johnson
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these should be declared as a final?
double pi = 3.14159;
double radius = 1.5;
double area = radius * radius * pi ;
pi
radius
area
all three
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output?
int a = 5;
int b = 8;
int c = 3;
System.out.println(a + b / c * 2);
2
8
9
12
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would be the one's digit if num were a two-digit number?
int A = num / 10;
int B = num % 10;
int C = num % 100;
int D = num % 100;
A
B
C
D
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would be the ten's digit if num were a two-digit number?
int A = num / 10;
int B = num % 10;
int C = num % 100;
int D = num % 100;
A
B
C
D
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of A?
int A = 9 + 10 % 12;
1
7
11
19
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of A?
int A = (9 + 10) % 12;
1
7
11
19
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of A?
int A = 9 – 2 % 12;
1
7
11
19
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
arrays and strings in java

Quiz
•
12th Grade
21 questions
SAINS KOMPUTER TINGKATAN 4 (BAB1)

Quiz
•
KG - University
20 questions
APCS A - Array 6.1,6.2,6.3,6.

Quiz
•
9th - 12th Grade
20 questions
Java Summative Assessment 2

Quiz
•
12th Grade
25 questions
GNIDOC ROUND 1

Quiz
•
University
25 questions
Intro PseInt

Quiz
•
University
23 questions
PYTHON - 14.07.2023

Quiz
•
University
25 questions
Module 1 - Short Quiz

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
20 questions
Digital Citizenship

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

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

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

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade