
Computer Programming In C Language
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
KEY FEATURES
Systematic approach throughout the book
Programming basics in C without requiring previous experience in another language
Simple language has been adopted to make the topics easy and clear to the readers
Topics have been covered with numerous illustrations and tested C programs
Enough examples have been used to explain various Programming Constructs effectively. This book also consists of tested programs so as to enable the readers to learn the logic of programming
Discusses all generic concepts of Computer Programming concepts such as Algorithms, Flowcharts, Conditional and Looping Structures and Array in detail with aided examples
Use of Various Programming terms like variables and expressions, functions are simplified
A number of diagrams have been provided to clear the concepts in more illustrative way
Provides exercises, review questions and exercises as the end of each chapter equipped with many questions in various patterns and numerous programming exercises
Samples are presented in easy to use way through Turbo C 3.0.
More details
Content
- Intro
- Computer Programming In C Language
- Copyright © 2012 Jitendra Patel
- Table of Contents
- PART1
- UNIT 1 Flowchart and Algorithm
- 1.1 Introduction
- 1.2 Flowchart
- 1.2.1 Symbols of Flowchart
- Flow lines
- Terminals
- Input/Output
- Processing
- Decision
- Connector (inspection)
- Off-page connectors
- 1.2.2 Guidelines for preparing Flowchart
- 1.2.3 Flowchart structure
- 1. Sequence
- 2. Selection
- 3. Repetition
- Controlling a Repetition Structure
- A Pre-Test Repetition Structure
- A Post-Test Repetition Structure
- 1.2.3 Case Structure
- 1.2.4 Combining Structures
- 1.2.5 Flowchart Examples
- 1.2.6 BENEFITS OF USING FLOWCHARTS
- 1.2.7 LIMITATIONS OF USING FLOWCHARTS
- 1.3 Algorithm
- 1.3.1 Definition
- 1.3.2 Characteristics of an Algorithm
- 1.3.3 Algorithm Notation
- 1.3.4 Different patterns of algorithms
- 1.3.5 Examples of Algorithm
- 1.3.6 Examples Using Flowchart and Algorithm
- 1.3.7 Advantages of Algorithm
- 1.3.8 Disadvantage of algorithm
- Exercise
- UNIT 2 Basics of C
- 2.1 Introduction
- 2.2 Basics of C language
- 2.3 History of C
- 2.4 Versions of C
- 2.4.1 Common C ("Bell Labs C" or "K & R C" or "Classic C")
- 2.4.2 ISO/ANSI Standard
- 2.5 Features Of C Language
- 2.6 C is middle level language
- 2.7 C is system programming language
- 2.8 Applications of C language
- 2.9 Advantages of C language
- 2.9.1 C Program Development Cycle
- 2.9.2 Using an Editor
- Using Turbo C
- 2.10 Debugging
- 2.10.1 Syntax Errors
- 2.10.2 Logical Errors
- 2.11 General structure of C program
- 2.11.1 Documentation Section
- 2.11.2 Link Section
- 2.11.3 Definition Section
- 2.11.4 Global Declaration Section
- 2.11.5 MAIN () Function Section
- 2.11.6 Subprogram Section
- 2.11.7 Example program: Printing a message
- 2.12 Standard/preprocessor directives
- 2.12.1 Why is it called Preprocessor?
- 2.12.2 Why are preprocessor directives useds?
- 2.12.3 HOW PREPROCESSOR directives work?
- 2.12.4 Categories of Preprocessor directives
- 2.12.5 Header Files
- 2.13 The Main() function
- 2.13.1 Comments
- 2.14 Character set
- 2.15 C Statements
- 2.16 'C' tokens/Grammer
- 2.16.1 Keywords
- 2.16.2 Identifiers
- 2.16.3 Tri-graph Sequences
- 2.16.4 Constants
- Integer Constants
- Real Constants
- Character Constants
- String Constants
- Escape Sequences
- 2.17 Variables
- 2.17.1 Rules for defining variables
- 2.17.2 Declaration of Variables
- Declaration of Multiple Variables
- Assigning a value into a Variable
- 2.17.3 Initialization of Variables
- 2.17.4 Dynamic initialization
- 2.17.5 Variable scope
- Block or function Scope
- Program Scope
- File Scope
- 2.17.6 Variable life time
- 2.17.7 Storage classes for variable
- Auto
- Static
- Extern
- Register
- 2.18 Data types
- 2.18.1 Primary data type or In-built data type
- Character Data Type
- Declaring and Initializing Character Variables
- Integer Data Type
- Floating Point Types or Real Data Type
- The float Data Type
- The double Data Type
- Void Type
- Sample program illustrating each data type
- 2.18.2 User defined data type
- The enum keyword
- typedef (Using Type Definitions)
- 2.18.3 Type modifiers
- Need of Data Modifiers
- Signed
- Unsigned
- Short
- long
- Constant
- using define directive
- Using const Keyword
- Volatile Variable
- Properties of volatile variable
- 2.18.4 Type Conversion
- Implicit type conversion
- Explicit Conversion
- Exercise
- Questions
- Programming Exercise
- UNIT 3 Operators and Expression
- 3.1 Introduction of different types of operators
- 3.1.1 types of operators
- 3.1.2 Properties of operator
- 3.1.3 Arithmetic operators
- Unary Arithmetic Operators
- Binary Arithmetic Operators
- Integer Arithmetic
- Floating point arithmetic
- Mixed mode arithmetic
- 3.1.4 Relational operators
- 3.1.5 Assignment operators and expressions
- Combined Assignment/Compound Assignment Operators
- 3.1.6 Logical operators
- 3.1.7 Bitwise operators
- Bitwise shift operators
- Bitwise Left shift &&
- Bitwise right shift &&
- 3.1.8 conditional operator
- 3.1.9 Comma operator (,)
- 3.1.10 The size of Operator
- 3.2 Priority of operator and their clubbing
- 3.2.1 C Expressions
- Converting Algebraic Expressions to C Expressions
- 3.2.2 Evaluation of Expressions
- 3.2.3 Clubbing of operators
- 3.2.4 Priority (Precedence) and associativity of operators
- Rules for evaluation of expressions
- 3.3 Formatted and unformatted input and output in C
- 3.3.1 Formatted I/O Functions
- printf() function
- scanf() Function
- 3.3.2 UnFormatted I/O Functions
- getch() function
- getche() function
- getchar() function
- putchar() function
- gets() and puts() functions
- Conversion Specifiers
- Formatting Output
- Exercise
- Questions:
- Programming Exercise
- UNIT 4 Decision Statement
- 4.1 Introduction
- 4.1.1 Why Decision Control Statements?
- 4.2 If statement
- 4.3 If-else statement
- 4.4 Nested If-else statement
- 4.5 If-else-if Ladder statement
- 4.6 Break, Continue and Goto Statements
- 4.6.1 Break Statement
- 4.6.2 Continue Statement
- Difference between Break & Continue
- 4.6.3 Goto Statement
- 4.7 Switch Statements
- Programs
- Exercise
- Programs
- UNIT 5 Loop Control Statement
- 5.1 Introduction
- 5.1.1 What Is Loop Control Statement?
- 5.2 for loop
- Programs
- 5.3 Nested for loop
- Programs
- 5.4 While loop
- 5.5 Do-while loop
- Difference between while and do...while
- Programs
- Exercise
- Programs
- UNIT 6 Introduction of Array (one dimensional)
- 6.1 Introduction
- 6.2 Array Terminology
- Array Application
- 6.3 Array Declaration
- Different declaration of array:
- 6.4 Array initialization
- During compilation:
- During execution:
- 6.5 Accessing an array
- 6.6 Storing value in an array
- 6.7 Array of String
- 6.8 Characteristic of an Array
- Programs
- Exercise
- Programs
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.