• ¿Documento equivocado? Cámbialo gratis
  • Escrito por estudiantes que aprobaron
  • Inmediatamente disponible después del pago
  • Leer en línea o como PDF
Vender
¿Dónde estudias?
Tu idioma
Document preview thumbnail
Vista previa 2 fuera de 12 páginas
Examen

Data Structure Exam Questions And Answers

Document preview thumbnail
Vista previa 2 fuera de 12 páginas

DATA STRUCTURE EXAM QUESTIONS AND ANSWERS C - Answer- 1. Which of the following data structure is non linear data structure? A.Arrays B. Linked lists C.Trees D.None of above C - Answer- 2. Which of the following data structure is linear data structure? A.Trees B. Graphs C. Arrays D.none of the above D - Answer- 3. The operation of processing each element in the list is known as A.Sorting B. Merging C. Inserting D.Traversal B - Answer- 4. Finding the location of the element with a given value is: A. Traversal B. Search C. Sort D.None of above A - Answer- 5. Arrays are best data structures A. for relatively permanent collections of data B.for the size of the structure and the data in the structure are constantly changing C. for both of above situation D. for none of above situation B - Answer- 6. Linked lists are best suited A. for relatively permanent collections of data B.for the size of the structure and the data in the structure are constantly changing C. for both of above situation D. for none of above situation C - Answer- 7. Each array declaration need not give, implicitly or explicitly, the information about A. the name of array B.the data type of array C. the first data from the set to be stored D. the index set of the array A - Answer- 8. The elements of an array are stored successiv

Vista previa del contenido

DATA STRUCTURE EXAM QUESTIONS
AND ANSWERS
C - Answer- 1. Which of the following data structure is non linear data structure?
A.Arrays
B. Linked lists
C.Trees
D.None of above

C - Answer- 2. Which of the following data structure is linear data structure?
A.Trees
B. Graphs
C. Arrays
D.none of the above

D - Answer- 3. The operation of processing each element in the list is known as
A.Sorting
B. Merging
C. Inserting
D.Traversal

B - Answer- 4. Finding the location of the element with a given value is:
A. Traversal
B. Search
C. Sort
D.None of above

A - Answer- 5. Arrays are best data structures
A. for relatively permanent collections of data
B.for the size of the structure and the data in the structure are constantly changing
C. for both of above situation
D. for none of above situation

B - Answer- 6. Linked lists are best suited
A. for relatively permanent collections of data
B.for the size of the structure and the data in the structure are constantly changing
C. for both of above situation
D. for none of above situation

C - Answer- 7. Each array declaration need not give, implicitly or explicitly, the
information about
A. the name of array
B.the data type of array
C. the first data from the set to be stored
D. the index set of the array

, A - Answer- 8. The elements of an array are stored successively in memory cells
because
A. by this way computer can keep track only the address of the first element and the
addresses of other elements can be calculated
B. the architecture of computer memory does not allow arrays to store other than
serially
C. both of above
D.none of above

D - Answer- 9. The memory address of the first element of an array is called
A. floor address
B.foundation address
C. first address
D. base address

A - Answer- 10. The memory address of fifth element of an array can be calculated
by the formula
A. LOC(Array[5]=Base(Array)+w(5-lower bound), where w is the number of words
per memory cell for the array
B. LOC(Array[5])=Base(Array[5])+(5-lower bound), where w is the number of words
per memory cell for the array
C. LOC(Array[5])=Base(Array[4])+(5-Upper bound), where w is the number of words
per memory cell for the array
D. None of above

A - Answer- 11. Which of the following data structures are indexed structures?
A. linear arrays
B. linked lists
C.both of above
D. none of above

C - Answer- 12. Which of the following is not the required condition for binary search
algorithm?

A.The list must be sorted
B.there should be the direct access to the middle element in any sublist
C. There must be mechanism to delete and/or insert elements in list
D. none of above

D - Answer- 13. Which of the following is not a limitation of binary search algorithm?

A. must use a sorted array
B.requirement of sorted array is expensive when a lot of insertion and deletions are
needed
C.there must be a mechanism to access middle element directly
D. binary search algorithm is not efficient when the data elements are more than
1000.

B - Answer- 14. Two dimensional arrays are also called
A. tables arrays

Información del documento

Subido en
29 de julio de 2025
Número de páginas
12
Escrito en
2024/2025
Tipo
Examen
Contiene
Preguntas y respuestas
$16.49

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
Freshy
3.6
(11)
Vendido
64
Seguidores
4
Artículos
6964
Última venta
3 semanas hace



Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes