Algorithm and Programming Concepts, Sample Question
Algorithm and Programming Concepts, Sample Question
Program Name:
Subject:
Assessment Name:
Weightage:
Total Marks:
Duration:
PGDITM
Algorithms and Programming Concepts - OAS (2014)
APC - Exam
70
70
80 mins
Online Examination:
Online examination is a Computer based examination.
Online examination comprises of Total 29 Questions - Out of 70 marks.
Duration of online examination will be of 1 Hour 20 minutes (80 minutes).
Section - I Instructions:
- It is compulsory and has total 3 Subjective Questions.
- Students are required to solve any 2 Subjective Type Questions. Each question is of 5 marks.
- Section I is out of 10 Marks.
Please refer following instructions regarding Subjective examination:
- While attempting subjective examination Text formatting facility will be disabled such as use of bullets,
making the text bold, underlining the text etc. Only normal character on the key board will be available.
- Special characters available on the keyboard will be allowed.
- Students can not attempt more than 2 questions out of given 3.
- A blank (space typed) or any entry in the space provided will be considered as question is answered.
- Hand written answers are not allowed. Subjective test can be answered by using key board.
- No brail support shall be provided, but writer assistance shall be allowed. The student has to intimate it to
SCDL well in advance by completing applicable formalities.
- Answers for both the questions should not exceed more than 110 words. The maximum word limit per
answer is 55 words (for Subjective part).
Page 1 of 7
SCDL
Section 1 is complete.
Please click on "Next" button to proceed.
Section - II Instructions:
- It comprises of Objective Questions Only.
Page 2 of 7
SCDL
1] ^
2] ( )
3] %
4] ==
5] +
6] -
SCDL
6) It is possible that the time taken by an algorithm to sort a set of 10 numbers is more than the time taken to
sort a set of 30 numbers using Bubble Sort.
(1)
1] True
2] False
7) Match the Following
(4)
1] The worst-case runtime
complexity
2] The best-case runtime
complexity
3] The average case runtime
complexity
4] The amortised runtime
complexity
8) These are building blocks for efficient and logical problem solving.
(2)
1] Algorithms
2] Programs
3] Procedures
4] None of the above
9) Match the Following
(4)
1] Input
2] Output
3] Sequence of
steps
4] Data
structures
SCDL
(2)
1] Insertion
2] Deletion
3] Modification
4] All of the above
13) Array index values are always
(2)
1] Unordred
2] Ordered
3] Both
4] None of the above
14) The complexity of binary search in worst and average cases is :BLANK for n items list.
(1)
1] O(log2n)
2] O(1)
3] O(n)
4] O(n^2)
15) :BLANK is the algorithmic process of finding a particular item.
(1)
1] Searching
2] Sorting
3] Linear search
4] Binary search
16) Match the Following
(4)
1] O(1)
2] O(log2n)
3] O(n)
4] O(n^2)
17) Dynamic programming is powerful enough for designing algorithms related to optimization problems.
(1)
1] True
2] False
18) The advantage of writing pseudocodes is that it provides the advantages of an informal language like
English along with the precision of code.
(1)
1] True
2] False
19) In pseudocode, keywords should be written in capital letters.
(1)
1] True
Page 5 of 7
SCDL
2] False
20) This tool is used to represent algorithm in a pictorial format.
(2)
1] Program flow chart
2] Document flow chart
3] System flowchart
4] Data flow chart
21) Runtime complexity of a sequential searching in an array of size n is
(4)
1] Worst-case runtime complexity is O(n)
2] Best-case runtime complexity is O(1)
3] Average case runtime complexity is O(n)
4] Average case runtime complexity is O(n log n)
22) Complexity of algorithms is in general represented using
(4)
1] Work
2] Risk
3] Time
4] Cost
23) Since the order of execution cannot be defined, the dependent sets of instructions should not be placed in
parallel sets of execution.
(1)
1] True
2] False
24) Steps after :BLANK do not continue unless all the steps in forked sets are completed.
(1)
1] Join
2] Bridge
3] Fork
4] Split
25) If the list is unordered and the item is not present in the list, the comparisons used in sequential search are
(4)
1] n comparisons in best case
2] n comparisons in worst case
3] n comparisons in average case
4] 1 comparison in best case
26) Spanning trees are useful for the following reasons :
(4)
1] They can construct a sparse sub graph that provides information about the original graph
2] Assist in designing efficient routing algorithms
3] Few complex problems can be solved approximately
4] All complex problems can be solved approximately
Page 6 of 7
SCDL
27) In this sorting, the data to be sorted is held in the primary memory.
(2)
1] Bidirectional
2] Internal
3] Ordered
4] Unordered
Section 2 is complete.
Please click on "Next" button to proceed.
Page 7 of 7