Time allowed: 3 hours · Maximum marks: 70 · AW-12IP-BP-71065
| Name | Chemistry | |
|---|---|---|
| 0 | Tanvi | 55 |
| 1 | Vikram | 57 |
| 2 | Ritu | 53 |
| 3 | Aman | 78 |
| 4 | Dev | 66 |
| EmpNo | Name | Dept | Salary | Bonus |
|---|---|---|---|---|
| 101 | Ishaan | HR | 43000 | NULL |
| 102 | Neha | HR | 32000 | 1500 |
| 103 | Tanvi | Marketing | 70000 | 5500 |
| 104 | Sneha | Marketing | 82000 | 4500 |
| 105 | Anjali | HR | 53000 | 2000 |
| MemNo | MName | Plan | DOJ |
|---|---|---|---|
| 545 | Harsh | Basic | 2024-04-13 |
| 546 | Tanvi | Silver | 2023-07-04 |
| 547 | Manav | Gold | 2024-05-03 |
| 548 | Aman | Silver | 2023-08-09 |
| 549 | Rohit | Silver | 2023-03-08 |
| OrderNo | Customer | Item | Amount |
|---|---|---|---|
| 401 | Vivek | Sugar | 100 |
| 402 | Pooja | Sugar | 300 |
| 403 | Kavya | Oil | 380 |
| 404 | Gaurav | Sugar | 160 |
| 405 | Simran | Wheat | 200 |
| 406 | Divya | Oil | 300 |
| SID | SName | WingID | Pay |
|---|---|---|---|
| 501 | Rohit | W2 | 23000 |
| 502 | Aman | W1 | 54000 |
| 503 | Tanvi | W1 | 32000 |
| 504 | Divya | W3 | 50000 |
| 505 | Anjali | W1 | 37000 |
| Block | Number of computers |
|---|---|
| Block A | 90 |
| Block B | 150 |
| Block C | 155 |
| Block D | 140 |
| City | Term1 | Term2 | |
|---|---|---|---|
| 0 | Indore | 2500 | 4500 |
| 1 | Pune | 5000 | 9000 |
| 2 | Lucknow | 8000 | 1500 |
| CID | CName | Trainer | Fee |
|---|---|---|---|
| 41 | Typing Skills | Shalini | 209 |
| 42 | Web Design | Meena | 570 |
| 43 | Spreadsheets | Arvind | 1020 |
| 44 | Digital Safety | Arvind | 649 |
| 45 | Python Basics | Meena | 1060 |
| PCode | PName | Category | Qty | Price |
|---|---|---|---|---|
| P10 | Lassi | Drinks | 120 | 798.92 |
| P11 | Pens | Stationery | 70 | 890.44 |
| P12 | Notebooks | Stationery | 80 | 266.85 |
| P13 | Toothpaste | Toiletries | 55 | 297.27 |
| P14 | Soap | Toiletries | 60 | 650.85 |
Informatics Practices: Board Exam Practice Paper · AW-12IP-BP-71065 · For the parent or teacher: award the marks shown for each step, even when the final answer is wrong.
| Q | Answer and marks for each step | Marks |
|---|---|---|
| Section A (21 × 1 = 21 marks) | ||
| 1 | (d) pd.read_csv('marks.csv') | 1 |
| 2 | (b) 3 COUNT(DISTINCT …) counts each different value once | 1 |
| 3 | (a) trademark | 1 |
| 4 | (d) 4 the last bin includes both 25 and 30 | 1 |
| 5 | (b) about.html protocol://domain name/path/file | 1 |
| 6 | (d) DML (Data Manipulation Language) CREATE, ALTER and DROP define structure; INSERT, UPDATE and DELETE change data; SELECT queries it | 1 |
| 7 | (c) sharing a password with friends it disrespects or harms others online | 1 |
| 8 | (a) 6 a scalar is repeated for each of the 6 labels | 1 |
| 9 | (d) gives one result for a group of rows | 1 |
| 10 | (d) switch | 1 |
| 11 | (b) counts rows even when the column holds NULL | 1 |
| 12 | (c) shape | 1 |
| 13 | (d) free and open source software | 1 |
| 14 | (c) HAVING | 1 |
| 15 | (c) 96, 77, 53 keeps the elements where s >= 53 | 1 |
| 16 | (d) PAN | 1 |
| 17 | (c) 95 the row matches the WHERE condition, so 70 + 25 | 1 |
| 18 | (c) A, B, C, D loc slices by label and includes the end label | 1 |
| 19 | (a) Zoya % stands for any run of characters and _ for exactly one; the pattern means the name starts with Z and ends with a | 1 |
| 20 | (d) A is false, but R is true. A is false: the keys become the column labels; the rows are labelled 0 and 1. R is true. | 1 |
| 21 | (b) Both A and R are true, but R is not the correct explanation of A. A is true: keywords and table names are read the same in any case. R is true but does not explain A. | 1 |
| Section B (7 × 2 = 14 marks) | ||
| 22 | (i) head(n) displays the first n rows of a DataFrame; if n is not given, it displays the first 5 rows. (ii) stock.head() displays R1, R2, R3, R4 and R5; stock.tail(4) displays R7, R8, R9 and R10.
| 2 |
| 22 OR | import pandas as pd L = [dict1, dict2] df = pd.DataFrame(L) print(df) Output: a c z 0 20 45 NaN 1 30 35 50.0 (dict1 has no key 'z', so that cell is NaN.)
| 2 |
| 23 | Ransomware is malicious software that locks a computer’s files and demands money to unlock them. Keep backups of files and do not open unknown attachments.
| 2 |
| 24 | (i) plt.legend() (ii) plt.savefig('orders_term10.png'). A legend shows which line or bar stands for which data, using the labels given to plot().
| 2 |
| 25 |
| 2 |
| 25 OR | In a mesh topology, every device is connected to every other device (or many of them) by its own link. Advantage: each link carries only its own data, so it is fast and secure.
| 2 |
| 26 |
| 2 |
| 27 | Plagiarism is presenting someone else’s work or ideas as your own without giving them credit. Copyright infringement is using a copyrighted work without the owner’s permission, even if credit is given.
| 2 |
| 28 | Boolean indexing selects rows with a condition: the condition gives True or False for each row, and only the rows where it is True are kept. df[df['Chemistry'] > 60] displays the rows of Aman and Dev.
| 2 |
| 28 OR | read_csv() reads the data of a CSV file into a DataFrame. sep gives the character that separates the values in the file; it is a comma by default. df = pd.read_csv('attendance9.csv', sep=':')
| 2 |
| Section C (4 × 3 = 12 marks) | ||
| 29 |
| 3 |
| 30 | (i) 6 (ii) 35 (iii) Kochi 41 Jaipur 39 Mumbai 35 Delhi 27 Kolkata 32 dtype: int64
| 3 |
| 30 OR | (i) import pandas as pd stock = {'Erasers': 90, 'Files': 240, 'Pens': 120, 'Rulers': 90} Inventory = pd.Series(stock) print(Inventory) (ii) r NaN s 80.0 t NaN dtype: float64
| 3 |
| 31 | (i) 4 (ii) WER (iii) 13
| 3 |
| 32 | (i) COUNT(Bonus) | COUNT(*) 4 | 5 (ii) Dept | SUM(Salary) HR | 128000 Marketing | 152000 (iii) MAX(Bonus) | MIN(Bonus) 2000 | 1500
| 3 |
| 32 OR |
| 3 |
| Section D (2 × 4 = 8 marks) | ||
| 33 | import matplotlib.pyplot as plt names = ['May', 'Jun', 'Jul', 'Aug'] y = [16500, 15000, 22000, 16000] plt.plot(names, y, label='Sales') plt.title('Sales Performance') plt.xlabel('Month') plt.ylabel('Amount') plt.legend() plt.show()
| 4 |
| 34 |
| 4 |
| 34 OR | (i) WingID | COUNT(*) | SUM(Pay) W1 | 3 | 123000 (ii) SName | WingName Aman | Library Divya | Admin Anjali | Library
| 4 |
| Section E (3 × 5 = 15 marks) | ||
| 35 |
| 5 |
| 36 | (i) import pandas as pd city = pd.Series(['Indore', 'Pune', 'Lucknow']) s1 = pd.Series([2500, 5000, 8000]) s2 = pd.Series([4500, 9000, 1500]) Zones = pd.DataFrame({'City': city, 'Term1': s1, 'Term2': s2}) (ii) Zones.loc[3] = ['Mumbai', 5500, 5000] (iii) print(Zones['City']) — it shows Indore, Pune, Lucknow, Mumbai.
| 5 |
| 37 |
| 5 |
| 37 OR |
| 5 |