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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
50 questions
AWS Cloud Practitioner 1.1
Quiz
•
Professional Development
50 questions
Computer Hardware and Software - Networking
Quiz
•
Professional Development
48 questions
Quiz Active Directory (AD)
Quiz
•
Professional Development
50 questions
Midterm Exam Review (Business concepts) S2
Quiz
•
Professional Development
50 questions
Quizz Compition Round 5(Computer Generation & Type of computer)
Quiz
•
Professional Development
48 questions
Randy's Networking Quiz 3
Quiz
•
Professional Development
44 questions
Networking, Load Balancing, Storage and Configuration
Quiz
•
Professional Development
52 questions
Desainer Grafis Muda
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
