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. The process of calling the function that is currently executing.
recursion
link
index
aliases
2. An ADT that performs the operations one might perform on a queue.
dot product
bug
infinite recursion
Queue
3. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
linked queue
body
object code
preorder
4. The code (or the person who wrote it) that implements an ADT.
chained conditional
root
compiler
provider
5. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
unit testing
keyword
token
continue statement
6. A numerical result that is too large to be represented in a numerical format.
overflow
abstract data type (ADT)
random
object-oriented programming
7. The statement in a recursive function with is a call to itself.
compiler
recursive call
nested loop
run time error
8. A character that is used to separate tokens such as punctuation in a natural language.
prototype development
mutable type
runtime error
delimiter
9. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
siblings
increment
loop
value
10. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mutable type
linked list
parse
subexpression
11. A name used inside a function to refer to the value passed as an argument.
key
body
parameter
clone
12. 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).
object
data type
client
parse
13. A statement that controls the flow of execution depending on some condition.
return value
conditional statement
operator
abstract data type (ADT)
14. The topmost node in a tree with no parent.
continue statement
operator
algorithm
root
15. One of the values on which an operator operates.
counter
preorder
comment
operand
16. Use of the dot operator '.' to access functions inside a module.
dot notation
compound data type
algorithm
volatile memory
17. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
iteration
abstract data type (ADT)
linked queue
non-volatile memory
18. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
veneer
traceback
tuple
state diagram
19. An error that does not occur until the program has started to execute but that prevents the program from continuing.
event
slice
runtime error
key
20. A general process for solving a category of problems.
algorithm
argument
inorder
fruitful function
21. An error that occurs at runtime.
event loop
delimiter
exception
linked queue
22. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
invariant
nested list
dot notation
comment
23. An organization of data for the purpose of making it easier to use.
boolean expression
data structure
tail recursion
recursion
24. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
docstring
nested loop
local variable
tuple assignment
25. An invisible marker that keeps track of where the next character will be printed.
level
cursor
stack diagram
natural language
26. A style of program design in which the majority of functions are pure.
recursion
functional programming style
attribute
problem solving
27. A data type in which the values are made up of components or elements that are themselves values.
compound data type
byte code
condition
class
28. A library is a collection of software used as tools in the development of other software.
accumulator
immutable data type
newline
standard library
29. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
key
expression
delimiter
modifier
30. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
element
attribute
syntax error
recursive definition
31. To examine a program and analyze the syntactic structure.
trace
encapsulate
comment
parse
32. A loop inside the body of another loop.
command line
encode
nested loop
dot notation
33. a sequence of instructions that specifies to a computer actions and computations to be performed.
pure function
program
wrapping code in a function
class attribute
34. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
priority queue
newline
data type
infinite recursion
35. A compound data type whose elements cannot be assigned new values.
local variable
class attribute
immutable
constant time
36. A graphical representation of a set of variables and the values to which they refer.
random
run time error
evaluate
state diagram
37. An error in a program that makes it impossible to parse
syntax error
link
recursive call
path
38. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
rules of precedence
node
standard library
method
39. A programming language that is designed to be easy for humans to read and write.
singleton
class attribute
body
high-level language
40. To prevent an exception from terminating a program using the try and except statements.
immutable data type
handle an exception
object code
semantics
41. A visual cue that tells the user to input data.
queue
prompt
immutable data type
step size
42. An embedded reference used to link one object to another.
assignment statement
pure function
link
concatenate
43. Using the output from one function call as the input to another.
default value
compiler
level
function composition
44. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
operator overloading
recursive definition
boolean expression
byte code
45. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
trichotomy
concatenate
debugging
46. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
delimiter
newline
list comprehension
loop
47. An error in a program.
bug
syntactical errors
base case
functional programming style
48. An integer variable or value that indicates an element of a list.
generalize
step size
compound data type
index
49. An automatic procedure used to validate that individual units of code are working properly.
side effect
optional parameter
unit testing
byte code
50. A function that returns a boolean value.
method
immutable
prototype development
boolean function