Computer Science and Information Technology
2023 · Paper 1
Take it one question at a time. Try an answer, then check your understanding.
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.
Question 13
Open questionCSMCQ1 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 answerQuestion 14
Open questionCSMCQ1 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. 
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 answerQuestion 15
Open questionCSMCQ1 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