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. Use of the dot operator '.' to access functions inside a module.
dot notation
stack diagram
operator
incremental development
2. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
directory
rules of precedence
object-oriented programming
namespace
3. A compound data type that is often used to model a thing or concept in the real world.
functional programming style
traverse
mode
object
4. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
whitespace
child
provider
conditional statement
5. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
subexpression
frame
wrapper
instance
6. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
scalar multiplication
inorder
child
compound data type
7. A programming construct that waits for events and processes them.
element
algorithm
event loop
variable name
8. A program that translates higher level programming languages into basic instructions the CPU can understand.
linear time
wrapping code in a function
compiler
slice
9. Nodes that share a common parent.
debugging
instantiate
siblings
linked list
10. An invisible marker that keeps track of where the next character will be printed.
integer division
block
cursor
initialization (of a variable)
11. To represent one set of values using another set of values by constructing a mapping between them.
encode
problem solving
variable
abstraction
12. An explicit statement that takes a value of one type and computes a corresponding value of another type.
generalize
delimiter
mutable data type
type conversion
13. A character that is used to separate tokens such as punctuation in a natural language.
optional parameter
delimiter
wrapper
value
14. A data type in which the elements can be modified. It is a compound type - e.g. lists.
variable
mutable type
abstract data type (ADT)
directory
15. A variable defined inside a function. A local variable can only be used inside its function.
mapping type
value
local variable
generalize
16. a sequence of instructions that specifies to a computer actions and computations to be performed.
condition
variable name
loop
program
17. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
incremental development
object
development plan
queue
18. An ADT that performs the operations one might perform on a queue.
modifier
composition (of functions)
delimiter
Queue
19. To signal an exception using the raise statement.
recursive call
evaluate
functional programming style
raise
20. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
evaluate
trichotomy
non-volatile memory
binary tree
21. Repeated execution of a set of programming statements.
iteration
assignment statement
Queue
inheritance
22. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
veneer
class attribute
singleton
immutable
23. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
inorder
import statement
function call
debugging
24. 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).
data type
Priority Queue
dot notation
key
25. Decrease by 1.
program
default value
decrement
siblings
26. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
local variable
abstraction
modulus operator
initialization method
27. A name given to a variable.
branch
program
variable name
test-driven development (TDD)
28. A reference to a list node can be treated as a single object or as the first in a list of nodes.
sequence
comparison operator
fundamental ambiguity theorem
linear time
29. A statement that creates a new function specifying its name and parameters and the statements it executes.
function definition
data type
trace
root
30. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator overloading
dictionary
interpret
operator
31. A conditional branch with more than two possible flows of execution.
value
aliases
inorder
chained conditional
32. An organization of data for the purpose of making it easier to use.
data structure
exception
binary tree
random
33. 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.
composition
header
random
wrapping code in a function
34. An assertion that must be true in order for a method to work correctly.
variable
debugging
precondition
comment
35. The code (or the person who wrote it) that implements an ADT.
provider
parent class
comparison operator
embedded reference
36. To create an instance of a class.
default value
data type
run time error
instantiate
37. The statement in a recursive function with is a call to itself.
body
recursive call
newline
algorithm
38. A linked list with a single node.
singleton
return value
object
polymorphic
39. A way of writing a mathematical expression with each operator appearing before its operands.
nested loop
prefix notation
scaffolding
syntactical errors
40. A statement that controls the flow of execution depending on some condition.
Priority Queue
root
parse
conditional statement
41. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
development plan
node
polymorphic
dictionary
42. The topmost node in a tree with no parent.
composition
non-volatile memory
dot product
root
43. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
child
attribute
formal language
dot product
44. A loop in which the terminating condition is never satisfied.
infinite loop
generic data structure
handle an exception
data type
45. A variable or value used to select a member of an ordered set - such as a character from a string.
index
postfix
random
step size
46. A variable defined inside a module - accessed by using the dot operator ( .).
attribute
veneer
command prompt
priority queue
47. To join two strings end-to-end.
overflow
concatenate
branch
postfix
48. It prevents a compiler from compiling.
key-value pair
veneer
embedded reference
syntactical errors
49. A method for naming and accessing and organizing files and the data they contain.
import statement
file system
nested list
bug
50. One of the values on which an operator operates.
chained conditional
operand
standard library
default value