G12_Week7

G12_Week7

12th Grade

10 Qs

quiz-placeholder

Similar activities

Temel Java Bilgisi Ölçme Testi

Temel Java Bilgisi Ölçme Testi

University

10 Qs

Project STEM AP CS A Unit 1 Quiz Review

Project STEM AP CS A Unit 1 Quiz Review

9th - 12th Grade

11 Qs

MS Core Java Quiz-1 2023

MS Core Java Quiz-1 2023

University

10 Qs

SAINS KOMPUTER - FUNGSI UTILITI DALAM JAVA

SAINS KOMPUTER - FUNGSI UTILITI DALAM JAVA

12th Grade - University

10 Qs

JSP Topic

JSP Topic

University

10 Qs

Java Programming

Java Programming

University

10 Qs

 QUIZ  MS Core Java Quiz-4 2023

QUIZ MS Core Java Quiz-4 2023

University

10 Qs

Java GUI

Java GUI

University

15 Qs

G12_Week7

G12_Week7

Assessment

Quiz

Computers

12th Grade

Hard

Created by

Areej Alhawawreh

Used 1+ times

FREE Resource

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

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?