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. A programming construct that waits for events and processes them.
event loop
generalize
traceback
optional parameter
2. The ability to define a new class that is a modified version of a previously defined class.
trace
inheritance
high-level language
command prompt
3. The set of nodes equidistant from the root.
level
parent class
leaf
infinite loop
4. A program that translates higher level programming languages into basic instructions the CPU can understand.
standard library
root
compiler
runtime error
5. A tree in which each node refers to zero or one or two dependent nodes.
attribute
binary tree
import statement
syntax
6. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
argv (argument vector)
increment
generalize
compiler
7. A collection of key-value pairs that maps from keys to values.
run time error
dictionary
overflow
assignment statement
8. Part of a program that can never be executed - often because it appears after a return statement.
key
dead code
return value
token
9. The process of calling the function that is currently executing.
run time error
recursion
logical operator
attribute
10. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
tail recursion
recursive definition
tuple
11. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
prefix notation
nested list
generic data structure
12. 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
parent class
boolean value
compiler
method
13. To prevent an exception from terminating a program using the try and except statements.
optional parameter
handle an exception
escape sequence
docstring
14. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
development plan
instance
accumulator
infinite recursion
15. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
syntactical errors
escape sequence
random
incremental development
16. 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.
class attribute
attribute
encode
priority queue
17. An error that occurs at runtime.
exception
base case
docstring
immutable data type
18. A data type in which the values are made up of components or elements that are themselves values.
object-oriented programming
block
compound data type
escape sequence
19. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
executable
binary tree
continue statement
trace
20. The block of statements in a compound statement that follows the header.
body
bug
docstring
dot product
21. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
semantics
object
encode
22. One of the possible paths of the flow of execution determined by conditional execution.
index
branch
client
event
23. The structure of a program.
file system
syntax
function call
decrement
24. 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.
wrapping code in a function
root
instantiate
function composition
25. A name given to a variable.
variable name
level
clone
modulus operator
26. A special character that causes the cursor to move to the next tab stop on the current line.
tab
data structure
parent class
cargo
27. To signal an exception using the raise statement.
recursion
raise
temporary variable
traceback
28. A method for naming and accessing and organizing files and the data they contain.
file system
postfix
compound statement
helper
29. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
command line argument
key
binary tree
abstraction
30. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
client
initialization (of a variable)
function call
body
31. A numerical value that does not change during the execution of a program.
byte code
constant
key
whitespace
32. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
child
test-driven development (TDD)
boolean expression
modifier
33. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
function
comment
mode
delimiter
34. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
linear time
modifier
escape sequence
list comprehension
35. The node that refers to a given node.
parent
parse
implementation
body
36. A graphical representation of a stack of functions and their variables and the values to which they refer.
concatenate
clone
stack diagram
delimiter
37. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
initialization method
whitespace
immutable data type
file system
38. To create a new object that has the same value as an existing object.
step size
clone
whitespace
infinite recursion
39. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
volatile memory
counter
raise
modulus operator
40. An assertion that must be true in order for a method to work correctly.
overflow
precondition
link
body
41. The value given to an optional parameter if no argument for it is provided in the function call.
veneer
file system
default value
boolean value
42. A name used inside a function to refer to the value passed as an argument.
class
compiler
siblings
parameter
43. A new class created by inheriting from an existing class; also called a subclass.
overflow
child class
interface
index
44. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
recursive definition
object-oriented language
temporary variable
inheritance
45. A way of writing mathematical expressions with the operators between the operands.
handle an exception
program
side effect
infix
46. Using the output from one function call as the input to another.
infinite loop
planned development
function composition
boolean value
47. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
frame
trichotomy
stack diagram
naming collision
48. A visual cue that tells the user to input data.
prompt
token
index
portability
49. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.
precondition
multiple assignment
local variable
side effect
50. A program in a high-level language before being compiled.
nested list
mutable type
source code
portability
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