Aspire Faculty ID #19086 · Topic: UGC NET Computer Science Dec 2019 (Paper II) · Just now
UGC NET Computer Science Dec 2019 (Paper II)

Consider the following statements:

(a) The running time of dynamic programming algorithm is always $\theta(\rho)$ where $\rho$ is number of subproblems.

(b) When a recurrence relation has cyclic dependency, it is impossible to use that recurrence relation $($unmodified$)$ in a correct dynamic program.

(c) For a dynamic programming algorithm, computing all values in a bottom-up fashion is asymptotically faster than using recursion and memorization.

(d) If a problem $X$ can be reduced to a known NP-hard problem, then $X$ must be NP-hard.

Which of the statement(s) is/are true?

Solution

Statement (a) is false because running time also depends on the time required to solve each subproblem, not only the number of subproblems.

Statement (b) is true because cyclic dependency creates a circular dependency, so the recurrence cannot be used directly in a correct dynamic program.

Statement (c) is false because bottom-up DP and memoized recursion usually have the same asymptotic time complexity.

Statement (d) is false because if $X$ is reduced to an NP-hard problem, it does not prove that $X$ is NP-hard. To prove $X$ is NP-hard, a known NP-hard problem should be reduced to $X$.

So, only statement (b) is true.

Previous 10 Questions — UGC NET Computer Science Dec 2019 (Paper II)

Nearest first
1
The following multithreaded algorithm computes transpose of a matrix in parallel:$p\ Trans(X,Y,N)$if $N=1$then $Y[1,1]\…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
2
Identify the circumstances under which pre-emptive CPU scheduling is used: (a) A process switches from Running state to…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
3
Two concurrent executing transactions $T_1$ and $T_2$ are allowed to update same stock item say $A$ in an uncontrolled …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
4
Which of the following are legal statements in C programming language? (a) int *P = &44; (b) int *P = &r; (c) i…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
5
Which of the following statements are true regarding C++? (a) Overloading gives the capability to an existing operator …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
6
Consider the following statements with respect to approaches to fill areas on raster systems:P: To determine the overla…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
7
Which of the following binary codes for decimal digits are self complementing? (a) $8421$ code (b) $2421$ code (c) exce…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
8
The Reduced Instruction Set Computer $($RISC$)$ characteristics are:(a) Single cycle instruction execution (b) Variable…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
9
Consider the following statements with respect to duality in LPP: (a) The final simplex table giving optimal solution o…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
10
Consider the following statements: $S_1:$ If a group $(G,*)$ is of order $n$, and $a\in G$ is such that $a^m=e$ for som…
Topic: UGC NET Computer Science Dec 2019 (Paper II)

Next 10 Questions — UGC NET Computer Science Dec 2019 (Paper II)

Ascending by ID
1
Consider the following statements: (a) Fiber optic cable is much lighter than copper cable. (b) Fiber optic cable is no…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
2
Consider the following statements: (a) Windows Azure is a cloud-based operating system. (b) Google App Engine is an int…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
3
Consider the following statements with respect to network security:(a) Message confidentiality means that the sender an…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
4
Consider the following:(a) Trapping at local maxima(b) Reaching a plateau(c) Traversal along the ridge. Which of the…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
5
Consider the following learning algorithms:(a) Logistic regression (b) Back propagation (c) Linear regression Which of…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
6
Match List-I and List-II: List-I Layer List-II Description (a) …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
7
According to the ISO-9126 Standard Quality Model, match the attributes given in List-I with their definitions in List-I…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
8
Match the Agile Process models with the task performed during the model: List-I Agile Process Mode…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
9
Match List-I with List-II: List-I HTML Element / Attribute List-II Use …
Topic: UGC NET Computer Science Dec 2019 (Paper II)
10
An instruction is stored at location $500$ with its address field at location $501$. The address field has the value $4…
Topic: UGC NET Computer Science Dec 2019 (Paper II)
Ask Your Question or Put Your Review.

loading...