
Output based
Authored by scoremaster JAVA
Education
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the resulting x. int x=5/2;
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the below code int a=2,b=3,c=4; if(a
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
State the output of the below code: class Abc { int a; String c; Abc(int x, String y) { a=x; c=y; } public static void main() { Abc ob=new Abc(2,”!”); System.out.println(ob.a+”##“+ob.c+”##“); }}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the below code segment: int x[ ]={4,3,7,8,9,10}; System.out.print(x.length+” “); System.out.print(x[1]+x[4] * x[3]);
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output for the following program segment? int a=0,b=30,c=40; a= --b + c++ +b; System.out.println("a="+a);
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Evaluate the following expressions, if the values of the variables are a=2, b=3 and c=9: (a) a-(b++)*(--c) (b) a*(++b)%c
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a=5, b=9, calculate the value of a+=a++ - ++b +a.
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
20 questions
Review of Military Vocabulary
Quiz
•
Professional Development
20 questions
REPASO HABILIDADES SOCIOEMOCIONALES 2DO PARCIAL
Quiz
•
Professional Development
20 questions
UAS Batch 10 Phase 1
Quiz
•
Professional Development
20 questions
BIMTEK KPPS KEC TANJUNGANOM
Quiz
•
Professional Development
20 questions
Module 6: Social Groups and Organization
Quiz
•
11th Grade - Professi...
20 questions
Security breach easy mode!!
Quiz
•
KG - Professional Dev...
20 questions
Bài 10. 11. Sơ đồ tư duy, định dạng văn bản
Quiz
•
Professional Development
20 questions
Basic First Aid
Quiz
•
Professional Development
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
Discover more resources for Education
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...