What will be the output of the program?

Predict the output

Quiz
•
Professional Development
•
Professional Development
•
Medium
Murugeswari.k Murugeswari.k
Used 9+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
x = 0
x = 1
compile error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
count = 0
count = 2
count = 3
count = 4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the program?
9 7 7 foo 7 7foo
72 34 34 foo34 34foo
9 7 7 foo34 34foo
72 7 34 foo34 7foo
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one is correct?
If a is true and b is true then the output is "A && B"
If a is true and b is false then the output is "notB"
f a is false and b is true then the output is "ELSE"
If a is false and b is false then the output is "ELSE"
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the program?
Zero
Twelve
Default
Compile Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
finally
exception finished
finally exception finished
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following line of code is suitable to start a thread ?
Thread t = new Thread(X);
Thread t = new Thread(X); t.start();
X run = new X(); Thread t = new Thread(run); t.start();
Thread t = new Thread(); x.run();
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
C++ Operators

Quiz
•
Professional Development
15 questions
CPR_Quiz_Chapter4_function

Quiz
•
Professional Development
12 questions
Characteristics of Money

Quiz
•
Professional Development
20 questions
Technical Quiz Round 1

Quiz
•
Professional Development
20 questions
Plant Maintenance Quiz-1

Quiz
•
Professional Development
20 questions
Quiz 3: Multithreading

Quiz
•
Professional Development
15 questions
Flowchart

Quiz
•
Professional Development
16 questions
LCS pipework level 1 7202 unit 111

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade