Translators and integrated development environments(IDE) Flashcards
high level languages
code is easy to read , understand and modify
must be translated to machine code before a computer is able to understand it
less memory efficient and slower
low level languages
very difficult to read understand and modify
commands in machine code meaning that it can be executed without the need of a translator
more memory efficient and faster
what are the 2 types of translators and what are they used for
compilers and interpreters and they are used to translate high level language into machine code
compiler
translates all of the source code at the same time creating 1 executable file
only needed once to create the executable file
returns a list of errors once the entire program has been compiled
interpreter
translates and runs the source code one instruction at a time but no executable file is created
needed every time you want to run the program
interpreter will stop once it finds the first error. this is useful for debugging
what is an IDE
an integrated development environment is a piece of software that provides features to help a programmer to develop their program
run-time environment
allows code to be run quickly within the IDE
explorer window
help navigate through programs
output window
show the output from a program when it is run
breakpoints
debugging tool, they stop the program on certain lines so can gather information like the value of variables