Home Help & Support Search Tips Options: Case:



   Need A Tutor?    |   Need Homework Help?                                                                             Help and Support     | Join or Cancel

Computer Programming:    Final Exam 2

Exam  1     2     3     4     5     6     7    8     9    10     Midterm   1    2     Final Exam  1   2
Graded Program Assignment   
1   2    3    4    5    6    7    8    9           Python Compiler

 
In a selection, the else clause executes ______.
Join Now For Answers & Help!!!
 
The greater-than operator evaluates as true when ________.
Join Now For Answers & Help!!!
 
A trivial Boolean expression is one that ______.
Join Now For Answers & Help!!!
 
If x <= y is true, then ________.
Join Now For Answers & Help!!!
 
If j <> k is true, then ________.
Join Now For Answers & Help!!!
 
In an AND condition, the most efficient technique is to first ask the question that ___________.
Join Now For Answers & Help!!!
 
If m is true and n is false, then _____________.
Join Now For Answers & Help!!!
 
If p is true and q is false, then ____________.
Join Now For Answers & Help!!!
 
Which of the lettered choices is equivalent to the following decision?
if x > 10 then
if y > 10 then
output "x"
endif
endif
Join Now For Answers & Help!!!
 
If conditionA is 30 percent likely to be true and conditionB is 10 percent likely to be true, then it is most efficient to test conditionA first.
Join Now For Answers & Help!!!
 
Which of the following is a poorly written, trivial Boolean expression?
Join Now For Answers & Help!!!
 
Which of the following is a trivial Boolean expression?
Join Now For Answers & Help!!!
 
Which of the following is a trivial Boolean expression?
Join Now For Answers & Help!!!
 
In the following pseudocode, what percentage raise will an employee in Department 8 receive?
if department < 5 then
raise = SMALL_RAISE
else
if department < 14 then
raise = MEDIUM_RAISE
else
if department < 9 then
raise = BIG_RAISE
Join Now For Answers & Help!!!
 
When you use a range check, you compare a variable to the ______ value in the range
Join Now For Answers & Help!!!
 
If sales = 100, rate = 0.10, and expenses = 50, which of the following expressions is true?
Join Now For Answers & Help!!!
 
If a is true, b is true, and c is false, which of the following  expressions is true?
Join Now For Answers & Help!!!
 
If d is true, e is false, and f is false, which of the following  expressions is true?
Join Now For Answers & Help!!!
 
The structure that allows you to write one set of instructions that operates on multiple,
separate sets of data is the _____.

Join Now For Answers & Help!!!
 
The loop that frequently appears in a program's mainline logic _____.
Join Now For Answers & Help!!!
 
Which of the following is not a step that must occur with every correctly working loop?
Join Now For Answers & Help!!!
 
The statements executed within a loop are known collectively as the _____.
Join Now For Answers & Help!!!
 
A counter keeps track of _____.
Join Now For Answers & Help!!!
 
Adding 1 to a variable is also called _____ it.
Join Now For Answers & Help!!!
 
Which of the following is a definite loop?
Join Now For Answers & Help!!!
 
Which of the following is an indefinite loop?
Join Now For Answers & Help!!!
 
When you decrement a variable, you _____.
Join Now For Answers & Help!!!
 
When two loops are nested, the loop that is contained by the other is the _____ loop.
Join Now For Answers & Help!!!
 
When loops are nested, _____.
Join Now For Answers & Help!!!
 
Most programmers use a for loop _____.
Join Now For Answers & Help!!!
 
A report that lists only totals, with no details about individual records, is a(n) _____ report.
Join Now For Answers & Help!!!
 
Typically, the value added to a counter variable is _____.
Join Now For Answers & Help!!!
 
Typically, the value added to an accumulator variable is _____.
Join Now For Answers & Help!!!
 
After an accumulator or counter variable is displayed at the end of a program, it is best to _____.
Join Now For Answers & Help!!!
 
When you _____, you make sure data items are the correct type and fall within the correct range.
Join Now For Answers & Help!!!
 
Overriding a user's entered value by setting it to a predetermined value is known as ______.
Join Now For Answers & Help!!!
 
To ensure that a user's entry is the correct data type, frequently you ______.
Join Now For Answers & Help!!!
 
A variable might hold an incorrect value even when it is _____.
Join Now For Answers & Help!!!
 
Random access memory is _____.
Join Now For Answers & Help!!!
 
What type of programming is centered on the procedures or actions that take place in a program?
Join Now For Answers & Help!!!
 
What type of programming encapsulates data and functions together in an object?
Join Now For Answers & Help!!!
 
What software entity contains both data and procedures?
Join Now For Answers & Help!!!
 
The variables, arrays, or other data structures that are stored in the object are known as the object's
Join Now For Answers & Help!!!
 
The procedures that the object performs are known as ____________.
Join Now For Answers & Help!!!
 
The programmer determines the fields and methods of an object and creates the ______ code.
Join Now For Answers & Help!!!
 
The class _________ starts with the word Class followed by the name of the class.
Join Now For Answers & Help!!!
 
What is the term used for the fields and methods that belong to a class?
Join Now For Answers & Help!!!
 
The word Private that appears before a field declaration, in a class definition, is known as a(n) ____________.
Join Now For Answers & Help!!!
 
The mutator methods are sometimes called _________________.
Join Now For Answers & Help!!!
 
Which interface allows the user to interact with the operating system and other programs using graphical elements?
Join Now For Answers & Help!!!
 
What type of interface displays a prompt, and the user types a command which is then executed?
Join Now For Answers & Help!!!
 
The __________ are small windows that display information and allow the user to perform actions.
Join Now For Answers & Help!!!
 
What is the term used when a GUI program responds to the actions of the user?
Join Now For Answers & Help!!!
 
The GUI components are known as _________________ and widgets.
Join Now For Answers & Help!!!
 
GUI components have a set of _______________ that determine how the component appears on the screen.
Join Now For Answers & Help!!!
 
What is the term used for the code that responds to events and allows a GUI program to respond to an event?
Join Now For Answers & Help!!!
 
What GUI component should be used if the user wants an area in which to type a single line of input from the keyboard?
Join Now For Answers & Help!!!
 
The python statement:
name = input ( "[Please enter your FULL NAME] ) ;
will result in which of the following when executed?
Join Now For Answers & Help!!!
                       
Which symbol in a flowchart represents Input or Output in RAPTOR?
Join Now For Answers & Help!!!
           
In Python, the __________ function is used to enter data inside a list [array].
Join Now For Answers & Help!!!
                       
Which of the following Python statements is correct?
Join Now For Answers & Help!!!
 
In Python, the following statement creates an empty array called values.
Join Now For Answers & Help!!!
 
A _____ structure can execute a set of statements only under certain circumstances
Join Now For Answers & Help!!!
 
A _____ structure provides one alternative path of execution
Join Now For Answers & Help!!!
 
in pseudocode, the If-Then statement is an example of a _____
Join Now For Answers & Help!!!
 
a(n) _____ expression has a value of either true or false
Join Now For Answers & Help!!!
 
the symbols >, <, and == are all _____ operators
Join Now For Answers & Help!!!
 
A(n) _____ structure tests a condition and then takes one path if the condition is true, or another path if the condition is false.
Join Now For Answers & Help!!!
 
You use a(n) _____ statement to write a single alternative decision structure.
Join Now For Answers & Help!!!
 
You use a(n) _____ statement to write a dual alternative decision structure.
Join Now For Answers & Help!!!
 
and, or, and not are _____ operators.
Join Now For Answers & Help!!!
 
A component's ______________ control the visual characteristics that are displayed on the component.
Join Now For Answers & Help!!!
 
The items that appear in a program's graphical user interface are known as _______________.
Join Now For Answers & Help!!!
 
Processing a large number of items in a(n) ________ is usually easier than processing a large number of items stored in separate variables.
Join Now For Answers & Help!!!
 
What is the term used for the number inside the bracket that specifies the number of values that an array can hold?
Join Now For Answers & Help!!!
 
Access the individual elements in an array by using their _____________.
Join Now For Answers & Help!!!
 
In the following declaration, what is the data type of the elements of
Join Now For Answers & Help!!!
 
Declare Integer numbers [SIZE]
Join Now For Answers & Help!!!
 
Every element in an array is assigned a unique number known as a ______________.
Join Now For Answers & Help!!!
 
Which of the following statement is true about the statement below?
Declare Integer score [5] = 83, 92, 78, 94, 71
Join Now For Answers & Help!!!
 
What is the subscript for the data value 92 in the example given below?
Declare Integer score [5] = 83, 92, 78, 94, 71
Join Now For Answers & Help!!!
 
The expression score[5] is pronounced _____________________.
Join Now For Answers & Help!!!
 
Which of the following array declarations would be best suited for storing the retail prices?
Join Now For Answers & Help!!!
 
What type of error occurs when a loop iterates one time too few or one time too many?
Join Now For Answers & Help!!!
 
A list of operations that is displayed on the screen is called a(n) _______________.
Join Now For Answers & Help!!!
 
The acronym GUI stands for _____________.
Join Now For Answers & Help!!!
 
What is the structure that is needed to process a menu selection?
Join Now For Answers & Help!!!
 
Which statement provides a Default section to validate the user's menu selection?
Join Now For Answers & Help!!!
 
A(n) _______ program always starts off by displaying a list of operations the user can select from.
Join Now For Answers & Help!!!
 
Which loop is a posttest loop such that the menu is displayed at least once?
Join Now For Answers & Help!!!
 
What type of menu first displays the main menu and then, based on the user's selection, displays a submenu?
Join Now For Answers & Help!!!
 
Menu-driven programs should be broken down into ________ that perform individual tasks.
Join Now For Answers & Help!!!
 
What is capable of performing several tasks and allows the user to select the task?
Join Now For Answers & Help!!!
 
What is the method used to make sure that valid selections are processed?
Input validation loop, Including the Default clause in the case
Join Now For Answers & Help!!!
 
Which is true of text files?
Join Now For Answers & Help!!!
 
Every file on a storage device has a _____.
Join Now For Answers & Help!!!
 
Which of the following is true regarding the data hierarchy?
Join Now For Answers & Help!!!
 
The process of _____ a file locates it on a storage device and associates a variable name within your program with the file.
Join Now For Answers & Help!!!
 
When you write to a file, you _____.
Join Now For Answers & Help!!!
 
Unlike when you print a report, when a program's output is a data file, you do not _____.
Join Now For Answers & Help!!!
 
When you close a file, it _____.
Join Now For Answers & Help!!!
 
A file in which records are stored one after another in some order is a(n) _____ file.
Join Now For Answers & Help!!!
 
When you combine two or more sorted files while maintaining their sequential order based on a field,
you are _____ the files.

Join Now For Answers & Help!!!
 
A control break occurs when a program _____.
Join Now For Answers & Help!!!
 
Which of the following is an example of a control break report?
Join Now For Answers & Help!!!
 
A control break field _____.
Join Now For Answers & Help!!!
 
Whenever a control break occurs during record processing in any control break program, you must _____.
Join Now For Answers & Help!!!
 
Assume that you are writing a program to merge two files named FallStudents and SpringStudents.
Each file contains a list of students enrolled in a programming logic course during the semester indicated,
and each file is sorted in student ID number order. After the program compares two records and subsequently
writes a Fall student to output, the next step is to _____.

Join Now For Answers & Help!!!
 
When you merge records from two or more sequential files, the usual case is that the records in the files _____.
Join Now For Answers & Help!!!
 
A file that holds more permanent data than a transaction file is a _____ file.
Join Now For Answers & Help!!!
 
A transaction file is often used to _____ another file.
Join Now For Answers & Help!!!
 
The saved version of a file that does not contain the most recently applied transactions is known as a _____ file.
Join Now For Answers & Help!!!
 
Random access files are used most frequently in all of the following except _____.
Join Now For Answers & Help!!!



Exam  1     2     3     4     5     6     7    8     9    10     Midterm   1    2     Final Exam  1   2
Graded Program Assignment   
1   2    3    4    5    6    7    8    9           Python Compiler


Home
Accounting & Finance Business
Computer Science General Studies Math Sciences
Civics Exam
Everything Else
Help & Support
Join/Cancel
Contact Us
 Login / Log Out