Quiz 1

Quiz 1

33 Qs

quiz-placeholder

Similar activities

Employment prep 1 and 2 Exam

Employment prep 1 and 2 Exam

9th - 12th Grade

37 Qs

Year 2: Mid Term Exam Questions

Year 2: Mid Term Exam Questions

KG - University

37 Qs

FrontEnd Nipani

FrontEnd Nipani

Professional Development

33 Qs

Scratch (CA2)

Scratch (CA2)

KG - University

35 Qs

Coding Contest Quiz

Coding Contest Quiz

KG - University

30 Qs

Science Test 7 (Section 4.1-4.4)

Science Test 7 (Section 4.1-4.4)

6th Grade

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