Search Header Logo

3.1-3.9 Programming Concepts 1

Authored by Dumbani Tunthuwa

Computers

9th Grade

Used 2+ times

3.1-3.9 Programming Concepts 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in programming?

A fixed value in a program

A storage location for a value that can change

A mathematical function

A piece of code that runs a program

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable assignment?

x ← 5

5 ← x

5 = x

x -> 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if a variable is assigned a new value?

The original value remains unchanged

The variable stores both the old and new values

The old value is replaced by the new one

The program crashes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following pseudocode? a ← 10 b ← a a ← 20 display(b)

10

20

30

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes an assignment statement?

It assigns a function to a variable

It assigns a value to a variable

It compares two values

It deletes a variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main purpose of data abstraction?

To store all data as numbers

To simplify complex data by hiding details

To increase memory usage

To write more code

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A list is best described as:

A single variable holding one value

A collection of related values

A function in a program

A type of loop

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?