PF201: SCCPF2012223

PF201: SCCPF2012223

University

50 Qs

quiz-placeholder

Similar activities

Quiz 1 PBO

Quiz 1 PBO

University

48 Qs

FINAL TEST FOR JAVA PROGRAMMING 2

FINAL TEST FOR JAVA PROGRAMMING 2

University

50 Qs

Java Exception Handling and String Handling

Java Exception Handling and String Handling

University

49 Qs

CIE2 Java Lab Quiz

CIE2 Java Lab Quiz

University

50 Qs

Java Programming Quiz 2-6

Java Programming Quiz 2-6

University

50 Qs

Exception Handling

Exception Handling

University

53 Qs

Quiz Trivia

Quiz Trivia

University

50 Qs

JAVA REVIEW QUIZ

JAVA REVIEW QUIZ

University

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