Java Quiz 1

Java Quiz 1

9th Grade

12 Qs

quiz-placeholder

Similar activities

Arrays += Chan

Arrays += Chan

9th - 12th Grade

12 Qs

Java Programming Basics

Java Programming Basics

9th - 12th Grade

12 Qs

11-27 Data Types in Java

11-27 Data Types in Java

8th Grade - University

8 Qs

AP Computer Science-Quiz 2(G10)

AP Computer Science-Quiz 2(G10)

9th - 12th Grade

10 Qs

Java - arrays and String methods

Java - arrays and String methods

9th - 12th Grade

12 Qs

CodeHS 2.2 Variables and Types

CodeHS 2.2 Variables and Types

9th - 12th Grade

8 Qs

2D Arrays

2D Arrays

9th - 12th Grade

15 Qs

Arrays Review

Arrays Review

9th - 12th Grade

11 Qs

Java Quiz 1

Java Quiz 1

Assessment

Quiz

Computers

9th Grade

Medium

Created by

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. 1. ____ grade = 'A';

  2. 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?