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

Questions 13–15 of 65. Imported answers require review unless explicitly marked reviewed.

Paper practice 65 questionsPage 5 of 22

Question 13

Open question
CSMCQ1 markNeeds review
Let SLDel be a function that deletes a node in a singly-linked list given a pointer to the node and a pointer to the head of the list. Similarly, let DLDel be another function that deletes a node in a doubly-linked list given a pointer to the node and a pointer to the head of the list. Let n denote the number of nodes in each of the linked lists. Which one of the following choices is TRUE about the worst-case time complexity of SLDel and DLDel?
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
Consider the Deterministic Finite-state Automaton (DFA) shown below. The DFA runs on the alphabet

, and has the set of states

, with

being the start state and

being the only final state.
Diagram for Computer Science and Information Technology question 14

Which one of the following regular expressions correctly describes the language accepted by

?
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 15

Open question
CSMCQ1 markNeeds review
The Lucas sequence

is defined by the recurrence relation:

with

and

.
Which one of the options given is 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