Core Java Concepts Quiz (1)

Quiz
•
Computers
•
Professional Development
•
Easy
Mr Gabriel
Used 1+ times
FREE Resource
48 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a primitive data type in Java?
String
class
int
Object
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store true or false values?
char
boolean
double
byte
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of declaring a variable in Java?
To define a class.
To allocate memory to store data.
To create a new method.
To print output to the console.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for equality comparison in Java?
=
==
!=
>
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of the expression 5 % 2?
2.5
1
0
7
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a logical AND operator in Java?
|
&
||
&&
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to start an if statement in Java?
when
if
condition
check
Create a free account and access millions of resources
Similar Resources on Wayground
48 questions
Sec Study Quiz 5

Quiz
•
Professional Development
44 questions
Quiz For COC 1 and COC 2

Quiz
•
Professional Development
44 questions
Linux essencials

Quiz
•
Professional Development
50 questions
May test sscsa

Quiz
•
Professional Development
49 questions
ITF+ Study Quiz 4

Quiz
•
Professional Development
50 questions
DP-900 Módulos 01

Quiz
•
Professional Development
44 questions
99. Test fetch Users

Quiz
•
Professional Development
47 questions
IT Intern

Quiz
•
Professional Development
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