
Java Unit 1
Quiz
•
Computers
•
10th - 12th Grade
•
Practice Problem
•
Hard
Jennie Phipps
Used 5+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to indicate a new line?
\n
\"
\'
\\
\t
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a legal variable name in Java?
3average
char
test.1
ans
the answer
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming that "scan" is a properly initialized Scanner variable, which of the following correctly inputs a String?
String val = scan.nextValue();
String val = scan.nextDouble();
String val = scan.nextInt();
String val = scan.nextLine();
String val = nextDouble();
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a primitive data type?
double
int
char
String
All of the above options are primitive data types
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Put the following data types in order from smallest to largest (in terms of memory used).
int, char, double, String
int, double, char, String
char, int, double, String
double, char, int, String
double, int, char, String
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is modular division NOT used for?
money calculations
patterns
converting decimals to whole numbers
testing even and odd numbers
time calculations
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is (6 % 2) * 7?
21
7
1
0
14
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?
Similar Resources on Wayground
16 questions
Pixlr E Review
Quiz
•
10th Grade
20 questions
Google SketchUp Tool
Quiz
•
KG - University
19 questions
UNIT 1.2 MEMORY
Quiz
•
10th Grade
15 questions
After Effect Intoduction
Quiz
•
10th Grade - University
20 questions
HTML QUIZ # 3
Quiz
•
10th Grade
16 questions
Digital Icons
Quiz
•
12th Grade - University
21 questions
Visual Basic Assessment
Quiz
•
11th - 12th Grade
15 questions
PRUEBA CORTA I - SISTEMA E INSTALACIÓN DE SOFTWARE I - U4
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
