PREVIOUS YEAR SOLVED PAPERS MCQ - GATE 2017 Shift 2

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.

By using haffman tree :

So, number of bit required for each alphabet:
T = 3 bit, R = 3 bit, Q = 2 bit, S = 2 bit, P = 2 bit
Then, average length per character is = (number of bits * frequency of occurance of each alphabets)
= 3 * 0.08 + 3 * 0.17 + 2 * 0.34 + 2 * 0.19 + 2 * 0.22 = 2.25 bits
And, average length for 100 character = 2.25 * 100 = 225 bits.
Hence, 225 bits is correct answer
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.
Found this useful?
Follow:
Q1Q0Q1+Q0+T1T0
000101
011011
101101
111100
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.
ProcessATBTPriority
P10 2
P25 0
P312 3
P42 1
P59 4


w.t. = 0 + 0 + ( 33 – 5) + (40 – 2) + (49 – 12) + (51 – 9) = 145
Avg wt = 145/5 = 29
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption B
Rate difficulty Rate difficulty:
Choose a difficulty.

Derivative of gx(z) evaluated at z=1 gives expectation E(X) of X.
Therefore, take derivative of gY(z) with respect to z, and plug in z=1
Derivative is N.β.(1 - β + βz)(N-1), plug in z=1, gives Nβ.
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.


= (1+Z) (1+3Z + 6Z2 + 10Z3 +……….∞)
Using binomial theorem
= 1 + 4Z + 9Z2 + 16Z3 + …… ∞………(2)
From (1) and (2), a0 = 1 and a3 = 16
∴ a3 – a0 = 15
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *

Why Practice with Avatto?
High Quality MCQsExam-focused questions with accurate answers
Detailed ExplanationsStep-by-step explanations to enhance learning
Latest Exam PatternBased on updated syllabus and pattern
Performance AnalyticsTrack performance and improve weak areas
100% Free PracticePractice unlimited questions for free
Boost Your PreparationAttempt mock tests, previous year papers and topic-wise quizzes.Explore All Tests →