Complete GATE CSE 2025 Paper 2 overview, original pages and practice · Timed previous-paper practice

Questions 25–27 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 9 of 22

Question 25

Open question
CSMCQ1 markNeeds review
Let

be Context Free Grammars (CFGs) and

be a regular expression. For a grammar

, let

denote the language generated by

.
Which ONE among the following questions is decidable?
Your answerChoose one option.

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 26

Open question
CSMCQ1 markNeeds review
Processes

arrive in that order at times 0, 1, 2, and 8 milliseconds respectively, and have execution times of 10, 13, 6, and 9 milliseconds respectively. Shortest Remaining Time First (SRTF) algorithm is used as the CPU scheduling policy. Ignore context switching times.
Which ONE of the following correctly gives the average turnaround time of the four processes in milliseconds?
Your answerChoose one option.

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 27

Open question
CSMSQ1 markNeeds review
An audit of a banking transactions system has found that on an earlier occasion, two joint holders of account

attempted simultaneous transfers of Rs. 1000 each from account

to account

. Both transactions read the same value, Rs. 1000, as the initial balance in

and were allowed to go through.

was credited Rs. 1000 twice.

was debited only once and ended up with a balance of Rs. 1000.
Which of the following properties is/are certain to have been violated by the system?
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