Search Header Logo

Programming Principles

Authored by C Deighan

Computers

12th Grade

Used 1+ times

Programming Principles
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

71 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can be used within programs and functions to organize different types of data in a computer program?

Constants and variables

Functions and arrays

Loops and conditions

Operators and expressions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a variable in the context of computer programming?

A fixed memory location

A set of instructions

A named memory location where data can change

A data type

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we assign a value to a variable in a computer program?

Using a comparison operator

Using an assignment operator

Using an arithmetic operator

Using a logical operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of changing the value of a variable during the running of a program?

age = age + 1

age == age + 1

age + age = 1

age = age

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a constant in programming?

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

A named location in memory that contains a value that does not change during the execution of a program.

A function that performs a specific task.

A data type that allows for different values over time.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When writing code, how are constants typically identified?

By using lower case letters.

By using a special symbol at the beginning.

By using upper case letters.

By using italics.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an array?

A single value that can store multiple data types.

A set of values of different data types stored under one identifier.

A set of values of the same data type stored under one identifier.

A function that stores multiple values.

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?