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