Convert the pre-fix expression to in-fix
–* + ABC* – DE + FG
s8 IT Comprehensive Viva Data Structures
Quiz
•
Computers
•
Professional Development
•
Hard
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
30 questions
Algorithm - Complexity
Quiz
•
University - Professi...
28 questions
История ОС
Quiz
•
Professional Development
25 questions
COCAT - DAA
Quiz
•
University - Professi...
30 questions
C BASICS
Quiz
•
Professional Development
34 questions
aws learning day
Quiz
•
Professional Development
29 questions
COMPTIA ITF
Quiz
•
1st Grade - Professio...
25 questions
C Language Test 3
Quiz
•
Professional Development
30 questions
BSC OS 25 B INTRO TO WINDOWS
Quiz
•
Professional Development
15 questions
Multiplication Facts
Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz
Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set
Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025
Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)
Quiz
•
9th - 12th Grade
15 questions
June Review Quiz
Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles
Quiz
•
8th Grade
25 questions
Triangle Inequalities
Quiz
•
10th - 12th Grade