• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 3 pages
Exam (elaborations)

Basic Data Structure Question And Answers

Document preview thumbnail
Preview 1 out of 3 pages

Basic Data Structure Question And Answers /.Algorithm is not the complete code or program, it is just the core logic(solution) of a problem, which can be expressed either as an informal high level description as pseudocode or using a flowchart. - Answer-Every Algorithm must satisfy the following properties: /.All these data structures allow us to perform different operations on data. We select these data structures based on which type of operation is required. We will look into these data structures in more details in our later lessons. - Answer-The data structures can also be classified on the basis of the following characteristics: /.An algorithm is said to be efficient and fast, if it takes less time to execute and consumes less memory space. The performance of an algorithm is measured on the basis of following properties : - Answer-Time Complexity and Space Complexity /.As discussed before, anything that can store data can be called a data structure, hence Integer, Float, Boolean, Char etc, all are data structures. They are known as Primitive Data Structures. - Answer-Then we also have some complex Data Structures, which are used to store large and connected data. /.Correctness - Answer-Every step of the algorithm must generate a correct output. /.Data Space - Answer-Its the space required to store all the constants and variables(including temporary variables) value. /.Data Structure is a way of collecting and organizing data in such a way that we can perform operations on these data in an effective way. Data Structures is about rendering data elements in terms of some relationship, for better organization and storage. - Answer-For example, we have some data which has, player's name "Alex" and age 26. Here "Alex" is of String data type and 26 is of integer data type. /.Definiteness - Answer-Every step of the algorithm should be clear and well defined. /.Dynamic - Answer-Dynamic structures are those which expands or shrinks depending upon the program need and its execution. Also, their associated memory locations changes. Example: Linked List created using pointers /.Environment Space - Answer-Its the space required to store the environment information needed to resume the suspended function.

Content preview

Basic Data Structure Question And
Answers

/.Algorithm is not the complete code or program, it is just the core logic(solution) of a
problem, which can be expressed either as an informal high level description as
pseudocode or using a flowchart. - Answer-Every Algorithm must satisfy the following
properties:

/.All these data structures allow us to perform different operations on data. We select
these data structures based on which type of operation is required. We will look into
these data structures in more details in our later lessons. - Answer-The data structures
can also be classified on the basis of the following characteristics:

/.An algorithm is said to be efficient and fast, if it takes less time to execute and
consumes less memory space. The performance of an algorithm is measured on the
basis of following properties : - Answer-Time Complexity and Space Complexity

/.As discussed before, anything that can store data can be called a data structure,
hence Integer, Float, Boolean, Char etc, all are data structures. They are known as
Primitive Data Structures. - Answer-Then we also have some complex Data Structures,
which are used to store large and connected data.

/.Correctness - Answer-Every step of the algorithm must generate a correct output.

/.Data Space - Answer-Its the space required to store all the constants and
variables(including temporary variables) value.

/.Data Structure is a way of collecting and organizing data in such a way that we can
perform operations on these data in an effective way. Data Structures is about
rendering data elements in terms of some relationship, for better organization and
storage. - Answer-For example, we have some data which has, player's name "Alex"
and age 26. Here "Alex" is of String data type and 26 is of integer data type.

/.Definiteness - Answer-Every step of the algorithm should be clear and well defined.

/.Dynamic - Answer-Dynamic structures are those which expands or shrinks depending
upon the program need and its execution. Also, their associated memory locations
changes. Example: Linked List created using pointers

/.Environment Space - Answer-Its the space required to store the environment
information needed to resume the suspended function.

Document information

Uploaded on
July 31, 2025
Number of pages
3
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.49

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

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
Brainariam
3.4
(30)
Sold
160
Followers
7
Items
8386
Last sold
4 weeks ago



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