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

Consider the Grammar :

$T \rightarrow Qx$
$Q \rightarrow RS$
$R \rightarrow y \mid \varepsilon$
$S \rightarrow z \mid \varepsilon$

Here $x, y, z$ are terminals and $T, Q, R, S$ are non terminals.
What will be the follow set of the non terminal $R$ ?

Solution

From production

$Q \rightarrow RS$

FOLLOW of $R$ includes FIRST of $S$ except $\varepsilon$

FIRST($S$) = ${z, \varepsilon}$

So add $z$

Since $S \rightarrow \varepsilon$, also include FOLLOW($Q$)

From

$T \rightarrow Qx$

FOLLOW($Q$) = ${x}$

Thus

FOLLOW($R$) = ${z, x}$

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

Nearest first
1
For all real numbers $x$, there exists a real number $y$ such that $x$ is less than $y$.(A) $L_1 = { w \in {0,1}^* \mid…
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Translate $\forall x \exists y (x < y)$ in English. Consider domain as a real number for both the variables.
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Consider the following C program :#include<stdio.h>int main(){    int x[]={2,4,6,8,10};    in…
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Consider the following statements regarding combinational and sequential circuits. (A) Output of combinational circuits…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
In a token ring network the transmission speed is $10^7$ bps and the propagation speed is $200 , m/\mu s$. The 1-bit de…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Match List - I with List - II. List - I List - II (A) The activation function (I) is called the del…
Topic: UGC NET Computer Science August 2024 (Paper II)
7
Arrange the following steps in the correct order to solve the Knapsack problem using Dynamic Programming. (A) Define th…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Match List-I with List-II. List-I (computing systems)List-II (working/output)  (A) Half Adder (I) H…
Topic: UGC NET Computer Science August 2024 (Paper II)
9
Which of the following C++ statements correctly declares an abstract class ?
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Arrange the following steps in a proper sequence for the process of training a neural network.(A) Weight initialization…
Topic: UGC NET Computer Science August 2024 (Paper II)

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

Ascending by ID
1
Two computers A and B are configured as follows :A has IP address 203.197.2.53 and subnet mask 255.255.128.0B has IP ad…
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Match List - I with List - II. List - I (IP Address)List - II (Class)   (A) 10.20.30.40 (I) Class E…
Topic: UGC NET Computer Science August 2024 (Paper II)
3
What will be the output of the following C code?#include<stdio.h>void main(){    int arr[5] = {10, 20, …
Topic: UGC NET Computer Science August 2024 (Paper II)
4
What is SQL primarily used for in the context of relational databases?
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Given a project that uses the COCOMO model with an estimated effort of 2000 person-months and a productivity rate of 5 …
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Match List - I with List - II. List - I (software design principles) List - II (Definitions) (A) Cohesio…
Topic: UGC NET Computer Science August 2024 (Paper II)
7
Consider the transactions $T_1, T_2, T_3$ and the schedules $S_1$ and $S_2$ given below. $T_1 : r_1(x); r_1(z); w_1(z)$…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Consider the following statement regarding special purpose registers. (A) Program Counter (PC) keeps the track of next …
Topic: UGC NET Computer Science August 2024 (Paper II)
9
Which of the following are Agile Process Models ? (A) Extreme Programming (XP) (B) Waterfall (C) Scrum (D) Spiral (E) I…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Arrange the following phases of database design in the correct order :(A) Physical Design(B) Conceptual Design(C) Logic…
Topic: UGC NET Computer Science August 2024 (Paper II)
Ask Your Question or Put Your Review.

loading...