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

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Observation and Assessing Young Children(PDECE 5201)
Quiz
•
Professional Development
20 questions
GHS English Teachers Workshop Regarding NAS
Quiz
•
Professional Development
20 questions
Tema 19- Evaluación
Quiz
•
Professional Development
20 questions
MODULO #1
Quiz
•
Professional Development
20 questions
Théories de l'apprentissage
Quiz
•
Professional Development
20 questions
Active Learning
Quiz
•
University - Professi...
20 questions
COMPONENTES INTERNOS Y EXTERNOS DE UNA COMPUTADORA
Quiz
•
Professional Development
20 questions
Les émotions
Quiz
•
Professional Development
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Education
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
25 questions
Christmas Movies
Quiz
•
Professional Development
20 questions
Christmas Trivia
Quiz
•
Professional Development
15 questions
Fun Holiday Trivia
Quiz
•
Professional Development
25 questions
Name That Tune - Christmas
Quiz
•
Professional Development
29 questions
Christmas Song Emoji Pictionary
Quiz
•
Professional Development
9 questions
Holiday Movie Trivia
Lesson
•
Professional Development
34 questions
Winter Trivia
Quiz
•
Professional Development