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. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
namespace
leaf
conditional statement
2. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
traverse
index
trichotomy
argument
3. A thing to which a variable can refer.
object
delimiter
file
trichotomy
4. A program (or the person who wrote it) that uses an ADT.
logical operator
method
client
class
5. An error in a program.
parse
postorder
bug
syntax
6. An implementation of a queue using a linked list.
linked queue
planned development
cargo
natural language
7. To join two strings end-to-end.
debugging
concatenate
naming collision
nested loop
8. To examine a program and analyze the syntactic structure.
recursive definition
increment
encapsulate
parse
9. A recursive call that occurs as the last statement (at the tail) of a function definition.
unit testing
tail recursion
inheritance
conditional statement
10. Any of the data types that consist of an ordered set of elements with each element identified by an index.
binary operator
local variable
tail recursion
sequence
11. Code that is used during program development but is not part of the final version.
embedded reference
abstraction
scaffolding
hint
12. Using the output from one function call as the input to another.
function composition
leaf
mutable type
compile
13. A variable defined inside a function. A local variable can only be used inside its function.
provider
wrapper
abstraction
local variable
14. To create a new object that has the same value as an existing object.
clone
index
composition (of functions)
debugging
15. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
boolean value
dead code
argv (argument vector)
linked queue
16. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
inorder
command line argument
body
syntax error
17. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
body
high-level language
abstract data type (ADT)
18. An explicit statement that takes a value of one type and computes a corresponding value of another type.
event loop
recursive definition
type conversion
source code
19. A data type comprised of a collection of keys and associated values.
operand
algorithm
volatile memory
mapping type
20. The name and location of a file within a file system.
condition
path
syntax error
constant
21. An automatic procedure used to validate that individual units of code are working properly.
aliases
cursor
unit testing
operand
22. 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).
tuple
data type
delimiter
preorder
23. A data type which can be modified.
prototype development
mutable data type
abstraction
encode
24. A named collection of files - also called a folder.
directory
whitespace
parent class
immutable
25. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
compile
recursive definition
syntactical errors
instance
26. The sequential accessing of each element in a list.
composition
return value
list traversal
encapsulate
27. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
token
infinite recursion
scalar multiplication
source code
28. A style of program design in which the majority of functions are pure.
multiple assignment
composition
path
functional programming style
29. A new class created by inheriting from an existing class; also called a subclass.
preorder
side effect
argv (argument vector)
child class
30. A data structure that implements a collection using a sequence of linked nodes.
concatenate
linked list
client
assignment statement
31. To execute a program in a high-level language by translating it one line at a time.
interpret
queueing policy
semantic error
algorithm
32. A data type in which the values are made up of components or elements that are themselves values.
standard library
composition (of functions)
non-volatile memory
compound data type
33. A distinct method of operation within a computer program.
path
hint
abstract data type (ADT)
mode
34. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
Queue
namespace
low-level language
35. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
volatile memory
compound statement
side effect
binary tree
36. A logical error which stops a program from performing.
priority queue
block
conditional statement
run time error
37. A linked list with a single node.
singleton
run time error
interpret
whitespace
38. a sequence of instructions that specifies to a computer actions and computations to be performed.
veneer
body
program
boolean function
39. A program that translates higher level programming languages into basic instructions the CPU can understand.
volatile memory
pure function
recursion
compiler
40. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
modifier
boolean function
initialization method
random
41. The value provided as the result of a function call.
return value
FIFO(First In First Out)
object-oriented language
docstring
42. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
index
prefix notation
temporary variable
rules of precedence
43. An operator that takes two operands.
binary operator
multiple assignment
namespace
scalar multiplication
44. Another name for a runtime error.
parse
link
branch
exception
45. A statement that causes the current iteration of a loop to end.
temporary variable
helper
loop
continue statement
46. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
method
infinite loop
expression
generic data structure
47. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
flow of execution
counter
token
queueing policy
48. Repeated execution of a set of programming statements.
operator
iteration
default value
syntax error
49. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
local variable
integer division
syntactical errors
child class
50. A signal such as a keyboard press or mouse click or message from another program.
dot product
composition (of functions)
event
linked list