Docsity

Python Programming Exam 1: Questions and Answers, Exams of Advanced Education

Toggle sidebar
bg1
python exam 1 pt.1 questions &
answers
An interpreter is a program that both translates and executes the
instructions in a high-level language program. - ANSWERS-True
The __________ translates an assembly language program to a machine
language program. - ANSWERS-Assembler
Machine language is the only language that a CPU understands. - ANSWERS-
True
Assembly language is considered a high-level language. - ANSWERS-False
A(n) program translates a high-level language program into a separate
machine language program. - ANSWERS-compiler
What type of volatile memory is usually used only for temporary storage
while running a program? - ANSWERS-RAM
Where does a computer store a program and the data that the program is
working with while the program is running? - ANSWERS-in main memory
What is the largest value that can be stored in one byte? - ANSWERS-255
The smallest storage location in a computer's memory is known as a -
ANSWERS-bit
pf3
pf4
pf5

Partial preview of the text

Download Python Programming Exam 1: Questions and Answers and more Exams Advanced Education in PDF only on Docsity!

python exam 1 pt.1 questions &

answers

An interpreter is a program that both translates and executes the instructions in a high-level language program. - ANSWERS-True The __________ translates an assembly language program to a machine language program. - ANSWERS-Assembler Machine language is the only language that a CPU understands. - ANSWERS- True Assembly language is considered a high-level language. - ANSWERS-False A(n) program translates a high-level language program into a separate machine language program. - ANSWERS-compiler What type of volatile memory is usually used only for temporary storage while running a program? - ANSWERS-RAM Where does a computer store a program and the data that the program is working with while the program is running? - ANSWERS-in main memory What is the largest value that can be stored in one byte? - ANSWERS- The smallest storage location in a computer's memory is known as a - ANSWERS-bit

The Python ________ is a program that can read Python programming statements and execute them. - ANSWERS-interpreter The ________ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer's memory. - ANSWERS-ASCII The process known as the ________ cycle is used by the CPU to execute instructions in a program. - ANSWERS-fetch-decode-execute The ________ is the part of the computer that actually runs programs and is the most important component in a computer. - ANSWERS-cpu All programs are normally stored in ROM and are loaded into RAM as needed for processing. - ANSWERS-false Which type of error prevents the program from running? - ANSWERS-syntax What is the decimal value of the following binary number? - ANSWERS- A video display is a(n) ______________ device. - ANSWERS-output The physical devices that a computer is made of are referred to as _______________. - ANSWERS-a. Hardware Today, CPUs are small chips known as _______________. - ANSWERS- Microprocessors What is the difference between a compiler and an interpreter? - ANSWERS-A compiler translates high level languages to machine language. An interpreter

A ______________ is enough memory to store a letter of the alphabet or a small number. - ANSWERS-Byte What are the short words that are used in assembly language called? - ANSWERS-mnemonic The part of a computer that runs programs is called _____________. - ANSWERS-CPU The words that make up a high-level programming language are called. - ANSWERS-d. key words What type of software controls the internal operations of the computer's hardware? - ANSWERS-operating system The tiny dots of color that digital images are composed of are called _______________. - ANSWERS-pixels Images, like the ones created with your digital camera, cannot be stored as binary numbers. - ANSWERS-False If you were to look at a machine language program, you would see ____________. - ANSWERS-b. a stream of binary numbers Real numbers are encoded using the ________ technique. - ANSWERS-b. floating point An extensive encoding scheme that can represent characters for many languages in the world is ___________________. - ANSWERS-Unicode

The rules that must be followed when writing a program are called. - ANSWERS-syntax Negative numbers are encoded using the ___________ technique. - ANSWERS- a. two's complement A(n) __________ is a set of instructions that a computer follows to perform a task. - ANSWERS-program Main memory is also known as RAM. - ANSWERS-True Word processing programs, spreadsheet programs, email programs, web browsers, and games are all examples of utility programs. - ANSWERS-False Windows, Linux, Android, iOS, and macOS are all examples of application software. - ANSWERS-False Computers can only execute programs that are written in ____________. - ANSWERS-c. machine language