Java G10 IT 1 - intro and conditionals

Java G10 IT 1 - intro and conditionals

10th Grade

12 Qs

quiz-placeholder

Similar activities

datatypes

datatypes

10th - 12th Grade

11 Qs

"switch" Java Statement - 1

"switch" Java Statement - 1

9th - 10th Grade

17 Qs

Type data python

Type data python

9th Grade - University

15 Qs

Arithmetic Types Declare Initialize Relation Logical Ops

Arithmetic Types Declare Initialize Relation Logical Ops

9th Grade - University

16 Qs

Python Basics

Python Basics

KG - University

15 Qs

Bài 32 - Ôn tập lập trình Python

Bài 32 - Ôn tập lập trình Python

10th Grade

10 Qs

GCSE Programming Recap - Inputs outputs variables

GCSE Programming Recap - Inputs outputs variables

9th - 12th Grade

10 Qs

JavaScript Introducción

JavaScript Introducción

10th Grade

8 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?