PREVIOUS YEAR SOLVED PAPERS MCQ - GATE 2017 Shift 1

Correct AnswerOption A
Rate difficulty Rate difficulty:
Choose a difficulty.
Share this question
Share:

{integers between 1 to 500 divisible by 3}
{integers between 1 to 500 divisible by 5}
{integers between 1 to 500 divisible by 7}
To find number of integers between 1 to 500 that are divisible by 3 or 5 or 7 is to find

(166+100+71) - (33+23+14)+4
337-70+4 = 271
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.
I10-3
24-7
I38-11
I412-15
 16-
I4 is the branch instruction & is the target.
0 = 16+ relative value
∴ relative value = -16
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 C
Rate difficulty Rate difficulty:
Choose a difficulty.
 Given DataAs per RSA Algorithm
 P = 13Step1: Calculate n = pxq = 13x 17 = 221
 Q = 17Step2: Calculate ϕ(n) = (p-1)(q-1) = (12)(16) = 192
 E = 35Step3: de mod ϕ(n) = 1 (or) de = 1modϕ(n)
 ⇒ d x 35 mod 192 = 1  ⇒ d = 11
D = ?
So, D is 11
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 D
Rate difficulty Rate difficulty:
Choose a difficulty.

The best way to solve such a problem is by using Binary Search. Search the sorted array by repeatedly dividing the search interval in half. Begin with an interval covering the whole array. If the value of the search key is less than the item in the middle of the interval, narrow the interval to the lower half. Otherwise narrow it to the upper half.
Find mid element
Is mid = 1 ?
Is mid >1?(not possible here)
Is mid < 1 ?
Proceed accordingly, Worst case of this problem will be 1 at the end of the array i.e 00000…..1 OR 1…….0000. It will take log n time worst case.
n=31, Hence log231 = 5.
Therefore, option D is correct.
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.
Found this useful?
Follow:

Given,
For Navie pipeline (NP)
Number of stages (k) = 5
Tp = max (stage delay + buffer delay)
Tp = max 7, 6, 22, 12, 5 = 22 n sec.
Number of instructions (n) = 20
So, erection time for navie pipeline
ETNP = k + (n −1) × Tp = 5 + 20 −1 × 22 = 528n sec
Now, for efficient pipeline
k = 6, n = 20, Tp = 14nsec.
EEP = k + (n −1) ×Tp = 6 + 20 −1 ×14 = 350n sec.
Therefore, Speedup = 528/350= 1.508
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 →