0% found this document useful (0 votes)
7 views

Revision On Programming Languages Translators and Computer Architecture

Computer science programming language

Uploaded by

aburishabhtate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Revision On Programming Languages Translators and Computer Architecture

Computer science programming language

Uploaded by

aburishabhtate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

QUESTIONS ANSWERS

What is a It is a program that converts a program into machine code.


translator?
What is an An assembler converts a program written assembly language into machine code.
assembler?
Name two 1. Compiler
translators to 2. Interpreter
convert a high
level language
program into
machine code.
Differentiate
between a
compiler and an
interpreter

In which language
are the
instructions
written?
Machine Code

Assembly language

High level language


Differentiate
between High level
and Low level
languages

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

Describe the Code editor


features of an IDE. A code editor allows a program to be written and edited without the need to use a separate text
editor, for example, Visual Studio code editor.

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 three


types of buses that
are used in 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

Name the parts of An instruction has 2 parts:


an instruction 1. Op Code (operation Code)
2. Operand

You might also like