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
double qwertyuiop = "I hate DankQuizzer16!";
String innocent = "I am the correct answer, EVERYTHING ELSE IS WRONG.";
String wordy = "This is the wrong answer";
int hi = 18749875;
int num = 23456;
char d = "d";
String qwerty = "Subscribe to DankQuizzer16 for more amazing quizzes!";
double hello = 0.1134;
double num = 3.5;
YES
NO
Question 2 of 5
Select the odd one out
printing statements that failed to print JetPunk
System.out.println("PunkJet");
System.out.println("Jetpunk)
System.out.println(JetPunk);
Print("PunkJet");
System.out.println("JetPunk");
System.out.println(Jetpunk");
System.print("JetPunk")
System.out(JetPunk);
System.out.print.JetPunk
YES
NO
Question 3 of 5
Select the odd one out
Non-existent data types
single
triple
java
number
quadruple
quintuple
double
word
python
YES
NO
Question 4 of 5
Select the odd one out
Successful java code statements
int num = 5*4
System.out.println("Hi");
.quality(0,10);
.substring(3,6);
double y = 4
Scanner scanScan = new Scanner(System.in);
return("number");
int x = 4
double decimal = 4/5
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.