Aspire Faculty ID #18559 · Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II) · Just now
UGC NET Computer Science Dec 2022 Shift I (Paper II)

Which of the following statement(s) are correct?
A. Syntax Directed Translation can be applied in Type Checking.
B. Syntax Directed Translation can be used in 3-address code generation.
C. Syntax Directed Translation can be used in construction of syntax tree.
D. Syntax Directed Translation can be used to recognize valid tokens.

Solution

Given distance from router $R$ to its neighbors:

$R\to X=3$

$R\to Y=2$

$R\to Z=5$

For router $P$:

Via $X$: $3+7=10$

Via $Y$: $2+6=8$

Via $Z$: $5+5=10$

Minimum distance from $R$ to $P$ is $8$ via $Y$.

So, statement C is true.

For router $Q$:

Via $X$: $3+4=7$

Via $Y$: $2+6=8$

Via $Z$: $5+8=13$

Minimum distance from $R$ to $Q$ is $7$ via $X$.

So, statement B is true.

Correct statements are B and C only.

Correct option is:

$\boxed{(a)\ \text{B and C only}}$

Previous 10 Questions — UGC NET Computer Science Dec 2022 Shift I (Paper II)

Nearest first
1
Which of the following statement(s) are correct?A. Syntax Directed Translation can be applied in Type Checking.B. Synta…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
2
Which of the following Finite Automata,recognizes the language L = {a , b}* ?A. $M=({q_0},{a,b},\delta,q_0,{q_0})$&nbsp…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
3
For matrix multiplication, if we use divide and conquer algorithm, then ______A. the running time is $T(n)=\Theta(n^3)$…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
4
In the context of a Hamiltonian problem, which of the following are correct?A. Hamiltonian cycle problem is NP-Complete…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
5
Which of the following rotations are correctly explained in the context of an AVL tree?A. LL rotation: The new node is …
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
6
Which of the following need not be assessed during unit testing?A. Algorithmic performance.B. Number of lines of code.C…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
7
Given below are two statements:Statement I: Software testing must be recognized as a significant effort, and its planni…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
8
Select the correct order of basic page replacement.A. Page replacement algorithm is used in case there is no free frame…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
9
Consider the following set of processes that need to be scheduled on a single CPU. All the times are given in milliseco…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
10
Which of the following statements are true?A. If the time quantum is extremely small, round robin can result in a large…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)

Next 10 Questions — UGC NET Computer Science Dec 2022 Shift I (Paper II)

Ascending by ID
1
Consider the routing table of an organization'srouter as shown in the table given below Subnet NumberSubnet Mask&n…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
2
Consider two hosts P and Q are connected through a router R. The maximum transfer unit $(MTU)$ value of the link betwee…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
3
Consider the following features of Neural networks. A. It is essentially a machine learning algorithm. B. It is useful …
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
4
Consider the following draw backs is/are of Rule based approach is/are:A. The learning is static.B. Any changes made to…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
5
Match List I with List II List I List II A. Linear Program I. Prim's Algorithm B. Predicate Lo…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
6
Match List I with List II List I List IIA. DAAI. Program Control InstructionB. LXIII. Interrupt instruct…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
7
Match List I with List II List I List IIA. 2-D Array InputI. Liquid Crystal DisplayB. Transmissive deviceII. …
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
8
Match List I with List II List I List IIA. Timestamp protocolI. As long as the transaction is already running…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
9
Match List I with List II List I List IIA. reference bit = $0$, modify bit = $0$ I. Must write out before rep…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
10
Match List I with List II List I List IIA. Condition coverage I. Black box testing B. Equivalence class Parti…
Topic: UGC NET Computer Science Dec 2022 Shift I (Paper II)
Ask Your Question or Put Your Review.

loading...