0% found this document useful (0 votes)
5 views4 pages

Python Programming Basics and Concepts

The document outlines a comprehensive curriculum for learning Python, covering topics such as data types, control structures, modules, classes, exception handling, GUI programming with Tkinter, and Python libraries. Each chapter includes specific questions and programming tasks designed to enhance understanding and practical skills in Python programming. The content is structured to facilitate both theoretical knowledge and hands-on experience through various coding exercises.

Uploaded by

maheshzune03
Copyright
© All Rights Reserved
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
0% found this document useful (0 votes)
5 views4 pages

Python Programming Basics and Concepts

The document outlines a comprehensive curriculum for learning Python, covering topics such as data types, control structures, modules, classes, exception handling, GUI programming with Tkinter, and Python libraries. Each chapter includes specific questions and programming tasks designed to enhance understanding and practical skills in Python programming. The content is structured to facilitate both theoretical knowledge and hands-on experience through various coding exercises.

Uploaded by

maheshzune03
Copyright
© All Rights Reserved
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

Chapter 1: Introduction to Python

 What is Python? What are the benefits/features of using Python? [3


times]
 Explain the following data types with syntax and examples: int, float,
str, range. [3 times]
 What are the differences between global and local variables in Python?
Provide examples. [3 times]
 What are special operators in Python? [1 time]
 What is the use of pass and break statements? [3 times]
 Explain the input() function. [1 time]
 Explain the for loop in Python with syntax and example. [1 time]
 Write a Python program to check if a string is a palindrome. [1 time]
 Describe string manipulation techniques in Python with examples. [1
time]
 Write a Python program to swap the value of two variables. [3 times]
 Write a Python program to find factors of a given number. [1 time]
 Write a Python program to check whether a number is in a given range.
[1 time]
 Write a Python program to print a table of any number. [1 time]
 Write a Python program that accepts a list of numbers and returns a
new list containing only the even numbers. [1 time]
 Write a Python program to implement the concept of queue using list.
[2 times]

Chapter 2: Modules and Packages


 What are Modules? [1 time]
 Write a short note on Python Package / How to import package. [4
times]
 Write the use of an import statement with an example. [1 time]
 Explain Math and Cmath/Math built-in modules with examples. [3
times]
 What is the use of random() in the random module? [3 times]
 Explain datetime and calendar module with example. [1 time]
 Explain SYS module in detail. [1 time]
 Name any five built-in modules in Python. [1 time]
 Define functions in Python. [1 time]
 Explain user defined functions with example. [2 times]
 Explain Function Arguments in detail. [2 times]
 Write in brief about anonymous functions (Lambda). [4 times]
 Write a Python script to generate Fibonacci terms using generator
function. [1 time]
 Write a Python program to display current date and time. [2 times]

Chapter 3: Classes, Objects and Inheritance


 How to create class and object in Python? [2 times]
 What is the syntax of a constructor in Python? [1 time]
 How does the Python static method work? [1 time]
 What is a class variable? [2 times]
 Write the definition of class method. [2 times]
 What is Inheritance? Write its benefits, syntax, and explain its types
with examples. [4 times]
 Explain IS-A relationship and HAS-A relationship with example. [4
times]
 Write a Python script using class to reverse the string word by word. [2
times]
 Write a Python class to find the validity of a string of parentheses (, ),
{, }, [, ]. [1 time]
 Write a Python class to accept a string and number n from the user and
display n repetition of strings by overloading * operator. [1 time]
 Define an abstract class shape and its subclass (square / circle) with
init, area and volume functions. [1 time]
 Write a Python program to create a class circle and compute the Area
and the circumferences (Use parameterized constructor). [1 time]
 Write a program to create a class which performs basic calculator
operations. [1 time]

Chapter 4: Exception Handling


 What is exception in python? [1 time]
 Explain Exception handling in Python with example (Try, Except, Else).
[4 times]
 Write any two/common built-in exceptions in Python. [3 times]
 What is the use of try-finally block? [2 times]
 Write the syntax of exception. [1 time]
 Explain EXCEPT Clause with no exception. [1 time]
 Write a short note on / Write Syntax of Raise statement. [5 times]
 Write a short note on Custom Exception. [1 time]
 Write a short note on Assertion. [1 time]

Chapter 5: GUI Programming (Tkinter)


 What is Tkinter in Python? / Define Tkinter. [3 times]
 Name any four widgets available in Tkinter / Explain different types of
Tkinter widgets. [3 times]
 Explain Frame widget in tkinter with example. [3 times]
 List out / Explain methods for Geometry Management (pack, grid,
place) in Tkinter. [7 times]
 Explain the delete() and insert() method of entry widget. [2 times]
 List out any 5 button options / 4 label options in Python. [3 times]
 Define term Bind method. [1 time]
 Write a Python GUI program to accept dimension of a cylinder and
display the surface area and the volume of cylinder. [1 time]
 Write a Python GUI program to generate a random password with
upper and lower case letters. [1 time]
 Write a Python GUI program to create background with changing
colors. [1 time]
 Write a Python GUI program to display an alert message when a button
is pressed. [1 time]

Chapter 6: Python Libraries


 Explain different types of Python libraries. [1 time]
 Differentiate between Python list and NumPy array / Explain features of
NumPy. [5 times]
 What is Pandas? Explain features and advantages of Pandas. [7 times]
 Write a short note on Data Visualization / List data visualization
libraries. [3 times]
 Write a short note on Matplotlib library. [1 time]
 What is Sea born? [1 time]
 State the uses of Tensor flow. [2 times]
 State the features / Principles of Keras. [3 times]
 What is Scikit-learn? [1 time]

Data Structures (From Introduction & Libraries)


 What are the properties of a Python list? [1 time]
 What is the difference between append() and extend() methods in
Python lists? [1 time]
 Explain any two tuple operations with an example. [2 times]
 What is the use of + and * operators on tuples? [1 time]
 Write a short note on Tuple / Lists vs Tuples. [4 times]
 What are the properties of a Dictionary? [2 times]
 What is dictionary? Explain three built-in dictionary functions with
examples. [4 times]
 Explain functions to delete elements in Dictionary. [1 time]
 Write down difference between set and dictionary in Python. [1 time]
 Write a short note on Slicing Dictionaries. [2 times]
 Write a Python program to check if a given key already exists in a
dictionary. If Key exists replace with another key/value pair. [1 time]

You might also like