UGC NET Computer Science Data Structures Previous Year Questions (PYQs) – Page 8 of 9

UGC NET Computer Science Data Structures Previous Year Questions (PYQs) – Page 8 of 9

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations
Reset
Showing 83 questions
logo
🎓 UGC NET Computer Science📅 Year: 2022📚 Computer🏷 Data Structures

Given the FFT we can have ______ time procedure for multiplying two polynomials $A(x)$ and $B(x)$ of degree bound $n$ where input and output representations are in coefficient form, assuming $n$ is a power of $2$.

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2021📚 Computer🏷 Data Structures

The reverse Polish notation of the following infix expression

$[A*\{B+C*(D+E)\}]/\{F*(G+H)\}$

is __________.

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2022📚 Computer🏷 Data Structures

Given an expression

$(A+B*D)/(E-F)+G$

  1. The prefix notation is $+/+A*DB-EFG$
  2. The prefix expression is the reverse of the postfix expression
  3. The order of operands in infix expression and postfix expression are the same.
  4. The order of operands in infix expression, prefix expression, and postfix expression are the same.

Choose the most appropriate answer from the options given below:


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2023📚 Computer🏷 Data Structures

Match List I with List II

 LIST I

 LIST II

 A. Parallel FFT

 I. Θ(n²)
 B. Iterative FFTII. Θ(n) 
 C. Evaluation of polynomial at n points by Horner method III. Θ(lg n)
 D. Product of two polynomials that are represented in point value form IV. Θ(n lg n)
Choose the correct answer from the options given below:

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2024📚 Computer🏷 Data Structures

Match List-I with List-II.

$f(n) = a f(n/b) + g(n)$ is a divide-and-conquer recurrence relation for the Listed-I algorithms, match their recurrence in Listed-II.

 List-I (Algorithms)

List-II (Recurrence Relation)

 
 A. Binary Search
 I. $f(n) = 7f(n/2) + 15n^2/4$
 B. Find maximum and minimum of a sequence
 II. $f(n) = 2f(n/2) + n$
 C. Merge Sort
 III. $f(n) = 2f(n/2) + 2$
 D. Fast Matrix Multiplication

 IV. $f(n) = f(n/2) + 2$


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2023📚 Computer🏷 Data Structures

Match List I with List II
 List I List II
 A. The running time of straight forward recursive method to compute nth Fibonacci number Fn I. O(n²)
 B. The running time to compute Fn using memoization II. O(lg n)

 C. The running time to compute Fibonacci number Fn using only integer addition and multiplication III. O(n)
 D. The running time to determine an optimal bitonic tour IV. θ(φⁿ)
Choose the correct answer from the options given below:

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2022📚 Computer🏷 Data Structures

Match the List-I and List-II

 List-I

 List-II

a. Dijkstra's Algorithm
I. Calculates path matrix
b. Prim's Algorithm
II. Stores minimum cost edge
 
c. Warshall's Algorithm
III. Stores the total cost from a source node to the current node

d. Kruskal's Algorithm

IV. Finds Minimum Spanning Tree

Choose the correct answer from the options given below:


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2024📚 Computer🏷 Data Structures

Arrange the following prefix expressions based on their values in increasing order:


A. + - * 2 / 8 4 3 2

B. ↑ - * 3 3 * 4 2 5

C. + - ↑ 3 2 ↑ 2 3 / 6 - 4 2

D. * + 3 + 3 ↑ 3 + 1 1 3


1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2020📚 Computer🏷 Data Structures

A complete n-ary tree is a tree in which each node has n children or no children. Let I be the number of internal nodes and L be the number of leaves in a complete n-ary tree. If L = 41, and I = 10, what is the value of n?

1
2
3
4

logo
🎓 UGC NET Computer Science📅 Year: 2020📚 Computer🏷 Data Structures

In a binary max heap containing n numbers, the smallest element can be found in ____ time.

1
2
3
4

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

UGC NET Computer Science


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...