GATE 2017 (Session 1) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2017 (Session 1)

64 questions

MCQ 44 · NAT 201-mark 30 · 2-mark 34

Questions 16–20 of 64

Q16Binary Search Tree1 markMCQ−0.33 if wrong
Let T be a binary search tree with 15 nodes. The minimum and maximum possible heights of T are :
Note: The height of a tree with a single node is 0.

Q17Number System1 markMCQ−0.33 if wrong
The n-bit fixed-point representation of an unsigned real number real X uses f bits for the fraction part. Let i=n-f. The range of decimal values for X in this representation is

Q19Combinational Circuit1 markMCQ−0.33 if wrong
When two 8-bit numbers A7....A0A_{7}....A_{0} and B7....B0B_{7}....B_{0} in 2's complement representation (with A0A_{0} and B0B_{0} as the least significant bits ) are added using a ripple-carry adder, the sum bits obtained are S7....S0S_{7}....S_{0} and the carry bits are C7....C0C_{7}....C_{0}. An overflow is said to have occurred if

Q20Context Free Grammar1 markMCQ−0.33 if wrong
Consider the following context-free grammar over the alphabet ∑\sum = {a,b,c} with S as the start symbol.

S→\rightarrowabScT|abcT
T→\rightarrowbT|b

Which one of the following represents the language generated by the above grammar ?