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 value given to an optional parameter if no argument for it is provided in the function call.
incremental development
root
default value
leaf
2. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.
key-value pair
optional parameter
nested list
type conversion
3. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.
side effect
priority queue
precondition
compound data type
4. A special character that causes the cursor to move to the next tab stop on the current line.
tab
constant time
low-level language
planned development
5. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
abstract data type (ADT)
key-value pair
function definition
wrapping code in a function
6. Use of the dot operator '.' to access functions inside a module.
exception
side effect
dot notation
run time error
7. There are exactly two boolean values: True and False.
syntax error
boolean value
trichotomy
function composition
8. A way of writing a mathematical expression with each operator appearing before its operands.
method
compile
nested loop
prefix notation
9. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
condition
command line argument
namespace
flow of execution
10. An error that occurs at runtime.
docstring
exception
newline
event loop
11. A program stored in a file (usually one that will be interpreted).
command prompt
script
flow of execution
argv (argument vector)
12. 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.
tuple
object
command prompt
development plan
13. A part of a string (substring) specified by a range of indices.
slice
algorithm
embedded reference
compile
14. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
syntactical errors
fundamental ambiguity theorem
boolean function
function call
15. To signal an exception using the raise statement.
counter
implementation
raise
state diagram
16. Multiple variables that contain references to the same object.
index
sequence
aliases
list comprehension
17. 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.
random
object-oriented programming
veneer
condition
18. A data type which can be modified.
composition (of functions)
parameter
mutable data type
tuple assignment
19. The process of calling the function that is currently executing.
implementation
algorithm
portability
recursion
20. The block of statements in a compound statement that follows the header.
Queue
chained conditional
body
tuple
21. A way to traverse a tree - visiting each node before its children.
preorder
command line argument
wrapper
pure function
22. A graphical representation of a stack of functions and their variables and the values to which they refer.
stack diagram
pure function
problem solving
recursive definition
23. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
condition
compile
newline
method
24. A special character that causes the cursor to move to the beginning of the next line.
newline
precondition
boolean expression
compile
25. A name that refers to a value.
semantics
exception
concatenate
variable
26. 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.
unit testing
aliases
class attribute
composition
27. To simplify an expression by performing the operations in order to yield a single value.
evaluate
low-level language
pure function
algorithm
28. The process of finding and removing any of the three kinds of programming errors.
algorithm
node
debugging
source code
29. Both as a noun and as a verb - it means to increase by 1.
docstring
increment
runtime error
hint
30. The dot operator ( .) permits access to attributes and functions of a module.
docstring
infinite recursion
state diagram
dot operator
31. A named collection of objects where each object is identified by an index.
wrapper
scaffolding
trichotomy
list
32. The process of formulating a problem and finding a solution and expressing the solution.
child class
delimiter
problem solving
tab
33. The sequential accessing of each element in a list.
list traversal
object
event
formal language
34. A way of writing mathematical expressions with the operators between the operands.
postfix
infix
branch
argument
35. A variable used as part of the terminating condition of a loop.
planned development
standard library
delimiter
loop variable
36. 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.
boolean function
temporary variable
byte code
semantic error
37. A reference stored in an attribute of an object.
problem solving
newline
link
embedded reference
38. 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.
nested loop
body
parse
parent
39. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
iteration
boolean function
prompt
40. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
node
functional programming style
operand
method
41. An integer variable or value that indicates an element of a list.
index
interface
modifier
preorder
42. A collection of key-value pairs that maps from keys to values.
infinite recursion
encode
base case
dictionary
43. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
infix
infinite recursion
header
local variable
44. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.
docstring
veneer
delimiter
step size
45. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
logical operator
initialization method
Queue
binary tree
46. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
object
exception
inorder
prototype development
47. 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
modulus operator
parent class
boolean value
method
48. To iterate through the elements of a set performing a similar operation on each.
traverse
keyword
dictionary
index
49. An ADT that performs the operations one might perform on a queue.
continue statement
tail recursion
program
Queue
50. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
semantics
scaffolding
implementation
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests