Java Quiz 1

Quiz
•
Computers
•
9th Grade
•
Medium

Soumya Dey
Used 8+ times
FREE Resource
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the command to compile a java program?
java
compile
javac
run
2.
FILL IN THE BLANK QUESTION
1 min • 2 pts
1. ____ grade = 'A';
2. ______ name = "Arko";
3.
FILL IN THE BLANK QUESTION
2 mins • 3 pts
Create a variable named maxSpeed and assign the value 120 to it.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
_______ pass = true;
5.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
byte
, short
, int
, long
, float
, double
, boolean
and char
are called:
numbers
primitive
non-primitive
values
6.
FILL IN THE BLANK QUESTION
1 min • 3 pts
double myDouble = 9.78d;
int myInt = (___) myDouble;
7.
FILL IN THE BLANK QUESTION
2 mins • 3 pts
an int takes _ bytes whereas a double takes _ bytes of space.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Latihan UPS2

Quiz
•
5th - 12th Grade
10 questions
Logic Building in Java Part 1

Quiz
•
6th - 9th Grade
11 questions
Java1

Quiz
•
6th - 11th Grade
14 questions
AP CSA Variables and Operators

Quiz
•
9th - 12th Grade
11 questions
Project STEM AP CS A Unit 1 Quiz Review

Quiz
•
9th - 12th Grade
10 questions
AP CSA Unit 1 & 2 Review

Quiz
•
9th - 12th Grade
12 questions
Java - arrays and String methods

Quiz
•
9th - 12th Grade
10 questions
Computer Quiz(Java)(16-10-2020)

Quiz
•
9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade