
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
İç Donanım Birimleri - Anakartlar-2
Quiz
•
10th Grade
10 questions
Programacion Orientada a Objetos
Quiz
•
12th Grade - University
11 questions
CAPÍTULO 1 NETWORKING ESSENTIALS
Quiz
•
1st - 12th Grade
10 questions
Câu hỏi trắc nghiệm Tin Học 10 - Bài 10
Quiz
•
10th Grade
17 questions
Data Structures: 1D,2D & List
Quiz
•
11th Grade
10 questions
UNIT 2.4 LOGIC
Quiz
•
10th Grade
10 questions
Bài tập Tin học lớp 4
Quiz
•
1st - 12th Grade
15 questions
Excel
Quiz
•
12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade