This Quiz contains totally 10 Questions each carry 1 point for you.
1. How can we describe an array in the best possible way?
The Array shows a hierarchical structure
Arrays are immutable
Container that stores the elements of similar types
The Array is not a data structure
Correct!
Wrong!
2. How can we declare an array?
int javatpoint[10];
int javatpoint;
javatpoint{20};
array javatpoint[10];
Correct!
Wrong!
3. Which of the following is the advantage of the array data structure?
Elements of mixed data types can be stored
Easier to access the elements in an array
Index of the first element starts from 1
Elements of an array cannot be sorted
Correct!
Wrong!
4. Which of the following is the disadvantage of the array?
Wastage of memory if the elements inserted in an array are lesser than the allocated size
Elements can be accessed sequentially
Index of the first element in an array can be negative
Stack and Queue data structures can be implemented through an array
Correct!
Wrong!
5. Which of the following highly uses the concept of an array?
Binary Search tree
Caching
Spatial locality
Scheduling of Processes
Correct!
Wrong!
6. What is the size of int arr[8] assuming that int is of 4 bytes?
8
4
32
None of the above
Correct!
Wrong!
7. Which of the following is the process of inserting an element in the stack?
insert
add
push
none of the above
Correct!
Wrong!
8. When the user tries to delete the element from the empty stack then the condition is said to be a ____
Underflow
overflow
Garbage collection
None of the above
Correct!
Wrong!
9. If the size of the stack is 10 and we try to add the 11th element in the stack then the condition is known as___
Underflow
overflow
Garbage collection
None of the above
Correct!
Wrong!
10. Which of the following is not the application of the stack data structure?
String reversal
Recursion
Backtracking
Asynchronous data transfer
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
Data-Structures-Quiz-1You got %%score%% of %%total%% right
%%description%%%%description%%
Loading...