Programming Principles

Programming Principles

12th Grade

71 Qs

quiz-placeholder

Similar activities

Exploration of IT - Unit 4 Post Test

Exploration of IT - Unit 4 Post Test

9th - 12th Grade

71 Qs

CS Study Guide ALL

CS Study Guide ALL

12th Grade - University

74 Qs

Python Basics

Python Basics

9th - 12th Grade

72 Qs

ITF+ pt3

ITF+ pt3

9th Grade - Professional Development

67 Qs

Visual Basic Applications VBA

Visual Basic Applications VBA

3rd Grade - University

74 Qs

PBS SAINS KOMPUTER T4 - 1.6 Struktur Data dan Modular

PBS SAINS KOMPUTER T4 - 1.6 Struktur Data dan Modular

10th - 12th Grade

70 Qs

ICT SPM : LA5 ( Pengaturcaraan)

ICT SPM : LA5 ( Pengaturcaraan)

10th - 12th Grade

68 Qs

Software Year 12

Software Year 12

12th Grade

70 Qs

Programming Principles

Programming Principles

Assessment

Quiz

Computers

12th Grade

Hard

Created by

C Deighan

Used 1+ times

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?