Professional Documents
Culture Documents
13-26 Set of 26
13-26 Set of 26
13-26 Set of 26
D. bogn)
View Answe
D. e(logn
A. CARHOARE
A.O(n2log7)
B Ofnlogn)
C.o(n*2)
D. Ologn)
View Answer
C. O(n*2)
A. O(n 2logn)
B. O(nlogn)
C. O(logn)
D. O(logn2)
View Answer
B. Onlogn)
OX
CAISPELLO BREAKING
rpello
EQUALSHARING
BUY NOW
Average case time complexity of Quick sort is
A. n i o g n )
. Ologn)
C. Onlogn)
D. e(logn)
View Answer
C. O(nlogn)
D. Dynamic programming
View Answer
A. back tracKing
A. Pseud0-code
B. Graph Coloring
.Flow hart
D. Dynamic programming
View Answer
C. Flow Chart
A. inpu
5. Reaa
C. Write
D. Return
View Answer
C. Write
A. input
B. Read
C. Write
Return
. e
View Answer
B. Read
Data structure MCQ Set-15
A. Time Complexity
B. Input
SpaceComplexiy
D. Finiteness
View AnsWEr
A. Iime Complexity
A. Time Complexity
B. Input
C. Space Complexity
D. Finiteness
View AnSwer
C. Space Complexity
A. Constant
.
B.QuadratiC
Linedr
D. Cubic
View Answer
A. Constant
A. Constant
B. Quadratic
Li
D. Cudic
View Answer
C. Linear
A. Constant
B. Quadrat
C. Linear
D. Cubic
View Answer
B. Quadratic
DA
CGRISPELLO BREAKIN
EUAL SHARING
BUY NOW
.O(n*3) means computingtime is
A. EXponential
B. Quadratic
C. Linear
D. Cubic
View Answer
D. Cubic
A. Constant
B. Quadratic
C. Linear
D. Exponential
View Answer
D. Exponential
. Application of quicksort-
A. Graphic card
B. Data Processing
.apesorting
D. Card Sorting
View Answer
A. Graphic card
APplication or mergesort.
A. Graphic card
B. Networking
C. Card Sorting
D. Data Processing
View AnsWE
D. Data Processing
C. Dynamic programming
Data structure MCQ Set-16
2n*24-4n+4
5.2
. 2n*2+4n+2
D. 2n°2-1
View Ans
A. Count sort
Quick sor
View AlsWE
. Selection sort
. Merge sort is
A. Externalsorting
B. Insertion sorting
C. Internal sorting
D. Exponential sorting
View A er
A. Externalsorting
A. Prograi
. Algorithm
C. Greedy Method
D. Problem
View AnsWe
B. Algorithm
OX
CRISPELLO BREAKING
Spelo
EQUAL HARING
BUY NOW
. Gven two non-negative functions f(n
5n2+6n+1 and gn)=n2. Calculate upper bound
diue
A. C.
B. C12
D. C=11
View Answer
B. C=12
A. CFo
. CEIZ
D. C=11
View Answer
C. CFbp
A. f(n)sC
sC*g(n)
8. f(n) C*g(n)
: C*g(n)
D. f(n) != C*g(n)
View Answer
A. f(n)sC°g()
A. fn) s C*g()
B. f(n) =
Cgln
C. T)2C°g(n)
D. T(M) = C°g(n)
View Answer
C. f(n) 2 Cgn)
View Answer
B. 6
C.
D. O
ViewIAnswer
B.
B. O
C. w
D. O
View Answer
D. O
5. O
C. W
D. O
View Answer
A.
(n/gn)=Un->00
A LIttle on
B. Little omega
. Big oh
D. omega
View Answer
A. Little oh
A Lrttle oh
B. Little omega
C. Big oh
D. Omega
ViewAnswer
B. Little omega
OX
CRISPELLOBREAMKING
EQUALSHARING
BUY NOW
. Thegeneralcriteriaof algorithm;zero or more
uantities are externally supplied is
A. Output
B. Finiteness
C. Effectiveness
D. Input
View Answer
D. input
A. Output
D. Input
View Answer
B. Definiteness
A..Output
B. Finiteness
C. Efectiveness
D. input
View Answer
B. Finiteness
D.bestCase
ViewAnswer
D. Best case
Data structure MCQ Set-18
A
This section contains more frequently asked
Data Structure and Algorithms Objective
Questions Answers in the various University
level and competitive examinations.
C. Time complexity
A. 4n+4
B. 4n 2+4
C. 2n 2+2n+2
D. 4 n 4
ViewAnswer
A. 4n+4
D. 6n*2-14n+10
View Answer
D. 6n2-14n+10
ewV Answer
B. Greedy method
. Greedyn
metnod
CRISPELLOBREAKING)
EQUALSHARING
BUY NOW
The output of Kruskal and Prims algorithm is
C. (24)
D.(1,2)
View Answer
C.(2,4)
A.(1,3,4)
. (4,2.3)
.(1,2,4)
D. (1,5,2)
View Answer
C. (1,2,4)
B.(7.6,4,3)
Data structure MCQ Set-19
5, 4
+80
C. 499
D. 485
View Answer
A. 498
A. 345
5. 384
C. 354
D. 350
View Answer
C. 354
A. O(V)
A. O(E log V)
B. O(V log E)
C. C log V)
D. O(E log E)
view Answer
A. O(E log V)
. o(V+lE)
Ox
CRISPELL BREAKING)
EUUAL SHARING
BUY NOW
Ifthe graph is represented as an adjacency
matrix then the time complexity or Kruskals
algorithm is.
A. O(EOg v
B. OviogE)
C. O(v2)
D. O(logE)
View Answer
A. O(E log V)
gp
grap COnsists
e of many nodes
D. Ine grapn is complex
VIE
B. The graph's depth is large
A. O(E log V)
B. O(V2)
C. O(nlog/)
D. O(log n7)
View Answer
C. Onlog/
following e tion
( e + h )
8. ps=(a-c)le+)
D. pasla-D)n
View A
. p2=(-e+g)d
.p4=(a-b)hh
Data structure MCQ Set-21
A. greedy method
View Answer
A. greedy metnod
C. dynamic programming
B. 60
C. 90
D. 50
View Answer
C. 90
A. Greedy methoa
B. Dynamic programming
C. Knapsackmethod
D. Branch and bound
View Answer
A. Greedy method
X|
GRISPELLO BREAKING
EQDAL SHARING
BUYNOW
Who invented the word Algorithm
A. Abu Jafar Mohammed ibn Musa
B. Abu Mohammed Knan
C. Abu Jafar Mohammed Kasim
D. Abu Jafar Mohammed Ali Khan
View Answer
A.
C. */
D.
View Answer
D. /
B. Best Case
C. Time Complexity
D. Worst Case
iew Answ
EW
A. Space Complexity
A Debugging
B. Combining
C. Profiling
D. Conqure
View Answer
C. Profiling9
A.Braces
B. Square Brackets
C. Parenthesis
D. Slashes
View Answer
A. Braces
Data structure McQ Set-22
A. BST
B. MST
. DSinary tree
D. Weighted Graph
View Answer
Binary ree
B. Backtracking
Greedy nethod
View Answer
. Backtracking
A. Dynamic programming9
B. Backtracking
C. Branch and bound
D. Greedy method
View Answer
A. Dynamic programming
A. D.H.Lehmer
3. L.Eaumert
C. R.J.W
Walker
D. S. Golomb
View Answer
A. D.H.Lehmer
A. Backtacki
King
View Answe
CRISPELLOBREAKING
EUDAL ARING
BUY NOW
6. A i s a round trip path along n
ages or G tnat visits every vertex once and
A. M
B. TSP
c. Multistage orapn
D. Hamiltonian ycle
View Answer
D. Hamiltonian Cycle
lesign str
. Backtacking
B. Greedy
C. Branch and Bound
D. Dynamic programming
View Answ
A. Backtacking
hi s not efficient
ne ddld eieiens die o d
1000
View Answer
000
y ne algorithm
. Counting the average memory needed
y the algorithm
3. Average case
. Worst case
. Nu case
View A
. Nuil case
there at all
View Ans
there at al
lgorithm
A. When Item is somewhere in the middle
of the array
VieW A
of the array
algorith
. Much more complicated to analyze
B. Sometimes more complicated and than
that of worst case some other times
simpler than that of
. Much more simpler to analyze than
Worst case that of worst case
. None or above
View Answer
DIX
CRISPELLO BREAKING
EQUALLSHARIDO
BUY NOW
Ihe complexity of linear search algorithm is
A. O )
3.o
C. Olog n)
D. O(n log n)
View Answer
. O(n)
A. O(n)
on°2)
c. O(log n)
D. O(n log n)
View Anse
. O(log n)
A. O(n)
B. On2)
C.OOg n)
. og
View AnsWE
. O)
B. O(n2)
. o(log n)
D. On log n
View Answer
D. On iog
A. Counting microseconds
A) (A)
his sectlon contains more frequently asked
vide-and-conquer type
A. 5uDDle sort
. Insertion sort
. All of above
8. Quick sort
directiy is Known as
Recursion
. Traversa algorithm
iew Answer
C. Recursion
A. No of inputs
View AnsWer
D. Pivot element
sorting
Which sorting
y algorithn
d o is faster
s Taster
B. O(n+k)
. Onlogn)
D. O(n3)
View Answer
B. O(n+k)
CRISPELLO BNEANINO
AL SHARID
BUY NOW
6. In Quick sort algorithm.constants hidden in
(n ig n) are
A. Laige
3. Not knov
. Medium
. Small
. Small
p ivotelementan
Dalays
. None of above
View Answer
8. Diykstras algorithm :
paths
to find all shorhant OpprOacn
VEertices
. Has both greedy and dynamic approach
View Answer
ertices
theMST?
. Greedy Technique
. DVIde-andOnquere
View Answer
A. Greedy Technique
to find
minimum spanning tree of a graph, time
complexity of this algorithm is O(EV)
Both of above
. Kruskal's algorithm (choose best non-
cycle edge) is better than Prims
View Answer
ciduivEly Ew eages
Data structure MCQ Set-25
View Answer
View Answer
B. random of queue
C.priority
D. dequeue
View Answer
D. dequeuee
OX
CRISPELLO BREAKING%
EQUAL SHARING
CINpel o
BUYNOW
. In a priority queue, insertion and deletion
takes place at ...
A. Tront, rear end
B. only at rear end
C. only at front end
D. any position
View Answer
D. any position
View Answ
B. tower of Hanoi
A. queue
B. stack
C. tree
D. grapn
View Answer
B. stack
B. non linear
C. linked list
D. trees
View Answer
A. linear
Data structure MCQ Set-26
A. Sub algorithm
B. Recursion
C. Polish notation
D.1Traversal lgornithm
View Answer
3. Recursio
4. In a Heap tree
A. Values in a node is greater than every
value in lert Sud tree and smaller tnan
value in children ot it
VIEw ASWE
A. a tree graph
3. Tree tree
.atree
D. All ofabove
View Answer
. a tree grapn
esum
rio.do
FEN
D. None f abo
VAnswer
D. None of these
View Answer
A. PUSH
B. POP
C. Delete
D. None of these
View Answer
B. POP
A. Stack
B. Queue
C. Array
D. linked list
View AS
A. StaCK
8. Array
C. Linked list
D. None f these
View Answer
. NOne or tnese