python exam 1 pt.1

Ace your homework & exams now with Quizwiz!

What is the largest value that can be stored in one byte?

255

What is the difference between a compiler and an interpreter?

A compiler translates high level languages to machine language. An interpreter executes the instructions in the source language rather than translating it into machine code.

A. Who was the creator of Python?

A. Guido Van Rossom

The ________ coding scheme contains a set of 128 numeric codes that are used to represent characters in the computer's memory.

ASCII

The __________ translates an assembly language program to a machine language program.

Assembler

B. When was Python created?

B. Was created in the late 80's and was implemented in 1989

A ______________ is enough memory to store a letter of the alphabet or a small number.

Byte

C. In the Python programming community, the person who created Python is commonly referred to as "BDFL". What does this mean?

C. Benevolent Dictator for Life

The part of a computer that runs programs is called _____________ .

CPU

Assembly language is considered a high-level language.

False

Images, like the ones created with your digital camera, cannot be stored as binary numbers.

False

Today, CPUs are huge devices made of electrical and mechanical components such as vacuum tubes and switches.

False

Windows, Linux, Android, iOS, and macOS are all examples of application software.

False

Word processing programs, spreadsheet programs, email programs, web browsers, and games are all examples of utility programs.

False

Today, CPUs are small chips known as _______________.

Microprocessors

What type of volatile memory is usually used only for temporary storage while running a program?

RAM

An interpreter is a program that both translates and executes the instructions in a high-level language program.

True

Any piece of data that is stored in a computer's memory must be stored as a binary number.

True

Machine language is the only language that a CPU understands.

True

Main memory is also known as RAM.

True

An extensive encoding scheme that can represent characters for many languages in the world is ___________________ .

Unicode

The physical devices that a computer is made of are referred to as _______________.

a. Hardware

Negative numbers are encoded using the ___________ technique.

a. two's complement

If you were to look at a machine language program, you would see ____________ .

b. a stream of binary numbers

A component that collects data from people or other devices and sends it to the computer is called ____________

b. an input device

Real numbers are encoded using the ________ technique.

b. floating point

The smallest storage location in a computer's memory is known as a

bit

Computers can only execute programs that are written in ____________.

c. machine language

A type of memory that can hold data for long periods of time, even when there is no power to the computer, is called _______________.

c. secondary storage

A(n) program translates a high-level language program into a separate machine language program.

compiler

The ________ is the part of the computer that actually runs programs and is the most important component in a computer.

cpu

A byte is made up of eight _________ .

d. bits

The words that make up a high-level programming language are called .

d. key words

What would you call a device that works with binary data?

digital device

All programs are normally stored in ROM and are loaded into RAM as needed for processing.

false

The process known as the ________ cycle is used by the CPU to execute instructions in a program.

fetch-decode-execute

Where does a computer store a program and the data that the program is working with while the program is running?

in main memory

The Python ________ is a program that can read Python programming statements and execute them.

interpreter

What are the short words that are used in assembly language called?

mnemonic

What type of software controls the internal operations of the computer's hardware?

operating system

A video display is a(n) ______________ device.

output

The tiny dots of color that digital images are composed of are called _______________.

pixels

A(n) __________ is a set of instructions that a computer follows to perform a task.

program

The rules that must be followed when writing a program are called .

syntax

Which type of error prevents the program from running?

syntax


Related study sets

Langenscheidt Grund- und Aufbauwortschatz Englisch

View Set

Med. Terminology Week 11 Chapter 14/15 Questions

View Set

Ch. 2 Financial Markets & Interest Rates

View Set

Chapter 5 PART 2 Objective Questions

View Set

Econ Final Exam: Combined Semester Tests

View Set