Java G10 IT 1 - intro and conditionals

Java G10 IT 1 - intro and conditionals

10th Grade

12 Qs

quiz-placeholder

Similar activities

Простые типы данных в С++

Простые типы данных в С++

10th Grade

10 Qs

Python Basics

Python Basics

KG - University

15 Qs

Basics in Java

Basics in Java

9th - 12th Grade

15 Qs

BlueJ

BlueJ

10th Grade

10 Qs

Variables & Data Types

Variables & Data Types

6th - 12th Grade

10 Qs

C++ Identifiers

C++ Identifiers

10th Grade

10 Qs

C# Data Types

C# Data Types

10th Grade

10 Qs

String Method

String Method

10th Grade

10 Qs

Java G10 IT 1 - intro and conditionals

Java G10 IT 1 - intro and conditionals

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Julie Rapley

Used 13+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is missing from the command: System.___.println("Hello World");

prt()

Sys

java

out

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How many classes are required in a Java Program?

At least one.

None, you can run a basic program without a class.

Two, one for the main function and one for the function code.

None of the above.

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which is the correct way to end a command statement in Java?

;

,

.

:

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the reserved words is missing in this line which is found in every Java program?

public _____ void main(String[] args) {

private

void

open

static

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which reserved word allows other classes to access your class in Java?

private

call

public

open

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is NOT a primitive datatype in Java?

float

int

String

char

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you wanted to store the value 2.5 in a variable what datatype would you need to use?

char

float

int

boolean

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?