QUIZ on Chapter #1 in Programming Logic and Design

 

This is an open notes/open book quiz.  It should be done individually without consultation with other students.  The quiz should be emailed to me by the first class day after the week it was posted.  There will be a penalty for late quizzes (a grade if it is late and a grade for each week until the grade reaches a D - a quiz grade will never drop below a D based on lateness - you can only fail a quiz based on your answers). If you feel your answer needs to be explained, feel free to include an explanation!

 

#

Question

Your Answer

1.

The smallest usable unit of data such as a letter, number or special symbol is called a __________.

 

2.

The software that translates a program into machine language is called a(n) __________ or a(n) __________.

 

3.

You want to keep the item name, vendor and cost for a product.  What is the data hierarchy name for each of these data items?

 

4.

Looking at the data in the problem above, you want to store all of the information about a specific item together.  What is the data hierarchy name for storing these fields together?

 

5.

Next, you want to store all of the information about all of the items in your inventory together.  What is the data hierarchy name for storing your inventory information about all of your products?

 

6.

Data that is stored in locations in memory are called _________.

 

7.

What are two of the more common tools for planning the logic involved in developing a solution to a problem?

 

8.

Calculating an answer and assigning it to a named memory location is called a(n) _____________ statement.

 

9.

True or False: In most languages, you can code a calculation in either of the following ways:

ansWork = numIn - 15

numIn - 15 = ansWork

 

10.

Errors in the use of the programming language such as word usage and grammar are called?

 

11.

When you test a machine language program with data you are looking for __________ errors.

 

12.

The program that is actually run or executed is the _________________ program.

 

13.

True or False:  invAns + 20 is a valid memory variable.

 

14.

A database is made up of a group of files.  In the case of a database, these files are also called ______.

 

15.

True or False: You cannot execute a program to produce output if it has syntax errors.