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

Questions 22–24 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 8 of 22

Question 12

Open question
CSMCQ1 markNeeds review
Consider the following statements about process state transitions for a system using preemptive scheduling.
I. A running process can move to ready state.
II. A ready process can move to running state.
III. A blocked process can move to running state.
IV. A blocked process can move to ready state.
Which of the above statements are TRUE?
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 13

Open question
CSMCQ1 markNeeds review
Consider a relational database containing the following schemes.
Catalogue:
sno
pno
cost
S1
P1
150
S1
P2
50
S1
P3
100
S2
P4
200
S2
P5
250
S3
P1
250
S3
P2
150
S3
P5
300
S3
P4
250
Suppliers:
sno
sname
location
S1
M/s Royal furniture
Delhi
S2
M/s Balaji furniture
Bangalore
S3
M/s Premium furniture
Chennai
Parts:
pno
pname
part_spec
P1
Table
Wood
P2
Chair
Wood
P3
Table
Steel
P4
Almirah
Steel
P5
Almirah
Wood
The primary key of each table is indicated by underlining the constituent fields.
SELECT s.sno, s.sname FROM Suppliers s, Catalogue c WHERE s.sno = c.sno AND cost > (SELECT AVG(cost) FROM Catalogue WHERE pno = ‘P4’ GROUP BY pno);
The number of rows returned by the above SQL query is
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 14

Open question
CSMCQ1 markNeeds review
Which one of the following is used to represent the supporting many-one relationships of a weak entity set in an entity-relationship diagram?
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