Back to marketplace

Programming Concepts

No description yet. This curated deck is ready for daily study.

Total cards: 22•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (22)

#1
Front (Question)

What is the difference between data and information?

Back (Answer)

Computers understand data whereas humans understand information. Computers have to convert information into data in order to process it.

#2
Front (Question)

What is a constant?

Back (Answer)

A constant is a value that can’t be changed while the program runs

#3
Front (Question)

What is a variable?

Back (Answer)

A variable is a value that can be changed by the program as it runs

#4
Front (Question)

Why is it important that variables have data types?

Back (Answer)

Because using the correct data type helps to avoid errors. For example, if a program incorrectly stored numbers using the data type ‘string’, and then attempted to carry out mathematical operations on the is data, it would prove impossible because text data cannot be manipulated in this way.

#5
Front (Question)

What are the advantages of using Boolean?

Back (Answer)

• Faster entry of data • Less memory used • Lower the chances of errors

#6
Front (Question)

What is a multi-dimensional array?

Back (Answer)

An array that can store more than one series of data in conjunction

#7
Front (Question)

What are the three common relational Boolean operators?

Back (Answer)

AND OR NOT

#8
Front (Question)

What does each operator mean? A. = F. >

Back (Answer)

A. Less than B. Less than or equal to C. Equal to D. Not equal to E. Greater than or equal to F. Greater than

#9
Front (Question)

What is a procedure?

Back (Answer)

A set of instructions that form a specific task as part of a larger program

#10
Front (Question)

What is the difference between a procedure and a function?

Back (Answer)

A procedure simply executes it’s statements and then returns control to the main program whereas a function also receives and sends values between the program and itself

#11
Front (Question)

Name and describe three built in functions in a language of your choice.

Back (Answer)

(C++) Round- this rounds numbers up/down eg, Round(111.5) returns 112 Abs- this will return the number as a positive eg, Abs(-112) will return 112 Sqrt- this will return the square root of the number eg, sqrt(12544) will return 112

#12
Front (Question)

What is a parameter?

Back (Answer)

A value that is sent to a procedure or a function

#13
Front (Question)

What is a return value?

Back (Answer)

The data which functions send beck to the main program when they have finished their execution

#14
Front (Question)

Define scope

Back (Answer)

The range over a program in which a variable, constant, function or procedure can act

#15
Front (Question)

Give two types of functions with different scope

Back (Answer)

Public/global- can be called from anywhere in the program Private/local- can only be called from an individual area of the program

#16
Front (Question)

What is an algorithm?

Back (Answer)

A series of steps or instructions that are followed in order to solve a problem

#17
Front (Question)

What is pseudo code?

Back (Answer)

Structured English that describes and algorithm, similar to the real code

#18
Front (Question)

Describe a sequence

Back (Answer)

When a set of instructions is executed in order

#19
Front (Question)

Describe a selection

Back (Answer)

When an option of statements is provided and a condition is used to decide which option was chosen

#20
Front (Question)

Describe an iteration

Back (Answer)

When a group of statements are repeated until a condition is met

#21
Front (Question)

What is a nested construct?

Back (Answer)

Using one programming construct within another eg, using a selection within and iteration

#22
Front (Question)

Describe what is meant by top down design

Back (Answer)

Solving problems by breaking them down into smaller problems.