SlideShare uma empresa Scribd logo
1 de 3
Slide 1 of 3Ver. 1.0
Programming in C
In this session, you will do the practice questions of Chapter
7 and Chapter 8.
Practice Questions
Slide 2 of 3Ver. 1.0
Programming in C
Chapter 7
1. 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.
Microsoft Word
Document
Slide 3 of 3Ver. 1.0
Programming in C
Chapter 8
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.

Mais conteúdo relacionado

Destaque

C programming session 10
C programming session 10C programming session 10
C programming session 10Vivek Singh
 
C programming session 04
C programming session 04C programming session 04
C programming session 04Vivek Singh
 
C programming session 05
C programming session 05C programming session 05
C programming session 05Vivek Singh
 
C programming session 01
C programming session 01C programming session 01
C programming session 01Vivek Singh
 
C programming session 02
C programming session 02C programming session 02
C programming session 02Vivek Singh
 
Sql create table statement
Sql create table statementSql create table statement
Sql create table statementVivek Singh
 

Destaque (6)

C programming session 10
C programming session 10C programming session 10
C programming session 10
 
C programming session 04
C programming session 04C programming session 04
C programming session 04
 
C programming session 05
C programming session 05C programming session 05
C programming session 05
 
C programming session 01
C programming session 01C programming session 01
C programming session 01
 
C programming session 02
C programming session 02C programming session 02
C programming session 02
 
Sql create table statement
Sql create table statementSql create table statement
Sql create table statement
 

Semelhante a C programming session 16

C programming session 16
C programming session 16C programming session 16
C programming session 16AjayBahoriya
 
Programming in c_in_7_days
Programming in c_in_7_daysProgramming in c_in_7_days
Programming in c_in_7_daysAnkit Dubey
 
Python reading and writing files
Python reading and writing filesPython reading and writing files
Python reading and writing filesMukesh Tekwani
 
.Net framework
.Net framework.Net framework
.Net frameworkRaghu nath
 
Bt0082 visual basic
Bt0082 visual basicBt0082 visual basic
Bt0082 visual basicTechglyphs
 
The Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxThe Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxjmindy
 
1.3 Process and Information Layout
1.3 Process and Information Layout1.3 Process and Information Layout
1.3 Process and Information LayoutIntan Jameel
 
The program reads data from two files, itemsList-0x.txt and .docx
The program reads data from two files, itemsList-0x.txt and .docxThe program reads data from two files, itemsList-0x.txt and .docx
The program reads data from two files, itemsList-0x.txt and .docxoscars29
 
C programming session 11
C programming session 11C programming session 11
C programming session 11Vivek Singh
 
C language industrial training report
C language industrial training reportC language industrial training report
C language industrial training reportRaushan Pandey
 
Computer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordComputer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordAdesina Esther Tolulope
 
Computer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordComputer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordOnasanya2014
 
01 intro to programming in .net
01   intro to programming in .net01   intro to programming in .net
01 intro to programming in .netFelisha Hosein
 
Grade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdfGrade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdfVictor Sinangote
 

Semelhante a C programming session 16 (20)

C programming session 16
C programming session 16C programming session 16
C programming session 16
 
Programming in c_in_7_days
Programming in c_in_7_daysProgramming in c_in_7_days
Programming in c_in_7_days
 
Python reading and writing files
Python reading and writing filesPython reading and writing files
Python reading and writing files
 
.Net framework
.Net framework.Net framework
.Net framework
 
Bt0082 visual basic
Bt0082 visual basicBt0082 visual basic
Bt0082 visual basic
 
The Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docxThe Lab assignment will be graded out of 100 points.  There are .docx
The Lab assignment will be graded out of 100 points.  There are .docx
 
Microsoft Office
Microsoft OfficeMicrosoft Office
Microsoft Office
 
1.3 Process and Information Layout
1.3 Process and Information Layout1.3 Process and Information Layout
1.3 Process and Information Layout
 
Game Studio
Game StudioGame Studio
Game Studio
 
ICT.docx
 ICT.docx ICT.docx
ICT.docx
 
The program reads data from two files, itemsList-0x.txt and .docx
The program reads data from two files, itemsList-0x.txt and .docxThe program reads data from two files, itemsList-0x.txt and .docx
The program reads data from two files, itemsList-0x.txt and .docx
 
C programming session 11
C programming session 11C programming session 11
C programming session 11
 
C language industrial training report
C language industrial training reportC language industrial training report
C language industrial training report
 
Computer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordComputer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft word
 
Computer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft wordComputer software application with specific reference to Microsoft word
Computer software application with specific reference to Microsoft word
 
01 intro to programming in .net
01   intro to programming in .net01   intro to programming in .net
01 intro to programming in .net
 
8. software selection
8. software selection8. software selection
8. software selection
 
Grade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdfGrade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdf
 
Lab 1 Essay
Lab 1 EssayLab 1 Essay
Lab 1 Essay
 
C in7-days
C in7-daysC in7-days
C in7-days
 

Mais de Vivek Singh

C programming session 14
C programming session 14C programming session 14
C programming session 14Vivek Singh
 
C programming session 13
C programming session 13C programming session 13
C programming session 13Vivek Singh
 
C programming session 08
C programming session 08C programming session 08
C programming session 08Vivek Singh
 
C programming session 07
C programming session 07C programming session 07
C programming session 07Vivek Singh
 
Niit aptitude question paper
Niit aptitude question paperNiit aptitude question paper
Niit aptitude question paperVivek Singh
 
Excel shortcut and tips
Excel shortcut and tipsExcel shortcut and tips
Excel shortcut and tipsVivek Singh
 
Sql where clause
Sql where clauseSql where clause
Sql where clauseVivek Singh
 
Sql update statement
Sql update statementSql update statement
Sql update statementVivek Singh
 
Sql tutorial, tutorials sql
Sql tutorial, tutorials sqlSql tutorial, tutorials sql
Sql tutorial, tutorials sqlVivek Singh
 
Sql select statement
Sql select statementSql select statement
Sql select statementVivek Singh
 
Sql query tuning or query optimization
Sql query tuning or query optimizationSql query tuning or query optimization
Sql query tuning or query optimizationVivek Singh
 
Sql query tips or query optimization
Sql query tips or query optimizationSql query tips or query optimization
Sql query tips or query optimizationVivek Singh
 
Sql order by clause
Sql order by clauseSql order by clause
Sql order by clauseVivek Singh
 
Sql operators comparision & logical operators
Sql operators   comparision & logical operatorsSql operators   comparision & logical operators
Sql operators comparision & logical operatorsVivek Singh
 
Sql logical operators
Sql logical operatorsSql logical operators
Sql logical operatorsVivek Singh
 
Sql integrity constraints
Sql integrity constraintsSql integrity constraints
Sql integrity constraintsVivek Singh
 
Sql insert statement
Sql insert statementSql insert statement
Sql insert statementVivek Singh
 

Mais de Vivek Singh (20)

C programming session 14
C programming session 14C programming session 14
C programming session 14
 
C programming session 13
C programming session 13C programming session 13
C programming session 13
 
C programming session 08
C programming session 08C programming session 08
C programming session 08
 
C programming session 07
C programming session 07C programming session 07
C programming session 07
 
Niit aptitude question paper
Niit aptitude question paperNiit aptitude question paper
Niit aptitude question paper
 
Excel shortcut and tips
Excel shortcut and tipsExcel shortcut and tips
Excel shortcut and tips
 
Sql where clause
Sql where clauseSql where clause
Sql where clause
 
Sql update statement
Sql update statementSql update statement
Sql update statement
 
Sql tutorial, tutorials sql
Sql tutorial, tutorials sqlSql tutorial, tutorials sql
Sql tutorial, tutorials sql
 
Sql subquery
Sql subquerySql subquery
Sql subquery
 
Sql select statement
Sql select statementSql select statement
Sql select statement
 
Sql rename
Sql renameSql rename
Sql rename
 
Sql query tuning or query optimization
Sql query tuning or query optimizationSql query tuning or query optimization
Sql query tuning or query optimization
 
Sql query tips or query optimization
Sql query tips or query optimizationSql query tips or query optimization
Sql query tips or query optimization
 
Sql order by clause
Sql order by clauseSql order by clause
Sql order by clause
 
Sql operators comparision & logical operators
Sql operators   comparision & logical operatorsSql operators   comparision & logical operators
Sql operators comparision & logical operators
 
Sql logical operators
Sql logical operatorsSql logical operators
Sql logical operators
 
Sql joins
Sql joinsSql joins
Sql joins
 
Sql integrity constraints
Sql integrity constraintsSql integrity constraints
Sql integrity constraints
 
Sql insert statement
Sql insert statementSql insert statement
Sql insert statement
 

C programming session 16

  • 1. Slide 1 of 3Ver. 1.0 Programming in C In this session, you will do the practice questions of Chapter 7 and Chapter 8. Practice Questions
  • 2. Slide 2 of 3Ver. 1.0 Programming in C Chapter 7 1. 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. Microsoft Word Document
  • 3. Slide 3 of 3Ver. 1.0 Programming in C Chapter 8 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.

Notas do Editor

  1. Begin the session by explaining the objectives of the session.