
Java Unit 1

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Jennie Phipps
Used 5+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Latihan Soal

Quiz
•
11th Grade
16 questions
Quiz Pemrograman Java dengan netbeans

Quiz
•
10th Grade - University
16 questions
8525 AQA GCSE Computer Science 3.7.1 Relational databases

Quiz
•
7th - 12th Grade
15 questions
Variables, Constants, and Data Types

Quiz
•
10th Grade
24 questions
AGAD: UNIT 4_C# & UNITY

Quiz
•
9th - 12th Grade
20 questions
Variables and Loops Review

Quiz
•
9th - 12th Grade
15 questions
Variables Java

Quiz
•
10th - 12th Grade
20 questions
Computer Application Practice Quiz Class 10

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
CTEA Computer Vocab Terms #1

Quiz
•
12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade