
Fundamentals of data Structures & Linked list
Flashcard
•
Computers
•
University
•
Practice Problem
•
Easy
Wayground 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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?