GATE CS 2008 — Question 55
A computer on a 10 Mbps network is regulated by a token bucket. The token bucket is filled at a rate of 2 Mbps. It is initially filled…
GATE exam stream
174 questions and papers
A computer on a 10 Mbps network is regulated by a token bucket. The token bucket is filled at a rate of 2 Mbps. It is initially filled…
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…
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:
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…
Consider the following intermediate program in three address code:p = a - b q = p * c p = u * v q = p + qWhich…
Consider the following grammar:P → x Q R S Q → y z | z R → w | ε S → yWhat is FOLLOW(Q)?
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…
Consider the following code segment:x = u - t; y = x * v; x = y + w; y = t - z; y = x *…
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
Which one of the following is FALSE?
Every question here is free to read. A free account adds the verified key, the worked solution and your progress.