Introduction To Java: Hello World

Introduction To Java: Hello World

7th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Computer Application ISC

Computer Application ISC

12th Grade

12 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

Programming Quiz

Programming Quiz

8th - 10th Grade

15 Qs

Java - RECUPERAÇÃO 3ºTRIMESTRE

Java - RECUPERAÇÃO 3ºTRIMESTRE

11th Grade

12 Qs

Skill Building Workshop Quiz

Skill Building Workshop Quiz

9th - 12th Grade

10 Qs

operators(part-2_26/07)

operators(part-2_26/07)

9th Grade

10 Qs

Python Basics

Python Basics

11th Grade

10 Qs

Pemrograman Berorientasi Objek PAS Ganjil XI RPL

Pemrograman Berorientasi Objek PAS Ganjil XI RPL

11th Grade

15 Qs

Introduction To Java: Hello World

Introduction To Java: Hello World

Assessment

Quiz

Computers

7th - 12th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?