Java Programming Quizz-GX

Java Programming Quizz-GX

9th - 12th Grade

25 Qs

quiz-placeholder

Similar activities

Computer Science - X

Computer Science - X

8th - 10th Grade

20 Qs

Administrasi Infrastruktur Jaringan 1

Administrasi Infrastruktur Jaringan 1

11th Grade

20 Qs

Trắc nghiệm Bài 14_15 tin học K10

Trắc nghiệm Bài 14_15 tin học K10

10th Grade

20 Qs

Google

Google

7th - 12th Grade

20 Qs

BÀI 24-25 TIN 10

BÀI 24-25 TIN 10

10th Grade

20 Qs

Lecture Exercise Topic 1.3

Lecture Exercise Topic 1.3

12th Grade

21 Qs

Types of Computers

Types of Computers

10th Grade

20 Qs

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

10th Grade

20 Qs

Java Programming Quizz-GX

Java Programming Quizz-GX

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Andri Pramono

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?