BET’s
BASAVAKALYAN ENGINEERING COLLEGE, BASAVAKALYAN
Subject: Python Department of Computer Science AcademicYear:2025-26
Programming
Branch: CS Assignment -1 Section: C Section
Date:28/10/2025 Subject Code: 1BPLC105B
Q.. MODULE-1
1 Explain the Keywords, Statements, Expressions, and Variables in Python programming language
with examples.
2 What is python programming and develop a program to calculate factorial of a number ?
3 What is debugging and Explain error and its types ?
4 Explain modulus operator and with example?
5 Explain values and data types with example?
6 Explain if ,for, while statement with example?
7 What is function and explain function with parameter and return values with example?
8 Describe type convertor function with example ?
9 Write and explain precedence of operator and associative order?
10 Explain operation on string with example?
11 Define the fallowing a) break statement and b) continue statement?
12 Explain nested loop for nested data with examples
13 Explain with example input() and print()?
14 Write python program to generate Fibonacci sequence of length read N from the console?
15 Write a python program to compute compound interest A=P*(1+R/N)**(N*T)
16 Explain collatz 3n+1 sequence with example.
17 What is table and two dimensional table with exapmle?