s8 IT Comprehensive Viva Data Structures

s8 IT Comprehensive Viva Data Structures

Professional Development

30 Qs

quiz-placeholder

Similar activities

DATASTRUCTURES-3SEM

DATASTRUCTURES-3SEM

Professional Development

25 Qs

Test Out; How Computers Work

Test Out; How Computers Work

7th Grade - Professional Development

27 Qs

DDC_Prelim Quiz

DDC_Prelim Quiz

Professional Development

25 Qs

file formats

file formats

KG - Professional Development

27 Qs

DSA Quiz

DSA Quiz

Professional Development

30 Qs

Quiz Computer Department-2024

Quiz Computer Department-2024

Professional Development

28 Qs

Quiz Test 01

Quiz Test 01

University - Professional Development

25 Qs

DSAQuiz-2

DSAQuiz-2

Professional Development

30 Qs

s8 IT Comprehensive Viva Data Structures

s8 IT Comprehensive Viva Data Structures

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Arya S R

Used 2+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Convert the pre-fix expression to in-fix

–* + ABC* – DE + FG

(A – B)*C + (D*E) – (F + G)

(A + B)*C – (D – E)*(F – G)

(A + B – C)*(D – E))*(F + G)

None

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

G is an undirected graph with vertex set {v1, v2, v3, v4, v5, v6, v7} and edge set {v1v2, v1v3, v1v4, v2v4, v2v5, v3v4, v4v5, v4v6, v5v6, v6v7}. A breadth first search of the graph is performed with v1 as the root node. Which of the following is a tree edge ?

v2v4

v1v4

v3v4

v4v5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If the array A contains the items 10, 4, 7, 23, 67, 12 and 5 in that order, what will be the resultant array A after third pass of insertion sort ?

67, 12, 10, 5, 4, 7, 23

4, 7, 10, 23, 67, 12, 5

4, 5, 7, 67, 10, 12, 23

10, 7, 4, 67, 23, 12, 5

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The minimum height of an AVL tree with n nodes is

Ceil (log2 (n + 1))

1.44 log2 n

Floor (log2 (n + 1))

1.64 log2 n

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Of the following, which best approximates the ratio of the number of non-terminal nodes in the total number of nodes in a complete K-ary tree of depth N ?

1/N

(N-1)/N

1/K

(K-1)/K

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following in-place sorting algorithms needs the minimum number of swaps?

Insertion Sort

Quick Sort

Heap Sort

Selection Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given a binary-max heap. The elements are stored in an arrays as 25, 14, 16, 13, 10, 8, 12. What is the content of the array after two delete operations?

14,13,8,12,10

14,12,13,10,8

14,13,12,10,8

14,13,12,8,10

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?