Aspire Faculty ID #17535 · Topic: UGC NET Computer Science August 2024 (Paper II) · Just now
UGC NET Computer Science August 2024 (Paper II)

Match List - I with List - II.

 List - I (Recurrence Relations)

List - II (Complexity) 

 (A) $T(n)=2T(n/2)+n$
 (I) $T(n)=\theta(n\log n)$ [exact solution]
 (B) $T(n)=T(n/2)+1$
 (II) $O(n^2)$
 (C) $T(n)=2T(n/2)+1$
 (III) $T(n)=\theta(n)$ [exact solution]
 (D) $T(n)=T(n-1)+1$

 (IV) $O(\log n)$

Choose the correct answer from the options given below :

Solution

(A) $T(n)=2T(n/2)+n$


Master theorem


$a=2,; b=2,; f(n)=n$


$\Rightarrow T(n)=\theta(n\log n)$


So (A) → (I)


(B) $T(n)=T(n/2)+1$


Divide size halves each step


$\Rightarrow T(n)=O(\log n)$


So (B) → (IV)


(C) $T(n)=2T(n/2)+1$


Master theorem


$\Rightarrow T(n)=\theta(n)$


So (C) → (III)


(D) $T(n)=T(n-1)+1$


Linear recurrence


$\Rightarrow T(n)=O(n)$


Closest option given:


(D) → (II)


Thus matching:


(A)-(I), (B)-(IV), (C)-(III), (D)-(II)

Previous 10 Questions — UGC NET Computer Science August 2024 (Paper II)

Nearest first
1
Arrange the following steps of Feature Driven Development (FDD) process in the correct sequence :(A) Develop an overall…
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Which of the following statements are TRUE about Process Control Block (PCB) ?(A) The PCB contains information about th…
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Match List - I with List - II. List - I (operating system concepts)List - II (characteristics)  (A) Pagi…
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Select the Sorting Algorithms that are stable.(A) Quick Sort(B) Bubble Sort(C) Insertion Sort(D) Merge Sort(E) Shell So…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Arrange the following steps of file handling in C in the correct order :(A) Close the file(B) Read from or write to the…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Consider the three-way handshaking process followed during TCP connection establishment between two hosts A and B. Let …
Topic: UGC NET Computer Science August 2024 (Paper II)
7
#include<iostream.h>using namespace std;void swap(int &x, int &y){    int temp = x;  &nbsp…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Consider a CSMA/CD network that transmits data at the rate of 100 Mbps over a 1 kilometre cable with no repeater. If th…
Topic: UGC NET Computer Science August 2024 (Paper II)
9
Host A (on TCP/IPv4 Networks) send an IP Datagram D to host B (also on TCP/IPv4 network). Assume that no error occurred…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Consider a relation schema $R = (U, V, W, X, Y, Z)$, on which the following functional dependencies hold:${U \rightarro…
Topic: UGC NET Computer Science August 2024 (Paper II)

Next 10 Questions — UGC NET Computer Science August 2024 (Paper II)

Ascending by ID
1
Match List - I with List - II. List - I (Queries) List - II (Probability) (A) A bag contains 6 white and…
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Which of the following is correct way to declare a functional pointer in C ?
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Which of the following best describes the structure of a relational database ?
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Which of the following tasks could be attained using syntax trees in compiler design ? (A) Type Checking (B) Code Gener…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Given a project with an estimated effort of 1500 person-hours and a team of 5 people, how many days will it take to com…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Consider the following C code :#include<stdio.h>int temp = 0;int fun(int x, int y){    int z;  &nb…
Topic: UGC NET Computer Science August 2024 (Paper II)
7
Let $P$ be “It is hot day” and $q$ be “The temperature is $48^\circ C$”. Write in simple sentences the meaning of $\neg…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Let $L(x,y)$ be the statement “$x$ loves $y$” where the domain for both $x$ and $y$ consists of all people in the world…
Topic: UGC NET Computer Science August 2024 (Paper II)
9
Consider the following relations on ${1,2,3,4}$. Which of the following relations are reflexive ?(A) $R_1={(1,1),(1,2),…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Fifth normal form is concerned with :
Topic: UGC NET Computer Science August 2024 (Paper II)
Ask Your Question or Put Your Review.

loading...