You are on page 1of 6
COMSATS UNIVERSITY Department OF Computer S Quiz#t Reg i: Date: are 2021- Max Marks: 2 ul c ce Runtime is Known 1 cose attgestnocoe guage Rutt oe oO 4 inmanaged Code jp, Legacy Code janaged Code D Native Code Sch ofie falo root ofthe NET type hierarchy? — 2 fem, Object C. SystemParent —D. _System.Rool a a sa vironment. — ier isa pst ofthe runie oN ecution enV fg. aeampiersa is Ow aap a be more prefered for soringa simple number Hike 35,0 improve execution speed [— 7 Whi ul ofaprosram? ry cm a short sbyte : — ‘nhatis CTS in NET? jes concerning data 1YPES Describes a set of features that = a ‘iferent languages have in comme , c oases cies D. None’ nage code for NE e ‘ 6 ae race dante esl yes the nest line ae) writeLinet...) — ¢ Rail D_ ReadLine(..) 1 ence el ieee dn BAPE oO A Do-While For -Lop © While Loor J | Fresh Lop a 8 ae ane an pe cca ow may BRENT —_ Aw Y B [16 a © wv D200 a Dig Net Framework if we have 7 prosramming languages and 3 devices, how may comp rT recs? Qa Bs LJ map « ae 10. Comparing atin rumbers ean not be done ‘Geet widtie operator 6 ‘ Va B > DF V ZL, Ti sudeureis hues type and store stack memory wile Classis €eSe_type store on Heap memory? you think Microsoft Q:2. How compil hhave taken for th Q33 Writea Program i display number odd and Even from whole array? lation are dont platform independent Develo icin Net Framework languages, What steps do pment? [4+3 Marks] a Cd which take two dimension jagged integer array from user, after that BH Mark] x) TWRexe- oe a geo Frome vs oo wers tre Se SF Ord en a hee Ch®- obo Qe » dae Tae hee ce, 7 — eet en tn ee ol < deat ste hawe = et! el Cin agent Toe See etd costa Benne) b yoo eel wr LIbt pH nen talh eee PT den 8 tos.esi] [awn 3 i (4 qow{Cemte Rese); iow (edad cunts”)? > cn sogateeg hed La COMSATS UNIVERSITY Islamabad Attock © Department OF Computer Science | Ouiailt ee lac Reg Fons oy ' jee dl: 25 minutes bee Black 202) AS } Marks: 25 bon. qacas ‘no marks will be ode that targets the Common Language ae as Unmanaged Code B. Legacy Code C. Managed Code Native Code - 8 cv ofthe Rossing >the root of the NET type hichychy? — in System TYPE B, System.Object SystemParent —D. System.Root ; 5,2 compiler is sof the runtime execution environment) — A Yes Be aa 1 yhich datatype shouldbe more preferred for storing a simple nuthber like 35 to improve execution speed ] of aprogram’? A oye B. short c. Int D. long 5, Whatis CTS in NET? Ds Defines rules concerning & a types: B. Describes a Set of features that different languages have in commo c eqaset of rules for all cohpiters to generate D- None le for NET 6 prints specified dati the console and moves fo the next line A B WriteLinef...) c ) 7 Which loop is, re usefull while iterating data in Arrays A Do-While B_ For-Loop While Loop | D | Foreach Loop § Signed Long data type’ cccupied how many bits in mel a8 [16 c 128 200 9 et Framework we 1 programming languages and% devices, how many compilers 4 Ws ted? a3 B wey 6 D 10 Comparing floating-point numbers can fat be done siecly with the _ operator . ie B c , i 11 Structure is ___type_ and store stack memory, while Class is type store on Heap memory? Q2 How compilation ee ot Framework languages, What steps do you think Microsoft have taken forthe platform independent Development? [4+3 Marks] es Wites Program in CH whl ake Evo dimension jagged integer array from user after (at ply number odd and Even from whole array? Bed * Nay Nove. emrade cong slet (a8) Lise exente} ance sro on fa oF fos IP Goa oes ween Conmeen) cMeser PRONE COMSATS ia 'S UNIVERSITY Istamab: B partment Of Computer Scenes ooo te: “6 ) z r Science my y Quiz#1 a hes - Rahman ee Reg #: SP19 -BE ~on& sal Programming, X ate: 1] Mare} Max Marlends nutes Qu i) j__Code that argts the Common Language Runtime is known 2s — A Una B, Legacy Code Oy Managed Code D Native Cou WW ih of the following is the root of the .NET type hierarchy”? “ ® system.Type B. System.Object C. System Parent D. System Root O 5 HT compil apart of the runtime execution environment. an @® Ye B, No LI 2 ich datatype should be more referred fo i e wi preferred for storing a simple be like 35 to improve execution speed oO A. sbyte B. short Gow D._ long — = 5. Wh zn hat is CTS in NET? Cc) ‘A. Defines rules concerning data 'yPes B. Describes a set of features that diferent languages have in comm? 6» en st oes fralleampes oA Dp. None (manage code for NE 6 sped data ote cosle nd fo the next line CI A Write(...) WriteLine(..) Jc Read D_ ReadLine(..-) 7 Which loo) «more wsefll while iterating dats in Aa¥® | A Do-While B. For-Loop While Loop | ©), foreach Looe CJ § Signed Long data ype coupied how many Bits im memo oe Me [6 oO e128” Y D 200 In .Net Framework see nave 7 progr neues ans? SS how many compilers do we Cl need? B A3 mF c 6 vO e To Comparing floating point numbers can not PE done directly swith the «operator A

You might also like