Back to marketplace

Unit 11 Programming Techniques

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

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

Card preview (24)

#1
Front (Question)

What is an IDE?

Back (Answer)

Integrated Development Environment A software which enables you to enter, edit, compile, interpret and run your programs

#2
Front (Question)

How can an IDE make entering program code as easy and quick as possible? (4)

Back (Answer)

• Add line numbers • Automatically indent code • Auto-complete commands • Comment or un-comment a region

#3
Front (Question)

What is an Algorithm?

Back (Answer)

A sequence of instructions that can be followed to solve a problem

#4
Front (Question)

What is Pseudocode?

Back (Answer)

A type of instructions that are somewhere between English and a programming language

#5
Front (Question)

What is an Identifier?

Back (Answer)

A name that points to memory location

#6
Front (Question)

What is Assignment?

Back (Answer)

Assigning a value to the memory location

#7
Front (Question)

What is the difference between a Variable and a Constant?

Back (Answer)

A variable can be changed a constant can’t

#8
Front (Question)

Why would someone use a Constant instead of a Variable?

Back (Answer)

Reduces the risk of errors by reducing access to the memory location

#9
Front (Question)

What does MOD do?

Back (Answer)

Outputs the remainder after dividing 2 numbers

#10
Front (Question)

What does DIV do?

Back (Answer)

Outputs the integer answer after dividing 2 numbers

#11
Front (Question)

What does a Boolean Condition evaluate to?

Back (Answer)

True or Flase

#12
Front (Question)

What does AND do?

Back (Answer)

Returns TRUE if both conditions are true

#13
Front (Question)

What does OR do?

Back (Answer)

Returns TRUE if either of the conditions is true

#14
Front (Question)

What does NOT do?

Back (Answer)

A TRUE expression becomes FALSE and vice versa

#15
Front (Question)

What is Iteration?

Back (Answer)

Repetition of sections of code. There are 3 types of loop: While, Do and For

#16
Front (Question)

What is a Subroutine?

Back (Answer)

A set of instructions with a name. Program flow will ‘jump’ to that subroutine when called. When the subroutine has finished, the program will continue from where it was called

#17
Front (Question)

What is a Library Subroutine?

Back (Answer)

A subroutine that comes pre-defined with the programming language

#18
Front (Question)

How do you pass data to a Subroutine?

Back (Answer)

Put arguments in parentheses after calling the subroutine

#19
Front (Question)

Why is the order of the parameters in the parentheses in the Subroutine important?

Back (Answer)

Each parameter order corresponds to a different variable in the subroutine

#20
Front (Question)

How can a Function return a value?

Back (Answer)

Using a return statement

#21
Front (Question)

What’s the difference between a Local and Global Variable?

Back (Answer)

A local variable is contained in a subroutine and can only be used, referenced or changed in that subroutine. A global variable is defined in the main program and can be used in any subroutine called from the main program

#22
Front (Question)

What are the advantages of a Local Variable? (2)

Back (Answer)

• The subroutines will be independent of a particular program and can be re-used in different programs • There is no chance of accidentally changing a variable in the main program that is used in a subroutine or vice versa

#23
Front (Question)

What is Modular Programming?

Back (Answer)

Where a major task is broken down into smaller subtasks that may be further broken down until each ‘module’ performs a single function

#24
Front (Question)

What are the advantages of Modular Programming? (4)

Back (Answer)

• Large programs are broken down into subtasks that are easier to program and manage • Each module can be individually tested • Modules can be re-used several times in a program • Large programs are much easier to debug and maintain