Search Header Logo

MidQs - COMP112

Authored by Nada Almutairi

Other

University

Used 3+ times

MidQs - COMP112
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what's the output of the following Java program ?

1 2 3

16

61

15

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what's the output of the following Java program ?

the answer is 15

the answer is 16

the answer is 8

the answer is 7

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what's the output of the following Java program ?

2

30

10

20

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what's the output of the following Java program ?

( focus )

2 3 1 8 5 7

758132

7 5 8 1 3 2

Erorr

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what's the output of the following Java program ?

( focus )

5 6 7

1 3 5

147

1 4 7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what's the output of the following Java program ?

2
4
6
8

2
4
6
8
10

2
4

10
12

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

complete the missing parts in this code

to make it as table

1 ) arr.length

2 ) arr[ i ].length

3 ) println();

1 ) length

2 ) arr[ 4 ].length

3 ) print();

1 ) arr

2 ) length

3 ) println();

1 ) arr[ j ].length

2 ) println();

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?