Java Quiz 1

Java Quiz 1

9th Grade

12 Qs

quiz-placeholder

Similar activities

Two-Dimensional Array

Two-Dimensional Array

9th - 12th Grade

12 Qs

main.cpp

main.cpp

7th - 12th Grade

16 Qs

BenchmarkI RetestPractice - CMPI

BenchmarkI RetestPractice - CMPI

9th - 12th Grade

10 Qs

APCSA Quiz 1

APCSA Quiz 1

9th Grade - University

13 Qs

CuestionarioJava_1

CuestionarioJava_1

9th - 12th Grade

8 Qs

Texes CS-241

Texes CS-241

9th - 10th Grade

16 Qs

19W Final Exam - PLTW

19W Final Exam - PLTW

9th - 12th Grade

15 Qs

Java Quick Reference

Java Quick Reference

9th - 12th Grade

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