0% found this document useful (0 votes)
84 views9 pages

C-UNIT 1-Introduction To Computers

The document discusses the objectives and contents of a course on Programming for Problem-Solving Using C. The course aims to teach students how to write algorithms, convert them to C programs, and debug programs. It also covers C programming concepts like operators, selection statements, arrays, pointers, file I/O and functions. The document provides an introduction to computer hardware components like input, output and storage devices, and how software allows these to perform tasks. It outlines the topics to be covered in Unit 1, such as the C language background, programs, variables and constants.

Uploaded by

teludamodar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
84 views9 pages

C-UNIT 1-Introduction To Computers

The document discusses the objectives and contents of a course on Programming for Problem-Solving Using C. The course aims to teach students how to write algorithms, convert them to C programs, and debug programs. It also covers C programming concepts like operators, selection statements, arrays, pointers, file I/O and functions. The document provides an introduction to computer hardware components like input, output and storage devices, and how software allows these to perform tasks. It outlines the topics to be covered in Unit 1, such as the C language background, programs, variables and constants.

Uploaded by

teludamodar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 9

PROGRAMMING FOR PROBLEM-SOLVING

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 computer hardware is physical equipment.


• The software is the collection of programs (instructions) that allows the hardware to
perform a given task or job.
Introduction to Computers
Hardware:
• The hardware component of the
computer system consists of five
parts.
1) Input Devices
2) Central Processing Unit
3) Primary Storage
4) Output Devices
5) Auxiliary Storage Devices
Introduction to Computers
Hardware:
1) Input Devices
• Input device is usually a keyboard which is used to write the programs.
• Examples of input devices are keyboard, mouse, touchpad, stylus pen, mike etc.
2) Central Processing Unit (CPU)
• CPU executes the instructions given by input devices such as arithmetic calculations,
logical calculations etc.
• CPU consists of Arithmetic and Logic Unit (ALU), Control Unit (CU) and Primary
Memory.
3) Primary Storage:
• Primary storage is called main memory which stores the data temporarily during
processing.
Introduction to Computers
Hardware:

• The data stored in the primary memory during processing is erased when the computer is
turned off.
4) Output Devices

1) Auxiliary Storage Devices

You might also like