You are on page 1of 2
Save trees use e-Question Paper Go green DOWNLOAD THIS FREE AT www.viuresource.com GCS Sense us [ ] 1SCS664 Sixth Semester B.E. Degree Examination, Aug/Sept. 2020 Python Application Programming ‘Time: 3 hrs. Max. Macks: 8 Note: Answer any FIVE full questions, choosing ONE full question from each module. @ ‘Module-1 1a, Explain types of error with examples, (oars) [Explain various Names, Keywords and expressions with exarmps. (ark) Write & python program using try and except, so that your progr. handleg@pon-numesic input gracefully by printing @ message and exiting the program, igllowin shown two execution ofthe program Enter Hours : 20 Enter Rate nine Error, please enter numeric input Enter hours forty Error, please enter numeric input (06 Maris) « Soe tas — 3. a Explain while and for lo} (Zs (08 Nari) Write python programa@rtind ‘vale from the given set of eccepted values. (06 Marks) jing Wgguods in python with examples. (06 Marks) © Discuss the string h oR 4 Write « PUM pret Ie whither a given string is palindrome or not. (06 Marks) b. Explain: le the syntax of read (), write () methods fora file. (oa Marks) ©. Develop ram for ereatng a copy an existing fie. (5 Marks) Explain the difference between a lst anda dictionary. {oa stares at fis ten tes ofthe phe ten wing he slo petion do the lowing PARl te first thee letters from the list int any three letters ffom the middle int the letters fom SM leters to the end ofthe list. (04a) iscuss the lists handling functions in python with example. (03 Mlarks) of? BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS A Vturesource Go Green initiative Save trees use e-Question Paper Go green DOWNLOAD THIS FREE AT www.viuresource.com 15CS664 oR 6 a. Diffrentate between list and dictionary 3p 1b. Deine tuple, explain DSU pattem, Write a python code to doterminat tu re list of words rom longest to shortest using loops ri «Explain the need of Regular expressions in python language os Modules 7a, Explain classes and attributes in pytbon language with examph (@satais) Explain pute functions and modifiers with examples. {05 aia) 6. Write a program that uses clss to store the name and markt sis. Use listo store the smacks in thie subjects {06 Maris) on 8 a. Explain initialization method with example (oe vtarks ea which b. Write a class Rectangle that hus atributes, adth and 2 method C returns the area of the rectangle (06 marks) What is operator overloading? Write phygSan codigo load +" “—" and” * “operator byproviding the methods add_, ff subggiipd mul __. (06 Marts) 9 a, Write 2 python code for re fomeo,txt file flom the web and compute the frequency of each word in (@6 Macks) 'b. Write a note on XML. (as Macks) c, Explain with a neat diag gf Service Oriented Architecture (0s Marts) oR 10 a Describe croatiog of data byable using database cursor architecture. (08 Marks) bo Write a ing employee database, inserting records and selecting the employes Qi@eking pany. (08 Marks) 2of2 BRANCHES | ALL SEMESTERS | NOTES | QUESTON PAPERS | LAB MANUALS A Vturesource Go Green initiative

You might also like