0% found this document useful (0 votes)
51 views6 pages

Introduction To Programming

The document discusses various topics related to introduction to programming and C++ programming. It covers concepts like algorithms, flowcharts, programming languages, data types in C++, variables, operators, input/output functions, and conditional statements like if-else and switch. It includes sections on each topic with explanations and examples, followed by exercise questions, multiple choice questions, and true/false statements.

Uploaded by

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

Introduction To Programming

The document discusses various topics related to introduction to programming and C++ programming. It covers concepts like algorithms, flowcharts, programming languages, data types in C++, variables, operators, input/output functions, and conditional statements like if-else and switch. It includes sections on each topic with explanations and examples, followed by exercise questions, multiple choice questions, and true/false statements.

Uploaded by

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

Name: Usman Shabbir(111)-Amina Shoukat(124)

1. Introduction to Programming
1.1. Program solving
1.2. Program
1.2.1. Advantages of Computer Program
1.3. Algorithm & Pseudo Code
1.3.1.Properties of algorithm
1.3.2.Advantages of algorithms
1.4. Flowchart
1.4.1.Uses of logic flowchart
1.4.2.Flowchart symbols
1.4.3.Guidelines for drawing flowchart
1.4.4.Difference between flowchart &algorithm
1.5. Program development process
1.6. Programming languages
1.6.1.Low level language
1.6.2.High level language
1.6.2.1. Procedural languages
1.6.2.2. Object-oriented languages
1.6.2.3. Non-procedural languages
1.6.2.4. Difference between procedural & non-procedural languages
1.6.3.Difference between low-level & high-level languages
1.6.4.Natural programming languages
1.7. Types of codes
1.7.1.Source code
1.7.2.Object code
1.7.3.Difference between Source code & Object code
1.8. Language processor
1.8.1.Compiler
1.8.2.Interpreter
1.8.3.Assembler
1.8.4.Difference between compiler & interpreter
1.9. Programming techniques
1.9.1.Structured programming
1.9.2.Object-oriented programming
1.9.3.Event-driven programming
1.9.4.Visual programing
1.10. Exercise questions
1.11. Multiple choice
1.12. Fill in the blanks

1
Name: Usman Shabbir(111)-Amina Shoukat(124)

1.13. True/false

2
Name: Usman Shabbir(111)-Amina Shoukat(124)

2. Introduction to C++
2.1. History of C++
2.1.1.Features of C++
2.2. Basic structure of C++ program
2.2.1.Preprocessor directive
2.2.2.Header files
2.2.3.main() function
2.2.4.C++ Statements
2.2.5.Token
2.2.6.White spaces
2.3. Turbo C++
2.3.1.Installing turbo C++
2.3.2.Initializing turbo C++ IDE
2.3.3.Setting up directories
2.3.4.Creating & editing a C++ program
2.3.5.Saving a C++ program
2.3.6.Linking a C++ program
2.3.7.Executing a C++ program
2.4. Debugging in turbo C++
2.4.1.Types of Errors
2.4.2.Debugging features of turbo C++
2.5. Exercise Questions
2.6. Multiple Questions
2.7. Fill in the blanks
2.8. True/false
3. Programming in C++
3.1. Identifier
3.1.1.Types of identifier
3.2. Keywords
3.3. Data types
3.3.1.Integer data types
3.3.2.Real data types
3.3.3.Character data types
3.4. Integer overflow and underflow
3.5. Scientific or exponential notation
3.5.1.Range & Precision
3.6. Variables
3.6.1.Variable declaration
3.6.2.Rules for declaring variables
3.6.3.Variables initialization
3.7. Constants

3
Name: Usman Shabbir(111)-Amina Shoukat(124)

3.7.1.Literal constant
3.7.2.Symbolic constants
3.8. Expression
3.9. Operators
3.9.1.Arithmetic operators
3.9.2.Assignment statement
3.9.3.Compound Assignment operators
3.9.4.Increment operator
3.9.5.Decrement operator
3.9.6.operator precedence
3.9.7.operator Associativity
3.10. type casting
3.10.1. implicit type casting
3.10.2. explicit type casting
3.10.3. the “size of” Operator
3.10.4. comments
3.11. Exercise Questions
3.12. Multiple Questions
3.13. Fill in the blanks
3.14. True/false
4. Input & Output
4.1. Input & output
4.2. Standard output
4.3. Escape output
4.4. C++ manipulator
4.4.1. ‘endl’ manipulator
4.4.2. ‘setw’ manipulator
4.4.3. ‘setprecision’ manipulator
4.4.4. ‘fixed’ manipulator
4.4.5. ‘showpoint’ manipulator
4.4.6. ‘setfill’ manipulator
4.5. Standard input
4.6. Exercise Questions
4.7. Multiple Questions
4.8. Fill in the blanks
4.9. True/false
5. Conditional structure
5.1. Control structure
5.1.1. Type of control structures
5.2. Relational operators
5.2.1. Relational expression

4
Name: Usman Shabbir(111)-Amina Shoukat(124)

5.3. ‘IF’ statement


5.3.1. Limitation of ‘if’ statement
5.4. ‘IF ELSE’ statement
5.5. Multiple ‘if else-if’ structure
5.6. Nested ‘if’ structure
5.7. Compound condition
5.8. switch’ structure
5.8.1. Difference between nested ‘if-else’ & ‘switch’
5.9. Conditional Operator
5.10. ‘goto’ Statement
5.11. Programming Exercise
5.12. Exercise questions
5.13. Multiple Questions
5.14. Fill in the blanks
5.15. True/false

__________________________________________________________________________________
__________________________________________________________________________________

Index.

5.16.

E
‘switch’ structure, 4
Event-driven programming, 1

A
F
Advantages of Computer Program, 1
Algorithm & Pseudo Code, 1 Fill in the blanks, 1, 2, 3, 4

C I

Creating, 2 Integer overflow and underflow, 2

D K

Debugging features of turbo C++, 2 Keywords, 2


Difference between flowchart &algorithm, 1
Difference between nested ‘if-else’ & ‘switch’, 4 M
Difference between procedural & non-procedural
languages, 1 Multiple choice, 1

5
Name: Usman Shabbir(111)-Amina Shoukat(124)

N P

Nested ‘if’ structure, 4 Program, 1


Program solving, 1

O
T
Object code, 1
Object-oriented programming, 1 Turbo, 2
type casting, 3

You might also like