ASSIGNMENT
QUESTIONS OF DMS
Unit
I
1. Define the sets?
2. Define the followings.
a. Equal
set b. null set c. power set d. universal set e. subset.
3. Find the elements of the power set p(A)
in the following cases.
a. A={3,7} b. A={2,3,7}
c. A={a,b,c,d}
4. What are the operations on the sets?
5.
If U={1,2,3,4,5,6,7,8,9} A={1,2,4,6,8}
and B={2,4,5,9} find out
a. B-A b. A-B
6. For any three sets A,B,C prove the associative laws.
7. Show that set A={1,2,4,7,11,16
} is
countable set.
8. A computer company requires a 30
programmers to handle the system programming jobs and 40 programmers for
application programming if the company appoints 55 programmers to carry out
these jobs, how many of these performed jobs of both types?
How many handle only system
programming jobs?
How many handle only application
programming?
9. Find the probability of the occurrences
of exactly two heads in three tosses of an honest coin.
10. A
fair die is tossed twice find the probability that
a. Even
number occurs on both throws
b. Even
number occurs at least one throw.
Unit
II
1. Define
a logical connectivities and explain the conjunction, disjunction, negation,
conditional, bi-conditional, with truth table.
2. Find
the possible truth values of p,q,r in the following cases
a. Pà(qVr) is false b. p^(qàr)
is true.
3. Construct
the truth tables for the following compound preposition
a. (p^q)à¬r
4. If
a proposition q has truth value 1, determine all the truth values assignments
for the primitive prepositions p,r and s for which the truth values are the
following compound preposition is 1.
[qà{(¬pVr)^V¬s}]^{¬sà(¬r^q)}
5. Define
tautology and contradiction and give an example an each.
6. Prove
that for any proposition p,q,r the compound proposition
[(pàq)^(qàr)]à(pàr)
is tautology.
7. Prove
that for propositions p and q the compound propositions p V q and
(pVq)^( ¬pV¬q) are logically equalient .
8. Examine
whether [{pVq}àr]ßà[ ¬rà¬(pVq)]
9. Write
down the laws of logic.
10. Write
down the duals of the following propositions
a. Pàq
b. pà(qàr)
11. Test
whether the following is valid argument.
a. If
I drive to work then I will arrive tiered.
I
am not tiered(when I arrive at work).
.:
I do not drive to work.
b. If
Ravi goes out with friends he will not study.
If
Ravi does not study his father becomes angry.
His
father not angry. Ravi has not gone out with friends.
Unit
III
1. Define universe, open statements
2. Suppose the universe consists of
all the integers consider the following open statements P(x): x≤3, q(x):x+1 is odd, r(x):x>0. Write down the truth values of the
following:
a. P(2) b. ¬q(4) c.p(0)àq(0).
3. Write
down the quantified statements in symbolic form For the universe of all integers, let P(x):x>0 Q(x):x is even Q(x):x is perfect square S(x): x is divisible by 3 T(x): x is divisible by 7
a. At
least one integer is given
b. If
x is even and a perfect square and x is not divisible by 3.
c. If
x is odd or is not divisible by 7, then x is divisible by 3.
4. What are the two rules of
interference.
5. Write down the following
proposition in symbolic form and find its negation All the integers are
rational numbers some rational numbers are not integers and if all the
triangles are right angle then no triangle is equiangular.
6. Prove the following arguments is
valid:
All men are mortal.
Sachin is a man.
.: sachin is mortal by using quantifiers.
7. Give a direct proof of the
statements the square of the odd integer is an odd integer
8. Let n be the integers prove that if n2 is odd then n is odd.
9. Prove that n2 = m2
if and iff m=n or m=-n, where m and n are integers.
10. Give direct proof , indirect proof
, proof by contradiction for the following statements. if n is odd integer
then n+11 is an even integer
Unit IV
1. What are the methods of mathematical induction
2. State and prove the induction
principle for mathematical.
3. Prove by mathematical induction for
all positive integers n ≥ 1. 1+2+3+……………..+n = ½n*(n+1)
4. Prove that for each n ε Z+ 12 +22+32…………..+n2=1/6
n*(n+1)(2n+1).
5. By mathematical induction prove
that n! ≥ 2n-1 for all integers n ≥ 1.
6. Prove by mathematical induction for
every positive integers n 5 divides n5 – n .
7. Obtain the recursive definition for
the sequence.{an} in each of the following cases:
a. an = 5n
b. an = 6n
c. an = n2
d. an = 2-(-1)n
8. Lucas numbers are defined
recursively by L0 = 2, L1 = 1, and Ln = Ln-1
+ Ln-2 for n
≥ 2. Evaluate L2 to L10.
9. If Fi are the Fibonacci
numbers and Li are lucas numbers prove that Ln = Fn-1. +Fn+1.
10.
Explain well- formed formulas.
Unit
V
1. Define cartisian product of sets
give an example.
2. Find x and y for each of the
following cases:
a. (2x,x+y)=(6,1) b. (y-2,2x+1)=(x-1,y+2)
3. Let A={1,3,5} B={2,3} C={4,6} find
out
a. A
X B b. B X C c. (A U B) X C d. (A X B) Ω (B X A)
4. For any sets A , A X φ = φ X A = φ.
5. For any non empty sets A,B,C prove
that A X (B U C) =(A X B ) U (A X C )
6. For any non empty sets A,B,C prove
that A X (B-C) = (A X B ) (A X C)
7. If A is a set with m elements and B
is a set with n elements, find the number of relations from A to B.
8. Let A={1,2,3} and B={2,4,5}
determine the followings:
a. No.
of relations from A to B.
b. No.
of relations from A to B that contains exactly five ordered pairs.
c. No.
of relations on A that contains at least 7 ordered pairs.
9. Define functions? Let A={1,2,3,4}
demine whether or not the relation on A are: functions
a. f={(2,3),(1,4),(2,1),(3,2),(4,4)}
b. g={(3,1),(4,2),(1,1)}
10. Define an image and pre image of
the function, give an example for each.
11. For A={1,2,3,4,5} and B={w,x,y,z} a
function f: AàB is defined by F={(1,w),(2,x),(3,x),(4,y),(5,y)} Find the image of the following
subsets of A A1={1}, A2={1,2}, A3={1,2,3},
A4={2,3), A5={2,3,4,5}
Unit
VI
1. Let
A={1,2} and B={p,q,r,s} and let the relation R from A to B is defined by
R={(1,q),(1,r),(2,p),(2,q),(2,s)} write down the matrix of R.
2. Let
A= {1,2,3,4} and let R be the relation on A define by xRy, iff X divides Y
a. write
down R as set of ordered pairs.
b. Draw
the directed graphs.
c. Determine
the in degrees and out degrees of the vertices and directed graphs
3. Let
A={1,2,3,4,6} and R be the relation on A define by aRb, iff A is multiple of B
represents the relation R as matrix and draw it diagraphs.
4. What
are the operations on the relations, give an example for each.
5. Consider
the sets A={a,b,c} B={1,2,3} and the
relation R = {(a,1),(b,1),(c,2),(c,3)} S={(a,1),(a,2),(b,1),(b,2)} from A to B
determine R U S, R Ω S, Rc, Sc .
6. Let
A={1,2,3,4} B={w,x,y,z} C={5,6,7} let R1 be a relation from A to B defined by
R1={(1,x),(2,x),(3,y),(3,z)} and R2, R3 be the relation from B to C defined by
R2={(W,5) X, R3={(W,5)(W,6)} find R1
o R2.
7. Let
A={1,2,3,4} B={w,x,y,z} C={6,7,8} let R1 be a relation from A to B defined by
R1={(1,x),(2,x),(3,y),(3,z)} and R2, R3 be the
relation from B to C defined by R2={(W,6) X, R3={(W,7)(W,8)} find R1 o
R2.
8. What
are the properties of relations
9. Let
R and S be a realtion on set A prove that if R & S is reflexive then so
are R Ω S and R U S.
10. Prove
that the relation R on a set is transitive iff the following condition holds:
If there is a path of length
greater then 1, from vertex A to Vertex B then there is a path of length 1 from
A to B.
Unit
VII
1. What
are the properties of group.
2. Prove
that in a group there exists only one identity element.
3. Prove
that in a G every element has only one inverse.
4. Let
G be the group let a,b,x be elements of G then prove that xa=xb implies a=b.
5. Let
G be the set of non-zero real numbers let a*b = ½ ab. Show that (G,*) is
abelian group.
6. Let
G be the set of real numbers not equal to -1, and * be defined by a*b = a+b+ab
(G,*) is abelian group.
7. Prove
that group G is abelian iff (ab)2 = a2 b2. For
all a,b belongs to G.
8. Define
subgroup, prove that H is a subgroup of G iff a,b ε H we have ab-1 ε H.
9. Prove
that intersection of 2 subgroups of a group is subgroup of group.
10. For
every cyclic group is abelian but converse is not true.
Unit
VIII
1. Define coding theory?
2. The word c= 1010110 is transmited
through binary symmetric channel , if e = 0101101 is error pattern find the
word r received, if p=0.05 is probability that the signal is incorrectly
received find the probability with which r is received.
3. The word c= 1010110 is sent through binary symmetric channel, if
p=0.02 is the probability of incorrect receipt of signals, find the probability
that c is received as r = 10111111. Determine the error pattern.
4. In a group code minimum distance between
the distinct code words is minimum of the weights of non-zero element of the
code.
5. Define Rings? What are the operations
performed by the Ring.
6. Write down the types of rings with an
examples.
7. If R is a Ring with unity ab are the
unique in R prove that ab is a unit in R and (ab)-1 = b-1 a-1.
8. Prove that every field is an integral
domain.
9. Prove that a Ring is without Zero
divisor iff cancellation laws hold in it.
10. Prove that every finite integral domain
is field.
ASSIGNMENT
QUESTIONS OF OOMD
UNIT I: INTRODUCTION, MODELING CONCEPTS, CLASS
MODELING
1) What is object orientation? Explain
briefly the stages involved in OO methodology.
2) What is OO development? Explain OO
methodology and what are OO themes?
3) What is modeling concepts? Explain.
Write class model of windowing system.
4) Explain three models used to describe a
system.
5) With a neat diagram explain class model
of a work station window management system.
6) What are an object, polymorphism,
inheritance, data abstraction and protocol.
7) Use illustration and explain the
following with UML notation:
a.
Ordering the object for an association
end
b. A
multilevel inheritance hierarchy with instances.
8) What are the link and association? Write
and explain UML notation for link and association with an example.
9) With the help of a sample class model, explain
the following:
a.
Attributes and operations
b. Qualified
associations
c.
Association end names
d. Generalization
and inheritance.
10) Describe
the components of unified approach.
UNIT II:
ADVANCED CLASS MODELING, STATE MODELING
1) Explain association and aggregation. With
example.
2) What is aggregation and composition?
Give their respective UML notation with an example.
3) Explain the properties of association
ends.
4) Explain state diagram and write state
model for telephone line with activities.
5) What is an event? Explain various kinds
of events, using UML notation.
6) Give the general UML system for state
diagram and explain.
7) Define reification. Explain it with a
diagram.
8) Illustrate software development process.
9) Explain derived data, packages, metadata
with an example.
10) A
simple digital watch has a display and two buttons, A and B to set it. The
watch has two modes of operation, display time and set time. In the display
time mode, the watch display hours and minutes, separated by a flashing colon.
The set time mode has two sub modes, set hours and set minutes. The A button
selects modes. Each time it is pressed, the mode advances in the sequence:
display, set hours, set minutes, display etc. within the sub modes, the B
button advances the hours or minutes once each time it is pressed. Buttons must
be released before they can generate another event. Prepare a state diagram of
watch.
UNIT
III: ADANCED STATE MODELING, INTERACTION MODELING
1) Explain nested states and nested state
diagram with an example.
2) Explain use case and sequence model with
an example.
3) Explain activity diagram with an UML
notation. Give an example. Mention the guidelines for activity model.
4) Draw the use case diagram for vending
machine. What are the guidelines needed to be followed while drawing use case
models.
5) What do you mean by swim lane? Explain
briefly an activity diagram with swim lane for servicing an airplane.
6) Illustrate the importance and usage of
aggregation concurrency, with the help of state diagram.
7) Consider shopping in a physical
bookstore of super market
a.
List 3 actors that are involved in the
design of a checkout system. Explain the relevance of each actor.
b. Take
the perspective of a customer and list 2 use cases. Summarize the purpose of
each use case within a sentence.
c.
Prepare a use case diagram for physical
bookstore checkout system.
d. Prepare
a normal scenario for each use case.
UNIT IV:
PROCESS OVERVIEW, SYSTEM CONCEPTION, DOMAIN ANALYSIS
1) Explain process overview and system
conception.
2) What is software development process?
Explain the stages of software development process.
3) Write and explain the steps performed in
constructing a domain state model, with an example.
4) Describe domain analysis, with an
example of ATM.
5) Identify the classes of an ATM for bank.
What are criteria would you take into consideration to select the right
classes? Explain.
6) How are classes identified in a domain
class model? Explain.
7) Explain the following development life
cycle for software using OO approach:
a.
Waterfall development
b. Iterative
development
UNIT V:
APPLICTON ANALYSIS, SYSTEM DESIGN
1) Describe an application analysis, with
an example of ATM.
2) What is system design? What are the
steps of a system design? Explain in detail.
3) With a neat diagram explain the steps
followed in constructing application class model.
4) What are the steps involved in
constructing an application state model.
5) With a neat sequence diagram, explain
process transaction scenario for an ATM system.
6) What are the different aspects of
reusability? Explain the reusable things.
7) Explain the architectural styles, suited
for system design.
8) What are the steps in designing a
pipeline for a continuous transformation?
9) Describe the architecture of an ATM
system. With the help of a neat block diagram.
10) Name
3 kinds of control for external events in software system. Also describe each
control verify briefly.
UNIT VI:
CLASS DESIGN, IMPLEMENTATION MODELING, LEGACY SYSTEMS
1) Explain class design. What are the steps
of class design? Explain with an example of ATM.
2) Explain implementation modeling in
detail.
3) Explain the different tasks involved in
design optimization.
4) Write a short note on:
a.
Reverse engineering V/S forward engineering
b. Wrapping
5) How would you improve the organization
of a class design?
6) How would you choose association
traversal? Explain one-way association and two-way association.
7) Explain the consideration for choosing
alternative algorithms.
8) When fine tuning of classes is
essential? How it is achieved?
UNIT
VII: DESIGN PATERNS 1
1) What is a pattern? Explain the
model-view-controller design pattern for software architecture, with OMT
diagram.
2) Describe the categories of patterns.
Give the difference between patterns and methods.
3) Explain communication patterns.
4) Explain management patterns.
5) With a neat diagram, explain the
dynamics of client: Dispatcher server design pattern.
UNIT
VIII; DESIGN PATTERNS 2, IDIOMS
1) Define and explain the steps to
implement a forward receiver design pattern.
2) Explain the publisher-subscriber design
pattern.
3) What are idioms and style? Explain with
help of an example, a style guide idiom.
4) Write the steps to implement the counted
pointer idioms.
5) Explain the command processor design
pattern.
6) Why view handler design pattern is used?
Explain the scenario of the view handler creating a new view.
ASSIGNMENT QUESTIONS OF DBMS
UNIT
1
1.
Briefly discuss the advantages of using
DBMS.?
2.
Explain the components modules of DBMS
and their interaction, with the help of a diagram.
3.
Discuss the main characteristics of the
database approach and how it differs from traditional file system.?
4.
Discuss criteria used to classify
database management system.?
5.
Explain the differences between logical
and physical data independence.?
6.
Discuss the various components modules
of a DBMS with a neat diagram.?
7.
Briefly explain the advantages of object
oriented systems.?
8.
What is DBMS.? Explain the implicit
properties of DBMS.
9.
List and explain Actors on the scene in
database.?
UNIT 2
1. Define
and explain a partial key with an example.?
2. What
is meant by recursive relationship.? Bring out the importance of role names in
recursive relationship with an example.?
3. Define
datamodels ,schemas and instances with examples.?
4. Explain
DBMS interfaces with examples.?
5. Explain
in detail component modules of a DBMS and their interactions in detail.?
6. List
and explain database system utilities in detail.?
7. Explain
client-server architecture for DBMS with an example./
8. What
is the difference between procedural and non-procedural DMLs.?
9. What
is the difference between two tier and three tier architecture for DBMS.?
10. What
are the difference ways of classifying a DBMS.?
UNIT 3
1. Explain
the main phases of database design with a neat block diagram.?
2. Explain
different types of attributes with examples.?
3. Draw
and explain ER diagram for hospital database.?
4. Explain
the following terms with examples
a. Entity
type
b. Entity
set
c. Key
d. Value
set
5. Explain
relationship degree, role names, and recursive relationship with examples.?
6. Discuss
constraints on relationship types with examples.?
7. Differentiate
between total and partial participation with examples.?
8. Explain
the notations used in ER diagram with examples.?
9. Draw
an ER diagram for a banking system.?
UNIT 4
1. Explain
the sytax of create table command with an example.?
2. What
is SQL.? Explain the different types of domains in SQL.?
3. Discuss
referential integrity constraints with examples.?
4. Explain
the following commands with examples.
a. Alter
b. Drop
c. Create
5. Explain
the SELECT-FROM- WHERE structure in detail.?
UNIT
5
1. Discuss
the problems in droping a table.?
2. What
is embedded SQL.? With example explain how we can fetch and display records.?
3. How
does SQL allow implementation of the entity integrity and referential integrity
constraints.?
4. Explain
database stored procedure in detail.?
5. What
is functional dependency.? Who specifies the functional dependencies that hold
among the attributes of a relation schema.?
6. Define
first , second, third normal forms by taking an example.?
7. What
is meant by the attribute preservation condition on decomposition.?
UNIT
6
1. Discuss
the null value and dangling tuple problems.?
2. Define fourth normal form. Why it is useful.?
3. Write
an algorithm to find a minimal cover for a set of functional dependencies.?
4. Explain
any two informal quality measures employed for a relational schema design.?
5. Discuss
the minimal set of functional dependencies.?
UNIT 7
1. Given
a relation R with four attributes R={ A B C D} and the following FD identify the candidate keys for R and the
highest normal form.
i.
C->D,C->A,B->C
ii.
B->C,D->A
2. Define
multivalued dependency.explain 4NF with an example.?
3. Which
normal form is based on the concept of transitive functional dependency.?
4. Explain
with an example the decomposition into 3NF.?
5. Explain
in detail Boyce Code normal form.?
UNIT 8
1. Explain two phase locking protocol in
details.?
2. What
is transaction processing.?explain the ACID properties of transaction
processing.?
3. Discuss
write ahead log protocol in detail.?
4. Explain
the temporary update (or dirty read) problem.?
5. Explin
how two phase locking protocol guarantee serializability.?
6. Explain
the problems that can occur when concurrent transactions are executed with
examples.?
7. What
is serializability.? How can serializability be ensured.? Justify your answer.?
8. Write
a short note on]
a. Deadlocks
b. Aries
c. Multivalued
dependency.