Informatics Practices Revision Book
Informatics Practices Revision Book
This revision book is designed to help Class 12 students of Informatics Practices revise important
topics and code concepts as per the 2024 CBSE syllabus. The book covers Python programming,
Pandas, SQL, Computer Networks, Data Visualization, and Societal Impacts of Technology. Each
Example:
```python
import pandas as pd
df = pd.DataFrame(data)
print(df)
```
b) Operations on DataFrames:
- Selecting columns/rows
- Filtering data
Example:
```python
# Select a column
print(df['Name'])
```
Example:
```python
df.fillna(0)
df.dropna()
```
```python
grouped = df.groupby('Age').mean()
```
Example:
```sql
```
b) Aggregate Functions:
Example:
```sql
```
c) Joins:
Example:
```sql
3. Computer Networks
a) Network Fundamentals:
b) Internet Protocols:
4. Data Visualization
Example:
```python
x = [1, 2, 3]
y = [5, 7, 4]
plt.plot(x, y)
plt.show()
```
b) Customizing Plots:
Example:
```python
plt.plot(x, y, color='red')
plt.title('Sample Plot')
plt.xlabel('X Axis')
plt.ylabel('Y Axis')
```
a) Digital Footprint:
b) Net Neutrality:
c) Cyber Ethics: