Skip to content

Search

Find a program, subject or material type

CSC110 · C Programming · Notes

Chapter 7: Structures and Files

Short, exam-focused notes · 21 pages · Updated Jan 10, 2026

Download

In this chapter

You will learn what structures and files means in C Programming, why it matters, and how it is asked in TU exams.

1. What is Structures and Files?

Structures and Files is one of the building blocks of C Programming. In simple words, it describes how a system is organised and how its parts work together to solve a real problem. Understanding this chapter makes the later chapters much easier.

Think of it like planning a building: before laying bricks, you need a clear plan. Structures and Files gives you that plan, so every later step has a solid base.

2. Key points to remember

  • Structures and Files breaks a large problem into smaller, manageable parts.
  • Each part has a clear role and a clear way of talking to other parts.
  • Good design reduces errors and makes changes easier later.
  • Most exam questions ask you to define, explain with an example, and give advantages.

3. Types and comparison

TypeUsed forMain benefit
BasicSmall and simple problemsEasy to understand
StructuredMedium-sized systemsClear organisation
AdvancedLarge real-world systemsScales well

4. Example

Consider a college library. Books, students and loans are separate parts. Structures and Files helps us decide how these parts are stored, linked and updated when a student borrows or returns a book.

5. Advantages and limitations

  • Makes the system easier to maintain
  • Improves accuracy and consistency
  • Can take more time to plan at the start
  • Needs practice to apply well

Exam tip

This chapter carries around 8 marks in most years. Always draw a diagram and give one real example.