BBC103BMI103

Problem Solving Using C

L-T-P3-1-0 Credits4 Session2025-26 TypeTheory
Appears in 2 semesters · 2 branches

BCA · Sem 1 (Core, code BBC103) · MCA Integrated · Sem 1 (Core, code BMI103)

Syllabus

5 units · 40 lecture hours
Unit1

Unit 1: Basics of programming

8 hrs

Approaches to problem solving, Use of high level programming language for systematic development of programs, Concept of algorithm and flowchart, Concept and role of structured programming. Basics of C: History of C, Salient features of C, Structure of C Program, Compiling C Program, Link and Run C Program, Character set, Tokens, Keywords, Identifiers, Constants, Variables, Instructions, Data types, Standard Input/Output, Operators and expressions.

Unit2

Unit 2: Conditional Program Execution

8 hrs

if, if-else, and nested if-else statements, Switch statements, Restrictions on switch values, Use of break and default with switch, Comparison of switch and if-else. Loops and Iteration: for, while and do-while loops, Multiple loop variables, Nested loops, Assignment operators, break and continue statement. Functions: Introduction, Types, Declaration of a Function, Function calls, Defining functions, Function Prototypes, Passing arguments to a function Return values and their types, Writing multifunction program, Calling function by value, Recursive functions.

Unit3

Unit 3: Arrays

8 hrs

Array notation and representation, Declaring one-dimensional array, Initializing arrays, Accessing array elements, Manipulating array elements, Arrays of unknown or varying size, Two-dimensional arrays, Multidimensional arrays. Pointers: Introduction, Characteristics, * and & operators, Pointer type declaration and assignment, Pointer arithmetic, Call by reference, Passing pointers to functions, arrayof pointers, Pointers to functions, Pointer to pointer, Array of pointers. Strings: Introduction, Initializing strings, Accessing string elements, Array of strings, Passing strings to functions, String functions.

Unit4

Unit 4: Structure

8 hrs

Introduction, Initializing, defining and declaring structure, Accessing members, Operations on individual members, Operations on structures, Structure within structure, Array of structure, Pointers to structure. Union: Introduction, Declaring union, Usage of unions, Operations on union. Enumerated data types Storage classes: Introduction, Types- automatic, register, static and external.

Unit5

Unit 5: Searching and Sorting

8 hrs

Introduction to searching and sorting, Linear search, Binary search, Selection sort, Bubble sort. Dynamic Memory Allocation: Introduction, Library functions – malloc, calloc, realloc and free. File Handling: Basics, File types, File operations, File pointer, File opening modes, File handling functions, File handling through command line argument, Record I/O in files.

Course Outcomes (COs)6 outcomes

After completion of the course student will be able to:

  1. CO1Describe the functional components and fundamental concepts of a digital computer system including number systems.K1, K2
  2. CO2Construct flowchart and write algorithms for solving basic problems.K2, K3
  3. CO3Write ‘C’ programs that incorporate use of variables, operators and expressions along with data types.K2, K3
  4. CO4Write simple programs using the basic elements like control statements, functions, arrays and strings.K2, K3
  5. CO5Write advanced programs using the concepts of pointers, structures, unions and enumerated data types.K2, K3
  6. CO6Apply pre-processor directives and basic file handling and graphics operations in advanced programming.K2, K3

Suggested Readings

  1. Kanetkar Y., “Let us C”, BPB Publications.
  2. Balagurusamy E., “Programming with ANSI-C”, Tata McGraw Hill.
  3. Hanly J.R. and Koffman E.B., “Problem Solving and Program Design in C”, Pearson Education.
  4. Gottfried B.S., “Programming with C Language, Schaum Series, Tata McGraw Hill.
  5. Goyal K. K. and Pandey H.M., Trouble Free C”, University Science Press.
  6. Kernighan and Richie, “C Programming”, Prentice Hall of India.
  7. Forouzan B.A. and Gilberg R.F., “A Structured Programming Approach Using C, Cengage Learning.
  8. Goyal K. K., Sharma M. K. and Thapliyal M. P. “Concept of Computer and C Programming”, University Science Press.

Official AKTU syllabus

This subject is on page 5, 6 of the original AKTU PDF.

Official AKTU syllabus PDF ↗