Introduction To Java: Hello World

Quiz
•
Computers
•
7th - 12th Grade
•
Hard
Genius Empire
Used 15+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is JAVA?
Programming language
Games
Script
Interface
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
public class HelloWorld {
public static void main(String[] args) {
}
}
What is the output?
HelloWorld
Hello World
Error message
No output
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java programs have at least one X and one main() X. What is X?
Class and compiler
compiler and method
class and method
compiler and output
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
System.out.print("Two...");
System.out.println("One...");
What is the output?
Two...
One...
One...Two...
One...Two
Two...One...
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the right symbol for comment?
||
\\
//
**
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which one is the incorrect line of code?
public class Monkey{}
public static void main[String() args]{}
String monkey=" monkey has 2 legs);
System.out.println("Monkey is cute");
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of compiling process?
Get the output
Print the output
Run the code
Catches the mistake
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Java Level 1 - D

Quiz
•
12th Grade
9 questions
High and Low level languages and translators

Quiz
•
9th Grade
10 questions
Computer organization

Quiz
•
11th Grade
10 questions
COM 211

Quiz
•
1st - 10th Grade
14 questions
GCSE Computing Low & High Level Languages/IDE's

Quiz
•
10th - 11th Grade
15 questions
Latihan_106

Quiz
•
11th Grade
15 questions
Java Inheritance Quiz

Quiz
•
11th Grade
12 questions
Java Quiz 1

Quiz
•
9th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade