0% found this document useful (0 votes)
6 views4 pages

python programming question paper (1)

Python

Uploaded by

prashantvr6200
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

python programming question paper (1)

Python

Uploaded by

prashantvr6200
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 4
S (@)-val 4 Oval . Rott No:-_ 28 821004 EM-IV Diploma Eyam 2023 (Even) BE 5. ; (Computer Science & Fa rincering) (Theory) (Time: 3:00 Hours} Python Proffanmiets ND ry) ann All questions are compulsory, (8¥4) 114 SATE 8 py Marks are mentioned on the right side oF eh qetion, (9 had anf ote ava Poa > Group (A) (qa -B ‘ ; Q.1 Choose the most sultable answer from the following options. f 1°20-20), wafres freed wrev feet & i hh which year was the python languilge eer srr Rea er a gor devopest (a) 1995 (b) 1972, (c) 1981 (& 1989 ii. ave ich neue ri widen 3 aberrant) ‘i “ a (a) English ona ae PHP Cia ‘ ©c ef @ All ofthe above GRE) “ma saute agente a rca 8 22) (o)key (ATA) (e) Brackets TER) © Insentiti P ONenet tne CARH, iv. wecaces tect le line comment? * s Graal firm ares ee ae, ()/ // i OH @! v. What oc mtd tog n pnd ne / (area ETH al & skew Fav aA 8? ) a (2) Object (316842) « function (FEF) © Armribuie’ ART) ——_(@) Argument (7H) | vi ee rt West AAT 67) 9 (a)-x=2 (b)--x3 (0) s+ xyz2> (@) None of these. GTS Big AGH, vil. What is the extension of python fife? cf THA PIES 1 VARTA PLS ) (») py (0) python @p (@) None of these (GA BE Th we hi vill. Which of the elloving pot a keyword in py languages. RO ara uamr wes ard 3 (@) Val Oise GH Cay GD (with ie ix, Which of the following words cannot be ble in Prafefadt a a a cama ite nea (try (@) -try- Page 1 0f 4 gee. | 471F7640845A230F7511C3438ECABO3S x. Which ofthe following operators is the Cure Reyer ere (aby? 2 bo PraHRA T BA GT IMT power (*" (@) aad ()ared anry (aneb 4. Which one of the following has the highest precedence in the expression? Raa 3 Re nena rao eA : (e) Division MTG —_(b) Subtraction (WTA) (©). Power (mfeety (6) Parentheses OYE) Ji, Which of the following functions isa builtin function in python language? Gagan 8 entrar eet MrT HE — thee By (a) Val (b) print 0 (© printf 0 + (A) None’of these (GAS arg Eh “ t 4 | xiii, Which of the following is correctly evaluated for this fiznetion? Pow (x,y,z) | HTT AY AAAS TI TO TET TMT) @aeyz ©) @/y) +2 ©) &esyymz @OGMIz xiv. ‘What will be the output of this statements >>> “t te ‘ ms (RB HT TROT TRH >>> Ha" “bo “s (a) a+b S (b)abe : 2 Oa xv. All keywords in pyttion are in” arrnteieias—Aeg) 7 ae s et: (a) Capitalized Lower case C (@) None of the mentioned. | feast Sse) Ptaca adr sees rai Ta tat era ART ”) 5 4 : Sy (8) sys.yersion(1) (&) sysversion (0) (6) sys.version (> @ sysversion xvii What wll be the ostput ofthe following python function? Lea ((“hello"2,4,6D UIE Uae &I HSCS FAT BNT) Z ye {a) Exror )6 : Pe Me) 4, @3 xix,” Whatwil be the output ofthe following python Code snippod? For in [1,234 ¢:-1h print tat ate angege eB erin .234) (nh pa) @)4321 (er ei (@) Nowe (BNE ED xx. Which one of the following is rd is Python language? ; Prater 8 wha en ea ey elt?) (@)pass () eval 5 (@) nonlocal. § (2018404) Q2 Q3 Qs Qs 6 Q7 fe Discus Sontional atement in Ferd eat in detail, (Goee oa oot ‘a see gaTe) Group (3) (gir) Discuss p} on gadis history ny GRU SR TAS ATTA TR eral wy SR (anvan Discuss the process of declaration of variables in jy Grea Ta eon a nse Discuss python name . rR Raat St? : Bite Diss he we ofl nt Sn npn Gee Fhe Qe ORME ela) Differentiate between lis an wi on CaeRrT a ah ate cueel dha ee Dis ‘the advantages f py on. ee Define slicing in pydion wit the help of Ramp — a OR (34a cane thee ees a Differentiate between locdl‘and global variables in nyton oR one = ss rad function in eae ley Group Onn: Bi) Define function ig pytton with the help of code, OR neem aa oa a sieaiea a y : RNAS cep teeta (2018404) Q8 Write a program in python to find out the maximum number in a pi ; ah arg eH GPE anew HT Ta TT 35 Fe a pan i ‘Ks OR (3ReE Differentiate between for loop and while loop.» COR AT oN arg ATA sie WATE eo oe q Q9 Writea python to swap two numbers Using function, ¢ ; ERNST SUNT OR aad oT ATTA Tercera ray. XC a Discuss different string operations with ihe help of examplesin python? >= & aT seeROT a TTA APA TMM Re ey f Q.10 Discuss the common: Built in data types in python. Raa nr PIB Ber Wee wee RD ‘ °o Write a python programi to print factorial of a number,” Caverns sCET INORG) Q.11 Write notes‘on followings 2) Module. es or ») Write function in python file, ~ mle e ») Fee & a) UR Wig A age tae) Write notes on followings. ~ WR a) Web 2py b) regex _ Page 4 of4 (2018404) : 2S 471F7640B45K230F751103438ECABO35

You might also like