0% found this document useful (0 votes)
36 views3 pages

Visit:: Join Telegram To Get Instant Updates: Contact: MAIL: Instagram: Instagram: Whatsapp Share

The document provides information about joining a Telegram group and contacting the author via email or Instagram to get instant updates on Python programming. It also contains sample Python exam questions and answers on concepts like functions, conditional statements, loops, strings and more. Students are advised to attempt five full questions by choosing one full question from each of the three modules listed in the paper and drawing diagonal lines on blank pages after completing their answers.

Uploaded by

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

Visit:: Join Telegram To Get Instant Updates: Contact: MAIL: Instagram: Instagram: Whatsapp Share

The document provides information about joining a Telegram group and contacting the author via email or Instagram to get instant updates on Python programming. It also contains sample Python exam questions and answers on concepts like functions, conditional statements, loops, strings and more. Students are advised to attempt five full questions by choosing one full question from each of the three modules listed in the paper and drawing diagonal lines on blank pages after completing their answers.

Uploaded by

chandu 77
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Visit : https://hemanthrajhemu.github.

io

Join Telegram to get Instant Updates: https://bit.ly/VTU_TELEGRAM

Contact: MAIL: futurevisionbie@gmail.com

INSTAGRAM: www.instagram.com/hemanthraj_hemu/

INSTAGRAM: www.instagram.com/futurevisionbie/

WHATSAPP SHARE: https://bit.ly/FVBIESHARE


B.L.D.E. ASSOCIATION'S
VACHANA PITAMAKA
R.F. GHA TT
USINCOL EGE OF ENGI FERING| 1B
LIBRARY, '
-E. Degree Examination, Dec.2019/Jan.2020
Python Application Programming

io
Time: 3 hrs. Max. Marks: 80

b.
Note: Answer any FIVEfull questions, choosing ONEfull question from each module.
Module-1
2. Any revealing of identification, appeal to evaluator and /or equations written eg, 42+8 50, will be treated as malpractice.

u
1 a. Explain the salient features of python. (05 Marks)
b. Write a python program to calculate the area of square, rectangle and circle. Print the results.

th
Take input from user. ; (05 Marks)
c. What are user defined functions? How can we pass parameters in user defined functions?
Explain with suitable example. (06 Marks)

gi
Important Note : |. On completing your answers, compulsorily drawdiagonal cross lines on the remaining blank pages.

OR

u.
2 a. Explain the concept of conditional execution alternate execution and chained conditions
with suitable examples. (06 Marks)

m
b. Write a pythonprogramto create a user defined function to find maximum and minimum
letter in string. Also find the length the strmg without using inbuilt function. (05 Marks)
c. Explain the concept of type conversion functions and math functions in python with
he
examples. (05 Marks)
- Module-2
aj

3 a. Explain the working of while loop in python with suitable example. (05 Marks)
b. Write a python program to demonstrate counting, summing and average of elements using
loops. ‘ (05 Marks)
hr

c. What is a string? Write a python program to demonstrate traversal through a string with a
loop. Also explain the conceptof string slicing. (06 Marks)
t

OR
an

4 a. With syntax and example code,explain the workingof definite loop in python. (05 Marks)
b. Write a python program to concatenate and compare twostrings. Read the strings from user.
~ i (05 Marks)
m

c. Explain fileopen,fileclose, fileread and filewrite concepts in python with example. (06 Marks)
% Module-3
he

5 a. Whatis a list? Explain the concept of list slicing and list traversing with example. (05 Marks)
b. Explain the concept of comparing tuples. Describe the working of sort function with python
code. (06 Marks)
//

c. Write a python program to search for lines that start with ‘F’ followed by 2 characters,
s:

followed by ‘m:’. (05 Marks)


OR
tp

6 a. What is dictionary? How is it different from list? Write a python program to count
occurrence of characters in a string and print the count. (06 Marks)
b. With an example program,illustrate how to pass function argumentstolist. (05 Marks)
ht

c. Write a python program to search lines that start with ‘X’ followed by any non whitespace
characters, followed by ‘:’ ending with number. Display the sum of all these number.
(05 Marks)

| of 2

https://hemanthrajhemu.github.io
15CS664

Module-4 he
Define class and object? What are programmerdefined types? Explain with example.
(05 Marks)
Illustrate the concept of pure function with pythoncode. (05 Marks)

io
Whatis the difference between method and function? Explain the working of init method
with suitable code. (06 Marks)

b.
OR
Define attribute? With the help of python code, explain how functions return instance

u
values. (06 Marks)

th
Explain the concept of modifier with python code. (05 Marks)
Whatis type based dispatch? Illustrate with python example. (05 Marks)

gi
Module-5
a. Define socket? Writ a python program that makes a connection to a webserver and follows

u.
the rules of HTTP protocol to request a plain test document and display what server sends
back. (06 Marks)
Whatis XML? Howisit used is python? Explain parsing of XML with example. (05 Marks)

m
Define cursor? Explain connect, execute and close command of databases with suitable
example. (05 Marks)
he
OR
10 Write a python code to read the file from web using urelib and retrieve the data of the file.
aj

Also compute the frequency of each wordin thefile. (06 Marks)


Whatis JSON? Illustrate the concept of parsing JSON python code. (05 Marks)
Explain the concept of using JOIN to retrieve data in python. : (05 Marks)
hr

7 OK CK OK
t
an
m
// he
s:
tp

2612
ht

https://hemanthrajhemu.github.io

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy