0100100101-2

0100100101-2

Professional Development

10 Qs

quiz-placeholder

Similar activities

GUESS THAT WORD IN CYBER!

GUESS THAT WORD IN CYBER!

Professional Development

10 Qs

SJDMNHS Google Classroom 2

SJDMNHS Google Classroom 2

Professional Development

10 Qs

Let's Play Together

Let's Play Together

University - Professional Development

10 Qs

Guess the Retro Computer 1

Guess the Retro Computer 1

KG - Professional Development

13 Qs

Unit 1 lesson 1

Unit 1 lesson 1

University - Professional Development

15 Qs

CodeMonkey Platform Management & Resources

CodeMonkey Platform Management & Resources

Professional Development

10 Qs

INTO Artificial Intelligence

INTO Artificial Intelligence

University - Professional Development

10 Qs

Computer basics for beginners

Computer basics for beginners

Professional Development

15 Qs

 0100100101-2

0100100101-2

Assessment

Quiz

Computers

Professional Development

Practice Problem

Hard

Created by

Michi koh

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

How many stars are printed?

 

for(int i=3;i<7;i++){

       System.out.print("*");

   }

2.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Media Image

How many stars are printed?

3.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Media Image

Consider the following code segment:

What is printed as a result of executing the code segment?

4.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

Media Image

What does the following program segment output?

5.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

If m = 9, then after n = m++, the value of n is ____________.

6.

FILL IN THE BLANK QUESTION

45 sec • 2 pts

If g = 5, then after h = ++g, the value of h is ____________. 

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What are the values of var1 and var2 when the code finishes executing?

var1 = 1, var2 = 1

var1 = 3, var2 = -1

var1 = 2 , var2 = 0

var1 = 0, var2 = 2

The loop will cause a run-time error for division by zero

Access all questions and much more by creating a free account

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?