Chapter 1 Intro to Comp. and Programming Flashcards
A ______ is a set of instructions that a computer follows to perform a task
a. compiler
b. program
c. interpreter
d. programming language
program
The physical devices that computer is made of are referred to as
a. hardware
b. software
c. the operating system
d. tools
hardware
The part of a computer that runs programs is called
a. RAM
b. secondary
c. main memory
d. The CPU
The CPU
Today’s CPU’s are small chips known as
a. ENIAC’s
b. microprocessors
c. memory chips
d. the microprocessor
microprocessors
The computer stores a program while the program is running, as well as the data that the program is working with, in
a. secondary storage
b. the cpu
c. the microprocessor
d. main memory
main memory
This is a volatile type of memory that is used only for temporary storage while a program is running
a. RAM
b. secondary storage
c. the disk drive
d. the USB drive
RAM
A type of memory that can hold data for long periods of time even when there is no power to the computer is called A. RAM b. main memory c. secondary storage d. CPU storage
secondary storage
A component that collects data from people or other devices and sends it to the computer is called
a. an output device
b. an input device
c. a secondary storage device
d. main memory
an input device
A video display is an
a. output device
b. input device
c. a secondary storage device
d. main memory
output device
A _______ is enough memory to store a letter of the alphabet or a small number
a. byte
b. bit
c. switch
d. transistor
byte
A byte is made up of eight_____
a. CPU’s
b. instructions
c. variables
d. bits
bits
In a _____ numbering system, all numeric values are written as sequences of 0’s and 1’s
a. hexadecimal
b. binary
c. octal
d. decimal
binary
A bit that is turned off represents the following value:
a. 1
b. -1
c. 0
d. “no”
0
A set of 128 numeric codes that represent the English letters, various punctuation marks and other characters is
a. binary numbering
b. ASCII
c. Unicode
d. ENIAC
ASCII
An extensive encoding scheme that can represent the characters of many of the languages in the world is
a. binary numbering
b. ASCII
c. Unicode
d. ENIAC
Unicode
Negative numbers are encoded using the ______technique
a. twos compliment
b. floating point
c. ASCII
d. Unicode
twos compliment
Real numbers are encoded using the ___ technique
a. twos compliment
b. floating point
c. ASCII
d. Unicode
floating point
The tiny dots of color that digital images are composed of are called_______
a. bits
b. bytes
c. color packets
d. pixels
pixels
If you were to look at a machine language program, you would see
a. Java code
b. a stream a binary numbers
c. English words
d. circuits
a stream a binary numbers
In the _____ part of the fetch-decode-execute cycle, the cpu determines which operation it should perform.
a. fetch
b. decode
c. execute
d. immediately after the instruction is executed
decode
Computers can only execute programs that are written in ______
a. Java
b. assembly language
c. machine language
d. C++
machine language
A ______ translates an assembly language program to a machine language program
a. assembler
b. compiler
c. translator
d. interpreter
assembler
The words that make up a high-level programming language are called
a. binary instructions
b. mnemonics
c. commands
d. key words.
key words
The rules that must be followed when writing a program are called
a. syntax
b. punctuation
c. key words
d. operators
syntax
A program translates a high-level language program into a separate machine language program
a. assembler
b. compiler
c. translator
d. utility
compiler