T_4.2 Identifier, Data Types, Operators & Expressions
Quiz
•
Computers
•
12th Grade
•
Hard
LATIFAH ZAKARIA
Used 31+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Identify VALID identifier.
24Century
sum_&_difference
double
MyVariable
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Create a variable called myNum of type int and assign it the value 15
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Declare a constant for PI with value 3.142
4.
MULTIPLE SELECT QUESTION
45 sec • 3 pts
Tick all the Java reserved words.
enum
const
float
num
5.
MULTIPLE SELECT QUESTION
45 sec • 4 pts
Select primitive data types.
int
float/double
boolean
char
String
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function for escape sequence \n ?
insert a tab in the text
insert a new line in the text
insert a new space in the text
insert a double line in the text
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
It is given that
a = 5, b = 2, c = 4 and d = 6
What is the result for this relational expressions?
a * c != d * b
true
false
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
MS Excel - Day 04
Quiz
•
University
14 questions
LA7.C7: Turtle Graphics
Quiz
•
9th Grade - University
10 questions
Recursion Practice, Recursion Practice, Recursion Practice...
Quiz
•
10th Grade - University
10 questions
cp06-01-1D-Array
Quiz
•
University
15 questions
ER MODEL
Quiz
•
University
10 questions
6-文件操作
Quiz
•
University
10 questions
Listen in Python
Quiz
•
University
13 questions
Chap 1: What is a program made of?
Quiz
•
University
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
