1/21
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai |
|---|
No analytics yet
Send a link to your students to track their progress
what are the types of programming language
high level language
low level language
define high level language
writing a program that is much more easier for humans to read and write
define low level language
writing a program that is close to machine code and harder for humans to understand
what are the advantages and disadvantages of high level language
advantages
easy for humans to read and write
easy to debug
faster to develop pograms
disadvantages
needs translator
cannot directly control hardware
what are the advantages and disadvantages of low level language
advantages
fast execution
can control hardware
efficient use of memory
disadvantages
hard for humans to read or write
harder to debug
what are examples of low level language
machine code
assembly language
what are the advantages of high level language
python
javascript
define assembly language
low level languge that use mnemonics (short words) instead of binary
define assembler
it is a translator that converts assembly language to machine code
define compiler
converts the code in a program into machine code before executing
it gives out a list of errors after the whole program has been compiled
define interpreter
converts the code in a program into machine code line by line
it stops in a line when it spots and error
what are the advantages and disadvantages of compiler
advantages
fast execution
produces executable file
disadvantages
slow to compile
hard to test line by line
what are the advantages and disadvantages of interpreter
advantages
good for development
easy to debug
disadvantages
slower execution
doesn’t produce an executable file
define IDE
(Integrated development environment) software that provides tools for programmers to write, test and debug
what are the roles of IDE
code editor
run-time environment
translator
error diagnostic
auto completion
pretty print
what is code editor
where you write the program
what is run-time environment
allows the program to run in the IDE
what is a translator
has a compiler or interpreter in the IDE
what is error diagnostics
shows errors in the program
define auto completion
suggests the code as you write
what Is auto correction
fixes simple grammatical mistakes in the program
what is pretty printing
formats the code in a neat way