We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4
Time: (2 Hours 30 Seconds)
[Total Marks: 75]
N.B.: (1) All questions are compulsory.
(2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same questions must be written together. (4) Numbers to the right indicate marks. (5) Draw neat labeled diagrams wherever necessary. (6) Use of Non-programmable calculators is allowed.
1. Attempt any three of the following. 15
a. What is variable? What are rules to define variable in python? b. Explain Features of Python. c. List type of operators in Python. Explain Arithmetic Operators with examples. d. List conditional statements in python. Explain if-elif-else statement with example. e. List looping statements in python. Explain for loop in python with an example. f. Explain the following keywords with example. (i) break (ii) pass
2. Attempt any three of the following. 15
a. What are functions in python? Explain with syntax and example. b. Explain any 5 String operations with examples. c. Create and invoke function to print the factorial of a number entered by the user. d. Create a function that checks whether number entered by user is prime or composite. e. Create a function that accepts list of numbers as parameter and prints their sum. f. What is recursive function? Explain with example.
3. Attempt any three of the following. 15
a. What is a list in python? Explain any 5 methods of list with examples. b. What is a tuple in python? Explain the methods of tuple with examples. c. What is a dictionary in python? Explain any 5 methods of list with examples. d. Differentiate : List vs Tuple e. What is an Exception Handling? Explain try-except-finally-else block with example. f. Explain user defined function with example.
4. Attempt any three of the following. 15
a. What is Regular Expression? Explain findall() method with an example. b. Explain class and objects with Example. c. Explain inheritance with an example. d. Explain method overriding with an example. e. Explain Encapsulation in python with an example. f. Explain any 5 methods of Math module in python with examples.
5. Attempt any three of the following. 15
a. Write a program to create a simple Calculator using Tkinter. b. Explain methods of Radiobutton in tkinter. c. Explain methods of tkMessageBox. d. List down the methods being used for Layout Management in Tkinter. Explain grid() method. e. Write a program to insert data into table of MySQL database using Python. f. Write a program to append some content to text file. Time: (2 Hours 30 Seconds) [Total Marks: 75]
N.B.: (1) All questions are compulsory.
(2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same questions must be written together. (4) Numbers to the right indicate marks. (5) Draw neat labeled diagrams wherever necessary. (6) Use of Non-programmable calculators is allowed.
1. Attempt any three of the following. 15
a. List type of operators in Python. Explain Arithmetic Operators with examples. b. List conditional statements in python. Explain if-elif-else statement with example. c. What is variable? What are rules to define variable in python? d. Explain Features of Python. e. List looping statements in python. Explain for loop in python with an example. f. Explain the following keywords with example. (i) break (ii) pass
2. Attempt any three of the following. 15
a. Create and invoke function to print the factorial of a number entered by the user. b. Create a function that checks whether number entered by user is prime or composite. c. What are functions in python? Explain with syntax and example. d. Explain any 5 String operations with examples. e. Create a function that accepts list of numbers as parameter and prints their sum. f. What is recursive function? Explain with example.
3. Attempt any three of the following. 15
a. What is a dictionary in python? Explain any 5 methods of list with examples. b. Differentiate : List vs Tuple c. What is a list in python? Explain any 5 methods of list with examples. d. What is a tuple in python? Explain the methods of tuple with examples. e. What is an Exception Handling? Explain try-except-finally-else block with example. f. Explain user defined function with example.
4. Attempt any three of the following. 15
a. Explain inheritance with an example. b. Explain method overriding with an example. c. What is Regular Expression? Explain search() method with an example. d. Explain class and objects with Example. e. Explain Encapsulation in python with an example. f. Explain any 5 methods of Random module in python with examples.
5. Attempt any three of the following. 15
a. Explain methods of tkMessageBox. b. List down the methods being used for Layout Management in Tkinter. Explain place() method. c. Write a program to create a simple Calculator using Tkinter. d. Explain methods of Radiobutton in tkinter. e. Write a program to insert data into table of MySQL database using Python. f. Write a program to append some content to text file.
Time: (2 Hours 30 Seconds)
[Total Marks: 75]
N.B.: (1) All questions are compulsory.
(2) Make suitable assumptions wherever necessary and state the assumptions made. (3) Answers to the same questions must be written together. (4) Numbers to the right indicate marks. (5) Draw neat labeled diagrams wherever necessary. (6) Use of Non-programmable calculators is allowed.
1. Attempt any three of the following. 15
a. List looping statements in python. Explain for loop in python with an example. b. Explain the following keywords with example. (i) break (ii) pass c. What is variable? What are rules to define variable in python? d. Explain Features of Python. e. List type of operators in Python. Explain Arithmetic Operators with examples. f. List conditional statements in python. Explain if-elif-else statement with example.
2. Attempt any three of the following. 15
a. Create a function that accepts list of numbers as parameter and prints their sum. b. What is recursive function? Explain with example. c. What are functions in python? Explain with syntax and example. d. Explain any 5 String operations with examples. e. Create and invoke function to print the factorial of a number entered by the user. f. Create a function that checks whether number entered by user is prime or composite.
3. Attempt any three of the following. 15
a. What is an Exception Handling? Explain try-except-finally-else block with example. b. Explain user defined function with example. c. What is a list in python? Explain any 5 methods of list with examples. d. What is a tuple in python? Explain the methods of tuple with examples. e. What is a dictionary in python? Explain any 5 methods of list with examples. f. Differentiate : List vs Tuple
4. Attempt any three of the following. 15
a. Explain Encapsulation in python with an example. b. Explain any 5 methods of Math Time module in python with examples. c. What is Regular Expression? Explain split() method with an example. d. Explain class and objects with Example. e. Explain inheritance with an example. f. Explain method overriding with an example.
5. Attempt any three of the following. 15
a. Write a program to insert data into table of MySQL database using Python. b. Write a program to append some content to text file. c. Write a program to create a simple Calculator using Tkinter. d. Explain methods of Radiobutton in tkinter. e. Explain methods of tkMessageBox. f. List down the methods being used for Layout Management in Tkinter. Explain pack() method.