CSC 3rd SEM QP's
CSC 3rd SEM QP's
PUDUCIJ ERRY
OR
6. a.
Construct an AVL tree for ie following inputs. Insert keys: 65, 8 3
34, 27, 18, 56, 96, 87, 105, 67, 53 and 78. After inserting all the
keys, perform the deletion operation for the keys: 64, 87 and ›g.
Draw all tlte rotations during the above operations.
10. a. OR
What is symbol table and explain why is dynamic tree table suitable 4 S
for symbol table?
b. Write brief note on sequential and indexed file organization. 4 5
Part C 1 x 10 =10 Marks
No Question Marks CO
11. a Let X = (x1, x2, . . ., xn) and y = (y1, y2, ..., ym) be two linked lists. 7 2
. Assume that in each list, the codes are in non-decreasing order of
their data field values. Write an algorithm to merge the two lists
together to obtain a new linked list z in which the nodes are also in
this order. Following the merge, x and y do not exist as individual
lists. Each node initially in x or y is now in z.
b. Write a brief note on dynamic storage management. 3 ?
OR
12. a. Write the Dijkstra's Algorithm. 5 4
b. Illustrate the above algorithm for graph from vertC.X A to remaining 5 4
vertices.
PUDUCHERRY TECHNOLOGICAL UNIVERSITY
PUDUCHERRY
THIRD SEMESTER
CS203 CO6IPUTER ORGANIZATION AND ARCHITECTURE
Time: Three HOlirS Max• Marks: 60
Part A - Answer ALL Questions. 5 x 2 = 10 Marks
No. Question CO
Express the basic performance equation and state the parameters that influence the CO1
performance of computers in terms of execution time.
ii.
Define and classify the types of pipeline hazards. CO2
Assume that an 8 bit multiplicand is to be multiplied with a constant -64 (in 8-bit). CO3
Determine the number of shifted versions of multiplicand that will be added if
Booth's algorithm is used.
Compare between the cache memory and virtual memory techniques in terms of
their size, speed and objectives. CO4
Distinguish between vectored and non-vectored interrupts. CO5
Part B - Answer ALL Questions. 5 x 8 = 40 Marks
No Question Marks CO
1. a. List and explain the registers available in a processor with a t CO I
4
specific description on the interface between the processor and
b. memory. (4)
CO1
Define the terms ‘straight line sequencing’ and ‘branch
target’. Explain them with simple examples.
OR
2. Define addressing mode of instnictions the (g
and classification of the modes with explain ) co i
suitable examples.
4. a.
OR
How does the pipelined architecture help improve the system's
performance? State the purpose of interstage buffers between (4)
CO2 pipeline stages.
b.
Define and classify pipeline hazards. Explain how the ‘operand
forwarding' technique helps in resolving the pipeline ‹4j Co›
stall.
between
. techniques.
Distinguish ripple-carry adder and
caiTy-lookahead adder CO3
b. Assuming a 4-bit ALU is used in a computer, will it result in (
overflow condition if 6 is subtracted from -2† 4) CO3
Explain with a Simple logic circuit to detect the overflow of
resultant after‘ an arithmetic addition/subtraction.
OR
6. a. V ith lhc help of a Booth multiplier recoding table explain the version
(4) CO3
of the multiplieand selected by bit i for additiodsubtraction.
b. \\'rite bi5ef notes on IEEE notation for representing floating point
numbers. Express the value of 0.5 in IEEE 754 single precision (4) CO3
format.
OR q
8. a. Define mapping function of cache memory system. Write the steps
involved ii caching/replacing the blocks of main memory and cache (4) CO4
memory.
b. Compare and contrast between the virtual memory and cache
(4) CO4
memory tecJmiques.
9. m
Discuss the need for interrupt driven data transfer in computers. (4) CO5
b. How does Direct Memory Access differ from that of intemipt driven
data transfer? Enumerate the registers and flags associated with DMA (4) CO5
interface.
OR
10. a. State the differences between synchronous and asynchronous bus
(4) COS
transfers.
b. Write brief notes on the following standard I/O interfaces: PCI and
(4) CO5
USB
Part C 1 x 10 =10 Marks
Question blarks CO
11. With a neat sketch of the schematic diagram explain the functional CO3
units of a sequential binary multiplier with illusEation of multiplying (10)
the positive integers (l2)›oand (I3)i0
OR
12. A computer system has a main memory consisting of l M 16-bit
words. It also has a 4K word cache organized in the set associative
mapping scheme with 4 K blocks per set and 64 words per blocL.
) CO4
Calculate the number of bits in each of the TAG, SET and WORD
fields of the main memory address format. Draw a neat sketch of the
cache and memory organization for this configuration.
PUDUCI I I‹1iIt1' "I I*.CI INOLOG ICAL UNI VERSITY
I'U13UC1JER1tY
THIRD SEMESTER
CSH01 HUMAN COMPUTER INTERACTION
Time: TI\ree Hours Max. Marks: 60
PartA - Answer ALL Questions. 5x 2=l0Marks
State »'hat is meant by retroactive interference and proactive inhibition? CO1
How is »'atei‘fall model different from waterfall model with interaction? CO2
Creaie a GOMS description of the task of closing a window by close button and CO3
iii.
closing a window with ctrl w method.
In »'hich scenario's Inspection is recommended as a useful tool in UX evaluation? CO4
State Fitts law. CO5
Part B - Answer ALL Questions.5 E 8 =40 Marks
No Question Marks CO
1. £t
Discuss gestalt theory of problem solving. 4 CO1
b. Draw a semantic network to represent knowledge about arts and 4 CO1
culture of india.
OR
2. a
’ Illustrate different types of reasoning with 4 CO1
4
examples b’ Outline how ergonomics plays a role CO1
in interaction.
5 CO2
3. a. Discuss QOC design rationale with an example. 3 CO2
b. Mention the purpose of prototyping.
OR 4 CO2
4. a. Outline die challenges in designing user interfaces for users with
disabilities . 4 CO2
b. State Norman's seven principles of user centered design. Illustrate
with an example the gulf of execution-gulf of evaluation cycle.
9. a. List the events while a drag and drop interaction occurs. How a
4 CO5
interesting moment grid is constructed?
b. Ho; are inlays, overÎays and virtual page interaction styles
4 cOs
different?
OR
10. a. Outline how dialog overlay process and configuratoi process is
4 CO5
used in the websites?
b. What are the issues involved in providing contextual tools in an
ox'erlay? What is hover and cover anti pattern? 4 cO5
PaflC 1 x 10 =10 Marks
No Question Marks CO
11. a Write scenarios for making a call in two versions of a mobile 5 CO2
. phone.
b. In online shopping websites how is interactive process flow and CO5
inline assistant process flow implemented? Explain with examples.
OR
12. a. Write a script to dine in a restaurant Specify entry conditions, the COI
scenes,traeks,props,roles.
b. Elaborate on the HCI features of any interface design of a product
which supports ils usage casier for elderly people,physically 5
CO2
challenged people
PUDUCHERRY TECHNOLOGICAL UNIVERSITY
PUDUCHERRY
THIRD SEMESTER
CS205 Object Oriented Programming Languages
Time: Three Hours Max. Marks: 60
Part A - Answer ALL Questions. 5 x 2 = 10 Marks
Rio. Question CO
Distinguish
i
beni‘een constructor and destructor. CO1
i
- Compare static and dynamic binding. CO2
¡
f i
\\fiat is an abstract class in Java? CO3
ix . that is concurrency? CO4
. that are the advantages of Java Collections? CO5
Part B - Ansn'er ALL Questions. 5 z 8 TO Marks
Question Marks CO
1. a. V'bat is function overloading? Explain it with the C++ program CO2
4
examples.
b. that are stream class and functions? Why are they required? CO2
4
Explain the use of friend function with a program example.
OR
?. a. 9'rite a C.m program to search an element in an array using CO1
4
Linear search technique.
b CO1
W'rite a C program to multiply to matrices. 4
.
OR
4. a.
What are the advantages of function and class template? Write
a C program to creale a function template for adding Evo
numbers and returning the sum of the two numbers. Write a main
4 CO2
program to call the funciion with different dat types
b.
Write C++ program using exceptional handling features to
catch and divide by zero exception handle it by displaying “ 4 CO2
Divide by zero error”
5. s. 1 rC C W DC
*’ ’*” ’ ‘ ’ ’ ‘ 4 CO3
7. a.
\\Nat are swings m in Java? Write a simple swing example where
one button is created and adding it on the JFrame object inside the 4 CO4
main() method
b. that is JDBC? Illustrate the different type of drivers with
advantages and disadvantages? 4 CO4
OR
S. a. V'rite one example Java Program to establish connection with
database through JDBC and query the database and display the 4 CO4
results.
b. What is eiutli-threading ? Explain bow a thread can be created and
made to run? Explain with an Program example 4 CO4
10. a. OR
Ho*' Lambda expression are used in Java? Explain. 4 CO5
b. \Vrite short notes on Collection and their generic operations
available on collection 4 CO5
Part C 1 x 10 =10 Marks
No
11. a. Question Marks CO
What are vimial functions in CA? How can be used to implement CO2
5
dynamic polymorphism? Explain with an example
b. Write Complex number class to implement complex number CO?
addition, subtraction, input and output using operators + , — ,>*,
5
and <• respectively
OR find our whether
Write the c1as'ses needed to to develop a Java Application with given account
graphical user interface and accessing database through JDBC to number is one of
the accounts of the
bank or not.
CO4
10
rreuciirnRv TECHNOLOGICAL UNIVERSITY
PUDUCHERRY
g in detail.
3. co2
examine the
4. Critically
MOSFET. OR
construction, working and characteristics of g
CO2
OR
8. Devi i the following:
a. Ripple Counter
4+4 CO4
b. Johnson Counter’
9• lllustnte in detail about the Port declaration and list of ports with suitable $
examples. CO5
OR
10. Write VHDL programs for the following:
a. 2^ I Multiplexer
b. Binary to Gray converter 4+4 CO5
Part C
1 x 10 =I0 Marks
No Question
Marks CO
Explain in detail about the Conditional if-else statement and case ‘05
statement . 0
11. with respect to VHDL Programming.
OR
12. Discuss on the principle and working of JFET. Obtain and explain Its CO2
characteristics. 10
runucnrnJlY TECnNOLOGIC7¥L UNIVERSITY
I'UD’UGlJEItRY
5. a
DfaW the Fischer projections fomilla aitd Haworth projection
. formula of D-glucose. 2 CO3
b. Dl"'l'S *h r * °f protein th human
6 CO3
systeins7
OR
G. n Elaborale tii¢ m¢chnill9lTi OÉ0I1Z}Yl1c acllo» will› dlogro»? 4 CO3
b. Describe tltc cJasslficnfion of llgJcl bolcd on c)›cnJical comyoailion'I 4 CO3