GATE exam stream

GATE CS — Computer Science & IT

174 questions and papers

GATE CS 2020 — Question 10

Multiple choice 1 mark Compiler Design 2020

Consider the following statements.S1: Every SLR(1) grammar is unambiguous but there are certain unambiguous grammars that are not SLR(1).S2: For any context-free grammar, there is a parser that…

GATE CS 2007 — Question 64

Multiple choice 2 marks Computer Networks 2007

The message 11001001 is to be transmitted using the CRC polynomial \(x^{3}+1\) to protect it from errors. The message that should be transmitted is:

GATE CS 2019 — Question 41

Numerical answer 2 marks Compiler Design 2019

Consider the grammar given below:S → a S B | d B → bThe number of reduction steps taken by a bottom-up parser while accepting the string aaadbbb…

GATE CS 2016 Set 2 — Question 42

Numerical answer 2 marks Compiler Design 2016

The attributes of three arithmetic operators in some programming language are given below.OperatorPrecedenceAssociativityArity+HighLeftBinary−MediumRightBinary*LowLeftBinaryThe value of the expression 2 − 5 + 1 − 7 * 3 in this…

GATE CS 2015 Set 1 — Question 14

Multiple choice 1 mark Compiler Design 2015

Match the following:List-IList-II(P) Lexical analysis(i) Leftmost derivation(Q) Top down parsing(ii) Type checking(R) Semantic analysis(iii) Regular expressions(S) Runtime environments(iv) Activation records