Complete GATE CSE 2024 Paper 1 overview, original pages and practice · Timed previous-paper practice

Questions 46–48 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 16 of 22

Question 46

Open question
CS1MSQ2 marksNeeds review
Consider the following read-write schedule

over three transactions

,

, and

, where the subscripts in the schedule indicate transaction IDs:

Which of the following transaction schedules is/are conflict equivalent to

?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 47

Open question
CS1MSQ2 marksNeeds review
Consider a Boolean expression given by

. Which of the following statements is/are CORRECT?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer

Question 48

Open question
CS1MSQ2 marksNeeds review
Consider the following C function definition.
int f(int x, int y) {
for (int i=0; i<y; i++) {
x=x+x+y;
}
return x;
}
Which of the following statements is/are TRUE about the above function?
Your answerSelect all correct options. You can choose more than one.

Log in to check the answer

You can attempt this question now. Sign in to view the answer key, explanations and discussion.Log in to check answer