wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DATA STRUCTURE AND EGGNOG

Total questions: 17

Worksheet time: 9mins

Name
Class
Date
1.

is critical application of arrays and linked lists. A ----------- '_(x)' is an expression in variable 'x' taking the form ( a * x ^ n + b * x ^ (n - 1) +....+jx+k)^ prime , where 'a, b, c....', k are real numbers, and 'n' is a non-negative integer known as. It comprises different terms, each with a coefficient and an exponent

a)

Polynomials

b)

Monomials

c)

Trinomials

2.

apart from giving us the framework of divide and conquer methodology also gives us a methodology that we follow repeatedly during this course.

This way of breaking down the problem has found wide application in sorting, selection and searching algorithms.

a)

Control Abstraction

b)

Merge Sort

c)

Divide and conquer

3.

search problem aims at finding the smallest as well as the biggest element in a vector A of n elements. By the steps of Divide and Conquer, the vector can be divided into sub-problem as shown below.

a)

Binary Search

b)

Min min search

c)

Linear search

4.

is an equation or inequality that describes a function in terms of its value on smaller inputs.

a)

Return

b)

Recursion

c)

Recurrence

5.

we guess a bound and then use mathematical inductiont prove our guess correct.

a)

Master method

b)

Substitution method

c)

Recursion tree method

6.

converts the recurrence into a tree whose nodesrepresent the costs incurred at various levels of the recursion. We use techniques for bounding summations to solve the recurrence

a)

Recursion tree method

b)

Master method

c)

Recurrence method

7.

provides bounds for recurrences of the form

T(n) = aT(n / b) + f(n)

a)

Master method

b)

Recurrence method

c)

Substitution method

d)

Azi Acosta

8.

which involves breaking a big issue into smaller subproblems that may be solved individually and then combining their solutions to solve the original problem

a)

Partitioning

b)

Merge Sort

c)

Quick Sort

9.

It is a classic case of the use of the divide and conquers methodology.

a)

Sorting

b)

Merge Sort

c)

Quick Sort

d)

Binary Sort

10.

It is an efficient technique for *1/1 searching in a sorted array. It works by comparing a searching element „e" with the array's middle element A(mid).

a)

Merge Sort

b)

Linear search

c)

Binary Search

d)

Sorting

11.

This is another method of sorting that uses a different methodology to arrive at the same sorted result. It "Partitions" the list into 2 parts but not necessarily at the center, but an arbitrarily "pivot" place and ensures that all elements to the left of the pivot element are lesser than the element itself and all those to the right of it are greater than the element

a)

Partitioning

b)

Merge Sort

c)

Quick Sort

d)

Binary Sort

12.

It is a method of choosing a subset of a dataset as the solution set that results in some profit.

a)

Divide and conquer

b)

Merge Sort

c)

Greedy Method

d)

Substitution method

13.

It is a technique for designing algorithms that consists of decomposing the instance to be solved into a number of smaller sub instances of the same problem, solving successively and independently each of these sub instances, and then combining the sub solutions thus obtained obtain the solution of the original instance

a)

Linear search

b)

Sorting

c)

Divide and conquer

d)

Greedy Method

14.

It is a process of arranging a set of elements in some order. We can apply the divide-and-conquer method to the sorting problem.

a)

Master method

b)

Sorting

c)

Quick Search

d)

Searching

15.

1st step to perform the divide and conquer technique

a)

Divide

b)

Conquer [Initial conquer]

c)

Combine

d)

Search

e)

Conquer [Final conquer]

16.

It is an important mathematical representation of a physical problem, for example finding optimum shortest path from a city to another city for a traveling sales man, so as to minimize the cost

(a)  

17.

starts with the least cost edge. Then, it chooses another edge that is adjacent to this edge and is of least cost and attaches it to the first edge.

a)

Data structure and algorithms

b)

Prime's Algorithm

c)

Prim's Algorithms

d)

Prince Algorithms