Search Header Logo

Pseudo code ('fake' code)

Authored by O Hawkridge

Computers

9th - 10th Grade

Used 4+ times

Pseudo code ('fake' code)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the definition of pseudo code?

A memory location that stores a value.

Isn't a real programming language. Helps you think about algorithms.

A value that cannot be altered by the program during normal execution.

Messages to explain to others, and often to remind yourself, what the code is intended to do. 

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the role of a constant in programming?

A variable that can change its value during the execution of a program.

A fixed value that remains unchanged throughout the execution of a program. 

A type of loop that repeats a block of code a specific number of times.

A function that takes input and returns a value based on that input.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An identifier is the ‘name’ given to a variable. For example: 
distanceToSchool = 10
Which part is the identifier?

10
=
distanceToSchool

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An identifier is the ‘name’ given to a variable. For example: 
distanceToSchool = 10
What is the value of the variable?

10
=
distanceToSchool

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following assignment statements is assigning a number .

myAge = 21
myAge = "21"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following assignment statements is assigning a string.

myName = "David"
myAge = 21

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A constant is a value that cannot be altered by the program during normal execution: the value stays the same. 

True
False

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?