Java Unit 1

Java Unit 1

10th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

Asesmen Sumatif

Asesmen Sumatif

12th Grade

15 Qs

Y10M2A2 - Selection

Y10M2A2 - Selection

6th - 10th Grade

15 Qs

CSS - Computer Systems Services

CSS - Computer Systems Services

12th Grade

20 Qs

Yr7- Understanding computers Lessons 1-3

Yr7- Understanding computers Lessons 1-3

7th - 11th Grade

20 Qs

Hardware and Components

Hardware and Components

5th - 11th Grade

19 Qs

UNIT 3- DATA COMMUNICATION

UNIT 3- DATA COMMUNICATION

12th Grade

20 Qs

Vocabulary of Computer

Vocabulary of Computer

12th Grade

15 Qs

การใช้โปรแกรม Google SketchUp

การใช้โปรแกรม Google SketchUp

11th Grade

20 Qs

Java Unit 1

Java Unit 1

Assessment

Quiz

Computers

10th - 12th Grade

Practice Problem

Hard

Created by

Jennie Phipps

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to indicate a new line?

\n

\"

\'

\\

\t

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a legal variable name in Java?

3average

char

test.1

ans

the answer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming that "scan" is a properly initialized Scanner variable, which of the following correctly inputs a String?

String val = scan.nextValue();

String val = scan.nextDouble();

String val = scan.nextInt();

String val = scan.nextLine();

String val = nextDouble();

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a primitive data type?

double

int

char

String

All of the above options are primitive data types

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Put the following data types in order from smallest to largest (in terms of memory used).

int, char, double, String

int, double, char, String

char, int, double, String

double, char, int, String

double, int, char, String

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is modular division NOT used for?

money calculations

patterns

converting decimals to whole numbers

testing even and odd numbers

time calculations

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is (6 % 2) * 7?

21

7

1

0

14

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?