5. Mnemonics
6. A compiler is a program that translates a high-level language program into a separate
machine language program. The machine language program can then be executed any time
it is needed. An interpreter is a program that both translates and executes the instructions in
a high-level language program. As the interpreter reads each individual instruction in the
program, it converts it to a machine language instruction and then immediately executes it.
Because interpreters combine translation and execution, they typically do not create separate
machine language programs.
7. Operating system
Exercises
1. No solution -- This is a hands-on exercise to help you learn how to work with the
Python interpreter in interactive mode.
2. No solution -- This is a hands-on exercise to help you learn how to work with the
IDLE programming environment.
3. Decimal Binary
11 1011
65 1000001
100 1100100
255 11111111
4. Binary Decimal
1101 13
1000 8
101011 43
5. Here is an example: The ASCII codes for the name Marty are:
M = 77
a = 97
r = 114
t = 226
y = 121
Category | exam bundles |
Comments | 0 |
Rating | |
Sales | 0 |