WGU D335 INTRO TO PYTHON EXAM PREP
TEST BANK VERIFIED QUESTIONS AND
CORRECT ANSWERS
●● arguments
Answer: The inputs to a procedure. (may also be called parameters)
●● attributes
Answer: Characteristics of an object which may be used to reference
other objects or save object state information.
●● Boolean
Answer: A value that is either True or False
●● code modularity
Answer: Dividing software or an application into smaller modules. This
provides prewritten code which saves resources and provides greater
manageability.
●● comparison operator
Answer: Used to make a comparison between two values. Examples: <,
>, <=, >=, ==, !=
, ●● compiled language
Answer: You write source code, and compiler goes through that code
and creates a separate file containing the machine code. That new file is
used to run the program. Can be faster than interpreted code. Must be
compiled for a specific platform.
●● compiler
Answer: A program that takes source code and converts it to machine
code by producing a separate file.
●● concatenate
Answer: To connect or link in a series or chain.
●● dictionary
Answer: Provides a mapping between keys, which can be values of any
immutable type, and values, which can be any value. Because this is
implemented using a hash table, the time to lookup a value does not
increase (significantly) even when the number of keys increases.
●● expression
Answer: Any Python construct that has a value
●● for loop
Answer: Executes a block once for each element of a collection.
TEST BANK VERIFIED QUESTIONS AND
CORRECT ANSWERS
●● arguments
Answer: The inputs to a procedure. (may also be called parameters)
●● attributes
Answer: Characteristics of an object which may be used to reference
other objects or save object state information.
●● Boolean
Answer: A value that is either True or False
●● code modularity
Answer: Dividing software or an application into smaller modules. This
provides prewritten code which saves resources and provides greater
manageability.
●● comparison operator
Answer: Used to make a comparison between two values. Examples: <,
>, <=, >=, ==, !=
, ●● compiled language
Answer: You write source code, and compiler goes through that code
and creates a separate file containing the machine code. That new file is
used to run the program. Can be faster than interpreted code. Must be
compiled for a specific platform.
●● compiler
Answer: A program that takes source code and converts it to machine
code by producing a separate file.
●● concatenate
Answer: To connect or link in a series or chain.
●● dictionary
Answer: Provides a mapping between keys, which can be values of any
immutable type, and values, which can be any value. Because this is
implemented using a hash table, the time to lookup a value does not
increase (significantly) even when the number of keys increases.
●● expression
Answer: Any Python construct that has a value
●● for loop
Answer: Executes a block once for each element of a collection.