while loops Intro2Java v1

while loops Intro2Java v1

9th Grade - University

7 Qs

quiz-placeholder

Similar activities

Java Strings

Java Strings

9th - 12th Grade

12 Qs

Plot the Code

Plot the Code

University

10 Qs

Java Code Tracing Practice A

Java Code Tracing Practice A

9th - 12th Grade

10 Qs

Pop Quiz

Pop Quiz

11th Grade

10 Qs

Python Arcade 10Com at 26/5/2021

Python Arcade 10Com at 26/5/2021

10th Grade

11 Qs

Tingkatan 2 - Kod Arahan (Bab 3)

Tingkatan 2 - Kod Arahan (Bab 3)

7th - 9th Grade

10 Qs

Session 1

Session 1

9th - 12th Grade

10 Qs

while loops Intro2Java v1

while loops Intro2Java v1

Assessment

Quiz

Computers

9th Grade - University

Medium

Created by

Brian Ciavarella

Used 9+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of:

method1(3) ;

x = 5

x now = 8

x = 8

x now = 11

x = 3

x now = 6

x = 3

x now = 8

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of:

method2() ;

x = 1

x = 2

x = 3

x = 4

x = 1

x = 2

x = 3

x = 4

x = 5

x = 1

x = 2

x = 3

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of:

method3("Mr.C", 4) ;

str: Mr.C

str: -Mr.C

Mr.C, 4

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of:

method3("Mr.C", -10) ;

str: Mr.C

str: -Mr.C

Mr.C, 4

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of:

method4(15,15);

The value is: 60

The value is: 30

The value is: 15

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the output of:

method5( );

The sum is: 14

The sum is: 11

The value is: 8

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of: method6( );

* * * * *

* * * * *

x = 2

* * * * *

* * * * *

x = 3

* * * * *

* * * * *

* * * * *

x = 2