Java G10 IT 1 - intro and conditionals

Java G10 IT 1 - intro and conditionals

10th Grade

12 Qs

quiz-placeholder

Similar activities

Quiz sobre Variables en Programación

Quiz sobre Variables en Programación

10th Grade

8 Qs

C# 11

C# 11

1st - 10th Grade

10 Qs

Java Chapter 2

Java Chapter 2

9th - 12th Grade

16 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

C# Variables and Data Types

C# Variables and Data Types

8th Grade - University

9 Qs

X Comp Quiz

X Comp Quiz

10th Grade

17 Qs

Python Basics

Python Basics

KG - University

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