
Loops and operators java
Quiz
•
English
•
University
•
Practice Problem
•
Hard
Abdul Rahman
Used 2+ times
FREE Resource
Enhance your content in a minute
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to get 'char' input from the user?
next();
nextLine();
next(0);
next.charAt(0);
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the encoding system used in 'char' datatype in java
Unicode
ASCII
Jcode
JavaEncoding
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0;i++ < 5;i++){
System.out.print(i);
}
135
error
12345
1234
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for(int i=0;i< 5 || i++< 7;){
System.out.print(i);
}
135
1234567
01234567
infinite loop
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a=5;
System.out.println(a++ + ++a - a-- - --a);
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
if(1){
System.out.println("hello");
}
error
hello
no output
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int a=5;
if(a==5){
System.out.println("five");
}
a=6;
else{
System.out.println("fivefive");
}
error
five
fivefive
5
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
identifying tones
Quiz
•
University
10 questions
Current Events 1/26/2021
Quiz
•
University
13 questions
School supplies
Quiz
•
University
18 questions
Agenda and Minutes - Intra Office Communication
Quiz
•
8th Grade - University
14 questions
Principles of language assessment
Quiz
•
University
10 questions
Software Security
Quiz
•
University - Professi...
10 questions
TENSES OF VERBS
Quiz
•
University
13 questions
SENTENCE CONNECTORS: INFINITY WAR
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
