Quiz 1

Quiz 1

33 Qs

quiz-placeholder

Similar activities

Theme 2  Edexcel Economics

Theme 2 Edexcel Economics

KG - University

32 Qs

Chapter 16 RETAKE TEST

Chapter 16 RETAKE TEST

12th Grade

28 Qs

LV13 Diagnosis and rectification of transmission and drivelines

LV13 Diagnosis and rectification of transmission and drivelines

KG - University

30 Qs

Core Java and JDBC - QUIZ 1

Core Java and JDBC - QUIZ 1

KG - University

37 Qs

Algorithms and Pseudo Code

Algorithms and Pseudo Code

KG - University

35 Qs

Coding Contest Quiz

Coding Contest Quiz

KG - University

30 Qs

Python Coding Techniques Quiz

Python Coding Techniques Quiz

KG - University

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