Search Header Logo

PF201: SCCPF2012223

Authored by Mikaelee Bustamante

Computers

University

Used 14+ times

PF201: SCCPF2012223
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is an incorrect Statement?

It is necessary to use new operator to initialize an array

Array can be initialized using comma separated expressions surrounded by curly braces

Array can be initialized when they are declared

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the shown Java code?

0 2 4 6 8

1 3 5 7 9

0 1 2 3 4 5 6 7 8 9

1 2 3 4 5 6 7 8 9 10

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the shown Java code?

3

1

6

2

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the Java code above?

31

32

33

34

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following operators can operate on a boolean variable?


1. &&

2. ==

3. ?:

4. +=

3 & 2

1 & 4

1, 2 & 4

1, 2 & 3

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these is returned by “greater than”, “less than” and “equal to” operators?

Integers

Floating – point numbers

Boolean

None of the mentioned

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the shown Java code?

1

0

true

false

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?