
AP Comp
Authored by Haylee Chapman
Instructional Technology
9th - 12th Grade
Used 56+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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?