O GoConqr está de visual novo! Conte para nós o que você achou.

Quiz

Chapter 8

Charlene Manuel 30 perguntas

Fazer o quiz

Este quiz tem tipos de pergunta que abrem no player de sempre.

Perguntas do quiz (30)

  1. 1Which of the following is a LIFO structure?
    1. AArray
    2. BStack
    3. CQueue
    4. DTree
  2. 2Which of the following is a FIFO structure?
    1. AArray
    2. BStack
    3. CQueue
    4. DTree
  3. 3Which of the following is an example of a tree structure?
    1. AWaiting line
    2. BStack of books
    3. CList of courses
    4. DOrganization chart
  4. 4Suppose 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?
    1. ATree
    2. BStack
    3. CQueue
    4. DTraditional linked list
  5. 5Suppose a binary tree contained the nodes W, X, Y, and Z. If W and X were children of Y, and Z had no children, which node would be the root?
    1. AW
    2. BX
    3. CY
    4. DZ
  6. 6Suppose 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?
    1. AOne
    2. BTwo
    3. CThree
    4. DUndetermined
  7. 7If the two-dimensional array X was stored in row-major order, then in the block of main memory containing X, which of the following would be true?
    1. AThe entry X [1,2] would appear before X [2,1]
    2. BThe entry X [1,2] would appear after X [2,1]
    3. CThe entry X [1,2] would be in the same location as X [2,1]
    4. DNone of the above
  8. 8Which of the following is not used when determining the location of an entry in a two-dimensional array stored in row-major order?
    1. AIndices
    2. BNumber of rows in the array
    3. CAddress polynomial
    4. DNumber of columns in the array
  9. 9Which of the following is not a means of locating an entry in a linked storage structure?
    1. Ahead pointer
    2. Bchild pointer
    3. Croot pointer
    4. Dnull pointer
  10. 10If a stack contained the entries w, x, y, z (from top to bottom), which of the following would be the contents after two entries were removed and the entry r was inserted?
    1. Aw, x, r
    2. By, z, r
    3. Cr, y, z
    4. Dr, w, x

Informações

Descrição
Quiz sobre Chapter 8, criado por Charlene Manuel em 05-12-2022.
Idioma
English
Visualizações
0
Avaliação
Ainda sem avaliações
Avalie este quiz
Avalie este quiz

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?