Home
Flashcards
Preview
Python - Pre-Assessment Exam
Home
Get App
Take Quiz
Create
Within an event-driven program, a component from which an event is generated is the ____.
A. interface of the event
B. source of the event
C. message handler
D. target of the event
B. source of the event
Software can be classified into two broad types: application software and programming software.
A. True
B. False
B. False
You use the ______ operator to reverse the meaning of a Boolean expression.
A. AND
B. OR
C. XOR
D. NOT
D. NOT
The number of bytes in an array is always a multiple of the number of ____ in an array.
A. subscripts
B. elements
C. iterators
D. indexes
B. elements
A string variable can hold digits such as account numbers and zip codes.
A. False
B. True
B. True
An abstract class is one from which you can create any concrete objects and from which you can inherit.
A. False
B. True
A. False
A method that calls itself is a ______.
A. self-referencing method
B. repeated method
C. recursive method
D. simple method
C. recursive method
Programmers use the phrase _____ to describe what happens when worthless or invalid input causes inaccurate or unrealistic results.
A. GOGI
B. WIGO
C. GIGO
D. LIFO
C. GIGO
An important advantage of using GUI data-entry objects is that you often can control what users enter by limiting their options.
A. True
B. False
A. True
In a ______, the loop body executes at least one time because the loop control variable is not tested until after one iteration.
A. nested loop
B. pretest loop
C. loop control
D. posttest loop
D. posttest loop
The mainline logic of almost every procedural computer program consists of these three distinct parts: _______.
A. housekeeping tasks, main tasks, and end-of-job tasks
B. housekeeping tasks, detail loop tasks, and end-of-job tasks
C. clearing tasks, detail loop tasks, and end-of-job tasks
D. housekeeping tasks, detail loop tasks, and math tasks
B. housekeeping tasks, detail loop tasks, and end-of-job tasks
______ operators require two operands.
A. Binary
B. Tertiary
C. Dual
D. Unary
A. Binary
________ methods are methods that exist to be used with an object created from a class.
A. Controlled
B. Hidden
C. Static
D. Nonstatic
D. Nonstatic
The case structure is a variation of the sequence structure and the do loop is a variation of the while loop.
A. False
B. True
A. False
Methods with identical names that have identical parameter lists but different return types are ambiguous.
A. True
B. False
A. True
The _______ is skewed by a few very high or low values.
A. median
B. mode
C. mean
D. standard deviation
C. mean
As pages in a book have numbers, computer memory and storage locations have _____.
A. addresses
B. positions
C. pointers
D. references
A. addresses
With a(n) _____ program, a user can continue to click buttons while your program is reading a data file.
A. parallel threaded
B. single threaded
C. multithreaded
D. independently threaded
C. multithreaded
Methods in a class are static instance methods by default.
A. True
B. False
B. False
Array elements all have the same ______ in common.
A. data type
B. value
C. pointer
D. memory location
A. data type
Both the while loop and the for loop are examples of pretest loops.
A. False
B. True
B. True
Images and music are contained in binary files.
A. False
B. True
B. True
Structured programs can be easily broken down into routines or ______ that can be assigned to any number of programmers.
A. sequences
B. modules
C. units
D. segments
B. modules
In a flowchart, the _____ is used to represent processing.
A. rectangle
B. triangle
C. diamond
D. circle
A. rectangle
A ______ is a temporary detour in the logic of a program.
A. sequence break
B. break control
C. control sequence
D. control break
D. control break
Author
jdavis123
ID
357653
Card Set
Python - Pre-Assessment Exam
Description
Updated
2022-02-08T02:27:45Z
Home
Flashcards
Preview