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

Assignment 2

Uploaded by

deepakpal789557
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)
16 views1 page

Assignment 2

Uploaded by

deepakpal789557
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

IMS Engineering College

NH- 09, Adhyatmik Nagar, Near Dasna, Distt. Ghaziabad, U.P.


Tel: (0120) 4940000

Department of Computer Science & Engineering

Python Programming –BCC 302 (2025-26)


ASSIGNMENT 2

Maximum Marks: 20 Submission Date: 16 sep 2025


Course Outcomes:

By the end of course students will able to::

Sl. NO DESCRIPTION COGNITIVE LEVEL


(BLOOMS
TAXONOMY)
Interpret the fundamental Python syntax and semantics and be
CO1 (C219.1) K1, K2
fluent in the use of Python control flow statements.

CO2(C219.2) Express proficiency in the handling of strings and functions K1, K2

Determine the methods to create and manipulate Python programs


CO3(C219.3) by utilizing the data structures like lists, dictionaries, tuples and K3
sets.
Identify the commonly used operations involving file systems and
CO4(C219.4) K1,K2
regular expressions.

Articulate the Object-Oriented Programming concepts such as


CO5(C219.5) K2,K3
encapsulation, inheritance and polymorphism as used in Python

Assignment-2
Q. No Questions CO
1. Explain decision control statement in Python? C219.2
2. Explain simple for loop with a small code in python? C219.2
3. Explain for loop with ranges in python, C219.2
4. Explain the working of while loop with suitable example. C219.2
5. Write a Python Program for How to check if a given number is Fibonacci C219.2
number.
6. Discuss Break and continue with example. C219.2
7. Write a program to produce Fibonacci series in Python. C219.2

8. Write a program to check an input year is leap year or not. C219.2


9. Write a program to check an input number is prime or not. C219.2

10. Write a program that accepts a sentence and calculate the number of C219.2
digits, uppercase and lowercase letters.

You might also like