Quiz 1

Quiz 1

33 Qs

quiz-placeholder

Similar activities

Quiz 1: Conditional Statement and Loops

Quiz 1: Conditional Statement and Loops

KG - University

35 Qs

Cardiovascular System Unit Test

Cardiovascular System Unit Test

9th - 12th Grade

35 Qs

Blank Quiz

Blank Quiz

KG - University

38 Qs

Code

Code

University

30 Qs

Python Quiz 1

Python Quiz 1

KG - University

30 Qs

Assembly Language

Assembly Language

KG - University

35 Qs

Algorithms and Pseudo Code

Algorithms and Pseudo Code

KG - University

35 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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?