B.Tech 6th Sem Sessional
B.Tech 6th Sem Sessional
B.Tech 6th Sem Sessional
, Y
~11 \ 1'
c, l\.'l.l\1. 40
'-- plier Design PC-CS-302A
n ~{. l ii;. compulsory. Attempt any one question from Q. No. 2 & 3.
Marks co BL
il\!1 co11struction tools. 5 cot
- ~tructun: of u Compiler in detail. Illustrate how object code will 15 COl 2
_e d .... ,eJ f1r : :- ou.rce code A =B/C+ C*D+ 25 using various phases of
• er. \ here A, B, Care of real e.
COl
....
_
· t J exical Jnal: zer? Discuss the design and construction technique of 10
zer
!luv. ing ammar: S -> SS+ I S -> SS* I S -> a 10 I co~ 3
on the strin aaa*a++
~-
r expres!:>ion (a+b)* aha. Now convert it to 10 I COl
<.._) 1 (b ). Discuss t\~e need to remove left recursion from a grammar? Eliminate left 10 CO2 2
recursion from the following grammar: .
E -> E+T IT, T-> T*F IF, F-> (E) I id
-- Q2. Consider the following grammar: 20 CO2 3
s -> (L) I a
L -> L, SIS
I. Con::;truct the predictive parsing table for the grammar.
ll. Checl· v-. hether the grammar is LL (1) or not.
lll. Check whether the string (a,a) is accepted or not.
Q3. Prepare a c.monicnl parsing table for the following grammar 20 CO2 3
S _,, Aa I bAc I de I bda
A __,, d
p,11 ::;e the input string "bdc" using the above said parsing technique.
BL- Bloom's T xonomv Levels: (1-Rem< mbering, 2 -Understandmg, 3-App!ymg, 4-Annl ·sin S-E\'11luatin g , 6-Creatin g)
PA:\IIPAT lNSTI Tl ,TE OF E:\GIN EERIN G AND TE(
H'.'\O l oc,
SESSI ON AL - I (MAR CH 2023)
Brnnch Stm C ~f. f.th Srm
Subjc ct(odr : Comp uter t'llet\11 orks, PC-CS -304A
Note: Attempt 111) t"'o questions. All questi ons carry equal mark..~.
lo. No. I
Questions
lI Ex lam the SO 0S1 Refe rence modd .Diff erent iale
betw een OSl and
1--2_(__a___)_1--pe ·- - - ous Network Top olog ic~ _ _ _ _
_ _ _ _ __
b, Ex sion Media.
t-3____a___-+--D_c , _ uc and compart! Circui1 Switchmg . Pac
..__l_b....._.__.._D_i_st_ingui.§t, dif ~:[!_e of cumnu n tw sin detail.
l'ANIPAT INSTITUTE OF ENGl~EERING AND TECHNOLOGY
SESSION AL - 11 (Ma) 2023)
• .rnch Sem: (!'\E 6th Sem T.T. l½ Hr.
1. L DJt'rLCodr: ColT"puh:r Nernorks (PC-CS-304A) M.M.~O
'\, te: Attempt any two questions. All questions carry equal marks.
GJ l\ Questions Marks co BL
I I j,1 ,md e-~pl..1in errM detec1ion and correction methods in depth with appropriate
exampl.!s.
lnm arc Hub. S\,itch and Router.
20
10
CO2 I. 2
CO2 ➔
E. xplain tht: Sekcli\ e repeat ARQ Protocol. 10 CO2 .:;
>------+
I, Lnt1f~ and Jiscuss different classes of IP addresses. 10 C03 6
~-'----+-\ -,pl) h... con ... ept tir :..ubnenmg to solve the problem for IP address with slash
1
, ,, lio, :216 21 5.0 27. Determine all par:imeters relating to subnetting i.e. subnet 10 COJ 3
..__ _ __.!_nu ,k.. r umber of s.11bnc:ts and network ranges (sub,ets).
- -CSC
Br.. nch-Sem:
- - - 6 sem
SEC:A.B,C T.T. 1½ Hr.
,ubJ ert Code: l nh Linux Programming (PE-CS-S314A1 M.1\1.40
--------
~•,ote \ttempt an~ two questions. All questions carry equal marks.
- - - · - - - - - - - - --------------,-----
Q.
~o. - - - - - - - _ _ _ ____,Q~u_es_t_io_D_<li_ _ _ _ _ _ _ _ _ _ ___..;,...__\_fa_r_k.:;_s+1_c_o--'--r.:C...B=-L
1 (a\ Explain architecture of Lmux S) stem. IO COl 2
-(b)- L ~, drious comprr.s.sion and Jecompr~,sion _ommands and difierentiatc 1
10
1
CO2
!4
rl,e_m_.____
____ j j
2 (a) } 11:.lStrdte "ith example reglllar expres::, on. pJttem and S)ntax.
lO
ti COi
CO2
2
3 (a) • 10
proc<: \ r \ ith exa-nple ______ ______ COi 5
_ (bi -fx m.ne .,r;p ~grep and - n,p b~ gh i g _be -x m, e.
0 :11 _ ~ -10 I~
Bl - Bloom•~ TaxonQm} Le,els: (J- Rt:mem~ering. 2- lnderstanding, J -Appl) ing.
_:_-_Anal) ~mg, 5 - [ '_!lluat~n~6__::_ Creating) __ _ _ ___ j
,'\ '\ t l'\~l l l l n or l''\l;l~ lTl~l "\(; \~H l'FCll NOl ()(;\
~F~~lO~ \l. II l~1 \ \ ~01.\ 1
T.T.l 1 Jllr
Se'
:\l.~l. . I()
l '\ l m· '- Pn,~, mHnrn ~ 1,rl·-( ~-~Jl.: t \) --- ~
, \ t pt , I'\ o qi ._,,.t10111<. \II ~1u,·~lH'Il" "' u r~ t.'(_p, tl 111.irk,.
Qut.•-.tions Mml..s co UL
J 1.''\.l"l,1m in ,kl.,1b ,1t,,,ur , .11 it'll'-- lipti,,ns ll$l' I
10 co..; t
10 I <.'04 1
10 J
3 lfl
h 10 (O.:J
,, lh ( 1. nd -..· dlr .. t) ,n 1111.:111-11) 111.111.\l),1..'11J1.•11t J
BL- rnnom) Ir, ch: ( I Ri'rut•111lu•1 mg, 2- f lutf1.•r.. t11ntliug, 3 \ppl~ iug,
4- F, alu trng. 6 - t fl' 1tin'!)
PANIPA 'fJNSTIT lHE oi,~ ENGINEERING AND TECHNO LOGY
uestions Mark!. co BL
i(a) Ex.pl in Bas~c Computational models in computer architecture.
IO COl s
(b) Clasc:ify Paral\el architecture according to the parallelism achieved by them. 10 COi 4
E~pla.in the principle of pipeline processing and its performance measures. 5
I
or
Relate between programm ing languages and parallel architecture.We have 2 designs Dl
iu d D2 for a synchrono us pipeline processor. Dl h~ 5 stage pipeline
2(a) with execu \On time
of 3 ns, 2 ns, 4 ns, 2 ns and 3 ns. While the design D2 has ~ pipeline stages each 1ith 2 \0 COl
e~ ..ecution time. How much time can be saved using desigr. D1 o·w..t tfosig.s.(°D1 for
2.5
e> ecuting 100 instructio ns?
(b)
L' t the dependencies between instructio ns. Explain Data·depe ndency by using suitable
examptt:. 10 COl l.2
- -- PANI P.AT INSTITUTE OF ENGINEERING A1"D TECHNOLOGV
SESSIONAL 2{Marz 2023}
B i-aocb / Sem: CSE 6TH sem ·-
1
L
4
suitable c.~mp1e.
/ - -- - - --•
, PANI PAT
PAN IPAT INST ITlJ'I E OF ENG<;. AND TRCH NOL OGY
Bachelor of Technology (Computer Science & Engineering)
Q.
Ques tions __ f Marks I CO [~L ,
No.
I XPI AIN COM MUN ICA'I ION
1, Pl<: OF COf\t MUN ICAT ION.
AND
JO
---t 6
I 2]
3
_ ----1
t\ND FXfR APER SONA L COM MUN ICAT ION?
l:.XPL AlN rl!E:, IMPO RTAN CE /\ND ROLE OF
IO 6 5
COM Mt~I CAT lON IN OUR UFE.
_ _ _ _
BL - Bloom's Taxonomy Levels
_ /
\
I,_ _ _
_ __ _ _ _ _ , . _
1- Remembering,
, l lnderc;.tanding_
1- Appl ymg:
4 Anal/zE1g,
5- J:valuating.
6 - Creat ing
l ,m e i l ll J O :\Ji n.
ns.
'l'T E: Att em pt any t1,o questio
--
ri. Questions Marks / co B!:___J
~o . IN
I
AL L BARRJERS
TH E 10 1 I
EXPL i\ I~ . I
l (a) I CO M\ 1FN 1C AT JO N'? DEFIN
E WI TH EXAMPLES
,
- - - --
.1:XPLAIN THE OB JEC TIV ES
AN D 10 I ."' ;
OF COM1vIUNICATION.
l
l (o) 1 CH AR AC TE RIS TIC S
AN D ITS ROLE IN DA Y 2 :,
) l DEHNE PE RS ON.ALITY 10
2 (a
.!(bJ
i
TODAY LIFE?
!
PLACE?
OU P DISCUSSION
.
.:.. -;
1\ QI r Ti fF \ ff :\ '\Jl ~G OF GR
AN O WH Y lT lS CO ND
UC TE D?
US DO 's AN D DO N'T s OF
10 .----- --- 4.
J
- c- l
.
3(b )
\l1r HA 1 AR E TH E VA RIO
GR OlJ P DIS CU SS ION ? EX
PL AJ ~ WI TH TH E 1--lELP 10
!
I
I
➔
(
I
·"
I
OF I::,XA. \1PLES. - '
I
BL - Bloom's Ta xo no my Level
s 7
~ · ne mh trin ~
2- Un<le1 tanding,
3- Ap p!, in~
4- Analy1ing.
~- l~v,tluotrnr
() - ( r, tin~,
CO - Co urs e Ou tco me