Revision On Programming Languages Translators and Computer Architecture
Revision On Programming Languages Translators and Computer Architecture
In which language
are the
instructions
written?
Machine Code
Assembly language
What is an IDE? An IDE is used by programmers to help them in the writing and development of programs.
There are many different IDEs available. Some support one programming language, others can be
used for several different programming languages. For example, Visual Studio (visual Basic) IDE
Translator
Most IDEs usually provide a translator, this can be a compiler and/or an interpreter, to enable
the program to be translated and executed.
Run-Time environment
This is another feature where the outputs from the executed code is displayed.
Auto Correction
It finds possible errors as the program code is being typed, alerts the programmer of any errors
and provides a suggested correction.
Auto Completion
This is another feature which gives the user options when they start typing commands.
PrettyPrint
It is a feature which changes the colour of the text, and lays out the program in a meaningful
way. This is called prettyprinting.
Describe the 3
parts of the CPU
Give three features
of the Von
Neumann
architecture
Describe the
purpose of each
register used in the
fetch decode
execute cycle
Describe the
stages in the fetch
decode cycle
Describe the 1. Core
factors that affect A CPU with multiple cores has more power to run multiple programs at the same time.
the performance 2. Cache Memories
of the CPU Cache memory is located within CPU itself which means it has faster data access times
than RAM. Cache memory stores frequently used instructions and data that need to be
accessed faster which improves the CPU performance.
3. Clock Speed
By increasing the clock speed, the processing speed of the computer is also increased
(3.5 GHz means 3.5 billion clock cycles per second)
4. Bus Width
Increasing bus width of address and data buses can increase the performance and speed of a
computer system
Why is Overclocking can lead to serious overheating of the CPU again leading to unreliable performance.
overclocking not a
good idea?
Why do you think Since we have to take into account the need for the CPU to communicate with each core; this will
doubling the reduce overall performance.
number of cores
does not
necessarily double
the computer’s
performance?
What is an Instructions are commands which are decoded and executed in sequence.
instruction?
What is an Each CPU is designed to execute a specific group of instructions called instruction set
instruction set? An example of an instruction set is the X86 instruction set