Computing Paper 1 Flashcards
What Is An Algorithm?
An algorithm is a set of instructions for the computer to follow
What Is Abstraction?
Abstraction is the process of filtering out – ignoring - the characteristics of patterns that we don’t need in order to concentrate on those that we do.
What Is The Purpose Of A Simple Algorithm?
To Make It Easier For The Programmer To Program The Program
Can More Than One Algorithm Solve A Problem?
Yes
What Are The Five Main Data Types?
Boolean, Float, String, Integer, Character
How Are Subroutines Used In Programs?
They Are Used So If The Programmer Wants To Use The Same Function More Than Once They Don’t Have to Code it Again And Again.
What is a Data Structure?
When You Store Data In Such A Way That It Can Be Accessed Easily And Efficiently
How Are Lists (Arrays) Used In Programs?
They Are Used To Concentrate Data Of The Same Type.
What Is The Definition Of Validation
It Is When The Computer Checks to see if the data is viable or not.
What are the features of a low-level programming language?
A low-level programming language is a programming language that provides little or no abstraction from a computer’s instruction set architecture—commands or functions in the language map closely to processor instructions
What are the features of a high-level programming language?
High-level languages deal with variables, arrays, objects, complex arithmetic or boolean expressions, subroutines and functions, loops, threads, locks, and other abstract computer science concepts
Why must code written in a high level language be translated into machine code?
As high level languages are written in such a way that it is easier to use, it must be translated into machine code so that the CPU can understand it.
What are the three common types of translator?
Interpreter, Compiler, Assembler
What does a compiler do?
It translates the entire program and reports any problems it encounters.
What does an interpreter do?
Translates the program line by line, and reports the error when it encounters one