
AP CSA Variables and Operators
Authored by Sara Kazemi
Computers
9th - 12th Grade
Used 49+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which variable type is NOT a primitive variable type?
boolean
String
int
double
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a logic error?
An mistyped statement that causes the compiler to throw an exception.
An illegal operation that causes the compiler to throw an exception.
An illegal operation that causes the program to have a run-time error.
An error a programmer makes that causes the program to behave differently than expected.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to instantiate a Finch object with its default constructor?
Finch(f);
Finch f;
Finch f = Finch();
Finch f = new Finch();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 3/2 in Java?
1.5
1.0
1
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 3.0/2 in Java?
1.5
1.0
1
0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the % operator in Java?
percentage
homonculus
modulus
modulator
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 3%2?
1
1.5
1.0
0
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Quiz Excel 3
Quiz
•
10th Grade
10 questions
Intro to Windows Server 2012
Quiz
•
12th Grade
10 questions
Excel
Quiz
•
11th - 12th Grade
10 questions
Bài 25 tin 10
Quiz
•
9th Grade - University
15 questions
Arduino
Quiz
•
7th - 9th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
12 questions
Tin học 2
Quiz
•
11th Grade
10 questions
4Q Week3 Review Quiz (Who missed the Quiz ONLY))
Quiz
•
9th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade