CACS 151 · Semester I

C Programming

A complete interactive study guide for CACS 151 — structured units, annotated code examples, past-paper solutions, and exam practice.

6

Units

48

Hours

~70

Questions

Start Learning

1

Unit 1

Introduction to C

Language Basics, Data Types & Operators

  • Introduction to C
  • Program Dev Lifecycle
  • Algorithms & Flowcharts
  • C Tokens
8h7 topics
Start
2

Unit 2

Input/Output & Control Structures

I/O Functions, Decisions & Loops

  • Standard I/O
  • If & If-Else
  • Nested If & Switch
  • For Loop
8h8 topics
Start
3

Unit 3

Functions, Arrays & Strings

Modular Code, Collections & Text

  • Functions
  • Call by Value/Ref
  • Recursion
  • 1D Arrays
10h7 topics
Start
4

Unit 4

Structures, Unions & Enumerations

User-Defined Data Types

  • Structures
  • Nested Structures
  • Arrays of Structures
  • Unions
8h6 topics
Start
5

Unit 5

Pointers & Dynamic Memory

Memory Addresses, Pointer Arithmetic & Heap Allocation

  • Pointer Basics
  • Pointer Arithmetic
  • Pointers & Arrays
  • Pointers & Functions
10h7 topics
Start
6

Unit 6

File I/O, Command-Line & Graphics

File Handling, argc/argv & BGI Graphics

  • File Basics
  • Text File I/O
  • Binary & Random I/O
  • Command-Line Args
8h6 topics
Start

C Programming Playground

LIVE GCC

Write, edit and run real C code in the browser — powered by GCC via Piston API. 15 preset examples covering all 6 units.

Open Playground

Study Tools

Final Revision

5-tab revision suite: cheat sheet, syntax tables, exam patterns, predicted Qs, 1-day plan.

Flashcards

Flip-card study mode with unit filters, shuffle, and keyboard shortcuts.

Model Questions

20 model questions with full solutions, algorithms, C code, and exam notes.

Exam Simulator

Timed exam with real CACS 151 format — Group A/B/C, 3 hrs, 60 marks.

What's Inside

Interactive Code Examples

Annotated C programs with step-by-step execution traces for every key concept.

Past Papers 2019–2025

All CACS 151 exam questions solved with full explanations and mark breakdowns.

Pointer Visualizer

Dynamic memory diagrams showing address, value, and pointer relationships in real time.

Exam Simulator

Timed practice sessions with the real TU exam format — Group B & Group C questions.

Quick Start

Ready to start learning?

Unit 1 covers problem solving fundamentals — the foundation every other unit builds on. Jump in now.

BCAStudyHub

Your complete interactive study guide for TU BCA Semester I — covering all subjects with interactive tools, past papers, and exam prep.

TU BCASemester I

Program Info

University
Tribhuvan University
Program
BCA — Bachelor in Computer Application
Semester
I (First)
Subjects
5 (4 live, 1 coming soon)

Made by SawnN