CSA Lessons 1-10

CSA Lessons 1-10

10th - 12th Grade

21 Qs

quiz-placeholder

Similar activities

Mid-Year Java Check

Mid-Year Java Check

Java 10/13

Java 10/13

Basic Java Quiz

Basic Java Quiz

Java Programming

Java Programming

Unit 1 Primitive Types Review

Unit 1 Primitive Types Review

Programming 1 Review 1st Semester

Programming 1 Review 1st Semester

CSA Lessons 1-10

CSA Lessons 1-10

Assessment

Quiz

Computers

10th - 12th Grade

Easy

Created by

Anne Kohart

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which variable type is NOT a primitive variable type?

boolean

String

int

double

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 3/2 in Java?

1.5

1.0

1

0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 3.0/2 in Java?

1.5

1.0

1

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of 2%1?

0

1

2

This cannot be calculated.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the long form of x++?

x += x;

x = x + 1;

x + 1;

y = x + 1;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where does modulus fall within the PEMDAS order of operations?

After multiplication and division

Before multiplication and division

At the same level of multiplication and division

Whenever you feel like it.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement is an incorrect attempt at instantiating a String object?

new String("hi!");

String s = new String("hi!");

String s = "hi!";

String s = String("hi!");

Create a free account and access millions of resources

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?

Discover more resources for Computers