COP1510 Exam 1

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

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

A stream of binary numbers

A set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters is __________. Most important coding scheme.

ASCII

What is the difference between a compiler and an interpreter?

Compiler: Translates, Interpreter: Translates AND executes

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

Digital device (such as computer)

T/F: A syntax error does not prevent a program from being compiled and executed.

False

T/F: Assembly language is considered a high-level language.

False

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

False

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

False

T/F: Windows, Linux, Android, iOS, and macOS are all examples of application software.

False

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

False

Single program that provides tools to write, execute, and test a program

IDLE (Integrated Development Program)

What are the words that make up a high-level programming language called?

Key words

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

Mnemonics

What number does a bit that is turned on represent? What number does a bit that is turned off represent?

On: 1, Off: 0

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

Operating system

__________ perform operations on data (math __________ to perform arithmetic).

Operators

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

True

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

True

T/F: Machine language is the only language that a CPU understands.

True

T/F: Main memory is also known as RAM.

True

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

Unicode

Why is the CPU the most important component in a computer?

Without the CPU, software cannot run.

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

an input device

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

assembler

In the __________ numbering system, all numeric values are written as sequences of 0s and 1s.

binary

A byte is made up of eight __________.

bits

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

byte

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

compiler

In the __________ part of the fetch-decode-execute cycle, the CPU determines which operation it should perform.

decode

In the __________ part of the fetch-decode-execute cycle, the CPU performs the operation. Stored in RAM while running.

execute

In the __________ part of the fetch-decode-execute cycle, the next instruction is read from secondary memory into CPU.

fetch

Real numbers are encoded using the technique __________.

floating point

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

hardware

Python interpreter mode that allows you to enter statements on a keyboard:

interactive mode

Python interpreter can be used in two modes: __________ and __________.

interactive mode and script mode

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

key words

Computers can only execute programs that are written in __________.

machine language

The computer stores a program while the program is running, as well as the data that the program is working with, in __________.

main memory (RAM)

This is a volatile type of memory that is used only for temporary storage while a program is running.

main memory (RAM)

Today, CPUs are small chips known as __________.

microprocessors

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

Digital music is composed of sections called _________. Each __________ is converted to a binary number for storage.

samples

Python interpreter mode that allows you to save statements in Python script:

script mode

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

secondary storage

A(n) __________ is an individual instruction used in high-level language

statement

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

syntax

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

the CPU

Negative numbers are encoded using the __________ technique.

two's complement

A bit that is turned off represents the following value: __________.

zero


संबंधित स्टडी सेट्स

Module Quizzes: Chapter 1, 4, 7, 8, 9 and 10

View Set

Pharmacology Quiz 3: Chapters 17,18,31,32,32,34

View Set