Search Header Logo

Java Conditionals

Authored by Cathy Edgar

Computers

9th - 12th Grade

Used 24+ times

Java Conditionals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pieces of code that only run "under certain conditions":

conditional statements

control flow statments

syntax

variables

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a condition?

JavaScript

Something that has to be true in order for an action to be carried out.

syntax

pseudocode

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This is a catch-all for every other situation besides the one where the condition is true.

then

do

else

if

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable

is a placeholder for a piece of information that can change.

is like a bucket for holding information.

can be written as letters or with longer words.

all of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol means "not equal to"?

==

<=

>=

!=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

prt()

Sys

java

out

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

;

,

.

:

Access all questions and much more by creating a free account

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

Already have an account?