Search Header Logo

Pseudocode

Computers

9th - 11th Grade

Used 1K+ times

Pseudocode
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the definition of a variable?

A container which is used to store values such as the number of attempts a person tries to log on to a network.
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
A value that cannot be altered by the program during normal execution: the value stays the same. 
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

Which of the following is the definition of a comment?

A container which is used to store values such as the number of attempts a person tries to log on to a network.
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
A value that cannot be altered by the program during normal execution: the value stays the same. 
Messages to explain to others, and often to remind yourself, what the code is intended to do. 

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the definition of pseudocode?

A container which is used to store values such as the number of attempts a person tries to log on to a network.
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
A value that cannot be altered by the program during normal execution: the value stays the same. 
Messages to explain to others, and often to remind yourself, what the code is intended to do. 

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is the definition of a constant?

A container which is used to store values such as the number of attempts a person tries to log on to a network.
A language that is similar to a real programming language, but is easier for humans to understand although it doesn’t actually run on a computer. It can easily be converted to a regular programming language.
A value that cannot be altered by the program during normal execution: the value stays the same. 
Messages to explain to others, and often to remind yourself, what the code is intended to do. 

5.

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

6.

MULTIPLE CHOICE QUESTION

45 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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a considered a golden rule for choosing variable identifiers?

Shorter identifiers are easier to type and spell. A longer identifier could easily be misspelt. 
Longer identifiers may be used if they are more descriptive of the data they represent. 
Variable identifiers are normally written in capitals.
Some identifiers may be reserved words used by the programming language and cannot be used and in many programming languages identifiers cannot begin with a number.

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?