
Q1Programming

Quiz
•
Other
•
University
•
Medium
Omnia Elrashidy
Used 3+ times
FREE Resource
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?
++
--
+=
*=
8.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which operator is used for performing string concatenation in Java?
+
-
*
/
Similar Resources on Wayground
10 questions
Computational Thinking for Problem Solving

Quiz
•
University
5 questions
Herencia Multiple

Quiz
•
University
12 questions
Pakistan team quiz

Quiz
•
KG - University
10 questions
Diag_TópicosSelectosRedesComunicaciónAlmacenamientoDatos

Quiz
•
University
10 questions
Java Set 2

Quiz
•
University
12 questions
Aula Invertida

Quiz
•
University
10 questions
Java set3

Quiz
•
University
10 questions
C Language Basic Quiz

Quiz
•
7th Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University