while loops Intro2Java v1

while loops Intro2Java v1

9th Grade - University

7 Qs

quiz-placeholder

Similar activities

H7.P1&P2.Nova2.Geluid.mhv

H7.P1&P2.Nova2.Geluid.mhv

4th - 10th Grade

12 Qs

CSC126 Quick Exercise 1-1

CSC126 Quick Exercise 1-1

University

10 Qs

Image Representation Lesson 2

Image Representation Lesson 2

9th Grade

10 Qs

Decomposição: desenvolvendo um quiz sobre reciclagem / 9 ano

Decomposição: desenvolvendo um quiz sobre reciclagem / 9 ano

9th Grade - University

10 Qs

SISTEM KOMPUTER KLS 9

SISTEM KOMPUTER KLS 9

9th Grade

10 Qs

Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)

Penilaian Harian-1, Pemrograman Berorientasi Objek (PBO)

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