Core Java Concepts Quiz (1)
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Easy
Mr Gabriel
Used 1+ times
FREE Resource
Enhance your content in a minute
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
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
50 questions
Employbility skills
Quiz
•
Professional Development
51 questions
AZ-900 Practice Test 3
Quiz
•
Professional Development
50 questions
Test Mendix 2
Quiz
•
Professional Development
50 questions
CAMBRIDGE - A Level - IT - Networks
Quiz
•
12th Grade - Professi...
46 questions
Unit 18 - Design User Interface
Quiz
•
Professional Development
50 questions
Ethical Hacking
Quiz
•
Professional Development
50 questions
Networking Quiz 3
Quiz
•
Professional Development
50 questions
HTML/CSS контрольный
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
