DC Questions
DC Questions
2 Identify any three distributed applications and for each application, determine 3 MODEL
which all motivating factors are important for building an application over a QUESTION
distributed system. PAPER
4 Assume that the surface of the past cone form a consistent cut. Does it mean 3 MODEL
that all events on the surface of the past cone are always concurrent? QUESTION
Demonstrate with the help of an example. PAPER
6 Which are the different versions of send and receive primitives for distributed 8 MODEL
communication? Explain. QUESTION
PAPER
7 “The absence of these two transparencies most strongly affects the 4 MAR 2020
utilization of distributed resources”. Identify and explain the above
two types of transparencies with examples.
8 Explain the three different models of the service provided by communication 6 MODEL
networks. QUESTION
PAPER
9 Explain how the causal dependency between events in distributed execution is 8 MODEL
defined using Lamport’s happened before relationship. QUESTION
PAPER
10 Address the various strategies that can be adopted to satisfy the requirements 6 MODEL
of a reliable and fault tolerant distributed system. QUESTION
PAPER
11 In what all aspects distributed systems are better than centralized systems? 4 SEP 2020
Give examples of two applications for which distributed systems will be more
suitable.
12 What are the different communicating entities in a distributed system? 4 SEP 2020
MODULE 2
Sl. Questions Marks KTU/KU
No Month/Year
1 Illustrate bully algorithm for electing a new leader. Does the algorithm meet 7 MODEL
liveness and safety conditions? QUESTION
2 Clearly mentioning assumptions, explain the rules of termination detection using 7 MODEL
distributed snapshots. QUESTION
3 In Chandy-Lamport algorithm for recording global snapshots, explain how the 7 MODEL
recorded local snapshots can be put together to create the global snapshot. Can QUESTION
multiple processes initiate the algorithm concurrently?
4 Illustrate the working of spanning tree based termination detection algorithm 4 MODEL
QUESTION
5 Specify the issues in recording a global state. 3 MODEL
QUESTION
6 Explain the rules used to update clocks in scalar time representation.. 3 MODEL
QUESTION
7 Apply ring-based leader election algorithm with 10 processes in the worst- 7 MODEL
performing case. Count the number of messages needed. QUESTION
MODULE 3
[Link] Questions Mar KTU/KU
ks Month/Year
1 Describe how quorum-based mutual exclusion algorithms differ from the other 3 MODEL
categories of mutual exclusion algorithms. QUESTION
PAPER
2 Explain with example, how wait-for-graphs can be used in deadlock detection. 3 MODEL
QUESTION
PAPER
3 Explain and illustrate Lamport’s mutual exclusion algorithm. 8 MODEL
QUESTION
PAPER
4 Discuss the three types of messages required for deadlock handling in 6 MODEL
Maekawa’s algorithm. Explain how Maekawa’s algorithm handles deadlocks. QUESTION
PAPER
5 Explain and illustrate Ricart- Agrawala algorithm for achieving mutual 8 MODEL
exclusion. QUESTION
PAPER
6 Explain any three different models and issues of deadlock 6 MODEL
QUESTION
PAPER
7 What are the requirements of mutual exclusion algorithms? 5 MODEL
QUESTION
MODULE 4
2 Show that Lamport’s Bakery algorithm for shared memory mutual exclusion, satisfy 7 DEC 18
the three requirements of critical section problem.
MODULE 5
Module I
Sl. No Questions Mark Year
s
KTU
1 Differentiate between the problem solving strategies: Soft 3
(S,FE)
computing and Hard computing.?
2021
2 What is the role of activation function in Artificial Neural 3 KTU(S,FE
Network (ANN)? Write and explain any two activation )2021
functions of ANN.
3 Implement AND function using Mc Culloch-Pitts neuron. Use 6 KTU(S,FE
binary data. )2021
4 Calculate the net input to the neuron Y for the network shown in 5 KTU(S,FE
figure. )
2021
KTU
7 3
Explain the training algorithm of Hebb network. (S,FE)
JAN
2022
8 What are the different types of learning methods employed in 4 KTU
neural networks? (S,FE)
JAN
2022
Implementation of logic gates using i) MP neuron ii) Hebb network MODEL
9 8
--AND,OR,NOR,XOR ,AND, NOT etc. QUESTIO
N
Obtain the output of the neuron for a network with inputs are given as MODEL
10 8
[x1, x2] = [0.7, 0.8] and the weights are [w1, w2] = [0.2, 0.3] with QUESTIO
bias = 0.9. N
Use i) Binary sigmoidal activation function ii) Bipolar sigmoid
activation function
7 Discuss the training algorithm and explain the weight updates in back 10 Model
propagation networks Question
8
1 5 KTU DEC
Define (i) core (ii) support (iii) boundary of a fuzzy set. 2020
5 Define composition operation in fuzzy relations? Two fuzzy relations 9 KTU (S,FE)
R and S are given below. Obtain the composition T of these fuzzy 2022
relations using
i)Max-min composition
ii)Max-product composition
6 Given two fuzzy sets A and B, compute the following set operations 5 KTU (S,FE)
on A and 2022
B:
a) Algebraic sum b) Algebraic product c) Bounded sum d) Bounded
difference
Module IV
Apply Mamdani fuzzy model to design a controller to determine the Model
1 10
wash time of a domestic washing machine. Assume input is dirt and Question
grease of the cloth. Use three descriptors for input variable and five
descriptors for output variables .Derive the set of rules for controller
action and defuzzification. Design should be supported by figure
wherever possible.
9
2 Using inference approach, find the membership values for each of the 8 Model
triangular shapes (I, R, IR, T) for a triangle with angles 120°, 50°, 10°.
Question
Explain Single-Point Crossover and Two-Point Crossover with Model
3 4
example. question
10
CS 476 - MOBILE COMPUTING
MODULE 1
MODULE 1
[Link] QUESTIONS MARK
1 Define the terms failure, error and fault. 3 MODEL
2 What are the different quality factors of a good software 3 MODEL
product?
3 Compare verification and validation with respect to software 8 MODEL
testing process
4 Explain the three different testing methods 6 MODEL
5 Explain the following types of testing (i)Black Box testing (ii) 14 MODEL
White Box testing (iii) GreyBox testing
(iv) Unit testing (v) Integration testing (vi) System testing (vii)
Acceptance testing
MODULE 2
1 Unit testing is done by the programmer who writes the code. 3 MODEL
Why?
2 What is meant by functional program testing? 3 MODEL
3 Explain in detail, the steps in mutation testing 10 MODEL
4 Write notes on JUnit. 4 MODEL
5 Explain static unit testing in detail. 7 MODEL
MODULE 3
1 What is du pair in a data flow graph? Give example 3 MODEL
2 Draw the control flow graph for 'switch' and 'for' statement 3 MODEL
3 Explain the steps for data flow testing in detail 8 MODEL
4 Explain the following terms with example 6 MODEL
i) coupling du pair ii) method and call coverage
5 Write note on inheritance testing 4 MODEL
6 10 MODEL
7 Define Node coverage, Edge coverage and Prime path coverage in 3 MODEL
a control flow graph?
8 What are du paths and du pairs in a data flow graph? 3 MODEL
9 Explain touring, side trips and detours with a neat example 7 MODEL
10 Explain simple path coverage and prime path coverage with the 7 MODEL
help of CFG given below?
MODULE 5
1 What is symbolic execution tree? Give an example. 3 MODEL
2 Discuss the disadvantages of grey box testing 3 MODEL
3 Explain the various techniques for grey box testing in detail. 14 MODEL
4 Explain parameterized unit testing 6 MODEL
5 Explain the grey box testing methodology in detail. 8 MODEL
6 Explain the concept of symbolic execution with the help of a toy 3 MODEL
example?
7 Explain the importance of grey box testing, its advantages and 9 MODEL
disadvantages?
3. J ← 1;
Department of Computer Science & Engineering
4. LAB: IF Y ≥ J THEN
5. DO; Z← Z * X;
6. J ← J + 1;
7. GO TO LAB; END;
8. RETURN (Z) ;
9. END;