Network Security Class Test Questions
Network Security Class Test Questions
II Semester, 2021-22
Network Security (ECS-362)
I Class Test
Time: 1 Hr 30 Mins. Max Marks: 30
Note Attempt all questions.
1. Describe all steps encryption and decryption in S-DES with appropriate example. (5)
2. Describe security services, mechanisms and attacks. State X.800 standards. (5)
3. (1) How encryption and decryption are performed in playfair cipher? Explain with (5)
suitable example.
(II) Differentiate mono alphabetic and poly alphabetic ciphers with example.
algorithm.
applications. 2 (2.5)
Theorems with their
Describe Fermat's and Euler's
(b)
certif+cate scheme. 2 (2.5)
Explain distribution of public-key using public-key
(c)
Or
of the following:
Q. No. 5: Attempt all parts IP Sec. How 5 (05)
of Security Association (SA) in
(a) Explain the requirements and tunnel modes in IP Sec
Authentication Header (AH) is used in transport
protocol?
the various services are 5 (2.5)
Web Security. What are
(b) Enlist the various components of
being offered by secure
socket layer (SSL)?
and its mitigation? 5 2.5)
(c) What do you mean by web security threats
Or
y mx +c (10)
Date of showing evaluated answer books: 25/06/2022
No. of Printed Pages: 02 Roll No. 0 s U s o
***********************
1
Q. No. 4: Attempt All the Questions.
CO4
Give the mathematical description of Bezier curve with respect to blending (05)
Aa) function. Explain the properties of Bezier
curves CO4 (05)
(b) Explain the Z-buffer algorithm for hidden surface removal. List the advantages
and disadvantages of Z-buffer algorithm.
(a) Explain diffuse reflection and Specular reflection. Give the illumination model COS (05)
that incoporate these reflections.
Write short notes on the followings: CO5 (2.5)
b
i ) Multimedia
i) Animation (2.5)
HARCOURT BUTLER TECHNICAL UNIVERSITY, KANPUR
EVEN SEM, I MID SEM EXAM, 2021-22
COMPILER DESIGN (ECS- 352)
CLASS - I CSE/IT ([Link])
TIME:1.5 hr
MAX MARKS:30
Note: Attempt all questions .
1. Explain all the phases of compiler in brief.
2. Explain the Context-Free Grammar with example. Also state the difference between Left Most
derivation and Right most derivation with proper grammar example.
3. Write a Short note on LEX compiler and Bootstrap compiler.
4. What do you understand by parsing? Name the types of parser. Also state the comparison between
Top-Down parser and Bottom-Up parser. 3
5. Perform the following operations as asked in the questions.
Find no of tokens in below program.
#includesstdio.h>
main)
int i: 12
int #pi = &i;//parent pointer 9
36 3
scanf("%d",pi); 26
printf(od\n", it5); 3
36 recursion. 21
i) Consider the following grammar and eliminate left
E E + T/T
T Tx F/F
F id
Do left factoring in ihe foliowing graminar.
S aAd/aB
A a /ab
Bccd/ddc
Calculate the first and follow functions for the given grammar. [21
iv)
S>(L)/a
L » SL'
L',SLlE (21
into unambiguous grammar.
Convert the following ambiguous grammar
RR+R/R. R/R* /a/b
where *is kleen closure [Link] concatenation.
6. Explain whether the given grammar is LL(1).
S->A la
A ->a
OR
1.
Design a FA from given regular expression 10+(0 +11)0*
**** All The Best****
Date
of showing evaluated answer hooks: 08.07.2022
No. of Printed
Pages:
02 Roll No. 19OouOO.
HARCOURT BUTLER TECHNICAL UNIVERSITY, KANPUR
II B. Tech. CS/IT End Semester Examination
Even Semester (V1), 2021-22
ECS-357: Compiler Design
Time: 2:30 Hours
Max. Marks: 50
Note:- 1. Attempt all questions.
2. All questions carry marks as shown against them.
Q Question CO Marks
No.
1. Attempt all subparts of this question.
(a) Describe how various phases could be combined as a pass in a compiler? COI (05)
) Write short notes on following
(i) Lexical analyzer
CO(05)
(i) Boot Strapping
2. Attempt al subparts of this question.
(aHow a grammar can be termed as ambiguous? Determine whether the following CO2 (05)
grammar is ambiguous or not
SaSbS|b SaS|
(b) What do you mean by Tokens? How many tokens are present in the following CO2 (05)
expression?
intnum;
printf ("i= %d, &i =%x", i, &i);
(a)What is an activation record? Expla how it is related with run time storage CO4 (05)
organization?
(b What do you mean by intermediate code
generation? Explain Quadruples, triples CO4
and indirect triples. (05)
5. Attempt all
subparts of this question.
(aExplain in detail about Loop optimization techniques with proper examples. COS (05)
(b)How a leader is
determined in abasic block? Draw a flow
graph of the following CO5
code. (05)
2 b= 15
C
E J,
3
in COi, CO3
(bDifferentiate Aggregation and Generalization relationships
between
where both relations
Classes and objects diagrams. Give an example
coexist in a class diagram.
services?
in CO5
(b) What is a thread? How do threads behave in Java? Write a program
Java showing the action from three threads using a suitable example
OR
What are the various approaches to connect Java programs to a
database? Explain any one approach in details with the help of a
suitable example.
2
Harcourt Butler Technical
University, Kanpur
[Link] CSE (3d Year)
Mid Term Exam (Even
Semester), 2021-22
Object Oriented System (ECS- 354)
Q3. Define UML and explain the concept of things in UML building blocks. [3]
books: 30.06.2022 DY 0
Date ofshowing evaluated answer Roll No. . 0/
'*******'*****'**. ***
No. of Printed Pages: 02
1
COS (05)
(b) Wpie short notes on:
Fitness Function
(i
G Rank Selection
OR intormation
in image processing,
Explain the use of evolutionary computing
web.
retrieval, computer vision and semantic
2
lays after exam
evaluated answer
booKS:
I
Roll No...0ou 00 **
Date ofshowing *'*'°***°***
No. of Printed Pages: 01
BUTLER
TECHNICAL UNIVERSITY, KANPUR
HARCOURT End Semester Examination
Define Knowlelge based System. What are different types of knowledge? |5]
A3. Define fuzzy, urisp and rough set with an example. [5]
A5. Explain diffej ent types of operations performed on fuzzy sets by taking an example of
each. [5