G12_Week7

G12_Week7

12th Grade

10 Qs

quiz-placeholder

Similar activities

Mecatronica 5to IOQ 1

Mecatronica 5to IOQ 1

9th - 12th Grade

10 Qs

cp06-01-1D-Array

cp06-01-1D-Array

University

10 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Topic 4-2: Multiple if-else and switch-case

Topic 4-2: Multiple if-else and switch-case

University

10 Qs

1-基本数据类型

1-基本数据类型

University

10 Qs

Chap 1: What is a program made of?

Chap 1: What is a program made of?

University

13 Qs

C++ dasar

C++ dasar

10th - 12th Grade

9 Qs

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

G12_Week7

G12_Week7

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

Areej Alhawawreh

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Fill in the blank so people 18 years and older are told to vote.
if ( age _________ 18 ) System.out.println("too young!"); else System.out.println("GO VOTE!");

>
>=
<=
<

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What is my result?

john = 10

if (john > 6)

print("John is getting ice cream")

else

print("John is getting apple juice")

print("John is getting grapes")

John is getting ice cream

John is getting grapes

John is getting apple juice

John is getting grapes

John is getting apple juice

John is getting ice cream

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Is "X" printed?

YES

NO

4.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Media Image

What is the output for the given program?

20 is greater than 18

Error

Blank Screen

None

5.

MULTIPLE CHOICE QUESTION

5 sec • 1 pt

Media Image

What is the output of the following program?

blank screen

Statement outside if block

The number is negative

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The library that we include at the beginning of our program in order to read data from the user is called...

Scanner.java.util

util.java.Scanner

java.util.Scanner

java.Scanner.util

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Integers, strings, doubles, etc. are data types used when creating ....

programs

variables

methods

Scanners

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?