
BSc Lab Component

Quiz
•
Information Technology (IT)
•
University
•
Medium
Roopak Sam Varghese (RCSS)
Used 6+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
If a stack is implemented using an array, what happens when the stack becomes full?
Elements are overwritten
Memory is dynamically increased
Stack Overflow occurs
Stack resets
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following conditions indicates that a circular queue is full when using an array?
Front == Rear
Front = (Rear + 1) % Size
Rear = (Front + 1) % Size
Front + Rear == Size - 1
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a circular queue, how is the next position of rear calculated for insertion?
rear = rear + 1
rear = (rear + 1) % size
rear = rear - 1
rear = (rear + size - 1) % size
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
In a double-ended queue (Deque), insertion and deletion are allowed at:
Only front
Only rear
Both front and rear
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the advantage of a linked list over an array?
Dynamic memory allocation
Efficient random access
Fixed memory size
All of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a circular linked list, which of the following is true?
The last node points to NULL
The last node points to the first node
The first node points to itself
All nodes point to NULL
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a doubly linked list, each node contains:
Only one pointer to the next node
Two pointers: one to the next node and one to the previous node
A pointer to the previous node only
No pointers at all
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
DSA (QUIZ 5) Priority Queue and Sorting Algorithms Quiz

Quiz
•
University
12 questions
eXtensible Markup Language

Quiz
•
12th Grade - University
10 questions
QUEUE

Quiz
•
University
10 questions
Code Twisters Round 1 Demo

Quiz
•
University
10 questions
ADBM_Quiz_2_Section_D

Quiz
•
University
20 questions
DATA STRUCTUIR Quiz1 (AIML)

Quiz
•
University
20 questions
Quiz Komputasional-Struktur Data kelas 9

Quiz
•
9th Grade - University
15 questions
DSA (Quiz 1) Arrays and Linked Lists

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade