SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Programming
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. An implementation of a queue using a linked list.
incremental development
infix
pure function
linked queue
2. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
command line
dot product
function
cursor
3. One of the operators that combines boolean expressions: and or and not.
logical operator
path
value
index
4. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
fruitful function
scalar multiplication
modifier
debugging
5. An error that occurs at runtime.
constant time
semantics
body
exception
6. A data structure that implements a collection using a sequence of linked nodes.
assignment statement
child class
function
linked list
7. A compound data type whose elements cannot be assigned new values.
conditional statement
immutable
comment
interpret
8. An assertion that must be true in order for a method to work correctly.
dot operator
condition
file system
precondition
9. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
mutable data type
invariant
low-level language
unit testing
10. An error in a program that makes it do something other than what the programmer intended.
operator
token
semantic error
token
11. An integer variable or value that indicates an element of a list.
boolean value
body
index
level
12. One of the nodes referred to by a node.
logical operator
child
dot product
high-level language
13. It prevents a compiler from compiling.
encapsulate
operator overloading
algorithm
syntactical errors
14. A bottom-most node in a tree with no children.
body
leaf
parse
multiple assignment
15. A linked list with a single node.
side effect
comparison operator
singleton
dictionary
16. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
unit testing
decrement
level
key-value pair
17. Use of the dot operator '.' to access functions inside a module.
dot notation
queue
tuple
operator
18. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
boolean value
element
abstract data type (ADT)
embedded reference
19. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
wrapping code in a function
leaf
siblings
method
20. Repeated execution of a set of programming statements.
prototype development
iteration
branch
parent class
21. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
value
planned development
non-volatile memory
block
22. A step-by-step process for solving a category of problems.
algorithm
leaf
Priority Queue
mutable data type
23. A compound data type that is often used to model a thing or concept in the real world.
slice
interface
object
modifier
24. A name given to a variable.
naming collision
operand
debugging
variable name
25. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
constant time
inorder
modulus operator
modifier
26. A way of writing mathematical expressions with the operators after the operands.
conditional statement
mapping type
function
postfix
27. A group of consecutive statements with the same indentation.
veneer
block
infinite loop
run time error
28. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
fruitful function
generalize
raise
docstring
29. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
key
raise
wrapper
nested list
30. To read a string of characters or tokens and analyze its grammatical structure.
comparison operator
parse
operator overloading
operator
31. A kind of data structure that can contain data of any type.
flow of execution
parse
logical operator
generic data structure
32. To prevent an exception from terminating a program using the try and except statements.
operator overloading
functional programming style
parent class
handle an exception
33. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
multiple assignment
parent class
class
polymorphic
34. A program in a high-level language before being compiled.
argv (argument vector)
operator
source code
generalize
35. The boolean expression in a conditional statement that determines which branch is executed.
namespace
condition
side effect
chained conditional
36. A data type comprised of a collection of keys and associated values.
implementation
mapping type
postfix
cargo
37. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
frame
composition
integer division
38. A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a
method
encode
file
root
39. Multiple variables that contain references to the same object.
modifier
aliases
compound data type
abstract data type (ADT)
40. A tree in which each node refers to zero or one or two dependent nodes.
event loop
compile
binary tree
exception
41. A character or string used to indicate where a string should be split.
key
delimiter
object-oriented programming
expression
42. Decrease by 1.
preorder
decrement
initialization (of a variable)
link
43. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
algorithm
queue
header
infinite recursion
44. An invisible marker that keeps track of where the next character will be printed.
linear time
cursor
fundamental ambiguity theorem
fruitful function
45. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
invariant
data type
token
subexpression
46. An ordered set of objects waiting for a service of some kind.
body
composition
queue
overflow
47. A function that yields a return value.
pure function
fruitful function
function definition
delimiter
48. The class from which a child class inherits.
block
dictionary
parent class
level
49. An embedded reference used to link one object to another.
siblings
link
debugging
subexpression
50. A way to traverse a tree - visiting each node before its children.
linear time
client
syntactical errors
preorder