[go: up one dir, main page]

0% found this document useful (0 votes)
72 views2 pages

BCC-402 Python Programming Important Questions AKTU

The document outlines the syllabus for a Python Programming course (BCC-402), covering five units: Basics of Python, Control Flow and Loops, Functions and Strings, Lists, Tuples, and Dictionaries, and File Handling and Exception Handling. Each unit includes key topics and important questions for assessment, such as data types, control statements, function definitions, and file operations. The document serves as a guide for students to understand essential Python concepts and prepare for examinations.

Uploaded by

dubeybrahma434
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)
72 views2 pages

BCC-402 Python Programming Important Questions AKTU

The document outlines the syllabus for a Python Programming course (BCC-402), covering five units: Basics of Python, Control Flow and Loops, Functions and Strings, Lists, Tuples, and Dictionaries, and File Handling and Exception Handling. Each unit includes key topics and important questions for assessment, such as data types, control statements, function definitions, and file operations. The document serves as a guide for students to understand essential Python concepts and prepare for examinations.

Uploaded by

dubeybrahma434
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/ 2

Python Programming (BCC-402) - Summary & Important Questions

Unit 1: Basics of Python


- Introduction to Python, features, and applications

- Python IDEs: IDLE, Jupyter Notebook, PyCharm

- Data types, variables, operators

- Input/output functions, type casting

- Important Question: Explain different data types in Python with examples.

- Important Question: Write a Python program to check if a number is even or odd.

Unit 2: Control Flow and Loops


- Conditional statements: if, if-else, nested if-else

- Loops: for, while, nested loops

- Loop control: break, continue, pass

- Important Question: Write a Python program to print the Fibonacci series using a while loop.

- Important Question: Explain the use of break and continue with examples.

Unit 3: Functions and Strings


- Defining and calling functions

- Function arguments: default, keyword, variable-length

- String operations: slicing, methods, immutability

- Important Question: Write a Python function to calculate factorial of a number.

- Important Question: Explain string slicing and common string methods in Python.

Unit 4: Lists, Tuples, and Dictionaries


- List operations and methods

- Tuples and their properties

- Dictionaries: creation, access, methods


- Important Question: Difference between list and tuple with examples.

- Important Question: Write a program to count frequency of elements using dictionary.

Unit 5: File Handling and Exception Handling


- Opening and closing files, read/write operations

- File modes, with statement

- Exceptions: try, except, finally, raise

- Important Question: Write a Python program to read a file and count lines and words.

- Important Question: Explain exception handling with an example.

You might also like