0% found this document useful (0 votes)
9 views

Programming in C Unit1 Slides

Uploaded by

Sampath reddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Programming in C Unit1 Slides

Uploaded by

Sampath reddy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Programming in C - Unit 1

Unit-I
Introduction: Block diagram of a computer and its components, binary
number system, algorithms and Flowcharts.

C Preliminaries:
- Keywords, Identifiers, Constants, Variables, Data Types
- Formatted I/O functions and Structure of a C Program
- Operators: Arithmetic, Assignment, Relational, Logical, Increment and
Decrement, Bitwise, Ternary, Special Operators

1. Block Diagram of a Computer

- Input: Keyboard, mouse, scanner

- Storage: Primary (RAM), Secondary (Hard Drive)

- CPU: ALU, Control Unit

- Output: Monitor, printer, speaker

2. Number Systems

- Decimal (Base 10)

- Binary (Base 2)

- Conversion from Decimal to Binary and Binary to Decimal

3. Algorithms & Flowcharts

- Steps to follow for solving problems (lucid, precise, finite)

- Flowcharts for visual representation


4. C Programming Language Overview

- Developed by Dennis Ritchie in 1972 for UNIX

- Structure oriented, procedure-based, ANSI standardized (C89)

You might also like