PF201: SCCPF2012223

PF201: SCCPF2012223

University

50 Qs

quiz-placeholder

Similar activities

IP MIDTERM

IP MIDTERM

University

45 Qs

Unit 4 - Coding and Logic | End of LO1 and LO2 Ax.

Unit 4 - Coding and Logic | End of LO1 and LO2 Ax.

12th Grade - University

45 Qs

Test 2

Test 2

University

49 Qs

[Kuis 2/4] Method dan environment

[Kuis 2/4] Method dan environment

University

50 Qs

Web Designing-2025

Web Designing-2025

University

50 Qs

Mobile Application Basic

Mobile Application Basic

University

46 Qs

JAVA Internship Assessment 2025

JAVA Internship Assessment 2025

University

50 Qs

TRY OUT MID KLS 8 SEM GENAP

TRY OUT MID KLS 8 SEM GENAP

8th Grade - University

45 Qs

PF201: SCCPF2012223

PF201: SCCPF2012223

Assessment

Quiz

Computers

University

Medium

Created by

Mikaelee Bustamante

Used 14+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?