
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
20 questions
Apuntadores en C

Quiz
•
University
10 questions
Arrays in C (II yr 02.07.2020)

Quiz
•
University
20 questions
ict5_mt_w2_sw2

Quiz
•
12th Grade - University
16 questions
Java Основи

Quiz
•
11th Grade - University
10 questions
Third Year Placement Training Revision Test

Quiz
•
University
20 questions
PROGRAMACAO NO DES DE SISTEMAS

Quiz
•
3rd Grade - University
10 questions
C Program Array and strings

Quiz
•
University
10 questions
csharp

Quiz
•
University
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
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University