Exam 7: Software Engineering

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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?

(Multiple Choice)
4.9/5
(32)

What is the distinction between direct addressing and indirect addressing?

(Essay)
4.8/5
(47)

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?

(Multiple Choice)
4.8/5
(24)

Define each of the following: A. Primitive data type B. User-defined data type C. Abstract data type

(Short Answer)
4.7/5
(48)

Which of the following is static in the sense that it does not change size or shape as information is stored and retrieved?

(Multiple Choice)
4.8/5
(37)

If the variable named Box had the user-defined type RectangleType defined by If the variable named Box had the user-defined type RectangleType defined by   What expression would be used to reference the length of Box? _________________ What expression would be used to reference the length of Box? _________________

(Short Answer)
4.8/5
(40)

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? 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?

(Essay)
4.9/5
(45)

Why is a queue normally implemented as a circular queue?

(Essay)
4.9/5
(44)

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?

(Multiple Choice)
4.9/5
(29)

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? 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?

(Multiple Choice)
4.8/5
(37)

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? 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?

(Multiple Choice)
4.8/5
(36)

What is the distinction between a type and an instance of that type?

(Essay)
4.7/5
(39)

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?

(Multiple Choice)
4.8/5
(35)

Suppose a binary tree contained the nodes W, X, Y, and Z, and each node had at most one child. How many terminal nodes would be in the tree?

(Multiple Choice)
4.9/5
(43)
Showing 21 - 34 of 34
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)