Book description
Computer Programming and IT is a student-friendly, practical and example-driven book that gives students a solid foundation in the basics of computer programming and information technology. The contents have been designed to correspond with the requirements of courses in computer programming and IT. A rich collection of solved examples makes this book indispensable for students.
Table of contents
- Cover
- Title Page
- Contents
- About the Author
- Preface
- Chapter 1. Introduction to Computers
-
Chapter 2. Computer Memory and Storage
- 2.1 Introduction
- 2.2 Memory Hierarchy
- 2.3 Random Access Memory (RAM)
- 2.4 Read Only Memory (ROM)
- 2.5 RAM, ROM, and CPU Interaction
- 2.6 Types of Secondary Storage Devices
- 2.7 Magnetic Tape
- 2.8 Magnetic Disk
- 2.9 Types of Magnetic Disks
- 2.10 Optical Disk
- 2.11 Types of Optical Disks
- 2.12 Magneto-Optical Storage Devices
- 2.13 Universal Serial Bus (USB)
- 2.14 Memory Stick
- 2.15 Mass Storage Devices
- Summary
- Exercises
- Chapter 3. Computer Software
- Chapter 4. Computer Programming and Languages
-
Chapter 5. Number Systems and Binary Codes
- 5.1 Introduction
- 5.2 Binary Addition Arithmetic
- 5.3 Arithmetic Number Representations
- 5.4 Binary Subtraction
- 5.5 Binary Multiplication of Unsigned Numbers
- 5.6 Multiplication Method When Multiplier is 2n Where n is an Integer
- 5.7 Multiplication Method When Multiplier is a Small Number
- 5.8 Multiplication Method for n-Bit by N-Bit Signed Numbers,X and Y
- 5.9 Binary Arithmetic Division by Successive Subtraction Method
- 5.10 Floating Point Numbers
- 5.11 Code Converters
- 5.12 Equality and Magnitude Comparators Between Two 4-Bit Numbers
- 5.13 Odd Parity and Even Parity Generators
- 5.14 The 4-Bit AND, OR, XOR Between Two Words
- Summary
- Exercises
-
Chapter 6. Introduction to C
- 6.1 Introduction
- 6.2 Overview of Compilers and Interpreters
- 6.3 Structure of a C Program
- 6.4 Intermediate Code
- 6.5 Object and Executable Codes
- 6.6 Programming Rules
- 6.7 Importance of Braces ({ }) in a C Program
- 6.8 Executing the Program
- 6.9 Flowchart for the Execution of a C Program
- Summary
- Exercises
-
Chapter 7. The C Declarations
- 7.1 Introduction
- 7.2 C Character Set
- 7.3 Delimiters
- 7.4 C Keywords
- 7.5 Identifiers
- 7.6 Constants
- 7.7 Variables
- 7.8 Rules for Defining Variables
- 7.9 Data Types
- 7.10 Declaring Variables
- 7.11 Initializing Variables
- 7.12 Dynamic Initialization
- 7.13 Type Conversion
- 7.14 Constant and Volatile Variables
- Summary
- Exercises
- Chapter 8. Operators and Expressions
-
Chapter 9. Input, Output, and Control Loop Statements
- 9.1 Introduction
- 9.2 Input and Output Functions
- 9.3 Formatted Functions
- 9.4 Flags, Width, and Precision with the Format String
- 9.5 Unformatted Functions
- 9.6 Commonly used Library Functions
- 9.7 Control Structures
- 9.8 if Statement
- 9.9 if-else Statement
- 9.10 Nestedif-else Statements
- 9.11 switchStatement
- 9.12 What is a Program Loop?
- 9.13 for Loop
- 9.14 Nested for Loops
- 9.15 while Loop
- 9.16 do-while Loop
- 9.17 do-while Statement with while Loop
- 9.18 break Statement
- 9.19 continue Statement
- 9.20 go to Statement
- Summary
- Exercises
- Chapter 10. Storage Class
-
Chapter 11. Preprocessor Directives
- 11.1 Introduction
- 11.2 Macro Substitution
- 11.3 The#defineDirective
- 11.4 Undefining a Macro
- 11.5 Token Pasting and Stringising Operators
- 11.6 The#includeDirective
- 11.7 Conditional Compilation
- 11.8 The#ifndefDirective
- 11.9 The#errorDirective
- 11.10 The#lineDirective
- 11.11 TheinlineDirective
- 11.12 The#pragmaSaveregs
- 11.13 The#pragmaDirective
- 11.14 The Predefined Macros in ANSI and Turbo-C
- 11.15 Standard I/O Predefined Streams instdio.h278
- 11.16 The Predefined Macros in ctype.h
- 11.17 Assertions
- Summary
- Exercises
-
Chapter 12. Arrays
- 12.1 Introduction
- 12.2 Array Initialization
- 12.3 Definition of an Array
- 12.4 Characteristics of an Array
- 12.5 One-Dimensional Array
- 12.6 Predefined Streams
- 12.7 Two-Dimensional Array
- 12.8 Three- or Multi-Dimensional Arrays
- 12.9 Thesscanf()andsprintf() Functions
- 12.10 Operations with Arrays
- Summary
- Exercises
- Chapter 13. Pointers
- Chapter 14. Dynamic Memory Allocation
-
Chapter 15. Structure and union
- 15.1 Introduction
- 15.2 Features of Structures
- 15.3 Definition, Declaration, and Initialization of Structure
- 15.4 Structure Within Structure
- 15.5 Array of Structures
- 15.6 Pointer to Structure
- 15.7 Structure and Functions
- 15.8 typedef
- 15.9 Bit Fields
- 15.10 Enumerated Data Type
- 15. 11 union
- 15. 12 Calling BIOS and DOS Services
- 15. 13 unionof Structures
- Summary
- Exercises
- Chapter 16. Files
-
Chapter 17. Functions
- 17.1 Introduction
- 17.2 Definition of Function
- 17.3 Definition of Syntax Function and Function Prototypes
- 17.4 ThereturnStatement
- 17.5 Types of Functions
- 17.6 Call by Value and Reference
- 17.7 Function Returning More Values
- 17.8 Function as an Argument
- 17.9 Function with Operators
- 17.10 Function and Decision Statements
- 17.11 Function and Loop Statements
- 17.12 Functions with Arrays and Pointers
- 17.13 Passing Characters and String to Function
- 17.14 Recursion
- 17.15 Pointer to Function
- Summary
- Exercises
- Chapter 18. Working with Strings and Standard Functions
- Appendix: American Standard Code for Information Interchange
- Acknowledgments
- Copyright
Product information
- Title: Computer Programming and IT
- Author(s):
- Release date: February 2012
- Publisher(s): Pearson India
- ISBN: 9788131774694
You might also like
book
Computer Science Illuminated, 6th Edition
Each new print copy includes Navigate 2 Advantage Access that unlocks a comprehensive and interactive eBook, …
video
Computer Science
22+ Hours of Video Instruction Overview These Computer Science Video Lectures cover fundamental concepts that provide …
book
Computer Programming for Absolute Beginners
Get to grips with the building blocks of programming languages and get started on your programming …
book
Programming in C, 3/e, 3rd Edition
C is one of the most popular programming languages. It runs on most software platforms and …