Arithmetic Operators, Casting, Concatenation

Arithmetic Operators, Casting, Concatenation

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Web Application

Web Application

10th Grade

15 Qs

Online Safety

Online Safety

KG - 9th Grade

9 Qs

The Mod Verification Quiz

The Mod Verification Quiz

KG - Professional Development

15 Qs

Modular Arithmetic

Modular Arithmetic

12th Grade

15 Qs

GCSE Computer Science - Programming Keywords

GCSE Computer Science - Programming Keywords

9th - 12th Grade

15 Qs

Hash Tables

Hash Tables

12th Grade

11 Qs

Spring Break Trivia

Spring Break Trivia

9th - 12th Grade

15 Qs

E-safety

E-safety

6th - 12th Grade

10 Qs

Arithmetic Operators, Casting, Concatenation

Arithmetic Operators, Casting, Concatenation

Assessment

Quiz

Computers, Mathematics

9th - 12th Grade

Medium

Created by

Jack Chapman

Used 12+ times

FREE Resource

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 BLANK QUESTION

30 sec • 1 pt

What is 2^2

5.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

What is 4**2?

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

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?