
Java Unit 1

Quiz
•
Computers
•
University
•
Medium
POOMANI M
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many bits is the long data type in Java?
16
32
64
128
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the size of an integer in Java Programming?
1 byte
2 bytes
4 bytes
8 bytes
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the smallest primitive data type in Java?
short
int
long
byte
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default value of a char in Java?
0
'\0'
' '
null
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a primitive data type in Java?
void
float
char
short
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the expression true || false?
true
false
null
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop construct in Java is best suited when the number of iterations is known?
while
Do... while
for
for each
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Java MCQ Test on Control Statements

Quiz
•
University
10 questions
SPRING INTRODUCTION

Quiz
•
University
12 questions
U0. Dynamic Data Structures

Quiz
•
University
11 questions
Diagnóstico Estructura de Datos (Java)

Quiz
•
University
12 questions
Chapter 2-1: Array Part 1

Quiz
•
University
10 questions
تحديد مستوى البرمجة

Quiz
•
University
10 questions
Java Quiz 2 based on loop and if else

Quiz
•
University
10 questions
Website Design

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University