GATE CS question library
Practise GATE CS Computer Science previous year questions free. Browse by subject, syllabus topic, year and question type, with answers and available solutions.
Subject, topic, year and type filter the full library. Match any choice within a filter, and all selected filter categories. Search, source and sort apply to this page.
7 on this page
Assume the following C variable declaration: int *A[10], B[10][10]; Of the following expressions: which will not give compile-time errors if used as left hand sides of assignment statements in a C program?
Consider the following function. For large values of , the return value of the function best approximates float f,(float x, int y) { float p, s; int i; for (s=1,p=1,i=1; i<y; i++) { p *= x/i; s += p; } return s; }
A processor uses page tables for virtual to physical address translation. Page tables for both levels are stored in the main memory. Virtual and physical addresses are both bits wide. The memory is byte addressable. For virtual to physical address translation, the most significant bits of the virtual address are used as index into …
Consider two languages and each on the alphabet . Let be a polynomial time computable bijection such that iff . Further, let be also polynomial time computable. Which of the following CANNOT be true?
Define languages and as follows : Here is a triplet, whose first component is an encoding of a Turing Machine, second component is a string, and third component …
The cube root of a natural number is defined as the largest natural number such that . The complexity of computing the cube root of ( is represented by binary notation) is
If the strings of a language can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true?
