Python Final Exam Questions With Correct
Answers
A(n) __________ program translates a high-level language program into
| | | | | | | | |
a separate machine language program.
| | | |
| translator |
| assembler |
| compiler |
| utility - CORRECT ANSWER✔✔-compiler
| | |
The rules that must be followed when writing a program are called
| | | | | | | | | | | |
__________.
| operators |
| punctuation |
| syntax |
| key words - CORRECT ANSWER✔✔-syntax
| | | |
The __________ translates an assembly language program to a machine
| | | | | | | | |
language program.
| |
,| assembler |
| translator |
| compiler |
| interpreter - CORRECT ANSWER✔✔-assembler | | |
Computers can only execute programs that are written in __________.
| | | | | | | | |
| assembly language | |
| Java |
| Python |
| machine language - CORRECT ANSWER✔✔-machine language
| | | | |
In the __________ numbering system, all numeric values are written as
| | | | | | | | | | |
sequences of 0s and 1s. | | | |
| octal |
| hexadecimal |
| decimal |
| binary - CORRECT ANSWER✔✔-binary
| | |
,A byte is made up of __________ bits.
| | | | | | |
| 2 |
| 8 |
| 16 |
| 4 - CORRECT ANSWER✔✔-8
| | |
A byte is enough memory to store a(n) __________ value.
| | | | | | | | |
| character |
| exponential |
| integer |
| floating point - CORRECT ANSWER✔✔-character
| | | |
A type of memory that can hold data for long periods of time, even
| | | | | | | | | | | | | |
when there is no power to the computer, is called __________.
| | | | | | | | | |
| RAM |
| CPU registers
| |
| secondary storage | |
| main memory - CORRECT ANSWER✔✔-secondary storage
| | | | |
, This is a volatile type of memory that is used only for temporary storage
| | | | | | | | | | | | | |
while a program is running.
| | | |
| secondary storage | |
| RAM |
| the USB drive
| | |
| the disk drive - CORRECT ANSWER✔✔-RAM
| | | | |
The part of a computer that runs programs is called __________.
| | | | | | | | | |
| CPU |
| secondary storage | |
| RAM |
| main memory - CORRECT ANSWER✔✔-CPU
| | | |
Which command is used to print the path to the current working
| | | | | | | | | | | |
directory?
| path |
| chmod |
| cat |
Answers
A(n) __________ program translates a high-level language program into
| | | | | | | | |
a separate machine language program.
| | | |
| translator |
| assembler |
| compiler |
| utility - CORRECT ANSWER✔✔-compiler
| | |
The rules that must be followed when writing a program are called
| | | | | | | | | | | |
__________.
| operators |
| punctuation |
| syntax |
| key words - CORRECT ANSWER✔✔-syntax
| | | |
The __________ translates an assembly language program to a machine
| | | | | | | | |
language program.
| |
,| assembler |
| translator |
| compiler |
| interpreter - CORRECT ANSWER✔✔-assembler | | |
Computers can only execute programs that are written in __________.
| | | | | | | | |
| assembly language | |
| Java |
| Python |
| machine language - CORRECT ANSWER✔✔-machine language
| | | | |
In the __________ numbering system, all numeric values are written as
| | | | | | | | | | |
sequences of 0s and 1s. | | | |
| octal |
| hexadecimal |
| decimal |
| binary - CORRECT ANSWER✔✔-binary
| | |
,A byte is made up of __________ bits.
| | | | | | |
| 2 |
| 8 |
| 16 |
| 4 - CORRECT ANSWER✔✔-8
| | |
A byte is enough memory to store a(n) __________ value.
| | | | | | | | |
| character |
| exponential |
| integer |
| floating point - CORRECT ANSWER✔✔-character
| | | |
A type of memory that can hold data for long periods of time, even
| | | | | | | | | | | | | |
when there is no power to the computer, is called __________.
| | | | | | | | | |
| RAM |
| CPU registers
| |
| secondary storage | |
| main memory - CORRECT ANSWER✔✔-secondary storage
| | | | |
, This is a volatile type of memory that is used only for temporary storage
| | | | | | | | | | | | | |
while a program is running.
| | | |
| secondary storage | |
| RAM |
| the USB drive
| | |
| the disk drive - CORRECT ANSWER✔✔-RAM
| | | | |
The part of a computer that runs programs is called __________.
| | | | | | | | | |
| CPU |
| secondary storage | |
| RAM |
| main memory - CORRECT ANSWER✔✔-CPU
| | | |
Which command is used to print the path to the current working
| | | | | | | | | | | |
directory?
| path |
| chmod |
| cat |