- Total number of questions: 65
- 30 questions carry one mark each
- 35 questions carry two marks each
- Negative marking: 1/3 of the marks allotted to the question
- Use of calculator is allowed
- This is a proctored examination
- All other browser applications will be automatically closed
- After three warnings, the examination window will close automatically
Computer Science & Information Technology (CS) 2017 [Session 2]
Review the key details, then start the test when you are ready. You can also open the full package to see related papers.
Paper pattern & analysis
Filter this paper by subject, topic or subtopic. Every graph updates from the selected questions.
Topic distribution
Subtopic distribution
Difficulty distribution
Question type distribution
Instructions
Syllabus
Sample questions from this paper
Questions are selected across the paper subjects wherever the paper contains that variety.
The representation of the value of a 16-bit unsigned integer X in hexadecimal number system is BCA9. The representation of the value of X in octal number system is
Match the following:
| (P) static char var; | (i) Sequence of memory locations to store addresses |
| (Q) m = malloc(10); m = NULL; | (ii) A variable located in data section of memory |
| (R) char *ptr[10]; | (iii) Request to allocate a CPU register to store data |
| (S) register int var1; | (iv) A lost memory which cannot be freed |
Match the algorithms with their time complexities:
| Algorithm | Time complexity |
|---|---|
| (P) Towers of Hanoi with n disks | (i) θ(n2) |
| (Q) Binary search given n sorted numbers | (ii) θ(n log n) |
| (R) Heap sort given n numbers at the worst case | (iii) θ(2n) |
| (S) Addition of two n × n matrices | (iv) θ(log n) |
Let L1, L2 be any two context-free languages and R be any regular language. Then which of the following is/are CORRECT?
I. L1 ∪ L2 is context-free. II. L1 is context-free. III. L1 − R is context-free. IV. L1 ∩ L2 is context-free.
Match the following according to input (from the left column) to the compiler phase (in the right column) that processes it:
| (P) Syntax tree | (i) Code generator |
| (Q) Character stream | (ii) Syntax analyzer |
| (R) Intermediate representation | (iii) Semantic analyzer |
| (S) Token stream | (iv) Lexical analyzer |
Which of the following statements about parser is/are CORRECT?
I. Canonical LR is more powerful than SLR. II. SLR is more powerful than LALR. III. SLR is more powerful than Canonical LR.