Java Quiz 1

Java Quiz 1

9th Grade

12 Qs

quiz-placeholder

Similar activities

Java - arrays and String methods

Java - arrays and String methods

9th - 12th Grade

12 Qs

Computer Quiz(Java)(16-10-2020)

Computer Quiz(Java)(16-10-2020)

9th Grade

10 Qs

CodeHS 2.2 Variables and Types

CodeHS 2.2 Variables and Types

9th - 12th Grade

8 Qs

Arrays Review

Arrays Review

9th - 12th Grade

11 Qs

Latihan UPS2

Latihan UPS2

5th - 12th Grade

15 Qs

AP CSA Variables and Operators

AP CSA Variables and Operators

9th - 12th Grade

14 Qs

Project STEM AP CS A Unit 1 Quiz Review

Project STEM AP CS A Unit 1 Quiz Review

9th - 12th Grade

11 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 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?