Back to Study material
PPS


Unit 6

File Handling and Dictionaries  
  1.  

Write a program to open text file with keyword in read mode.

2.      

Write a program in python to count number of vowels and consonants present in the text file.

3.      

Write a program to open text file with keyword in read mode.

4.      

Explain dictionary. How to access and remove elements of dictionary.

5.      

Explain with the example significance of tell() and seek() methods.

6.      

Write a python program to write a list content to a file.

7.      

What is file? Mention different types of files.

8.      

Explain OS PATH Module in Python

9.      

Explain with proper syntax read and write operations on file.

10.  

What is dictionary? Explain the dictionary method with proper syntax

11.  

Write a Python program to read data from one file and write it on another file.

12.  

Explain with proper syntax , open and close operation on file.

 

Zoom Out
Zoom In
Sign Up
0 matching results found
Loading ....