
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
What will be the output of the program?
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 Wayground
15 questions
Django #1 (basic)

Quiz
•
1st Grade - Professio...
20 questions
MATLAB basics

Quiz
•
Professional Development
18 questions
GOOGLE ADS - TEST

Quiz
•
Professional Development
20 questions
M51_Activity 1

Quiz
•
Professional Development
15 questions
python dictionary and set

Quiz
•
Professional Development
20 questions
Basics of Python Programming Unit-1

Quiz
•
University - Professi...
20 questions
Servlets

Quiz
•
Professional Development
20 questions
CPR_Quiz_Arrays and strings

Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade