Skip to content
Padhora
BrowsePlans

4G curriculum (older)

For students clearing pending subjects of the 4G scheme (7-digit subject codes, e.g. 4341602). Students admitted under the current scheme study the 5G curriculum.

4331105 · Semester 3 · 4G scheme

Programming In C

Notes and solutions following the Gujarat Technological University (GTU) syllabus for 4331105. Independent material — not issued by the university.

Electronics & Communication Engineering

Materials

Syllabus

The official syllabus this material follows.

  • Syllabus

    8 pages

    FreeRead

Complete Book

The whole syllabus, unit by unit, written for the exam.

Problem Solver

Step-by-step solutions to typical problems.

PYQ Solutions

Past university papers, fully solved.

  • Solved past papers — detailed answers

    345 pages · English + ગુજરાતી

  • Solved past papers — short answers

    221 pages · English + ગુજરાતી

Syllabus units

Unit 1: Basics of C4 h · 14 marks
  • Definition and importance of flowchart
  • Symbols of flowchart, Flowchart structure
  • Developing and writing algorithm
  • General structure of 'C' program and standard directories
  • Write a simple 'C' program
  • Character set, 'C' tokens
  • Keywords and identifiers
  • Constants, data types in 'C'
  • Variables, declaration and initialization of variables
Unit 2: Operators, Expressions and Input/Output Functions5 h · 16 marks
  • Arithmetic operators, relational operators
  • Logical operators, assignment operators
  • Increment and decrement operators
  • Conditional operators
  • Operator precedence and their associativity
  • Evaluation of arithmetic and logical expressions
  • I/O Functions: scanf(), printf(), getch(), putch(), gets(),puts()
  • Programming exercises based on arithmetic and logical expressions
Unit 3: Decision statements and Control statements8 h · 20 marks
  • Conditional branching statements
  • Unconditional branching statement
  • Programming based on decision making
  • While statement
  • Do and Do-while statement
  • For statement
  • Break and continue statements
Unit 4: Arrays and Pointers6 h · 12 marks
  • Introduction to an Array
  • One dimensional arrays of int, float & characters: Declaration, initialization and accessing
  • Two dimensional array of int: Declaration and initialization
  • Programming exercises based on One Dimensional array
  • Introduction to Pointers
  • Declaration and initialization of Pointers
Unit 5: Functions and Structures5 h · 8 marks
  • Introduction to Functions
  • Types of Functions: Library Functions and user defined Functions
  • Library Functions: clrscr(), abs(), sqrt(), og(), pow(), int(), isdigit(), isalpha(), toupper(), tolower(), strlen(), strcat(), strcpy, strcmp
  • Introduction to Structures
  • Declaration, Initialization and accessing of Structures

About this course

C forms the basics of C++, C#, Visual C/C++ etc. which is current requirement in the information technology (IT) and computer science (CS). It is one of the most commonly used programming language in industry by engineers. It is a middle level language which combines features of both the high level and low level language. It is widely used to develop system programming, operating systems, embedded systems. Also, C is used for creating computer applications that are used in writing embedded software/firmware for various micro-controllers based products in electronics, industrial and communications. C is also used in developing verification software, test code and simulators for various applications and hardware products. It is therefore very important for electronic engineers to develop mastery over C language.