Skip to main content

Questions tagged [gate-cs]

Use this tag when your question is about questions that appear in the Graduate Aptitude Test in Engineering (GATE) for Computer Science and Information Technology (code "CS"). Check whether your question is on-topic. For example, questions about programming in some particular language should be posted to other sites such as stackoverflow.com.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
10 views

Regarding Logical Addressing in Segmented Paging Architecture

We know that segments can be divided into pages and it has its own page table ..... Likewise paging can be incorporated into the segment table and it'll be associated with its own page tables ...... ...
Achyutananda Sahoo's user avatar
0 votes
1 answer
812 views

Remove left recursion from a grammar without necessarily removing epsilon production

Consider the grammar $$S →Aa∣b$$ $$A →Ac∣Sd∣ϵ$$ Construct an equivalent grammar with no left recursion and with minimum number of production rules. $\tag {GATE-CS-1998}$ While solving this question, ...
Abhishek Ghosh's user avatar
0 votes
0 answers
39 views

how ambiguity of following grammar cant be decidable?

SO According to question grammar should be like this (A -> AA ). ->So i learn that if grammar is left and right recursive both then that grammar must be ambiguous but here the answer is deferent....
Lucifer The devil's user avatar
0 votes
1 answer
58 views

What are the maximum possible values of X and Y?

30 buses are used to transport 2000 passengers. Each bus has 80 seats and each passenger will occupy exactly one seat. Consider the following statement: At least X buses will carry at least 67 ...
Afreen's user avatar
  • 1
2 votes
2 answers
227 views

Arguing that $L= \{a^n | n\geq 0\} \cup \{a^nb^n| n\geq 0\}$ is not $LL(k)$ for any $k$

Consider the language $L= \{a^n \mid n\geq 0\} \cup \{a^nb^n\mid n\geq 0\}$ and the following statements. $\quad\quad\text{I. }L$ is deterministic context-free. $\quad\quad\text{II. }L$ is context-...
Abhishek Ghosh's user avatar
3 votes
3 answers
642 views

Compiler Design Question

$\text{Consider the following ANSI C code:}$ int main(){ Integer x; return 0; } $\text{What will be the type of error?}$ $\text{a) Lexical}$, $\text{b) Syntax}$, ...
Curiosity's user avatar
2 votes
0 answers
591 views

Difficulty in understanding the concept of operand forward in pipeling and when to use split phase

Given below is a question from $\text{GATE } 2015 \text{ CS}$ paper, Consider the sequence of machine instruction given below: \begin{array}{ll} \text{MUL} & \text{R5, R0, R1} \\ \text{DIV} &...
Abhishek Ghosh's user avatar
3 votes
1 answer
3k views

Distance Vector Routing Example

Consider a network with five nodes, N1 to N5, as shown as below. The network uses a Distance Vector Routing protocol. Once the routes have been stabilized, the distance vectors at different nodes are ...
user3767495's user avatar