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
Similar Resources on Wayground
10 questions
Basic C Knowledge Exercise
Quiz
•
University
15 questions
Variables Java
Quiz
•
10th - 12th Grade
10 questions
AP CS A Unit 6 Quiz PRACTICE
Quiz
•
9th - 12th Grade
7 questions
Quiz on Java Operators
Quiz
•
University
12 questions
javaquizvivek
Quiz
•
University
10 questions
Variables and Data Types
Quiz
•
10th - 12th Grade
10 questions
Java Basics
Quiz
•
University
10 questions
На сколько ты знаешь C#
Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games
Quiz
•
6th - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition
Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12
Lesson
•
11th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
