Java Programming Quizz-GX
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Easy
Andri Pramono
Used 19+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a comment in the Java language?
/ comment /
/* comment */
/ comment */
<-- comment -->
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct main() method signature in Java?
public static void main (String [] args)
public static void Main (String [] args)
public static void main (string [] args)
public static void main (String args)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable declaration in Java?
int 1myInteger = 0;
int int = 0;
Int my Integer = 0;
int myInteger = 0;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which Java data type is used to store 64-bit floating-point numbers?
int
long
float
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the problem with this code?
Line 1: String myName = "Mary Jacobson";
Line 2: System.out.println ("My name is " + myname);
Line 2: should be System.out.println ("My name is myName");
Line 2: should be System.out.println ("My name is " + myName);
Line 2: should be System.out.display("My name is " + myname);
There is no problem with the code
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is pseudocode?
A simple java-like programming language
Statements in plain English
A control structure used in Java
A java class
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output?
24
32
23
32
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik
Quiz
•
1st Grade - Professio...
20 questions
Quiz 4
Quiz
•
1st - 10th Grade
22 questions
HTML Quiz
Quiz
•
9th Grade
21 questions
Google : ¡A trabajar!
Quiz
•
10th - 11th Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
21 questions
logica excel
Quiz
•
1st Grade - University
20 questions
Network topologies
Quiz
•
8th Grade - University
20 questions
Introducción a las bases de datos
Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
