Page 11 - Computer Science Class 11 With Functions
P. 11
CONTENTS
CONTENTS
1. Computer Fundamentals 11
1.0 CPU 1.1 Input Devices
1.2 Output Devices 1.3 Memory Unit
1.4 Software
2. Number Systems and Encoding Schemes 32
2.1 Decimal Number System (Base-10) 2.2 Binary Number System (Base-2)
2.3 Octal Number System (Base-8) 2.4 Hexadecimal Number System (Base-16)
2.5 Expressing Numbers in Different Number Systems 2.5 Encoding Schemes
3. Boolean Logic 68
3.1 Realising Binary Signals 3.2 Binary Logic
3.3 Boolean Algebra 3.4 Boolean Algebra for Logic Circuits
4. Problem Solving 88
4.1 Problem-Solving Steps 4.2 Algorithm, Flowchart, and Pseudocode
5. Getting Started with Python Programming 111
5.1 Why Python? 5.2 Features of the Python Programming Language
5.3 Shortcomings of Python 5.4 Downloading and Installing Python
5.5 Using the Python IDLE 5.6 Exiting Python
6. Basics of Python Programming 122
6.1 Character Set 6.2 Tokens
6.3 Variables 6.4 Functions
6.5 Comments 6.6 Input and Output
7. Data Types and Operators 146
7.1 Data Types 7.2 Mutable and Immutable DataTypes
7.3 Visualizing Execution of Python Code 7.4 Usage of Python Data Types
7.5 Operators 7.6 Expressions
7.7 Precedence of Operators in Python 7.8 Type Conversion
7.9 Types of Errors
8. Introduction to Functions 177
8.1 Built-in Functions 8.2 User-defined Functions
9. Conditional Statements 203
9.1 Flow of Control in a Program 9.2 Types of Statements in Python
9.3 Conditional Statements
10. Looping in Python 235
10.1 Need for Repeated Execution of Statements 10.2 range()
10.3 for Statement 10.4 while Statement
10.5 Jump Statements 10.6 Nested Loops
10.7 Printing Patterns 10.8 Infinite Loop
10.9 pass Statement
(ix)

