Quiz #6

Some of these questions are from class, some from the book and some are both places. If the answer to a true/false is false, please explain.

Question #1: True or False: In most languages you can code a calculation in either of the following ways:
     ansWork = numIn -15
     numIn - 15 = ansWork

Question #2: True or False: inv Ans + 20 is a valid memory variable.

Question #3: Errors in the use of the programming language such as word usage and grammar are called ____________ errors?

A) logic
B) data
C) development
D) syntax

Question #4: Data that is stored in locations in memory are called ______________ ? An example would be storing the result of a calculation in memory.

A) alpha
B) instructions
C) variables
D) variables and instructions

Question #5:When you test a compiled program with data, you are looking for _______ errors?

A) syntax
B) logic
C) compilar
D) both syntax and logic apply

Question #6: Calculating an answer and storing it to a named memory location is using ____________ ?

A) comparison
B) equal
C) assignment
D) compiling

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

Question #8: You use quotation marks to enclose ____________________ .

A) string or character constant/literal
B) numeric constant/literal
C) variable names
D) string or character or numeric constant/literal

Question #9: The modules of the mainline logic of a typical procedural program are:

A) housekeeping, setup, initialization
B) housekeeping, processing, looping
C) housekeeping/setup, processing, wrapup
D) setup, initializing, looping

Question #10:True or False: Giving a starting value to a variable is known as initializing the variable. The value in the variable can be changed as the program executes.