9th-2 TEST Q1

9th-2 TEST Q1

9th Grade

20 Qs

quiz-placeholder

Similar activities

Diagramme enthalpique

Diagramme enthalpique

7th - 10th Grade

15 Qs

Data Processing

Data Processing

9th - 12th Grade

15 Qs

Resistors

Resistors

7th - 10th Grade

16 Qs

Inclined Plane Term 3 2019

Inclined Plane Term 3 2019

9th Grade

16 Qs

Welding Module 6: FCAW

Welding Module 6: FCAW

9th - 12th Grade

15 Qs

Teens and Driving

Teens and Driving

8th Grade - Professional Development

15 Qs

Agriculture Shop Safety Review

Agriculture Shop Safety Review

9th - 12th Grade

23 Qs

Método científico

Método científico

7th - 11th Grade

20 Qs

9th-2 TEST Q1

9th-2 TEST Q1

Assessment

Quiz

Instructional Technology

9th Grade

Practice Problem

Hard

Created by

Random Student

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which company developed Java?

Google
Microsoft
Oracle
IBM
Sun Microsystems

2.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

What is the name of the online compiler used in this class for Java programs?

OnlineGDB
CompileJava
Replit
JDoodle
CodeChef

3.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which of the following is NOT a valid Java identifier?

myNumber

number1

_result!

totalSum

2total

4.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

Which of the following is a correct single-line comment in Java?

# This is a comment in Python
# This is a comment in Ruby

$This is a Java Comment

/* This is a comment in C++ */
// This is a comment in Java

5.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which of these is the correct syntax to declare a floating-point number in Java?

int myFloat = 5.5f;
double myFloat = 5.5f;
float myFloat = 5.5d;
float myFloat = 5.5;
float myFloat = 5.5f;

6.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which of the following data types is used to store a true or false value in Java?

char

String

float

int

boolean

7.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Which data type should be used for a decimal number like 3.1416?

boolean
float
char
string
int

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?