Chapter 1 Intro to Comp. and Programming Flashcards

1
Q

A ______ is a set of instructions that a computer follows to perform a task

a. compiler
b. program
c. interpreter
d. programming language

A

program

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

a. hardware
b. software
c. the operating system
d. tools

A

hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

The part of a computer that runs programs is called

a. RAM
b. secondary
c. main memory
d. The CPU

A

The CPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Today’s CPU’s are small chips known as

a. ENIAC’s
b. microprocessors
c. memory chips
d. the microprocessor

A

microprocessors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

main memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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

A

RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
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
A

secondary storage

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

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

A

an input device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

A video display is an

a. output device
b. input device
c. a secondary storage device
d. main memory

A

output device

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

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

a. byte
b. bit
c. switch
d. transistor

A

byte

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A byte is made up of eight_____

a. CPU’s
b. instructions
c. variables
d. bits

A

bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

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

A

binary

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A bit that is turned off represents the following value:

a. 1
b. -1
c. 0
d. “no”

A

0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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

A

ASCII

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

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

A

Unicode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Negative numbers are encoded using the ______technique

a. twos compliment
b. floating point
c. ASCII
d. Unicode

A

twos compliment

17
Q

Real numbers are encoded using the ___ technique

a. twos compliment
b. floating point
c. ASCII
d. Unicode

A

floating point

18
Q

The tiny dots of color that digital images are composed of are called_______

a. bits
b. bytes
c. color packets
d. pixels

A

pixels

19
Q

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

a stream a binary numbers

20
Q

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

A

decode

21
Q

Computers can only execute programs that are written in ______

a. Java
b. assembly language
c. machine language
d. C++

A

machine language

22
Q

A ______ translates an assembly language program to a machine language program

a. assembler
b. compiler
c. translator
d. interpreter

A

assembler

23
Q

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

a. binary instructions
b. mnemonics
c. commands
d. key words.

A

key words

24
Q

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

a. syntax
b. punctuation
c. key words
d. operators

A

syntax

25
Q

A program translates a high-level language program into a separate machine language program

a. assembler
b. compiler
c. translator
d. utility

A

compiler