Computer (Data Structure & Algorithms) 3
To improve Knowledge in the field of Data Structures & Algorithms
Questions
The process of visiting each element of the array exactly once is called
- analysis traversal operation
- traversal operation
- search operation
- linear search operation
How many types of approaches are there to search operations?
- 2
- 3
- 4
- 5
Which of the following approaches are used to search operations?
- Linear search
- Binary search
- Both (1) & (2)
- None of these
Which of the following searches traverses sequentially to locate items?
- Binary search
- Logical search
- Search field
- Linear search
The operation of adding an element to existing list of elements is called
- insert operation
- analysis of binary search
- sorted operation
- none of these
The process of arranging the element of the array in some logical order is called
- delete operation
- sort operation
- insert operation
- none of these
Matrices are often used to organize data for business and
- fortran language
- scientific applications
- binary coding
- none of these
A list of a finite number m × n of homogeneous data elements is called
- linear array
- multi dimensional array
- single array
- two-dimensional array
The process of combining the elements of two similar structures into a single structure is
- bubble sort
- sort operation
- merge operation
- insert operation
An square matrix has the same number of rows and columns is called……… <o:p>
- Diagonal matrix
- Single matrix
- Special matrix
- Equal matrix
How many types of linked list defined in data structures & algorithms?
<o:p>
- 5
- 3
- 6
- 4
is used in programming construct?
- Linear linked list
- Doubly linked list
- Circular linked
- All the above
How many ways a linear linked list can be traversed?
<o:p>
- 2
- 3
- 4
- 5
Which of the following ways can be traversed on linear linked list?
- In-order traversal
- Reverse-order traversal
- Both (1) & (2)
- None of these
In _________, we need to know the location of the element and the location of the preceding element.
- auxiliary search
- unsorted search
- sorted search
- none of these
How many pointer fields are used in reversing a list?
- 4
- 3
- 2
- 1
Which of the following fields are used in reversing a list?
- Previous
- Current
- Next
- All of these
Deleting entire list can be accomplished by performing which of the following steps?
- Assign the start pointer to a temporary variable
- Advance the start pointer to the next node
- Deallocate the memory occupied by the node pointed to by p t r.
- All of these
A linear linked list except that the last element points to the first element is called
- circular linked list
- doubly linked list
- both (1) & (2)
- none of these
A linked list which always contains a special node is called
- circular linked list
- header node
- doubly linked list
- linear linked list
Inserting at the end of the list is done by performing which of the following steps?
- Assign NULL value to the next pointer field of the new node.
- Assign address of the new node to start.
- Both (1) & (2)
- None of these
Deleting an element of the list is done
- at the beginning of the list
- at the end of the list
- after a given element
- all of these
To produce the addition of polynomials which of the following steps to be performed?
- The terms of the polynomials are scanned from left to right.
- The terms with powers that occurs only in one polynomials are simply copied into resulting polynomial.
- The coefficients of terms with same powers are added and then the new term is copied into the resulting polynomial.
- All of these
_____ are lists whose elements are ordered according to the time when they are added to them? <o:p>
<o:p>
- Stacks and queues
- Stacks and arrays
- Queues and arrays
- Stacks and linked list
<span style="font-family:" arial;="" font-size:="" 10pt;="" text-indent:="" -0.5in;="">Traverse the list from the beginning and compare each element of the list with the given element, to be searched is called………..
<o:p>
- Sorted list
- Linear list
- Linked list
- Unsorted list