hollistic exam electrical and computer engineering bdu

6
,~" l :i,:,~·., ;: . ",:. p.- t I , ,_ ~.,'ar. ,!.'-t" - . ~ ' .A. Define the term 'programming language' and classify programming languages into possible categories. B.List putthe procedures you follow to solve a given 'Jrogramming problem. , ' C•. Very Briefly define the following terms: :.! ," '0 ' ()bject, Class I inheritance and Polymorphism ~_'. T' I ... \: D. Draw Compile and Run steps of a c++ source code as well as Java source code [Note: i:!:,~,;" .. ·l.:,.,;tj!:-,:.'·i". ,: ", The diagrams have to be la,qeled 9Ppropriately]. ' ~ i ,.~/~~/.~ (Ii 'i/.-: ".)_)' I . m ~ c ' I" ( is c ". ,'; ( t :,'J" I .-! HH.h.", ~~, ;' \' '- A. Cre~te a Rectangle class, This class stores only the Cartesiclrl coordinates of the four " -'. I I , corners of the rectangle. The constructor calls a se', method that accepts four sets of '. coordin~te~ ~nd :verif'ies' th~t each of these is in tr,e first quadrant. The set method . 1 1 ;' <, . . i' _ !.: r'" - I)' )! '. also verifies. that the supplied coordinates specify a rectangle, Provide m'2~:hods t{ calculate 'th'eleng:!':' INidt'h; perimeter and are;::, :nciude no argument and defaLiIL . ·i. ',: , l' . . I .' '; .' ;~ -; , ,' . . : a,rgument c9ns.tructJrs.J(l'y~ur definition. Write a program to test class Rectangle. , ., ..' , '_I.:.. "_ I,. I , . , : '::. : i , ., , , ; ~ _ 1 :"'\' .... i ~ , . ,;"",~iiI Ji#..;;r,:Ji/J J/;'~'" ~ (Recommendep Time 20Min] B. Create a ,d.ass ,SquJ\e" by using the Rectangle class yOll definerl in the abovI; , ','; '. J ",. , question. Write J ;Jroi5l<lil: to test class Square. "'1.- _, ',i" "">., [/!.p,.p,HedElectronics I & II, Electrica! Materia!s and Technolog'lJ .'~ '. ~'.;' '. . .'-' : .' . ;,\ i' ill. How do you classify Sc:nilcOnclUltar ,,-,aterials 2S intrins;c ;tnc! (?xtrinsid m. Explain how dep!e:ion 12'ler of 3 pn junction is very in~;)OrLJnt in the characterization of fJlOperties 0: electronic devices, 03. Write the factols rh;,l "ffr)Cl the de gain of ;J ~~ilJ)pic' i',n ,ind shm.vth:lt 'or .; Darlington pJir th(' i~,lif1 is I~i\'rn by 0('f':: 0J0.'+ 0, I I~ ,V'Jill'II' r)~ i', tilt' I~,lil' (jf Ir\(' ,.. first transistor JIIC; G, j.; t:)(, t~;.ll:1of the secone! tlarisi,:tOI. ~ :'1. A~I lJ~ I ~,' ,.,;;:;:.:;:;:,::l;;;;;::-;~;;!~:;~~?:;:--'~';;'i:P:~lW:=~-b:-:;:;~::;.:;'!,-.J .'

description

this is holistic exam which was prepared for 4th year electrical and computer engineering in the year 2003 EC.

Transcript of hollistic exam electrical and computer engineering bdu

Page 1: hollistic exam electrical and computer engineering bdu

,~"l:i,:,~·.,;: . ",:.p.- t I, ,_~.,'ar.

,!.'-t" -

. ~ '.A. Define the term 'programming language' and classify programming languages into

possible categories.B.List putthe procedures you follow to solve a given 'Jrogramming problem.

, ' C•. Very Briefly define the following terms:

:.! ," '0 ' ()bject, Class I inheritance and Polymorphism~_'. T' I

•...\: D. Draw Compile and Run steps of a c++ source code as well as Java source code [Note:

i:!:,~,;"..·l.:,.,;tj!:-,:.'·i". ,: ", The diagrams have to be la,qeled 9Ppropriately]. ' ~ i ,.~/~~/.~ (Ii 'i/.-: ".)_)' I. m ~c ' I" ( is c ". ,'; ( t :,'J " I .-!

HH.h.", ~~,;' \' '- A. Cre~te a Rectangle class, This class stores only the Cartesiclrl coordinates of the four

" -'. I

I , corners of the rectangle. The constructor calls a se', method that accepts four sets of'. coordin~te~ ~nd :verif'ies' th~t each of these is in tr,e first quadrant. The set method

. 1 1 ;' <, . . i' _ !.: r'" - I)' )! '.

also verifies. that the supplied coordinates specify a rectangle, Provide m'2~:hods t{calculate 'th'eleng:!':' INidt'h; perimeter and are;::, :nciude no argument and defaLiIL

. ·i. ',: , l' . .I .' '; .' ;~ -;, ,' .

. :a,rgument c9ns.tructJrs.J(l'y~ur definition. Write a program to test class Rectangle., ., ..' , '_I.:.. "_ I,. I , •. ,

: '::.: i, .,, ,

; ~ _ 1

:"'\'.... i ~, .

,;"",~iiI Ji#..;;r,:Ji/JJ/;'~'" ~

(Recommendep Time 20Min]

B. Create a ,d.ass ,SquJ\e" by using the Rectangle class yOll definerl in the abovI;, ','; '. J ",. ,

question. Write J ;Jroi5l<lil: to test class Square.

"'1.- • _,

',i" "">., [/!.p,.p,HedElectronics I & II, Electrica! Materia!s and Technolog'lJ.'~ '. ~ '.;' '. . .'-' : .' .

;,\ i'

ill. How do you classify Sc:nilcOnclUltar ,,-,aterials 2S intrins;c ;tnc! (?xtrinsid

m. Explain how dep!e:ion 12'ler of 3 pn junction is very in~;)OrLJnt in the

characterization of fJlOperties 0: electronic devices,

03. Write the factols rh;,l "ffr)Cl the de gain of ;J ~~ilJ)pic' i',n ,ind shm.v th:lt 'or .;

Darlington pJir th(' i~,lif1 is I~i\'rn by 0('f':: 0J0.'+ 0, I I~ ,V'Jill'II' r)~ i', tilt' I~,lil'(jf Ir\(',..

first transistor JIIC; G, j.; t:)(, t~;.ll:1of the secone! tlarisi,:tOI.~

:'1.A~I

lJ~ I~,'

,.,;;:;:.:;:;:,::l;;;;;::-;~;;!~:;~~?:;:--'~';;'i:P:~lW:=~-b:-:;:;~::;.:;'!,-.J.'

Page 2: hollistic exam electrical and computer engineering bdu

'gj. Draw the transfer function of an enhancement n-channel MOSFET and explain th'e

different regions briefly.

" !I

j !I

.j'.:: .

~. How do you explain band gap theory of solids and how it enables us categorize, ~

materials?

.Q2. Define work function of solids and its importance in explaining the properties of

materials~:', i, .

~::' i gz:Explain briefly how temperature and concentration affects the conductivity and

'.' ····F~rmj levels of semiconductor materials. (Support your explanation with schematic

'diagr~ms.)

',Design an op amp circuit that implements a 4 bit digital to analog converter (DAC)/'

"i i.·,' VJith the. following specifications. The circuit accepts a 4 bit input binary word

\\lb3b2b1bo where v31 v21 b1 and va take the values of 0 {O v) and 1 (+5 v), and it

,. \('provi.ies ananalog output voltage va proportional to the value of the digital input,

.The voltage output range is from 0 to 20 V.

You are required to show t~le output voltage in terms of the irlput bits h:;, Ul.1 Ij .

.and bo and the value of the resistor's LJsed must lj,::, ,=stir.;atcc~.

<J;.:- ;

\!.. ' Part ,"" ,[20 ptsJ [Recommended Time 30Minj'~'..•....

.•.. , . ~!J.J,

[Signal & Systems Analysis, Network Analysis g, Synthesis and Digital Signal

, Processing],->

.Q...L Obtain the fundamentai pellod of the sign::1 xdu c-; l'->:; .

.Q.bWhat wouldbe the Fourier transform of tf',:: unit step signa! flir I.i I

Ql:. Determine the DTFT of the signum funcic':i- ,:U(!i I.

~ An input signalr(Il). i !. : : I h2S I)('(:f, p,ls<;ed through rho::: svSccrn ddi"cci 1)\/

, h(lI) = [I, 2, 1.J. Find the: co:w,)iuted output :lli). Considpr the p~ocess is t.inder t}-;e~linear convo!utior setu il.

. ' ':.1 " ,

Page 3: hollistic exam electrical and computer engineering bdu

· a) write the truth table;b)draw the logic diagram.

91.:,' DesIgr13 4-bit shift register with serial input and seria I output and show'the timing

,I: . (:. : diagram for a high and low serial input(Hint: you CJn use D latches),

Determine the 8-bit va lues in each register after the execution of the following

sequence of microoperations:

CR ~~RI\DR, [3f~~ i31\~ 1 ;AND D,R to CR, incrcli1crH 81:

Q&.A computer uses R,L\M c~ips of 1024xl capacity. Dete":i,i~e the number of chips

required and how their address lines should be connecccJ to provide d memory

capacity of 1024 [J','t(,,; (,[so, determine the typro r111:11ber r,: pins npeclecl for (':1(11 iepackage,

Page 4: hollistic exam electrical and computer engineering bdu

{Introduction to Electrical Machines]

. .Qb. Descri~ the distinction between the following electrical terms:

a) Salient and non Salient pole generators.b) Squirrel gauge and slip ring rotor machines .

.' c) Synchronous and Asynchronous machines.,d) 'Single phase and three phase transformers .

.Qb·Give a necessary labeling for the following diagram and sketch its equivalentdiagram

Fl.(N~ I"(.(."I~I.---...

-,'

j~~~~~eJlr~·l~:~~~~~·";·~If ' ~~·,o;::..<~-i:'i~·,,<.'?J'~"~~~kl'I:: "'I:~.~. ..) ~'L/iin-".r"

\ 1-1.- }!J,: r-o f:

.~~::fj- f

~~:~>-:-"'J.t(~f'(~ i (I--

Part VI;"'l

••• i • (Introduction to Communication Systems]

'-Ql.~/

a)

b) A superheterodyne receiver designed to receive frequency' O,Flc! Of(lLO 20 f'J1Hz

with IF frequency of 455 KH z, ","'-i. ,VI/hat is the r:lnp,c of freGuencies gener'e,ted by the hcal oscilletor fcr this

ii.i)ctermine thr /l1!niI11LJf1I ()nrl nlClxirrlllnl rJtio of th(\~r;lpJcitor Ii) the

j4i -~ \

'. ~

\.+ 1\,"\ ;:J .'-~ .

((0( .J •• -' I r1

Page 5: hollistic exam electrical and computer engineering bdu

..' t· " •( i,.; \; I H )~\

a) An Angle modulated signal with carrier frequency CJ)e

described by the equation

<1>(t)= lOcos ((De t+ 20 sin 1000 1rt+ I 0 sin 5000 nt)

1. Find the power of the modulated signal11. Find the frequency deviation'" f

"~t

b) A signal b9nd limited to'0:5 MHz is sampled at the rate S~~ higher than theNyquist. rate and quantized into 2S6 levels using a· J.l-Iaw quantizer with

/1=255. ~ {...+-L"»)"JLI:~~'}v~ ~ 0 I )~1 L {tel';:

--f...:t:\J11rf:;-U I .• ~r _../'i. . Determine the SQR.ii. Also determine the"transmission bit rate.

I [Electromagnetic Fields]. I 1.'_." .

-- oj I••..'j

1~The point charge Q = 16nC has a velocity of v = (0.2ax -a..Soy + 01) xl06 m/s.". Determine the force exerted on the charge by the fieldI

'. I...' ~ ' .

.: ! .' a) E= -6ax + 8ay + 12.0] kV/m

..' .b) B = -6ax + 8ay + 1201 mT

c) EandB acting together

'. ,~I

["·1': !; I

". I\ I; .,.'/::·1 .. :-.,: . ~.'-.,....

R1 R2,-J\/\.I'..-_ - .._ - -_._-- .

.,.-/ I

I:::;:: C 1

II

( ~R3- J <.:) .

I I,-' C'? I

t - --: ~ l

.. (,__Eo..-j, 'rz- •.. , . I

I L~ 4.'

j: 'll \ \ "- • o~ _ •• __

Page 6: hollistic exam electrical and computer engineering bdu

a) Determine the range of k for stability;

b) Find the point of root locus with jw -axis.

c) Draw the bode plot for marginally stable value of K (magnifude plot only).

dj Find steady state error for the step input with magnitude of 10 of the transfer/ . .fUIJction and draw rough sketch to show the error.

·;7:·:·:U;:':fiiir}:· ".' - -. :.: '~'."~ •• < •••••••• ~ •••••• ", '",. ,- , ••••• ,- ••••

'.' - ~.-. i i

/' /.

IIj

1I

[-r-~.,<

.:....-~---..,._--_._-_._ .. - -~-_ .•.-- ------'''---_ .. -....:......._.----=-..:..~~ .._----