You are on page 1of 2

Dr. D.Y.

Patil Unitech Society’s,


Dr. D.Y. Patil Institute of Technology
Department of Artificial Intelligence and Data Science

ASSIGNMENT-4

Department: AI & DS Semester: I Academic Year – 2023-24


Class: SE

Course: OOP Course faculty: Vidhya R Vasekar

Date of Release: Date of Submission:

Question Question CO
No. Mapping
Q1 Write a program to create a file, read and write the record into
it. Every record contains Employee Name, Id, and Salary. Store CO4
and retrieve at least 3 employee data
Q2 Explain error handling in file I/O with suitable program. CO4

Q3 Explain the following file handling functions : CO4


1. open( )
2. get( )
3. getline( )
4. tellg()
5. seekg()
6. seekp()
Q4 What is file pointer? Write a note on file opening & file closing. CO4

Q5 Explain stream classes hierarchy for file handling in C++. CO4

(Vidhya R Vasekar)
Course faculty
Dr. D.Y. Patil Unitech Society’s,
Dr. D.Y. Patil Institute of Technology
Department of Artificial Intelligence and Data Science

You might also like