SlideShare a Scribd company logo
In this session, you will do the practice questions of Chapter 7 and Chapter 8. Practice Questions
You are a part of a database software development team. The software you are developing is to be used to create and query on database files. You are assigned the task of writing a C program, which displays the structure of any database file, as given in the following file. Chapter 7
1. Read a file after the first 10 characters and print it on screen. (Hint: Create a text file by the name of  Example.txt  and write 2-3 lines of content in it.) 2. Write your name 10 character after the end of the file. Also, use the  exit()  function to terminate the execution, if you are unable to write or open the file. Chapter 8

More Related Content

PPS
C programming session 08
PPS
C programming session 09
PPS
C programming session 07
PPS
C programming session 01
PDF
Introduction to c++
PDF
Functions, Strings ,Storage classes in C
PDF
File Handling in C Programming
PPTX
Programming construction tools
C programming session 08
C programming session 09
C programming session 07
C programming session 01
Introduction to c++
Functions, Strings ,Storage classes in C
File Handling in C Programming
Programming construction tools

What's hot (17)

PDF
Structures-2
PDF
Data file handling
PDF
C programming & data structure [character strings & string functions]
PDF
C programming & data structure [arrays & pointers]
PDF
C interview-questions-techpreparation
PPTX
PDF
Functions-Computer programming
PDF
Tutorial on c language programming
PPTX
Computer programming(CP)
PPT
Declaration of variables
PDF
Introduction to c++ ppt
PPTX
C language updated
PDF
C faqs interview questions placement paper 2013
PDF
Pointers-Computer programming
PDF
Structures
PDF
Computer
PPSX
C language (Collected By Dushmanta)
Structures-2
Data file handling
C programming & data structure [character strings & string functions]
C programming & data structure [arrays & pointers]
C interview-questions-techpreparation
Functions-Computer programming
Tutorial on c language programming
Computer programming(CP)
Declaration of variables
Introduction to c++ ppt
C language updated
C faqs interview questions placement paper 2013
Pointers-Computer programming
Structures
Computer
C language (Collected By Dushmanta)
Ad

Viewers also liked (11)

PPTX
Session no 2
PPTX
Session no 4
PPT
Session No1
PPTX
Java script session 3
PPS
C programming session 03
PPS
C programming session 05
PPS
C programming session 04
PPS
C programming session 02
PPTX
Java script Session No 1
PPTX
An Overview of HTML, CSS & Java Script
PPTX
Session 3 Java Script
Session no 2
Session no 4
Session No1
Java script session 3
C programming session 03
C programming session 05
C programming session 04
C programming session 02
Java script Session No 1
An Overview of HTML, CSS & Java Script
Session 3 Java Script
Ad

More from Dushmanta Nath (6)

DOC
Global Warming Project
DOC
DBMS Practical File
DOC
Manufacturing Practice (MP) Training Project
DOC
BSNL Training Project
DOC
IT- 328 Web Administration (Practicals)
DOC
IT-314 MIS (Practicals)
Global Warming Project
DBMS Practical File
Manufacturing Practice (MP) Training Project
BSNL Training Project
IT- 328 Web Administration (Practicals)
IT-314 MIS (Practicals)

Recently uploaded (20)

PDF
01-Introduction-to-Information-Management.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Institutional Correction lecture only . . .
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Complications of Minimal Access Surgery at WLH
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
Computing-Curriculum for Schools in Ghana
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Pharma ospi slides which help in ospi learning
PPTX
GDM (1) (1).pptx small presentation for students
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
01-Introduction-to-Information-Management.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Institutional Correction lecture only . . .
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
2.FourierTransform-ShortQuestionswithAnswers.pdf
Anesthesia in Laparoscopic Surgery in India
Complications of Minimal Access Surgery at WLH
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Module 4: Burden of Disease Tutorial Slides S2 2025
Computing-Curriculum for Schools in Ghana
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Classroom Observation Tools for Teachers
Pharma ospi slides which help in ospi learning
GDM (1) (1).pptx small presentation for students
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
Microbial diseases, their pathogenesis and prophylaxis
human mycosis Human fungal infections are called human mycosis..pptx

C programming session 11

  • 1. In this session, you will do the practice questions of Chapter 7 and Chapter 8. Practice Questions
  • 2. You are a part of a database software development team. The software you are developing is to be used to create and query on database files. You are assigned the task of writing a C program, which displays the structure of any database file, as given in the following file. Chapter 7
  • 3. 1. Read a file after the first 10 characters and print it on screen. (Hint: Create a text file by the name of Example.txt and write 2-3 lines of content in it.) 2. Write your name 10 character after the end of the file. Also, use the exit() function to terminate the execution, if you are unable to write or open the file. Chapter 8

Editor's Notes

  • #2: Begin the session by explaining the objectives of the session.