Frequently Tested Exam Questions With
Verified Multiple Choice and Conceptual
Actual 100% Correct Detailed Answers
Guaranteed Pass!!Current Update!!
1. __________ refer to how data is organized.
A. Algorithms
B. Data structures
C. Programs
D. Functions
Answer: B
2. The __________________ doesn't just matter for neatness, but can
significantly impact how fast your code runs.
A. number of variables
B. organization of data
C. type of compiler
D. length of the program
Answer: B
3. Understanding data structures and their performance characteristics gives you
the ability to write efficient __________.
A. hardware
B. documentation
C. diagrams
,D. code
Answer: D
4. An __________ is simply a list of data elements stored in contiguous memory
locations.
A. object
B. array
C. pointer
D. record
Answer: B
5. The _________ of an array identifies the location of a specific data element.
A. pointer
B. index
C. tag
D. checksum
Answer: B
6. In most programming languages, array indexing begins at ______.
A. −1
B. 0
C. 1
D. 2
Answer: B
7. Data structures are commonly used through four fundamental actions known
as __________.
,A. operations
B. iterations
C. executions
D. declarations
Answer: A
_________ _______________ refer to how data is organized. - ANSWER Data
structures
The _________________ ____ _____ doesn't just matter for organization's sake,
but can significantly impact how fast your code runs. - ANSWER organization
of data
When you have a solid grasp on the various data structures and each one's
performance implications on the program that you're writing, you will have the
keys to write fast and elegant _______ that will ensure that your software will run
quickly and smoothly. - ANSWER code
An ________ is simply a list of data elements. - ANSWER array
The _________ of an array is the number that identifies where a piece of data
lives inside the array. - ANSWER index
In most programming languages, we begin counting the index at ______. -
ANSWER 0
, Most data structures are used in four basic ways, which we refer to as
___________________. - ANSWER operations
The four operations are: - ANSWER Read, Search, Insert, Delete
______________ refers to looking something up from a particular spot within the
data structure. With an array, this would mean looking up a value at a particular
index. For example, looking up which grocery item is located at index 2 would be
___________ from the array. - ANSWER Reading
____________ refers to looking for a particular value within a data structure.
With an array, this would mean looking to see if a particular value exists within the
array, and if so, which index it's at. For example, looking to see if "dates" is in our
grocery list, and which index it's located at would be searching the array. -
ANSWER Searching
________________ refers to adding another value to our data structure. With an
array, this would mean adding a new value to an additional slot within the array. If
we were to add "figs" to our shopping list, we'd be inserting a new value into the
array. - ANSWER Inserting
________________ refers to removing a value from our data structure. With an
array, this would mean removing one of the values from the array. For example, if
we removed "bananas" from our grocery list, that would be deleting from the
array. - ANSWER Deletion