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
Python programming language Quiz - Week 9

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

Quiz
•
9th - 12th Grade
17 questions
Variables

Quiz
•
9th - 12th Grade
10 questions
Python Data Types

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

Quiz
•
6th - 9th Grade
15 questions
Basics in Java

Quiz
•
9th - 12th Grade
13 questions
C++ Loops

Quiz
•
9th - 12th Grade
12 questions
Project-Stem Unit 1 python coding

Quiz
•
9th - 12th Grade
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
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade