Search Header Logo

Programming Fundamentals

Authored by Stephen Cooper

Computers

9th - 10th Grade

Used 10+ times

Programming Fundamentals
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.

DRAG AND DROP QUESTION

1 min • 1 pt

A variable is a ​ (a)   space in memory which contains a value that ​ (b)   change whilst the program is ​ (c)   .

named
can
running
anonymous
not running
cannot
will
idle

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

One which line is an output occurring in this code?

3.

MATCH QUESTION

1 min • 1 pt

Match these code snippets with the action being performed.

Raising to the power 2.

x = 7

Addition

5 ** 2

Concatenation

x + 10

Assignment

"duck" + "goat"

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is the name given to converting one data type into another?

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

Which of these are variables used in this code?

h

w

a

print

int

6.

DRAG AND DROP QUESTION

1 min • 1 pt

Build a line of code that will cast the variable score to be an integer and re-assign it into the score variable.

​ (a)   ​ (b)   ​ (c)   ​ (d)  

score
=
int
(score)

7.

MATCH QUESTION

1 min • 1 pt

Match these example data items with their data type.

Boolean

true

Float

3.14

Integer

'Hello'

String

107

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?