PF201: SCCPF2012223

PF201: SCCPF2012223

University

50 Qs

quiz-placeholder

Similar activities

Quiz Trivia

Quiz Trivia

University

50 Qs

OOP Quiz-3

OOP Quiz-3

University

45 Qs

HTML,CSS AND JS QUIZ

HTML,CSS AND JS QUIZ

University

50 Qs

Exception Handling

Exception Handling

University

50 Qs

Java Assessment-1

Java Assessment-1

University

50 Qs

Quiz 1 PBO

Quiz 1 PBO

University

45 Qs

TECHNICAL QUIZ

TECHNICAL QUIZ

University

45 Qs

EPA-11-DEC-2021 On Java

EPA-11-DEC-2021 On Java

University

50 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?