Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Computer Science

Rating
-
Sold
-
Pages
1
Grade
A
Uploaded on
22-03-2023
Written in
2022/2023

providing in-depth, complete, and well-written questions

Institution
Course

Content preview

QUESTION GUILD ON DATA STRUCTURE
EXERCISES
1. Define data structure. What is the main advantage of data structure?
2. What are the different types of data structures?
3. Define Abstract Data Type.
4. Define an array. Mention the different kinds of arrays with which you can
manipulate
and represent data.
5. A two dimensional array consisting of 8 rows and 3 columns is stored in a row
major
order. Compute the address of element A(4, 2). Base address is 1000 and word length
is 2. Find the address of the same element in the column major representation.
6. How much memory is required for storing two matrices A(10,15,20) and
B(11,16,21)
where each element requires 16 bit for storage.
7. What are the differences between arrays and structures?
8. Define stack. Give some applications of stack.
9. Write a C/C++ code to check the stack full and stack empty condition
10. Define the terms: Infix, postfx and prefix.
11. What are the advantages in reverse polish (prefix and postfix notation) over polish
(infix) notation?
12. Define queue and give its applications13. What is a circular queue? How do you
check the queue full condition?
14. Write a C/C++ program to count the nodes in a circular queue
15. Define Dequeue.
16. What are the two kinds of dequeue?
17. What is a priority queue?
18. Define Linked list and give its applications.
19. Compare array and linked list.
20. Define Doubly Linked List.
21. What are the advantages of using doubly linked list over singly linked list?
22. List the advantages of linked list

Written for

Course

Document information

Uploaded on
March 22, 2023
Number of pages
1
Written in
2022/2023
Type
Exam (elaborations)
Contains
Answers

Subjects

$21.29
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
theoajana

Get to know the seller

Seller avatar
theoajana Trinity University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions