Print Options

Card layout:

← Back to notecard set|Easy Notecards home page

Instructions for Side by Side Printing
  1. Print the notecards
  2. Fold each page in half along the solid vertical line
  3. Cut out the notecards by cutting along each horizontal dotted line
  4. Optional: Glue, tape or staple the ends of each notecard together
  1. Verify Front of pages is selected for Viewing and print the front of the notecards
  2. Select Back of pages for Viewing and print the back of the notecards
    NOTE: Since the back of the pages are printed in reverse order (last page is printed first), keep the pages in the same order as they were after Step 1. Also, be sure to feed the pages in the same direction as you did in Step 1.
  3. Cut out the notecards by cutting along each horizontal and vertical dotted line
Print these notecards...Print as a list

112 notecards = 28 pages (4 cards per page)

Viewing:

CSI-117 midterm

front 1

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

back 1

program

front 2

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

back 2

hardware

front 3

The part of a computer that runs programs is called _________

back 3

the CPU

front 4

Today, CPUs are small chips known as __________`

back 4

microprocessors

front 5

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

back 5

main memory

front 6

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

back 6

RAM

front 7

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

back 7

Secondary storage

front 8

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

back 8

input device

front 9

a video display is an __________

back 9

output device

front 10

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

back 10

byte

front 11

a byte is made up of 8 _____

back 11

bits

front 12

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

back 12

binary

front 13

a bit that is turned off represents the following value: ________

back 13

0

front 14

A set of 128 numeric codes that represent the English letters, various punctuation marks, and other characters is _________

back 14

ASCII

front 15

An extensive encoding scheme that can represent the characters of many of the languages in the world is ____________

back 15

Unicode

front 16

Negative numbers are encoded using the ________ method

back 16

two's complement

front 17

Real numbers are encoded using the _______ technique

back 17

floating-point

front 18

The tiny dots of color that digital images are composed of are called _________

back 18

pixels

front 19

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

back 19

a stream of binary numbers

front 20

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

back 20

decode

front 21

Computers can only execute code written in _________

back 21

machine language

front 22

The ______ translates an assembly language into a machine language program

back 22

assembler

front 23

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

back 23

mnemonics

front 24

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

back 24

syntax

front 25

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

back 25

compiler

front 26

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

back 26

False

front 27

Main Memory is aka RAM

back 27

True

front 28

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

back 28

True

front 29

Images, like the ones you make with a digital camera, cannot be stored as a binary number

back 29

False

front 30

Machine language is the only language that the CPU understands

back 30

True

front 31

Assembly language is considered a high-level language

back 31

False

front 32

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

back 32

true

front 33

A syntax error does not prevent a program from being compiled and executed

back 33

False

front 34

Windows Vista, Linux, and Mac OS X are all examples of application software

back 34

False

front 35

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

back 35

False

front 36

A ________ error does not prevent the program from running, but causes it to produce incorrect results

back 36

logic

front 37

A _________ is a single function that the program must perform in order to satisfy the customer

back 37

software requirement

front 38

an _________ is a set of well-defined logical steps that must be taken to perform a task

back 38

algorithm

front 39

An informal language that has no syntax rules, and is not meant to be compiled or executed is called ________

back 39

psuedocode

front 40

A _________ is a diagram that graphically depicts the steps that take place in a program

back 40

flowchart

front 41

a ________ is a set of statements that execute in the order that they appear

back 41

sequence structure

front 42

a _________ is a sequence of characters that is used as data

back 42

string

front 43

a ___________ is a storage location in memory that is represented by a name

back 43

variable

front 44

a _______ is any hypothetical person that is using a program and providing input for it

back 44

user

front 45

a __________ is a message that tells or asks the user to enter a specific value

back 45

prompt

front 46

an __________ sets a variable to a specific value

back 46

assignment statement

front 47

in the expression 12 + 7, the values on the right and left of the + symbol are _____________

back 47

operands

front 48

an _________ operator raises a number to a power

back 48

exponent

front 49

a _________ operator performs division, but instead of returning the quotient it returns the remainder

back 49

modulus

front 50

a __________ specifies a variable's name and data type

back 50

variable declaration

front 51

assigning a value to a variable in a declaration statement is called ______________

back 51

initialization

front 52

an ______________ variable is one that has been declared, but has not been initialized or assigned a value

back 52

uninitialized

front 53

a _____________ is a variable whose content has a value that is read only and cannot be changed during the programs execution

back 53

named constant

front 54

a debugging process in which you imagine that you are the computer executing a program is called ___________

back 54

hand tracing

front 55

Short notes placed in different parts of a program, explaining how these parts of the program work, are called ____________

back 55

comments

front 56

Programmers must be careful not to make syntax errors when writing psuedocode

back 56

False

front 57

In a math expression, multiplication and division takes place before addition and subtraction.

back 57

True

front 58

Variable names can have spaces

back 58

False

front 59

In most languages, the first character of a variable name cannot be a number

back 59

True

front 60

The name gross_pay is written in the camelCase convention

back 60

False

front 61

in languages that require variable declarations, a variable's declaration must appear before any other statements that use the variable

back 61

True

front 62

Uninitialized variables are a common cause of errors

back 62

True

front 63

The value of a named constant cannot be changed during the programs execution

back 63

True

front 64

Hand Tracing is the process of translating a psuedocode program into machine language by hand

back 64

False

front 65

Internal documentation refers to books and manuals that document a program, and are intended for use within a company's programming department

back 65

False

front 66

A group of statements that exist within a program for the purpose of performing a specific task is a ___________

back 66

module

front 67

A benefit of using modules that helps to reduce the duplication of code within a program is __________

back 67

code reuse

front 68

The first line of a module definition is known as the ________

back 68

header

front 69

You ________ a module to execute it

back 69

call

front 70

a _________ point is a memory address of the location in the program that the computer will return to when a module ends

back 70

return

front 71

A design technique that programmers use to break down an algorithm into modules is known as _____________

back 71

top-down design

front 72

a __________ is a diagram that gives a visual representation of the relationships between modules in a program

back 72

hierarchy chart

front 73

A _________ is a variable that is declared inside a module

back 73

local variable

front 74

a ______ is the part of the program in which a variable may be accessed

back 74

scope

front 75

an _______ is a piece of data that is sent into a module

back 75

argument

front 76

a _______ is a special variable that receives a piece of data when a module is called

back 76

parameter

front 77

when __________, only a copy of the argument's value is passed into the parameter variable.

back 77

passing an argument by value

front 78

when ___________, the module can modify the argument in the calling part of the program

back 78

passing an argument by reference

front 79

A variable that is visible to every module in the program is a ___________

back 79

global variable

front 80

When possible, you should avoid using ________ variables in a program

back 80

global

front 81

The phrase "divide and conquer" means that all of the programmers on a team should be divided and work in isolation

back 81

False

front 82

Modules make it easier for programmers to work in teams

back 82

True

front 83

Module names should be as short as possible

back 83

False

front 84

Calling a module and defining a module mean the same thing

back 84

False

front 85

A flowchart shows the hierarchical relationships between modules in a program

back 85

False

front 86

A Hierarchy chart does not show the steps that are taken inside a module

back 86

True

front 87

A statement in one module can access a local variable in another module

back 87

False

front 88

In most programming languages, you cannot have two variables of the same name in the same scope

back 88

True

front 89

Programming languages typically require that arguments be of the same data type as the parameters they are passed through

back 89

True

front 90

Most languages do not allow you to write modules that accept multiple arguments

back 90

False

front 91

When an argument is passed by reference, the module can modify the argument in the calling part of the program

back 91

True

front 92

Passing an argument by value is a means of establishing two-way communication between modules

back 92

False

front 93

A _________ structure can execute a set of statements only under certain circumstances

back 93

decision

front 94

A ______ structure provides one alternative path of execution

back 94

single alternative decision

front 95

In pseudocode, the If-Then statement is an example of _________

back 95

decision structure

front 96

a __________ expression has a value of either true or false

back 96

Boolean

front 97

The symbols >, <, and == are all ________ operators

back 97

relational

front 98

a _____________ structure tests a condition and then takes one path is the condition is true, or another path if the condition is false

back 98

dual alternative decision

front 99

You use a __________ statement in pseudocode to write a single alternative decision structure

back 99

If-Then

front 100

You use a __________ statement in pseudocode to write a dual alternative decision structure

back 100

If-Then-Else

front 101

a ___________ structure allows you to test the value of a variable or an expression then use that value to determine which statement or set of statements to execture

back 101

multiple alternative decision

front 102

A __________ section of a Select Case statement is branched to if non of the case values match the expression listed after the Select statement

back 102

Default

front 103

AND, OR, and Not are _________ operators

back 103

logical

front 104

A compound Boolean expression created with the ____________ operator is true only if both it's subexpressions are true

back 104

AND

front 105

A compound Boolean expression created with the _______ operator is true if either of its subexpressions are true

back 105

OR

front 106

The _________ operator takes a Boolean expression as its operand and reverses it's logical value

back 106

NOT

front 107

A ___________ is a Boolean variable that signals when some condition exists in the program

back 107

Flag

front 108

You can write program using only sequence structures

back 108

False

front 109

A program can be made of only one type of control structure. You cannot combine structure

back 109

False

front 110

A single alternative decision structure tests a condition and then takes one path if the condition is true, or another path if it is false

back 110

False

front 111

A decision structure can be nested inside another decision structure

back 111

True

front 112

A compound Boolean expression created with the AND operator is true only when both subexpressions are true

back 112

True