Font size
WorksheetsMock 09-09-2025
Total questions: 64
Worksheet time: 1hrs 4mins
Dynamic Programming is often used for (choose all that apply):
Optimization problems that involve making a choice that leave one or more subproblems to be solved.
Problems previously solved using divide and conquer that have over lapping subproblems
Non polynomial solution problems
Subproblems where resources are shared
.................technique doesn't give guarantee that our solution is optimal
greedy method
dynamic programming approach
backtracking
branch and bound
Which of the following problems is equivalent to the 0-1 Knapsack problem?
You are given a bag that can carry a maximum weight of W. You are given N items which have a weight of {w1, w2, w3,…., wn} and a value of {v1, v2, v3,…., vn}. You can break the items into smaller pieces. Choose the items in such a way that you get the maximum value
You are studying for an exam and you have to study N questions. The questions take {t1, t2, t3,…., tn} time(in hours) and carry {m1, m2, m3,…., mn} marks. You can study for a maximum of T hours. You can either study a question or leave it. Choose the questions in such a way that your score is maximized
You are given infinite coins of denominations {v1, v2, v3,….., vn} and a sum S. You have to find the minimum number of coins required to get the sum S
None of the mentioned
If b is the source vertex, what is the minimum cost to reach f vertex?
8
9
6
4
...........................technique is used by solving optimization problems
divide and conquer
greedy method
dynamic programming
both b and c
Which of the following is/are property/properties of a dynamic programming problem?
Optimal substructure
Overlapping subproblems
Greedy approach
d) Both optimal substructure and overlapping subproblems
In dynamic programming, the technique of storing the previously calculated values is called ___________
Saving value property
Storing value property
Memorization
Mapping
You are given a knapsack that can carry a maximum weight of 60. There are 4 items with weights {20, 30, 40, 70} and values {70, 80, 90, 200}. What is the maximum value of the items you can carry using the knapsack?
170
200
160
90
Time complexity of fractional knapsack problem is (a)
1
2
3
all
Fractional knapsack problem is solved most efficiently by which of the following algorithm?
(a)
The algorithms like merge sort, quick sort and binary search are based on
Greedy algorithm
Divide and Conquer algorithm
Hash table
Parsing
In dynamic programming, the technique of storing the previously calculated values is called ___________
Saving value property
Storing value property
Memorization
Mapping
What is the time complexity of the dynamic programming implementation of the longest common subsequence problem where length of one string is “m” and the length of the other string is “n”?
O(n)
O(m)
O (m + n)
O(mn)
_________ approach is best to solve 0/1 Knapsack problem
Greedy
Divide and Conquer
Dynamic Programming
Iterative
Consider a job scheduling problem with 4 jobs J1, J2, J3, J4 and with corresponding deadlines: ( d1, d2, d3, d4) = (4, 2, 4, 2). Which of the following is not a feasible schedule without violating any job schedule?
J2, J4, J1, J3
J4, J1, J2, J3
J4, J2, J1, J3
J4, J2, J3, J1
Consider the following two sequences :
The length of longest common subsequence of X and Y is :Consider the following two sequences :
X = < B, C, D, C, A, B, C >, and Y = < C, A, D, B, C, B >
The length of longest common subsequence of X and Y is :
5
3
4
2
Flow : River :: Stagnant : ?
Rain
Stream
Pool
Canal
Ornithologist : Bird :: Archaeologist : ?
Islands
Archaelogy
Aquatic
Mediators
Peacock : India :: Bear : ?
Australia
Sri Lanka
Russia
England
Conference : Chairman :: Newspaper : ?
Reporter
Distributor
Editor
Printer
MUNDANE:SPIRITUAL :: ? : ?
common : ghostly
routine : novel
worldly : unworldly
secular : clerical
John neither attends the class regularly or learns his lessons.
attends
class
or
lessons
The citizens of a democracy take part in government either directly as member of government and by voting in elections.
citizens
in
and
voting
Not only Kingley House Settlement and all phases of the civic life of New Orleans keenly interested Eleanor McMain.
Not only
phases
keenly
interested
No sooner had she seen me with the girl she is jealous of when she broke up with me.
had she
jealous
when
broke
The most time parents can spend with their children, the fewer problems they will
have in adulthood.
most
their
problems
in adulthood
Synonym of Protean
Consistent
Gullible
Guile
Erratic
Vacillate
Unwavering
Shimmering
Rotating
Volatile
Erratic
Volatile
Inconsistent
Turbulent
Variable
Vituperate
Aggrandize
Verity
Mendacity
Berate
Lambaste
Craven
Absolve
Abrogate
Revile
Tirade
veracious
canny
harangue
duplicity
Calumny
Iniquity
Candor
Prevaricate
Defamation
Reprove
fallacious
eulogize
exculpate
reprimand
Obloquy
gainsay
revile
castigate
aspersion
Antonym of Insidious
baleful
Minatory
harmful
boon
A, B and C can do a piece of work in 20, 30 and 60 days respectively. In how many days can A do the work if he is assisted by B and C on every third day?
12 Days
15 Days
16 Days
18 Days
A is thrice as good as workman as B and therefore is able to finish a job in 60 days less than B. Working together, they can do it in
20 days
45/2 days
25 days
30 days
A alone can do a piece of work in 6 days and B alone in 8 days. A and B undertook to do it for Rs. 3200. With the help of C, they completed the work in 3 days. How much is to be paid to C?
Rs.375
Rs.400
Rs.600
Rs.800
If 6 men and 8 boys can do a piece of work in 10 days while 26 men and 48 boys can do the same in 2 days, the time taken by 15 men and 20 boys in doing the same type of work will be:
4 days
5 days
6 days
7 days
A can do a piece of work in 4 hours; B and C together can do it in 3 hours, while A and C together can do it in 2 hours. How long will B alone take to do it?
8 hours
10 hours
12 hours
24 hours
A can do a certain work in the same time in which B and C together can do it. If A and B together could do it in 10 days and C alone in 50 days, then B alone could do it in:
15 days
20 days
25 days
30 days
A does 80% of a work in 20 days. He then calls in B and they together finish the remaining work in 3 days. How long B alone would take to do the whole work?
23 days
37 days
75/2
40 days
A machine P can print one lakh books in 8 hours, machine Q can print the same number of books in 10 hours while machine R can print them in 12 hours. All the machines are started at 9 A.M. while machine P is closed at 11 A.M. and the remaining two machines complete work. Approximately at what time will the work (to print one lakh books) be finished?
11:30 AM
12 Noon
12:30 PM
1:00 PM
A can finish a work in 18 days and B can do the same work in 15 days. B worked for 10 days and left the job. In how many days, A alone can finish the remaining work?
5
11/2
6
8
4 men and 6 women can complete a work in 8 days, while 3 men and 7 women can complete it in 10 days. In how many days will 10 women complete it?
35
40
45
50
The price of rice has increased by 60%. In order to restore the original price, the new price must be reduced by?
33 1/3%
37 1/2%
33%
35%
The marked price of an article is Rs. 5000 but due to festive offer a certain percent of discount is declared. Mr. X availed this opportunity and bought the article at reduced price. He then sold it at Rs. 5000 and thereby made a profit of 111/9%. The percentage of discount allowed was?
10 %
3 1/3 %
7 1/2 %
11 1/9 %
A number is increased by 20%. To get back the original number, the increased number is to be reduced by?
20 %
21 %
16 2/3%
14 1/3%
A village lost 12% of its goats in a flood and 5% of remainder died from diseases. If the number left now is 8360. What was the original number before the flood?
1000
10,000
1,00,000
8536
A scored 72% in a paper with a maximum mark of 900 and 80% in another paper with a maximum mark of 700. If the result is based on the combined percentage two papers, the combined percentage is?
75.5 %
76 %
77 %
77.6 %
An army lost 10% of its men in war, 10% of the remaining died due to disease and 10% of the rest were declared disabled. Thus the strength of the army was reduced to 7,29,000 active men. The original strength of the army was?
1500000
1000000
1200000
1100000
What % of a day is 30 minutes?
2.83%
2.083%
2.09%
2.075%
A businessman’s earning by 25% in one year but decreases by 4% in the next. Going by this pattern, after 5 years, his total earnings would be Rs. 72000. What is his present earning?
10000
80000
40000
54000
In an examination 73% of the candidates passed in the quantitative aptitude test, 70% passed in General awareness and 64% passed in both. If 6300 failed in both subject the total number of examinees were?
60000
50000
30000
25000
A man spends 75% of his income. His income increases by 20% and his expenditure also increase by 10%. Find the percentage increase in his savings?
25 %
50 %
15 %
10 %
Enter Your Name
Enter Enrolment No
Enter Your Branch
Enter Your Acropolis Email ID
