GATE 2023
65 questions
MCQ 34 · MSQ 15 · NAT 161-mark 30 · 2-mark 35
Questions 26–30 of 65
Geetha has a conjecture about integers, which is of the form
where is a statement about integers, and is a statement about pairs of integers. Which of the following (one or more) option(s) would imply Geetha's conjecture?
where is a statement about integers, and is a statement about pairs of integers. Which of the following (one or more) option(s) would imply Geetha's conjecture?
One or more options are correct.
Answer: (B), (C)
The conjecture says: for every with , some makes true.
- (A) talks about one only. Another with may have no . It does not imply the conjecture.
- (B) is true for all and all . For any , any works, so holds for every . It implies the conjecture.
- (C) One fixed works for every with . So for each such there is a (that fixed one). It implies the conjecture.
- (D) talks about one only, like (A). It does not imply the conjecture.
Answer: (B), (C)
- (A) talks about one only. Another with may have no . It does not imply the conjecture.
- (B) is true for all and all . For any , any works, so holds for every . It implies the conjecture.
- (C) One fixed works for every with . So for each such there is a (that fixed one). It implies the conjecture.
- (D) talks about one only, like (A). It does not imply the conjecture.
Answer: (B), (C)
Which one or more of the following CPU scheduling algorithms can potentially cause starvation?
One or more options are correct.
Answer: (C), (D)
Starvation means some process can wait forever. Assume that every process that gets the CPU finishes its burst.
- FIFO: processes run in order of arrival, so each process only waits for the ones before it, and they all finish. No starvation.
- Round Robin: every process in the queue gets a time slice in each cycle. No starvation.
- Priority scheduling: a low-priority process can wait forever if higher-priority processes keep arriving.
- SJF: a long job can wait forever if shorter jobs keep arriving.
Answer: (C), (D)
- FIFO: processes run in order of arrival, so each process only waits for the ones before it, and they all finish. No starvation.
- Round Robin: every process in the queue gets a time slice in each cycle. No starvation.
- Priority scheduling: a low-priority process can wait forever if higher-priority processes keep arriving.
- SJF: a long job can wait forever if shorter jobs keep arriving.
Answer: (C), (D)
Let be a real-valued function.
Which of the following statements is/are TRUE?
Which of the following statements is/are TRUE?
One or more options are correct.
Answer: (B), (D)
The given real-valued function is
1) First, solve
2) Next, find . We get:
3) At x = 1: This gives a local minimum.
4) At x = -11: This gives a local maximum.
So the function has a local maximum at and a local minimum at .
So (B) and (D) are true, and (A) and (C) are false.
Answer: (B), (D)
1) First, solve
2) Next, find . We get:
3) At x = 1: This gives a local minimum.
4) At x = -11: This gives a local maximum.
So the function has a local maximum at and a local minimum at .
So (B) and (D) are true, and (A) and (C) are false.
Answer: (B), (D)
Let and be functions of natural numbers given by and .
Which of the following statements is/are TRUE?
Which of the following statements is/are TRUE?
One or more options are correct.
Answer: (A), (C)
Take the limit: . So f grows strictly slower than g.
- TRUE
- (strictly smaller) TRUE
- and FALSE
Answer: and
- TRUE
- (strictly smaller) TRUE
- and FALSE
Answer: and
Let A be the adjacency matrix of the graph with vertices {1, 2, 3, 4, 5}.
Let be the five eigenvalues of A. Note that these eigenvalues need not be distinct.
The value of _____
Let be the five eigenvalues of A. Note that these eigenvalues need not be distinct.
The value of _____
Answer: 2
The sum of the eigenvalues of a square matrix equals its trace, the sum of its diagonal entries.
The graph has edges 1-2, 2-3, 2-4, 3-5, 4-5, and a self-loop at vertex 3 and at vertex 4. Taking the usual convention that a self-loop is counted once, the loops give 1 on the diagonal at vertices 3 and 4. Every other diagonal entry is 0:
So .
Some books count a self-loop twice, which puts 2 on each of those two diagonal entries and gives a trace of 4. That is the less common convention; the official key accepts either 2 or 4.
Answer: 2
The graph has edges 1-2, 2-3, 2-4, 3-5, 4-5, and a self-loop at vertex 3 and at vertex 4. Taking the usual convention that a self-loop is counted once, the loops give 1 on the diagonal at vertices 3 and 4. Every other diagonal entry is 0:
So .
Some books count a self-loop twice, which puts 2 on each of those two diagonal entries and gives a trace of 4. That is the less common convention; the official key accepts either 2 or 4.
Answer: 2