4.2 TypesofProgrammingLanguage, Translators&IDEs
4.2 TypesofProgrammingLanguage, Translators&IDEs
YOUR NOTES
IGCSE Computer Science CIE
CONTENTS
High & Low Level Languages
Assembly Language
Translators
IDE
Page 1 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to savemyexams.com for more awesome resources
Advantages Disadvantages
It gives programmers complete control over the Difficult to write and understand
system components so it can control hardware
components.
Efficient code can be written for the processor so it will Machine dependent and cannot be
occupy less memory and execute faster added to different specification
machines
Page 2 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to savemyexams.com for more awesome resources
YOUR NOTES
Advantages Disadvantages
It is easier to read and write and the The user is not able to directly manipulate the
programmer is less likely to make mistakes hardware
Exam Tip
You will be asked about the advantages and disadvantages of high or low level
languages or you will be asked to compare and contrast between the two types
of language
Page 3 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to savemyexams.com for more awesome resources
Exam Tip
A question will focus more directly on how the assembler converts to work with
the hardware. You must focus on mnemonics being converted from a table and
into the corresponding binary code
Page 4 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to savemyexams.com for more awesome resources
Compiler
This method will translate a program into machine code. Compilers convert the source
code in one go into an executable file ready for distribution. This method is used mainly
when a program is finished with no syntax or logical errors
Compiling may take time to be processed, however, this can be used over without needing
to be recompiled every time, bearing in mind that the program contains no errors
Error reports are produced after a program has been translated. Common errors in code will
allow the computer to crash and not respond, it’s important to be aware that if there are
errors the source code must be changed to compile again
Interpreter
This is the method that directly sends the source code to the machine code. This will
translate each line of code individually, if an error occurs the program will stop and an error
message will occur. Once the error message is fixed, the program can carry on running from
where the error occurred
Exam Tip
You will need to have a good understanding of the difference between a
compiler and an interpreter. You will need to focus on features of compilers and
interpreters or focusing on an overall comparison between the two
Although both translators find errors in code, they do not debug the errors - this
is done by the programmer
Page 5 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to savemyexams.com for more awesome resources
Advantages Disadvantages
Run quickly as the program as the Due to all code being compiled at the same time there
source code has been stored to be must be enough memory space to handle this, if not and
translated virtual memory is used it can be much slower
Interpreter
Advantages Disadvantages
Page 6 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers
Head to savemyexams.com for more awesome resources
Exam Tip
You could be asked to Identify or Describe different features within an
Integrated Development Environment (IDE) this number could range from 2-5
Page 7 of 7
© 2015-2023 Save My Exams, Ltd. · Revision Notes, Topic Questions, Past Papers