Quiz 1

Quiz 1

33 Qs

quiz-placeholder

Similar activities

Unit6(P3)

Unit6(P3)

KG - University

32 Qs

Chapter 4 Review

Chapter 4 Review

KG - University

30 Qs

Cardiovascular System Unit Test

Cardiovascular System Unit Test

9th - 12th Grade

35 Qs

Global - Islam/ Classical Asia

Global - Islam/ Classical Asia

9th Grade

31 Qs

Quiz 1

Quiz 1

Assessment

Quiz

others

Hard

Created by

Abedalla Sbeata

FREE Resource

33 questions

Show all answers

1.

OPEN ENDED QUESTION

30 sec • Ungraded

Student Name:

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

30 sec • Ungraded

Student ID:

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

What is the size of an (int) in Java?
4 bytes
8 bytes
2 bytes
Nothing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable declaration in Java?
int 1variable;
float myFloat = 5.6;
char 'a';
string name = "John";

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image
What is the output of the following code snippet?
1
0
10
9

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Java?
-myVar
3times
my_var
float

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which loop construct in Java is best suited when the number of iterations is unknown?
for loop
while loop
do-while loop
none

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?