PREVIOUS YEAR SOLVED PAPERS MCQ - GATE 2017 Shift 1

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

A miss is not considered a conflict miss if the block is accessed for the first time.
1st round: (2+2) misses
2nd round: (4+4) misses
∴Total = 4 + (8 × 9) = 76 conflict misses
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.


The given expression is (a-1) * ((( b + c ) / 3 ) + d)
The optimal generated code is:
Load R1, b       R1 ⟵ b
Load R2, c       R2 ⟵ c
ADD R1, R2      R1 ⟵ R1 + R2
Div R1, 3       R1 ⟵ R1/3
Load R2, d       R2 ⟵ d
Add R1, R2       R1 ⟵ R1 + R2
Load R2, a       R2 ⟵ a
Sub R2, 1       R2 ⟵ R2 - 1
Mul R2, R1       R2 ⟵ R2 * R1
Hence minimum 2 registers required.
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.

Given Data:
B = 1Mbps
Tproc = 0.25ms
Tp = 0.75ms
L = 1980 Bytes
LOH = 20 Bytes
LA = 20 Bytes
Efficiency (η) = ?
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.
Share this question
Share:


where T is the required length of TAG field
∴ T = 14
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.

Explanation: Result of T1:
CA
CB
CC

Result of T2 = CR/T1
SA
SC
SD
SF
Total = 4
Therefore, option C is correct

Alternate Solution :
The output of query T1 will be the courses enrolled by student SA i.e CA, CB, CC
The output of query T2 will be the names of the students who enroll all the courses that are the output of query T1 (division operator) i.e CA, CB, CC
From the table we can see that SA, SC, SD, SF have enrolled all the courses so the output of T2 will have 4 row
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 →