Top answers


What is the difference between compile-time errors and runtime errors?

Before we can run our program on a computer, a compiler translates our human-readable code into machine language - a long string of 0s and 1s. When the code is being compiled, the compiler looks for syntax e...
TG
Answered by Teodora G. Computing tutor
3804 Views

Describe the difference between passing parameters into a function by reference and by value? Indicating how this may lead to unexpected outputs.

Passing an input parameter by reference is also called pass by address, this is where the address of the variable to act on is passed to the function. This allows the function to change the value stored at t...
MB
Answered by Morgan B. Computing tutor
2797 Views

What is the difference between a dynamic and a static data structure?

A dynamic data structure is one that is not fixed in size and may not be contiguous in the computer's main memory. This is implemented through the use of pointers which 'point' to the location of the next it...
TD
Answered by Toby D. Computing tutor
16073 Views

What is an algorithm?

An algorithm is a set of steps that can be followed to complete a task. There are lots of examples of algorithms that we follow or use in our everyday lives. Algorithms are used to solve the many problems th...
JZ
Answered by Joshua Z. Computing tutor
2710 Views

What is Control Flow in a Computer Program?

Control Flow is the order in which elements of a computer program - instructions, statements and function calls - are executed and evalutated. In a computer program, actions will run in sequence , one after ...
AC
Answered by Alexis C. Computing tutor
18913 Views