0% found this document useful (0 votes)
20 views1 page

Mod 1 QB

ASSIGNMENT QUESTION OF MODULE 1 OF PYTHON

Uploaded by

vibob14527
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)
20 views1 page

Mod 1 QB

ASSIGNMENT QUESTION OF MODULE 1 OF PYTHON

Uploaded by

vibob14527
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/ 1

MODULE 1

1.List the salient features of Python Programming Language, Demonstrate with


example print(), input() and len() in python
2.Explain string concatenation and string replication with one suitable examples
for each
3.. Explain basic functions in Python by considering str(), int() and float() as point
of ref
4.What are Comparison and Boolean operators? List all the Comparison and
Boolean operators in Python and explain the use of these operators with suitable
examples
5.What are the different flow control statements supported in python? Explain all
the flow control statements with example program, syntax and flowchart
6.Explain different ways of importing modules into application in Python with
syntax and suitable programming examples
7.What is Exception Handling? How are exceptions handled in Python? Write a
Python program with exception handling code to solve an error situation
8.Explain Local and Global Scope in Python programs. What are local and global
variables? How can you force a variable in a function to refer to the global
variable?
9. Develop a Python program to generate Fibonacci sequence of length (N). Read N from the
console.
10. Write a function to calculate factorial of a number. Develop a program to compute
binomial coefficient (Given N and R).
11. Develop a program to read the student details like Name, USN, and Marks in three
subjects. Display the student details, total marks and percentage with suitable messages
12. Develop a program to read the name and year of birth of a person. Display whether the
person is a senior citizen or not.

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