Machine, Assembly and High-level Programming Languages Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is Low-Level code?

A

Machine code has the least abstraction; processors execute it directly
Assembly and high-level code must be translated to machine code
Machine code is specific to a processor/family of processors(not portable), and corresponds to its instruction set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is High Level code?

A

Most like ordinary lanuages, so are far easier to use(Still strict syntax)
They are portable, meaning they can be executed on many computers I.E you don’t need to write hardware specific code, like low-level
However, somehigh-level languages are more abstract than others
Less abstract: pointers, strong types, enums, stack, templates etc
More abstract lanaguage level more work to be done at runtime, so are much slower to execute. with less abstract, you can optimise more

How well did you know this?
1
Not at all
2
3
4
5
Perfectly