
Wipro PRP - 5th June

Quiz
•
Computers
•
University
•
Hard
Kavitha Murugan
Used 8+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1.Which type of loop is guaranteed to have the body execute at least once?
for
while
do while
for each
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What keyword is used to end the current loop iteration and proceed execution with the next iteration of that loop?
break
continue
end
skip
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. What is the output of the following code snippet?
int i = 0;
for(i = 0 ; i < 5; i++){
}
System.out.println(i);
0
4
5
6
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What is the output of the following program?
public class Test{
public static void main(String []args){
for(int i = 0; i < 10; i++){
if(i % 2 == 0){
continue;
}
System.out.println(i);
}
}
}
rogram will print all even numbers between 0 to 10
Program will print all odd numbers between 0 to 10
Program will print all numbers between 1 to 9
Program gives a compilation error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
class HelloWorld {
public static void main(String[] args) {
int i = 70;
for(; i>60; ){
System.out.print(" "+i);
i--;
}
}
}
70 69 68 67 65 66 64 63 62 61
70 69 68 67 66 6564 63 62 61
61 62 63 64 65 66 67 68 69 70
70 68 66 64 62
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public class LoopExample {
public static void main(String[] args) {
int i=12;
do{
++i;
if((i%2) == 0){
continue;
}
System.out.print(i+ " ");
}while(i<10);
}
}
13
1 2 3 4 5
1 3 5 7 9
1 3 5 7 9 11
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In Java arrays are
objects
reference
Primitive datatype
none
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
BASIC C PROGRAMMING QUIZ

Quiz
•
University
10 questions
PHP

Quiz
•
University
15 questions
Basic Java Quiz

Quiz
•
University
10 questions
ข้อสอบย่อยวิชา จาวาเว็บ ครั้งที่ 6

Quiz
•
University
20 questions
Java, part I

Quiz
•
11th Grade - University
15 questions
Java

Quiz
•
University
15 questions
Qûîz

Quiz
•
University
14 questions
Lets explore Java

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University