tutor.org.in

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

Day 212.

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

GA-1 · General Aptitude: quantitative

Speed, time and distance

  1. 1. Two trains 120 m and 180 m long run on parallel tracks in opposite directions at 76 km/h and 32 km/h. How long do they take to cross each other completely?

    Options for problem 1

GA-2 · General Aptitude: analytical

Direction sense

  1. 2. Starting from home, Ravi walks 12 km north, turns right and walks 2 km, turns right again and walks 3 km, then turns left and walks 10 km. How far is he from home, and in which direction?

    Options for problem 2

EM · Engineering Mathematics

Numerical methods

  1. 3. Using the trapezoidal rule with 2 equal intervals, estimate ∫ from 0 to 1 of 1/(1 + x) dx.

    Options for problem 3

Subject · Computer Science and Information Technology

Theory of computation

  1. 4. How many states does the minimal DFA have that accepts strings over {a, b} whose length is divisible by 8?

    Options for problem 4
  2. 5. Which language is context-free but not regular?

    Options for problem 5
  3. 6. A binary tree has height 5 (a tree with one node has height 0). What is the largest number of nodes it can have? (revision: Programming and data structures)

    Options for problem 6

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