Python VVIMP by Campusify 1 2025 11 05 09 51 3
Python VVIMP by Campusify 1 2025 11 05 09 51 3
VVIMP by Campusify
1. Prepare explanation with example and program for concpets Class, Inheritance
IMP
2. File operation programs -
I) Write Python program to read contents from file A and write to file B. IMP
II) Write a program to open a file in write mode and append some contents at the end
of file.
3. Explain method overloading and overriding with example. IMP
4. Explain user-defined package creation and use with example. (program can also be
asked )
5. Write a python program to create a user defined module that will ask your program
name and display the name of the program.
6. Write a Python program to find palindrome number or string. IMP
7. What is command line argument? Write python code to add two numbers given as
input from command line arguments and print its sum.
8. Write a Python Program to accept values from user in a list and find the largest
number and smallest number in a list. ( also prepare programs for set, dictionary,
touple )
9. Write a python program takes in a number and find the sum of digits in a number.
IMP
10. Write the output for the following question like - IMP
I) Write the output for the following if the variable fruit = ‘banana.
>>> course [ : 3 ]
>>> course [ 3 : ]
For more VVIMP Questions..
>>> course [ 2 : 2 ] Join Our Channel - https://t.me/campusifyy
>>> course [ : ] Join our Group - https://tinyurl.com/wpjoinlink1
>>> course [ -1 ]
>>> course [ 1 ]
II) Write the output for the following if the variable course =
“Python”
III) >>> b = [ “Hello” , “Good” ]
>>> b. append ( “python” )
>>> print (b)