1) Which of the following is not considered while calculating time complexity? a) Arithmetic & logical operators b) Read and Write operators c) Assignment and return d) Declaring variables 2) In linear time complexity : a) Time required increases with increase in input value b) Time required decreases with increase in input value c) Time remains constant with increase in input value d) Time required increases with constant in input value 3) Which of following is an example of non-linear data structure ? a) Linked list b) Tree c) Queue d) Array 4) Which notation indicates maximum time or worse case of an algorithm? a) Big - Omega notation b) Big - O notation c) Big – Theta d) None of the above 5) Which of the following is the formula to calculate address in 2D array in row major system? a) B + W * [ N * (I - Lr) + (J - Lc) ] b) B + W * [ N * (I + Lr) + (J + Lc) ] c) B - W * [ N * (I - Lc) - (J - Lr) ] d) B - W * [ N * (I + Lc) + (J + Lr) ] 6) Stack follows which of the following principle ? a) LILO b) FIFO c) LIFO d) None of the above 7) What is / are the conditions to check that the queue is empty? a) Front = 0 or front < rear b) Rear = 0 or rear >front c) Front = -1 or front > rear d) Only Rear = n-1 8) Which of the following is true ? a) Every Perfect binary tree is a Complete binary tree b) Every Complete binary tree is a Full binary tree c) Every Full binary tree is a Perfect binary tree d) None 9) What is the traverse order for preorder traversal ? a) Left, Root, Right b) Root, Left, Right c) Left, Right, Root d) Root, Right, Left 10) In a B- Tree, every internal node (nodes other then root node) will have : a) Max (m-1) keys & max [(m/2) -1] children b) Max (m) keys & max (m-1) children c) Max [(m/2) -1] keys & max (m-1) children d) Max (m-1) keys & max (m) children 11) Calculate the time complexity of the following code : a) 8 b) 7 c) 28 d) 22 12) Find the address of B [1700]. a) 2500 b) 7000 c) 200 d) 1800 13) What is the condition for Big- Omega Notation? a) f(n) <= c.g(n) b) f(n) >= c.g(n) c) c1.g(n) <= f(n) <= c2.g(n) d) none 14) Inorder : DGBAHEICF Post order : GDBHIEFCA -> Which is the root node of a tree? a) F b) G c) D d) A 15) What is the formula to find balance factor ? a) height(mid subtree) - height(top subtree) b) height (right subtree) - height (left subtree) c) height (left subtree) - height (right subtree) d) height(top subtree) - height(mid subtree)
0%
DSA - Quiz
공유
공유
공유
만든이
Ddkulkarni19
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
게임쇼 퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?