C-UNIT 1-Introduction To Computers
C-UNIT 1-Introduction To Computers
USING C
UNIT-I
INTRODUCTION TO COMPUTERS
COURSE OBJECTIVES
• The objectives of Programming for Problem Solving Using C are
1) To learn about computer systems, computing environments, developing of a computer
program and the structure of a C Program
2) To gain knowledge of the operators, selection, control statements and repetition in C
3) To learn about the design concepts of arrays, strings, enumerated structure and union
types and to learn about their usage.
4) To assimilate about pointers, dynamic memory allocation and know the significance of
Preprocessor.
5) To assimilate about File I/O and the significance of functions
COURSE OUTCOMES
• Upon the completion of the course the student will learn
1) To write algorithms and draw flowcharts for solving problems
2) To convert flowcharts/algorithms to C Programs
3) Compile and debug programs
4) To use different operators, and data types and write programs that use two-way/ multi-way
selection
5) To select the best loop construct for a given problem
6) To design and implement programs to analyze the different pointer applications
7) To decompose a problem into functions and to develop modular reusable code
8) To apply File I/O operations
TEXT BOOKS &REFERENCES
TEXTBOOKS:
1) Programming for Problem-Solving, Behrouz A. Forouzan, Richard F.Gilberg, CENGAGE
2) The C Programming Language, Brian Kernighan, Dennis M. Ritchie,2e, Pearson
REFERENCES:
3) Computer Fundamentals and Programming, Sumithabha Das, McGraw-Hill
4) Programming in C, Ashok N. Kamthane, Amit Kamthane, Pearson
5) Computer Fundamentals and Programming in C, Pradip Dey, Manas Ghosh, OXFORD
CONTENTS OF UNIT-I
Introduction to Computers 12) Programming Examples
1) Creating and Running Programs 13) Scope
2) Computer Numbering System 14) Storage Classes and Type Qualifiers
3) Storing Integers Structure of a C Program
4) Storing Real Numbers 15) Expressions of Precedence and
Introduction to the C Language Associativity & Side Effects
5) Background 16) Evaluating Expressions
6) C Programs 17) Type Conversion Statements
7) Identifiers 18) Simple Programs
8) Types 19) Command Line Arguments.
9) Variable
10) Constants
11) Input/output
Introduction to Computers
• A computer system is made up of two major components.
Computer System
Hardware Software
• The data stored in the primary memory during processing is erased when the computer is
turned off.
4) Output Devices