$$ \text { Consider the following two syntax-directed definitions SDD1 and SDD2 for type declarations. } $$
| SDD1 | |
|---|---|
| Grammar(G1) | $$ \text { Semantic Rules } $$ |
| $$ \mathrm{D} \rightarrow \mathrm{TV} $$ |
$$ \begin{aligned} & \text { D.type = T.type } \\ & \text { V.type = T.type } \end{aligned} $$ |
| $$ \mathrm{T} \rightarrow \mathrm{int} $$ |
$$ \text { T.type = int } $$ |
| $$ \mathrm{T} \rightarrow \text { float } $$ |
$$ \text { T.type = float } $$ |
| $$ \mathrm{V} \rightarrow \mathrm{~V}_1 \mathrm{id} $$ |
$$ \begin{aligned} & V_1 \cdot \text { type }=\text { V.type } \\ & \text { put(id.entry, V.type) } \end{aligned} $$ |
| $$ \mathrm{V} \rightarrow \mathrm{id} $$ |
$$ \text { put(id.entry, V.type) } $$ |
| SDD2 | |
|---|---|
| Grammar(G2) | $$ \text { Semantic Rules } $$ |
| $$ \mathrm{D} \rightarrow D_1 \mathrm{id} $$ |
$$ \begin{aligned} & \text { D.type }=D_1 \cdot \text { type } \\ & \text { put(id.entry, } D_1 \cdot \text { type) } \end{aligned} $$ |
| $$ \mathrm{D} \rightarrow \mathrm{~T} \text { id } $$ |
$$ \begin{aligned} & \text { D.type = T.type } \\ & \text { put(id.entry, T.type) } \end{aligned} $$ |
| $$ \mathrm{T} \rightarrow \text { int } $$ |
$$ \text { T.type = int } $$ |
| $$ \mathrm{T} \rightarrow \text { float } $$ |
$$ \text { T.type = float } $$ |
With respect to a TCP connection between a client and a server, which one of the following statements is true?
Which of the following statements is/are true with respect to the interaction of a web browser with a web server using HTTP 1.1?
A TCP sender successfully establishes a connection with a TCP receiver and starts the transmission of segments. The TCP congestion control mechanism's slow-start threshold is set to 10000 segments. Assume that the round-trip time is fixed at 1 millisecond. Assume that the sender always has data to send, the segments are numbered from 1, and no segment is lost. Let $t$ denote the time (in milliseconds) at which the transmission of segment number 2000 starts.
Which one of the following options is correct?
GATE CSE Papers
All year-wise previous year question papers