Future Vision BIE Future Vision BIE


ONE STOP FOR ALL STUDY MATERIALS & LAB PROGRAMS


E MENU Whatsapp Share Join Telegram, to get Instant Updates
× NOTE! Click on MENU to Browse between Subjects...

Advertisement

PYTHON APPLICATION PROGRAMMING

[As per Choice Based Credit System (CBCS) scheme]

(Effective from the academic year 2017 - 2018)

SEMESTER - VI

Subject Code 17CS664

IA Marks 40

Number of Lecture Hours/Week 3

Exam Marks 60



17CS664 - PYTHON APPLICATION PROGRAMMING

Important Questions - MODULE - 1




Advertisement

These Questions are being framed for helping the students in the "FINAL Exams" Only (Remember for Internals the Question Paper is set by your respective teachers). Questions may be repeated, just to show students how VTU can frame Questions.

- ADMIN






Advertisement

1. Explain the salient features of python. (05 Marks) (Dec.2019/Jan.2020)


Advertisement

2. Write a python program to calculate the area of square, rectangle and circle. Print the results. Take input from user. (05 Marks) (Dec.2019/Jan.2020)

3. What are user defined functions? How can we pass parameters in user defined functions? Explain with suitable example. (06 Marks) (Dec.2019/Jan.2020)

4. Explain the concept of conditional execution alternate execution and chained conditions with suitable examples. (06 Marks) (Dec.2019/Jan.2020)

5. Write a python program to create a user defined function to find maximum and minimum letter in string. Also find the length the string without using inbuilt function. (05 Marks) (Dec.2019/Jan.2020)


Advertisement

6. Explain the concept of type conversion functions and math functions in python with examples. (05 Marks) (Dec.2019/Jan.2020)

7. List the features of Python Programming Language (at least FIVE). (05 Marks) (June/July.2019)

8. What is the role of a programmer? List two skills required to be a programmer. (05 Marks) (June/July.2019)

9. Explain the chained and nested conditional execution statements along with syntax and flow chart. (06 Marks) (June/July.2019)

10. What are Python words and sentences? Explain with an example for each. (04 Marks) (June/July.2019)

11. Differentiate compiler and interpreter. (04 Marks) (June/July.2019)


Advertisement

12. Write python programs to


I. Find largest of three numbers

II. Check whether the given year is leap year or not with functions. (08 Marks) (June/July.2019)


13. Explain the following:


I. Skills necessary for a programmer

II. Interactive mode

III. Short circuit evaluation of expression

IV. Modulus operator (04 Marks) (Dec.2018/Jan.2019)


14. Mention three types of errors encountered in python programs. Explain the basic building block of python with an example python program to display format number (Fn = 22n + 1) for a 'n' value promoted by the users. (08 Marks) (Dec.2018/Jan.2019)


Advertisement

15. Describe python language support for arithmetic operators. Write a python programs to calculate student result based on 2 exams, 1 sport event and 3 activities conducted in a college with weightage of the activity = 20% and sports = 20% for 50 marks. (04 Marks) (Dec.2018/Jan.2019)

16. List and give syntax of all python supported conditional statements along with its usage with an example program to check whether given number is positive or negative or zero. (08 Marks) (Dec.2018/Jan.2019)

17. Differentiate between argument and parameter. Illustrate the flow of execution of a python function with an example program to convert given Celsius to Fahrenheit temperature. (08 Marks) (Dec.2018/Jan.2019)

18. List the rules to declare a variable in Python. Demonstrate atleast three different types of variable uses with an example program. (05 Marks) (June/July.2018)

19. Explain the rules of precedence used by Python to evaluate an expression. (05 Marks) (June/July.2018)

20. Write a Python program to find the best of two test average marks out of three test's marks accepted from the user. (06 Marks) (June/July.2018)


Advertisement

21. How Python handles the exceptions? Explain with an example program. (05 Marks) (June/July.2018)

22. Write a single user defined function named 'Solve' that returns the Remainder and Quotient on division of two numbers accepted from the user. Print the Remainder and Quotient separately on the console. - (06 Marks) (June/July.2018)

23. Predict the output and justify your answer


I. -11%9

II. 7.7 //7

III. (200- 70)*10/ 5

IV. not "False"

V. 5*1**2 (05 Marks) (June/July.2018)



ANSWER SCRIP FOR THESE QUESTIONS WILL BE UPLOADED "AS SOON AS POSSIBLE"

Visit: https://hemanthrajhemu.github.io/AnswerScript/

For immediate Notification Join the Telegram Channel





× Note Please Share the website link with Your Friends and known Students...

-ADMIN

× Note Page Number is specified to navigate between Pages...
T = Text book
QB = Question Bank
AS = Amswer Script


-ADMIN

Advertisement