
Q1Programming
Quiz
•
Other
•
University
•
Practice Problem
•
Medium
Omnia Elrashidy
Used 3+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Java is a
low-level programming language
not object-oriented (class-based) programming language
functional, imperative and reflective programming language
All the above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is a correct Java program to print "Hello World!" on output ?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for OR comparison in Java?
+
||
==
&&
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following program?
public class Main {
public static void main(String[] args) {
int x = 10;
x++;
System.out.println(x);
} }
10
11
9
Compile-time error
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following program?
public class Main {
public static void main(String[] args) {
int x = 10;
int y = 2;
int result = x % y;
System.out.println(result); } }
2
2.5
1
0
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following program?
public class Main {
public static void main(String[] args) {
boolean a = false;
boolean b = false;
boolean result = a || b;
System.out.println(result); } }
true
false
Compile-time error
Runtime error
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which operator is used to decrement a variable by one in Java?
++
--
+=
*=
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
12 questions
API Architecture
Quiz
•
University
13 questions
BASIC OF RECREATIONAL FACILITIES IN RECREATIONAL INDUSTRY
Quiz
•
University
10 questions
FA4: CHAPTER 1: INTRODUCTION TO COMPANY
Quiz
•
University
12 questions
Learning Countries One
Quiz
•
1st Grade - Professio...
10 questions
Quiz : Introduction au langage C
Quiz
•
University
8 questions
Cyber Safety And Ethics
Quiz
•
KG - Professional Dev...
10 questions
4.5 Engineering professional bodies
Quiz
•
University
10 questions
How do you understand your country?
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
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University
