Consider the following floating point format Mantissa is a pure fraction in sign-magnitude form. The normalized representation for the above format is specified as follows.… Read More
Tag Archives: GATE-CS-2005
Consider the following floating point format Mantissa is a pure fraction in sign-magnitude form. The decimal number 0.239 × 213 has the following hexadecimal representation… Read More
We are given 9 tasks T1, T2…. T9. The execution of each task requires one unit of time. We can execute one task at a… Read More
We are given 9 tasks T1, T2…. T9. The execution of each task requires one unit of time. We can execute one task at a… Read More
Consider the following expression grammar. The semantic rules for expression calculation are stated next to each grammar production. E → number E.val = number. val… Read More
Consider the following expression grammar. The semantic rules for expression calculation are stated next to each grammar production. E → number E.val = number. val… Read More
Let s and t be two vertices in a undirected graph G + (V, E) having distinct positive edge weights. Let [X, Y] be a… Read More
Let s and t be two vertices in a undirected graph G + (V, E) having distinct positive edge weights. Let [X, Y] be a… Read More
Consider the following C-function: double foo (int n) { int i; double sum; if (n = = 0) return 1.0; else { sum = 0.0;… Read More
Consider the following C-function: C double foo (int n) { int i; double sum; if (n = = 0) return 1.0; else { sum =… Read More
Consider the following data path of a CPU. The, ALU, the bus and all the registers in the data path are of identical size. All… Read More
Consider the following data path of a CPU. The, ALU, the bus and all the registers in the data path are of identical size. All… Read More
Consider a relation scheme R = (A, B, C, D, E, H) on which the following functional dependencies hold: {A–>B, BC–>D, E–>C, D–>A}. What are… Read More
The relation book (title, price) contains the titles and prices of different books. Assuming that no two books have the same price, what does the… Read More
The following table has two attributes A and C where A is the primary key and C is the foreign key referencing A with on-delete… Read More