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 sequential accessing of each element in a list.
temporary variable
argv (argument vector)
list traversal
traverse
2. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
dot notation
event
infinite recursion
delimiter
3. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
traceback
subexpression
cursor
frame
4. The name and location of a file within a file system.
mapping type
infinite loop
path
delimiter
5. A reference stored in an attribute of an object.
abstract data type (ADT)
function
embedded reference
random
6. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
volatile memory
postfix
assignment statement
fruitful function
7. To signal an exception using the raise statement.
non-volatile memory
index
tail recursion
raise
8. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
rules of precedence
initialization method
wrapping code in a function
invariant
9. A recursive call that occurs as the last statement (at the tail) of a function definition.
encapsulate
scalar multiplication
tail recursion
accumulator
10. A way of writing a mathematical expression with each operator appearing before its operands.
body
prefix notation
mapping type
traceback
11. It prevents a compiler from compiling.
semantic error
syntactical errors
dot operator
element
12. A variable used as part of the terminating condition of a loop.
traceback
loop variable
list
element
13. 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.
integer division
list
temporary variable
key
14. The structure of a program.
counter
invariant
syntax
development plan
15. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
value
prefix notation
method
iteration
16. A statement that assigns a value to a name (variable).
object
file system
assignment statement
instantiate
17. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
comment
constant
index
18. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
algorithm
modulus operator
polymorphic
counter
19. To read a string of characters or tokens and analyze its grammatical structure.
run time error
parse
path
key
20. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
semantic error
helper
composition (of functions)
index
21. One of the operators that combines boolean expressions: and or and not.
logical operator
method
temporary variable
condition
22. One of the operators that compares two values: == or != or > or < or >= and <=.
problem solving
slice
linear time
comparison operator
23. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
recursive call
planned development
nesting
argv (argument vector)
24. A named collection of files - also called a folder.
directory
subexpression
boolean value
recursive definition
25. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
runtime error
invariant
prompt
iteration
26. An error in a program that makes it do something other than what the programmer intended.
overflow
naming collision
semantic error
integer division
27. Use of the dot operator '.' to access functions inside a module.
unit testing
nesting
dot notation
object
28. A program stored in a file (usually one that will be interpreted).
operator overloading
inheritance
child
script
29. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
multiple assignment
delimiter
counter
encapsulate
30. A style of program design in which the majority of functions are pure.
docstring
instantiate
functional programming style
binary tree
31. A programming language that is designed to be easy for humans to read and write.
mode
level
postorder
high-level language
32. A branch of the conditional statement in a recursive function that does not result in a recursive call.
type conversion
command line argument
source code
base case
33. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
list
compound data type
element
tuple
34. 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.
compiler
command line argument
formal language
algorithm
35. Nodes that share a common parent.
siblings
compiler
naming collision
chained conditional
36. 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
index
link
method
hint
37. A graphical representation of a stack of functions and their variables and the values to which they refer.
stack diagram
condition
polymorphic
file system
38. A combination of variables and operators and values that represents a single result value.
singleton
comment
expression
syntax
39. Another name for a runtime error.
recursive call
exception
test-driven development (TDD)
list traversal
40. To prevent an exception from terminating a program using the try and except statements.
handle an exception
generic data structure
node
list comprehension
41. The meaning of a program.
namespace
semantics
dot notation
immutable
42. A linked list with a single node.
text file
singleton
binary operator
generalize
43. 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.
class attribute
pure function
naming collision
index
44. A way of writing mathematical expressions with the operators after the operands.
postfix
fundamental ambiguity theorem
compile
state diagram
45. Code that is used during program development but is not part of the final version.
value
composition
scaffolding
scalar multiplication
46. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.
clone
node
byte code
delimiter
47. To execute a program in a high-level language by translating it one line at a time.
interface
multiple assignment
naming collision
interpret
48. 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.
escape sequence
trace
body
non-volatile memory
49. Code that satisfies the syntactic and semantic requirements of an interface.
encapsulate
implementation
generalize
integer division
50. To create a new object that has the same value as an existing object.
element
compile
syntax error
clone