if (score >= 90) grade = "A"; if (score >= 80) grade = "B"; if (score >= 70) grade = "C"; if (score >= 60) grade = "D"; else grade = "E";
AP CSA Review Set #1

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Devon Senneseth
Used 50+ times
FREE Resource
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (x > 2) x = x * 2; if (x > 4) x = 0;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (x < 0) System.out.println("x is negative"); else if (x == 0) System.out.println("x is zero"); else System.out.println("x is positive");
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if (x < 0) System.out.println("x is negative"); else if (x == 0) System.out.println("x is zero"); else System.out.println("x is positive");
5.
MULTIPLE CHOICE QUESTION
15 mins • 1 pt
Given the following code segment, which of the following is true?
String s1 = new String("Hi There");
String s2 = new String("Hi There");
String s3 = s1;
I. (s1 == s2)
II. (s1.equals(s2))
III. (s1 == s3)
IV. (s2.equals(s3))
II and IV
II, III, and IV
I, II, III, IV
II only
IV only
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
What does the following code print?
System.out.println("13" + 5 + 3);
21
1353
It will give a run-time error
138
It will give a compile-time error
Check MeCompare me
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
After the following code is executed, which of I, II and/or III will evaluate to true?
String s1 = "xyz";
String s2 = s1;
String s3 = s2;
I. s1.equals(s3)
II. s1 == s2
III. s1 == s3
I, II, III
I only
II only
III only
II and III only
Create a free account and access millions of resources
Similar Resources on Quizizz
32 questions
Unit 1 APCSA

Quiz
•
9th Grade - University
40 questions
C++ Programming

Quiz
•
9th - 12th Grade
37 questions
AP CS A Midterm Review

Quiz
•
9th - 12th Grade
33 questions
Graded IB Computer Science Units 1 and 2 Overview

Quiz
•
11th - 12th Grade
40 questions
Latihan 1 PBO XI RPL 2

Quiz
•
10th Grade - University
32 questions
2.16.1: Basic Java Review

Quiz
•
10th Grade
41 questions
CS3 End-o-year Review

Quiz
•
9th Grade
32 questions
C# Skill Review

Quiz
•
12th Grade - Professi...
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade