
VCE TalentNext-2021 Quiz-2

Quiz
•
Computers, Professional Development
•
Professional Development
•
Hard
RAMESH ADAVELLI
Used 17+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ?: operator is called ternary operator , because it operates on
One operand
Two operands
Three operands
Any number of operands
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
int num = false?10:20;
System.out.println(num);
10
20
Compile time Error
num must be of boolean type
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
String name = "java";
int marks = name == "java"?10:20;
System.out.println( marks);
10
20
Invalid Assignment
No output
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
int a = 20, b=30;
boolean result = a&b?true:false;
System.out.println(result);
true
false
Compile Time Error
20
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
int a = 4, b=7;
int result = (true?a&b:a|b)<3?120:150;
System.out.println(result);
4
7
120
150
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following code?
int n=7;
while(n)
{
System.out.println("TalentNext -2021");
}
Prints TalentNext-2021 and terminates
Prints TalentNext-2021 indefinite times
Compile Time Error
No output
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of following code snippet?
int num=40;
if(num >= 40);
System.out.print("ECE ");
System.out.println("EEE");
ECE
EEE
ECE EEE
No Output
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Konfigurasi bgp

Quiz
•
Professional Development
15 questions
Q1 Introduction to Python

Quiz
•
Professional Development
17 questions
What's in the Box?

Quiz
•
Professional Development
15 questions
Repaso de Python

Quiz
•
5th Grade - Professio...
16 questions
Final Assessment

Quiz
•
Professional Development
15 questions
CS402 T04

Quiz
•
Professional Development
25 questions
WOMANIA PRELIMS

Quiz
•
Professional Development
24 questions
Estructura de datos en Java pp

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
15 questions
Fun Random Trivia

Quiz
•
Professional Development
22 questions
Anne Bradstreet 1612-1672

Quiz
•
Professional Development
18 questions
Spanish Speaking Countries and Capitals

Quiz
•
KG - Professional Dev...
14 questions
Fall Trivia

Quiz
•
11th Grade - Professi...
15 questions
Disney Characters Quiz

Quiz
•
Professional Development
15 questions
Quiz to Highlight Q types & other great features in Wayground

Quiz
•
Professional Development