Programming Principles

Programming Principles

12th Grade

71 Qs

quiz-placeholder

Similar activities

AP CSP AP Test Study

AP CSP AP Test Study

9th - 12th Grade

68 Qs

Python03条件判断

Python03条件判断

11th Grade - University

67 Qs

IBCA Semester Exam Review

IBCA Semester Exam Review

KG - University

66 Qs

Ôn tập Tin 12 (1-4)

Ôn tập Tin 12 (1-4)

12th Grade

73 Qs

OCR A Level Computer Science - 1.4.x

OCR A Level Computer Science - 1.4.x

12th Grade

67 Qs

Unity Certification Prep-Chapters 1-5

Unity Certification Prep-Chapters 1-5

12th Grade

74 Qs

Web Design final

Web Design final

9th - 12th Grade

71 Qs

TIK KELAS 7

TIK KELAS 7

KG - University

70 Qs

Programming Principles

Programming Principles

Assessment

Quiz

Computers

12th Grade

Practice Problem

Hard

Created by

C Deighan

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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.

Create a free account and access millions of resources

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?