Search Header Logo

Arithmetic Operators, Casting, Concatenation

Authored by Jack Chapman

Computers, Mathematics

9th - 12th Grade

Used 12+ times

Arithmetic Operators, Casting, Concatenation
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Concatenate the following variables into strings:


houseNumber

roadName

streetAddress = houseNumber + roadName

streetAddress = "houseNumber" + "roadName"

streetAddress = 64 + Zoo Lane

streetAddress = housenumber * roadName

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does casting do?

Changes a data type

Magic

Joins strings together

Raises a number to a power

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does concatenation do?

Changes a data type

Magic

Joins strings together

Raises a number to a power

4.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

What is 2^2

(a)  

5.

FILL IN THE BLANKS QUESTION

30 sec • 1 pt

What is 4**2?

(a)  

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is 60 MOD 7?

4

8

12

3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is 49 DIV 8?

6

1

12

5

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?