Services
Discover
Ask a Question
Log in
Sign up
Filters
Done
Question type:
Essay
Multiple Choice
Short Answer
True False
Matching
Topic
Computing
Study Set
Computer Science Study Set 1
Exam 7: Software Engineering
Path 4
Access For Free
Share
All types
Filters
Study Flashcards
Practice Exam
Learn
Question 21
Multiple Choice
Suppose a binary tree is implemented as a linked structure in which each node contains both a left child pointer and a right child pointer. Which of the following statements is false?
Question 22
Essay
What is the distinction between direct addressing and indirect addressing?
Question 23
Multiple Choice
If a queue contained the entries w, x, y, z (from head to tail) , which of the following would be the contents after two entries were removed and the entry r was inserted?
Question 24
Short Answer
Define each of the following: A. Primitive data type B. User-defined data type C. Abstract data type
Question 25
Multiple Choice
Which of the following is static in the sense that it does not change size or shape as information is stored and retrieved?
Question 26
Short Answer
If the variable named Box had the user-defined type RectangleType defined by
What expression would be used to reference the length of Box? _________________
Question 27
Essay
The table below represents a portion of a computer's main memory containing a binary tree. Each node consists of three cells, the first being data, the second being a pointer to the node's left child, and the third being a pointer to the node's right child. If the nil pointer is represented by 00 and the tree's root pointer contains 53, draw a picture of the tree showing the data in each node?
Question 28
Essay
Why is a queue normally implemented as a circular queue?
Question 29
Multiple Choice
If the two-dimensional array X were stored in row-major order, then in the block of main memory containing X, which of the following would be true?
Question 30
Multiple Choice
The table below represents a portion of a computer's main memory containing a binary tree. Each node consists of three cells, the first being data, the second being a pointer to the node's left child, and the third being a pointer to the node's right child. If the nil pointer is represented by 00 and the tree's root pointer contains 50, which of the following is a picture of the tree?
Question 31
Multiple Choice
The table below represents a portion of a computer's main memory containing a binary tree stored row by row in a contiguous block as described in the chapter. What is the parent of the node Z?
Question 32
Essay
What is the distinction between a type and an instance of that type?
Question 33
Multiple Choice
Suppose you were going to retrieve items of data that you would later need to process in the opposite order from that in which they were retrieved. Which of the following would be the best structure in which to store the items?