Fundamentals of data Structures & Linked list

Flashcard
•
Computers
•
University
•
Easy
Quizizz Content
Used 1+ times
FREE Resource
Student preview

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A data structure in which linear sequence is maintained by pointers is known as
Back
Linked list
2.
FLASHCARD QUESTION
Front
A ____ is a linear collection of self-referential structures, called nodes, connected by pointer links.
Back
Linked list
3.
FLASHCARD QUESTION
Front
Which of these best describes an array? Options: A data structure that shows a hierarchical behavior, Container of objects of similar types, Arrays are immutable once initialised, Array is not a data structure
Back
Container of objects of similar types
4.
FLASHCARD QUESTION
Front
When does the ArrayIndexOutOfBoundsException occur?
Back
Run-time
5.
FLASHCARD QUESTION
Front
Which of the following c code is used to create new node?
Options:
ptr = (NODE*)malloc(sizeof(NODE));
ptr = (NODE*)malloc(NODE);
ptr = (NODE*)malloc(sizeof(NODE*));
ptr = (NODE)malloc(sizeof(NODE));
Back
ptr = (NODE*)malloc(sizeof(NODE));
6.
FLASHCARD QUESTION
Front
Assuming int is of 4bytes, what is the size of int arr[15];?
Back
60
7.
FLASHCARD QUESTION
Front
Consider an implementation of unsorted singly linked list with a head pointer only. Which operations can be implemented in O(1) time? i) Insertion at the front of the linked list ii) Insertion at the end of the linked list iii) Deletion of the front node of the linked list iv) Deletion of the last node of the linked list
Back
Insertion at the front of the linked list and Deletion of the front node of the linked list.
Create a free account and access millions of resources
Similar Resources on Wayground
19 questions
AVINYA 2K25

Flashcard
•
University
12 questions
Data Structures Review

Flashcard
•
University
12 questions
User-Defined DS

Flashcard
•
University
15 questions
Data Structures Level-2

Flashcard
•
University
20 questions
Linked List

Flashcard
•
Professional Development
15 questions
NSCC-CODE TO COIN

Flashcard
•
University
13 questions
Stack Operations and Recursion Concepts

Flashcard
•
University
12 questions
Hashing and Hash Tables

Flashcard
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade