AP Computer Science A #2

This one is a gridded odd one out quiz! Have fun!
Quiz by
PastimeQuizzer16
Rate:
Last updated: October 2, 2023
You have not attempted this quiz yet.
First submittedOctober 2, 2023
Times taken44
Average score73.3%
Report this quizReport
4:00
The quiz is paused. You have remaining.
Scoring
You scored / = %
This beats or equals % of test takers also scored 100%
The average score is
Your high score is
Your fastest time is
Keep scrolling down for answers and more stats ...
Question 1 of 5
Select the odd one out
possible way of successfully storing stuff in a variable
int num = 23456;
double qwertyuiop = "I hate DankQuizzer16!";
char d = "d";
String qwerty = "Subscribe to DankQuizzer16 for more amazing quizzes!";
String innocent = "I am the correct answer, EVERYTHING ELSE IS WRONG.";
double hello = 0.1134;
String wordy = "This is the wrong answer";
double num = 3.5;
int hi = 18749875;
YES
NO
Question 2 of 5
Select the odd one out
printing statements that failed to print JetPunk
System.out.print.JetPunk
System.print("JetPunk")
Print("PunkJet");
System.out.println("PunkJet");
System.out.println(JetPunk);
System.out.println("Jetpunk)
System.out.println(Jetpunk");
System.out(JetPunk);
System.out.println("JetPunk");
YES
NO
Question 3 of 5
Select the odd one out
Non-existent data types
double
java
quintuple
word
triple
number
quadruple
single
python
YES
NO
Question 4 of 5
Select the odd one out
Successful java code statements
int x = 4
.substring(3,6);
double decimal = 4/5
double y = 4
Scanner scanScan = new Scanner(System.in);
int num = 5*4
return("number");
.quality(0,10);
System.out.println("Hi");
YES
NO
Question 5 of 5
Select the odd one out
Math symbols used in java
-=
=
*
%
-
/
@
==
+=
YES
NO
Save Your Stats
Your Next Quiz
Name all 50 states in the USA. Easy, right?
Can you name the capitals cities of all 196 countries in the world?
Can you name the ten Asian countries with the largest GDPs?
Drag the flag onto the correct state. Careful, though! One wrong move and the game ends.
1 Comments
+1
Level 52
May 5, 2026
on question 4, half of those do not have semi-colons and thus are invalid.