tutor.org.in

GATE Computer Science and Information Technology (CS) · Day 193 of 300

Day 193.

Choose an answer, check it, and read why each option is right or wrong.

GA-1 · General Aptitude: quantitative

Mixtures and alligation

  1. 1. Rice at ₹110 per kg is mixed with rice at ₹142 per kg so that the mixture costs ₹122 per kg. In what ratio are the two varieties mixed (cheaper : dearer)?

    Options for problem 1

GA-2 · General Aptitude: analytical

Coding and decoding

  1. 2. In a certain code, FLAME is written as IODPH. How is TRAIN written in that code?

    Options for problem 2

EM · Engineering Mathematics

Probability and statistics

  1. 3. A bag has 7 red and 5 blue balls. Two are drawn without replacement. What is the probability that both are red?

    Options for problem 3

Subject · Computer Science and Information Technology

Programming and data structures

  1. 4. Keys 98, 89, 60, 90, 80 are inserted in that order into an empty hash table of size 7 with h(k) = k mod 7 and linear probing. In which slot (0 to 6) does 80 end up?

    Options for problem 4
  2. 5. Keys 49, 34, 13, 34, 40 are inserted in that order into an empty hash table of size 11 with h(k) = k mod 11 and linear probing. In which slot (0 to 10) does 40 end up?

    Options for problem 5
  3. 6. Which bottom-up parser accepts the largest class of grammars? (revision: Compiler design)

    Options for problem 6

Written by TUTOR for its own practice library. A subject’s problems appear once a reviewer has approved its questions.