Podcast
Questions and Answers
Part of ADT: data and operation
Part of ADT: data and operation
used for storing elements where each is separate object
used for storing elements where each is separate object
algorithm must terminate after specified number of steps
algorithm must terminate after specified number of steps
repeating action multiple times
repeating action multiple times
Signup and view all the answers
problem broken into smaller sub-problems
problem broken into smaller sub-problems
Signup and view all the answers
single call itself each time function runs
single call itself each time function runs
Signup and view all the answers
terminate when reached base case
terminate when reached base case
Signup and view all the answers
elements access in sequential order but stored unsystematically
elements access in sequential order but stored unsystematically
Signup and view all the answers
logical description on how data viewed
logical description on how data viewed
Signup and view all the answers
LIFO
LIFO
Signup and view all the answers
step by step instructions to be executed insequence for solving problem
step by step instructions to be executed insequence for solving problem
Signup and view all the answers
algorithm must have 1 or more results with specified relation to input
algorithm must have 1 or more results with specified relation to input
Signup and view all the answers
occurs when function calls itself once or multiple times to solve problem
occurs when function calls itself once or multiple times to solve problem
Signup and view all the answers
calls itself twice during course of execution
calls itself twice during course of execution
Signup and view all the answers
same with Divide and Conquer, except results of sub-problems reused for overlapping sub-problems
same with Divide and Conquer, except results of sub-problems reused for overlapping sub-problems
Signup and view all the answers
set of ordered pairs where elements called identifiers and values called content
set of ordered pairs where elements called identifiers and values called content
Signup and view all the answers
FIFO
FIFO
Signup and view all the answers
not main operation that defined ADT
not main operation that defined ADT
Signup and view all the answers
elements stored and accessed in non-sequential order
elements stored and accessed in non-sequential order
Signup and view all the answers
special format for storing and organizing data
special format for storing and organizing data
Signup and view all the answers
call is the last statement that is executed by function
call is the last statement that is executed by function
Signup and view all the answers
terminated condition if proven false
terminated condition if proven false
Signup and view all the answers
represents hierarchical nature of structure in graphical form
represents hierarchical nature of structure in graphical form
Signup and view all the answers
special type of queue elements processed by order
special type of queue elements processed by order
Signup and view all the answers
result of each step depends on input and result of previous step
result of each step depends on input and result of previous step
Signup and view all the answers
optimal approach is always chosen in solving problem
optimal approach is always chosen in solving problem
Signup and view all the answers
when divided into two functions that call each other
when divided into two functions that call each other
Signup and view all the answers
algorithm has zero or more well-defined data given before algorithm begins
algorithm has zero or more well-defined data given before algorithm begins
Signup and view all the answers
representation and implementation
representation and implementation
Signup and view all the answers
other term for external adt
other term for external adt
Signup and view all the answers
when method directly calls itself
when method directly calls itself
Signup and view all the answers
TRUE or FALSE: Each iteration doesn't require extra memory
TRUE or FALSE: Each iteration doesn't require extra memory
Signup and view all the answers
complete binary tree
complete binary tree
Signup and view all the answers
consist of vertices(nodes) and set of edges(relations) between pair of vertices
consist of vertices(nodes) and set of edges(relations) between pair of vertices
Signup and view all the answers
collection of elements where each item is unique
collection of elements where each item is unique
Signup and view all the answers
not part of wall of adt
not part of wall of adt
Signup and view all the answers
each instruction has to be clear and unambiguous
each instruction has to be clear and unambiguous
Signup and view all the answers
when method calls another method, eventually calling original method
when method calls another method, eventually calling original method
Signup and view all the answers