GATE 2024 (Session 2) Computer Science and Information Technology (CS) Questions with Solutions

GATE 2024 (Session 2)

65 questions

MCQ 32 · MSQ 18 · NAT 151-mark 30 · 2-mark 35

Questions 56–60 of 65

Q56Relational Schema2 marksNAT
A functional dependency F:X→YF:X \rightarrow Y is termed as a useful functional dependency if and only if it satisfies all the following three conditions:

XX is not the empty set. YY is not the empty set. Intersection of XX and YY is the empty set.

For a relation RR with 4 attributes, the total number of possible useful functional dependencies is ______

Q57Machine Instruction2 marksNAT
A processor with 16 general purpose registers uses a 32-bit instruction format. The instruction format consists of an opcode field, an addressing mode field, two register operand fields, and a 16-bit scalar field. If 8 addressing modes are to be supported, the maximum number of unique opcodes possible for every addressing mode is _________

Q58Pipeline Processor2 marksNAT
A non-pipelined instruction execution unit operating at 2 GHz takes an average of 6 cycles to execute an instruction of a program P. The unit is then redesigned to operate on a 5-stage pipeline at 2 GHz. Assume that the ideal throughput of the pipelined unit is 1 instruction per cycle. In the execution of program P, 20% instructions incur an average of 2 cycles stall due to data hazards and 20% instructions incur an average of 3 cycles stall due to control hazards. The speedup (rounded off to one decimal place) obtained by the pipelined design over the non-pipelined design is ________

Q59Minimum Spanning Tree2 marksNAT
The number of distinct minimum-weight spanning trees of the following graph is _______
abfgced 123212322211

Q60Graph Theory2 marksNAT
The chromatic number of a graph is the minimum number of colours used in a proper colouring of the graph. The chromatic number of the following graph is _______