Professional Documents
Culture Documents
2010
(Repeater)
ANALYSIS AND DESIGN OF ALGORITHMS
Time : 3 Hours
Max. Marks : 75
PART A
(102+15=25)
PART B
II. Answer any five questions :
(510=50)
1) Write an algorithm to test where the given three numbers form the sides of a
triangle.
2) Explain binary search method with algorithm and example.
3) Explain insertion sort method with example.
4) a) Write recursive algorithm to find factorial of a number.
b) Write recursive algorithm to generate fibonacci series.
5) Write an algorithm to implement the hashing technique.
6) Explain travelling salesman problem.
7) Explain the steps to solve knapsack problem.
8) Explain Prims algorithm.
Max. Marks : 75
Instruction : Answer all questions from Part A and any five questions from
Part B.
PART A
1. What is seek time ?
(102+51=25)
2. What is encryption ?
3. What is two-level directory ?
4. What is tightly coupled ?
5. What is spooling ?
6. What is context switch ?
7. What is the need for good user-friendly GUI ?
8. List four popular operating systems.
9. List types of message passing.
10. What is thrashing ?
11. Write a short note on :
a) Define File.
b) MMU stands for ______________________
c) Define seek time.
d) Job scheduling brings in the ability of ______________________
e) Define TSL.
P.T.O.
PART B
1. Explain different scheduling algorithms.
2. Explain computer virus in detail.
3. Explain with example a producer-consumer problem.
4. Explain the paging concept with the help of a neat diagram.
5. Discuss different file access methods.
6. Explain public-key encryption in detail.
7. Explain various multiprocessor interconnections.
8. Explain RPC with a neat diagram.
(510=50)
Max. Marks : 75
(102 + 51=25)
2. What is a Procedure ?
3. What is an application wizard ?
4. What is the difference between Combo box and List box ?
5. What is a command button ?
6. What is a loop ?
7. What is a binary file ?
8. Name any four mouse events.
9. Distinguish between tool bar and menu bar.
10. Explain timer control.
11. Explain the following.
a) Error
b) Pop-up
c) Record Set
d) Text box
e) Break point
P.T.O.
PART B
Answer any five :
(510=50)
Max. Marks : 75
(102+51=25)
PART B
Answer any five :
(510=50)
1. Define Material Management. Discuss the various aspects you have to keep in
mind before selecting the Vendors.
2. Define Man Power Planning. Explain the major steps involved in Man Power
Planning.
3. What is Production Planning ? What are the important characteristics of Production
Planning ?
4. What is Break-even analysis ? Explain this by means of a chart.
5. List the basis steps involved in Time Study Procedure.
6. What is Quality Control ? What are its Objectives ? Bring out the essential
advantages and importance of Quality Control.
7. What is CAD/CAM ? How is it useful in Factory Automation ?
8. Bring out the major differences between Direct Cost and Indirect Cost.
Instruction : Answer all the questions. Each question carries one mark.
1. For ( ; ;)
a) means the test which is done using some expression is always true
b) is not valid
c) will loop forever
d) should be written as for ( )
2. In addition of two signed numbers, represented in 2s complement form generates
an overflow if
a) A . B = 0
b) A
B=0
c) A
B = 1 d) A + B = 1
Where A is the carry in to the sign bit position and B is the carry out of the sign
bit position.
3. Literals are
a) essentially constants directly used in an operand field
b) essentially variables directly used in an operand field
c) essentially constants directly used in an operator field
d) essentially constants directly used in a program
4. Those activities of an assembler which are concerned with the processing of a
macro are termed as
a) Assembly time activities
b) Expansion time activities
c) Compiler time activities
d) Linker time activities
P.T.O.
b) CPU scheduling
c) I/O scheduling
d) Multitasking
b) CPU scheduling
c) Deadlock avoidance
d) Paging
8. Compaction is a solution to
a) Dead locks
b) Fragmentation
c) Security problems
d) Concurrency problems
b) colon
c) period
d) exclamation mark
b) Syntax analysis
d) Lexical analysis
b) Loader editor
c) Compiler
d) Assembler
b) CRC
c) Hamming code
d) Cross product
16. The operation which is not considered a basic operation of relational algebra is
a) Join
b) Selection
c) Union
d) Cross product
b) 0
c) 1
d) 6
c) return (a*a*a) ;
20. Which of the following about automatic variables within a function is correct ?
a) Its type must be declared before using the variable
b) They are local
c) They are not initialized to zero
d) They are global
PART B
Fill in the blanks with suitable answers. Each question carries one mark.
1. ___________ denotes the set of rational numbers.
2. If A is a matrix such that A = AT then A is called ____________ matrix.
3. The solution of the equation Y = x3 3x2 + 3x 1 is ____________
4. If
, then A3 is _____________
)10
)2
) gray
)10
)2
)10
35. Output of EXOR gate is one, if both the inputs are ____________
36. _____________ gate is called inverter.
37. In a SR flipflop, S = 1 and R = 0, the flipflop goes to _____________ state.
38. In an Half subtractor, given two bits A and B, borrow B = ____________
39. In combinational logic circuits, output depends on _____________ inputs.
40. A full subtractor is a ____________ circuit.
41. The output of Nand gate is complement of _____________ gate.
42. The logic circuits whose output at any instant of time are dependent on not
only present inputs but also on past inputs are called ___________ circuits.
43. Group of flip flops used to store particular group of 0s and 1s are called
_______________
71. A flip flop where the slave copies master is called ________________
72. Detecting and correcting errors in a program is called _____________
73. Syntax errors are detected during ____________ process.
74. ___________ statement is avoided in structured programming.
75. A truth table for n inputs has _____________ combinations.
76. DDL stands for ______________
77. C is called ______________ language.
78. Bitwise AND operator in C is ___________
79. The ? : operator in C is called _____________
80. The node at the top of the tree is called _____________.
______________