
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
29 questions
Parcial 1 Programación en Java

Quiz
•
12th Grade
23 questions
Java Array

Quiz
•
University
21 questions
Basic Python Console Operations

Quiz
•
10th Grade - University
20 questions
PHP First Internal Practical Viva

Quiz
•
University
23 questions
Java conditional/loop/method/user input

Quiz
•
9th - 12th Grade
20 questions
Functions

Quiz
•
University
20 questions
Python Basics (CodeHS)

Quiz
•
7th - 12th Grade
22 questions
IST CodeHS Unit 8 JavaScript Review

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade