Fundamentals of data Structures & Linked list

Flashcard
•
Computers
•
University
•
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.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
EKG Basics

Flashcard
•
University
20 questions
Data Structures- Introduction

Flashcard
•
University
15 questions
ARRAYLIST - JAVA

Flashcard
•
University
15 questions
Anat 219/Bio 218 Exam 1a Review

Flashcard
•
University
15 questions
EKG Basics Flashcard

Flashcard
•
12th Grade
15 questions
Cardiovascular System Test

Flashcard
•
12th Grade
15 questions
EKG Basics

Flashcard
•
12th Grade - University
12 questions
N318 Hematologic System Module

Flashcard
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University