Back to marketplace

Problem Solving and Programming

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

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

Card preview (18)

#1
Front (Question)

What is the purpose of an IDE

Back (Answer)

A program which provides a set of tools to make it easier for programmers to write, develop and debug code.

#2
Front (Question)

What is the purpose of stepping

Back (Answer)

This allows you to monitor the effect of each individual line of code by executing a single line at a time.

#3
Front (Question)

What is the purpose of variable watch

Back (Answer)

Sometimes used to pinpoint errors, this is a useful feature to observe how the contents of a variable change in real-time through the execution of a program.

#4
Front (Question)

What is the purpose of breakpoints

Back (Answer)

IDEs allow users to set a point in the program at which the program will stop. This can either be based on a condition or set to occur at a specific line. This can help to pinpoint where an error is occurring.

#5
Front (Question)

What is the purpose of a source code editor

Back (Answer)

The editor aims to make the coding process easier by providing features such as autocompletion of words, indentation, syntax highlighting and automatic bracket completion.

#6
Front (Question)

What is the purpose of debugging tools

Back (Answer)

Some IDEs also provide run-time detection of errors with a guide as to where in the code they are likely to have occurred through line numbers and highlighting.

#7
Front (Question)

What are parameters

Back (Answer)

The values passed into a function

#8
Front (Question)

What are procedures/ functions

Back (Answer)

Procedures and functions are both named blocks of code that perform a specific task.

#9
Front (Question)

What is the difference between procedures and functions

Back (Answer)

Procedures do not have to return a value; functions must always return a value. Procedures can return multiple values whereas a function must return one, single value

#10
Front (Question)

What happens when we pass a parameter by value

Back (Answer)

When a parameter is passed by value, the value created for the subroutine being called is a copy of the original. Once it is passed, the parameter is held in a separate memory location, so is only available to that subroutine meaning the copy is now a local variable of that subroutine

#11
Front (Question)

What happens when we pass a parameter by reference

Back (Answer)

When a parameter is passed by reference, a pointer that contains the memory address of the original variable is created This means that any changes to that value from within the called subroutine will also affect the original variable

#12
Front (Question)

What is a variable

Back (Answer)

Identifier of a memory location used to store data

#13
Front (Question)

What is meant by the scope

Back (Answer)

The range of statements/ procedures/ functions/ methods that a variable is valid for

#14
Front (Question)

What is a global variable

Back (Answer)

A type of variable, usually defined at the start of a program, where the variable can be used everywhere in the program

#15
Front (Question)

What are local variables

Back (Answer)

A variable that is only valid within the procedure/ function/ sub routine in which they are declared

#16
Front (Question)

What happens if a local variable has the same name as a global variable

Back (Answer)

The local variable will take precedence over the values in the global variable

#17
Front (Question)

What is the purpose of translators in an IDE

Back (Answer)

Converts the users high level code into executable machine code

#18
Front (Question)

What is the purpose of a run-time environment in an IDE

Back (Answer)

It is software that supports the execution and running of programs, so developers can run their code during development