PREVIOUS YEAR SOLVED PAPERS MCQ - GATE 2017 Shift 2

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

For the first time the first for loop will be executed completely, the content of array will be as follows :
5,3,4,6,2,1
After the second for executed completely the content of array will be as follows:
6,5,4,3,2,1
Array[3] = 3 so ans is 3 Because of the array will start from zero address .
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.

(will increment m & assign it to
will assign m to n1 and then increment m by 1
n --; decrement n by
--n; decrement n by
∴ ‘0’ is printed)
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.

in this query says we need to
Condition 1: Select players which have goals greater than ALL players of spain – This conditon will always be true as ALL (empty) always returns TRUE.
AND
Condition 2: Any player of Germany having 10 goals, so all the rows which are greater than 10 Goals will be returned.
Looking at the table, first 7 rows satisfy both the conditions.
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.

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:

Let the Order of the tree to be p. Every b+ tree node contains p children and p-1 data items where record pointer are not present in the internal nodes. So
p(Block pointer size)+(p-1)Key size<=Block size
p(2)+(p-1)8<=512
p=52
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 →