
AP Comp

Quiz
•
Instructional Technology
•
9th - 12th Grade
•
Easy
Haylee Chapman
Used 56+ times
FREE Resource
60 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the code: System.out.println(3+4+""+3-3);
342
345-3
3
72
There is no output due to a compile error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code: System.out.println(3+4+""+5);
345
there is no output due to a compile error
12
39
75
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a newline character?
\b
\n
\t
\r
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What of the following is not reserved for a java data type?
char
short
double
integer
float
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the ASCII value of a '0'?
97
36
48
32
65
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following correctly defines a char variable?
char c = a;
char 'a';
char = a;
char c = 'a';
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following types uses the least memory?
long
float
int
char
double
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Instructional Technology
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade