0% found this document useful (0 votes)
28 views9 pages

Cbleippu 01

The document is a sample paper for the CBSC Class XII Informatics Practices exam for the academic year 2024-25, consisting of 37 questions divided into five sections. Each section has varying marks assigned, and the paper emphasizes the use of Python for programming questions. It includes multiple-choice questions, assertion-reason questions, and practical coding tasks related to data analysis and SQL queries.

Uploaded by

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

Cbleippu 01

The document is a sample paper for the CBSC Class XII Informatics Practices exam for the academic year 2024-25, consisting of 37 questions divided into five sections. Each section has varying marks assigned, and the paper emphasizes the use of Python for programming questions. It includes multiple-choice questions, assertion-reason questions, and practical coding tasks related to data analysis and SQL queries.

Uploaded by

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

CBSC 12th Informatics Practices Sample Paper 01 Page 1

Sample Paper 01
INFORMATICS PRACTICES (065)
CLASS XII 2024-25
Time: 3 Hours Max. Marks: 70
General Instructions:
1. Please check this question paper contains 37 questions.
2. All questions are compulsory. However, internal choices have been provided in some questions. Attempt
only one of the choices in such questions
3. The paper is divided into 5 Sections- A, B, C, D and E.
4. Section A consists of 21 questions (1 to 21). Each question carries 1 Mark.
5. Section B consists of 7 questions (22 to 28). Each question carries 2 Marks.
6. Section C consists of 4 questions (29 to 32). Each question carries 3 Marks.
7. Section D consists of 2 case study type questions (33 to 34). Each question carries 4 Marks.
8. Section E consists of 3 questions (35 to 37). Each question carries 5 Marks.
9. All programming questions are to be answered using Python Language only.
10. In case of MCQ, text of the correct answer should also be written.

SECTION - A
1. State whether the following statement is True or False:
In Pandas, `.head()` returns the last five rows of a Data Frame by default.

2. Which argument of bar( ) lets you set the thickness of bar?


(a) thick (b) thickness
(c) width (d) size

3. Which of the following are medium of cyber trolling?


(a) Facebook (b) Twitter
(c) Youtube video comments (d) All of these

4. The axis 0 identifies a Data Frame’s ____.


(a) rows (b) columns
(c) values (d) datatype

5. Find the output of the following SQL command.


SELECT POWER (6,6);
(a) 625 (b) 46656
(c) 36 (d) 3125

6. A fraudulent process that extracts money from an ignorant person is called _____.
(a) Spamming (b) Phishing
(c) Scam (d) None of these
Continue on next page.....

Install NODIA App to See the Solutions.


Click Here To Install
Page 2 Sample Paper 01 NODIA

7. The term Intellectual property rights cover _____.


(a) Trademark (b) Copyright
(c) Patents (d) All of these

8. State whether the following statement is True or False:


In SQL, the `DISTINCT` keyword removes duplicate rows from the result set of a query.

9. In FOSS, source code is hidden from


(a) All users (b) Purchaser
(c) Only the vendor (d) In FOSS, source code is not hidden

10. _____ is not a network device.


(a) Router (b) Gateway
(c) Bridge (d) Mesh

11. _____ is not a browser.


(a) Mozilla Firefox (b) Google Chrome
(c) Internet Explorer (d) Yahoo

12. The return type of DAYOFMONTH function is _____.


(a) char (b) String
(c) integer (d) date

13. To display the 3rd, 4th and 5th columns from 6th to 9th rows of a DataFrame df, you can write
(a) df.loc [3 : 5, 6 : 9] (b) df.iloc [3 : 5, 6 : 9]
(c) df.loc [6 : 9, 3 : 5] (d) df.iloc [6 : 10, 3 : 6]

14. Choose the correct statement to display FCode, Name and Price of items that have price less than ` 5000
from table Furniture.
(a) SELECT FCode, Name, Price FROM Furniture WHERE Price > 5000;
(b) SELECT FCode, Name, Price FROM Furniture WHERE Price < = 5000;
(c) SELECT FCode, Name, Price FROM Furniture WHERE Price < 5000;
(d) SELECT * FROM Furniture WHERE Price < 5000;

15. The default date format is


(a) MM-DD-YYYY (b) YYYY-MM-DD
(c) DD-MM-YYYY (d) None of these

16. Match the following SQL functions with their purposes:


SQL Funtion Description
P AVG() 1. Calculate the average value of a column.
Q COUNT() 2. Returns the minimum value in a column.
R MIN() 3. Counts the number of rows.
S SUM() 4. Calculates the total of a column.

Install NODIA App to See the Solutions.


Click Here To Install
CBSC 12th Informatics Practices Sample Paper 01 Page 3

(a) P-1, Q-3, R-2, S-4 (b) P-2, Q-3, R-1, S-4
(c) P-4, Q-3, R-2, S-1 (d) P-2, Q-3, R-1, S-4

17. Which of the following are health disorders caused by overuse of technology?
(a) DNA damage (b) Lung cancer
(c) Damage to heart, liver and spleen (d) All of these

18. Which of the following is an example of single row function?


(a) SUM (b) CONCAT
(c) AVG (d) COUNT

19. Which clause is used with aggregate functions?


(a) GROUP BY (b) SELECT
(c) WHERE (d) Both (a) and (b)

Directions (Q.Nos. 20-21) Assertion and Reason based Questions.

20. Assertion (A) : A Series is a one-dimensional array containing a sequence of values of any data type (int,
float, list, string, etc).
Reason (R) : Pandas Series can be imagined as a column in a spreadsheet.
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
(c) A is true but R is false.
(d) A is false but R is true.

21. Assertion (A) : A router is a network device that connects multiple networks together.
Reason (R) : Routers operate at the network layer (Layer 3) of the OSI model and can forward data packets
based on their IP addresses.
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true and R is not the correct explanation of A.
(c) A is true but R is false.
(d) A is false but R is true.

SECTION B
22. Write any two points of difference between LAN, MAN, and WAN.
 o
What is a home page? Mention two advantages of a home page.

23. Meenakshi , a travel agent, has stored passenger data in a table named Travel with columns (Pno, Pname,
Tdate, Km, Coach). She wants to use a command to count the number of passengers grouped by each coach
type in the Travel table.
SELECT PName, COUNT(Coach) FROM Travel ORDER BY Coach;

Install NODIA App to See the Solutions.


Click Here To Install
Page 4 Sample Paper 01 NODIA

But she is not getting the desired result.


Help her for identifying the reason of the error and write the correct query by suggesting the possible
correction(s).

24. State differences between date functions NOW( ) and DAY( ) of MySQL.

25. The following Python code contains syntax errors. Rewrite it in correct form, underlining the corrections
made.
import Pandas as pd
data = {‘A’: 1, ‘B’: 2, ‘C’: 3)
my_series = Pd.Series(data)
print(my_series)

26. Write the output of the given code.


import pandas as pd
S1=pd.Series([5,6,7,8,10],
index=([‘v’, ‘w’, ‘x’, ‘y’, ‘z’])
l=[2,6,1,4,6]
S2=pd.Series(l, index=[‘z’, ‘y’,
‘a’, ‘w’, ‘v’])
print(S1 — S2)

27. What are digital property rights? List some examples of digital property rights.

28. Complete the given Python code to given two DataFrames ‘df1’ and ‘df2’, merge them on the ‘ID’ column
to get a single DataFrame ‘merged_df’.
import _____ as pd
df1 = pd.DataFrame({‘ID’: [1, 2, 3],
‘Name’ : [‘Riya’,‘Preeti’,‘Neeta’]})
df2 = pd.DataFrame({‘ID’: [1, 2, 4],
‘Age’: [25, 30, 22]))
merged_df = pd.merge(df1, df2, on
=______)
print(merged_df)

SECTION C
29. “The event in-charge at a school received a suggestion from one of the students to use Python Pandas for
data analysis and Matplotlib for data visualization. She then created a DataFrame named ‘df’ to track the
number of First, Second, and Third prizes won by different houses across various events.”.

House First Second Third


0 Chenab 5 7 6
1 Gangas 10 5 4
2 Jamuna 8 13 15
3 Jhelum 12 9 12
4 Ravi 5 11 10
5 Satluj 10 5 3

Install NODIA App to See the Solutions.


Click Here To Install
CBSC 12th Informatics Practices Sample Paper 01 Page 5

Help her to write Python commands to do the following questions:


(i) Display the House names where the number of Second prize are in the range of 12 to 20.
(ii) Display all the records in the reverse order.
(iii) Display the bottom 3 records.

30. Mr. Rajat works as a data analyst in an organization, where he utilizes Python Pandas and Matplotlib for
his tasks. He received a dataset of passenger information covering January, March, and December from the
years 2021 to 2023.

Year Month Passengers

0 2021 Jan 25

1 2021 Mar 50

2 2023 Jan 35
3 2021 Dec 55
4 2023 Dec 65
Help him to write the Python code to create the above DataFrame.

31. “Class XII students have access to the school’s Wi-Fi network. The network security team, responsible for
managing a registered URL ‘schoolwifi.edu,’ sent emails to all students on 17th September 2017, informing
them about the expiry of their passwords. Students were instructed to renew their passwords within 24
hours by clicking on the provided URL.”
On the bases of the above information, answer the questions:
(i) Identify the name of cyber crime which is done by given information.
(ii) Ideally, what characters should be used in a password to make it strong?
(iii) What are unsolicited E-mails called as?
 o
Explain the features of IT Act 2000.

32. Consider the following table Bookhouse.

Table : Bookhouse
No Title Author Subject Publisher Qty Price
1 Data Structure Lips Chute DS McGraw 4 217.00
2 DOS Guide Nortron OS PHI 3 175.00
3 Turbo C++ Robort Lafore Prog Galgotia 5 270.00
4 Dbase Dummies Palmer DBMS PustakM 7 130.00
5 Mastering Windows Cowart OS BPB 1 225.00
6 Computer Studies French FND Galgotia 2 75.00
7 COBOL Stern Prog John W 4 1000.00
8 Guide Network Freed NET Zpress 3 200.00
9 Basic for Beginners Norton Prog BPB 3 40.00
10 Advanced Pascal Schildt Prog McGraw 4 350.00

Install NODIA App to See the Solutions.


Click Here To Install
Page 6 Sample Paper 01 NODIA

Write the SQL statements for the following


(i) Display number of books and average Price for each type of Publisher.
(ii) Display Title, Price in descending order of Price.
(iii) Display total number of books available in stock published by BPB.
 o
Differentiate between COUNT( ) and COUNT (DISTINCT) functions. Explain with the help of example.

SECTIN - D
33. Naman has created the following DataFrame “Climate” to record the data about climatic conditions of four
years:

Year Max Temp Min Temp Rainfall


2017 32 20 123
2018 33 22 140
2019 35 21 135
2020 34 23 160
(a) What will be the output of the following?
(i) Climate.iloc[1:3, 1:2]
(ii) print(Climate.head(2))
(b) Write the Python code to display the temperature difference between MaxTemp and MinTemp for all
the rows in the DataFrame Climate.
(c) List 1st, 2nd and 3rd rows.
 (Option for part (c) only)
o
The exact number of values in each column of the DataFrame?

34. Consider the table Sports given below. Write commands in SQL for the following:

Table : Sports
StudentNo Class Name Game1 Grade Game2 Grade2
10 7 Sammer Cricket B Swimming A
11 8 Sujit Tennis A Skating C
12 7 Kamal Swimming B Football B
13 7 Venna Tennis C Tennis A
14 9 Archana Basketball A Cricket A
15 10 Arpit Cricket A Athletics C

(i) Display the names of the students who have grade ‘A’ in either Game1 or Game2 or both.
(ii) Display the number of students having game ‘Cricket’.
(iii) Display the names of students who have same game for both Game1 and Game2.
(iv) Display the highest class of the students who has opted for swimming as Game1 or Game2.

Install NODIA App to See the Solutions.


Click Here To Install
CBSC 12th Informatics Practices Sample Paper 01 Page 7

SECTIN E
35. Eduminds University of India is starting its first campus in a small town Parampur of central India with its
centre admission office in Delhi. The university has three major buildings comprising of Admin Building,
Academic Building and Research Building in the 5 km area campus. As a network expert, you need to
suggest the network plan as per (i) to (v) to the authorities keeping in mind the distances and other given
parameters.

Expected wire distances between various locations:

Research Building to Admin Building 90 m


Research Building to Academic Building 80 m
Academic Building to Admin Building 15 m
Delhi Admission office to Parampur Campus 1450 km
Expected number of computers. to be installed at various locations in the university are as follows:

Research Building 20
Academic Building 150
Admin Building 35
Delhi Admission Office 5
(i) Suggest the authorities, the cable layout amongst various buildings inside the university campus for
connecting the building.
(ii) Suggest the most suitable place (i.e. building) to house the server of this organisation, with a suitable
reason.
(iii) Suggest an efficient device to be installed in each of the buildings to connect all computers.
(iv) University is planning to provide online facility to students for clearing their doubts.Which of the
following is the online textual or multimedia conversation will they use?
(a) VoIP
(b) Chatting
(c) HTML
(d) None of these
(v) Which software will students use to connect to Internet, create websites and view sites on web?

Continue on next page.....

Install NODIA App to See the Solutions.


Click Here To Install
Page 8 Sample Paper 01 NODIA

36. Write the Python code to create a plot as given below:

 o
Draw the approximate graph which display the multiline in same plot.
import matplotlib.pyplot as plt
x1 = [10,20,40]
y1 = [20,50,10]
plt.plot(x1, y1, label = “line 1”)
x2 = [10,20,30]
y2 = [40,10,20]
plt.plot(x2, y2, label = “line 2”)
plt.xlabel(‘X - axis’)
plt.ylabel(‘Y - axis’)
plt.title(‘Multiline’)
plt.legend()
plt.show()

37. Write the output of following queries.


(i) SELECT POWER(9, 3);
(ii) SELECT MID(‘SHUCHI GOYAL’, 8,5);
(iii) SELECT RIGHT(‘Dushyant’, 5);
(iv) SELECT INSTR(‘SQL FUNCTIONS’,
‘C’);
(v) SELECT LEFT(‘Nodia’, 2);
 o
Consider the following table CLUB.

Table : CLUB
COAC H_ID COACH NAME AGE SPORTS Date_of_ Joining PAY
1 Rajesh 30 Karate 1999-08-25 1000
2 Anuj 35 Swimming 2000-01-05 750

Install NODIA App to See the Solutions.


Click Here To Install
CBSC 12th Informatics Practices Sample Paper 01 Page 9

3 Shuchi 25 Basketball 2005-01-04 1200


4 Reetika 28 Badminton 2002-08-25 1400
5 Virendra 32 Cricket 1996-05-17 1500
Give the answer of the following questions on the basis of the above table.
(i) Write a query to display the substring of 4 characters of the name of each coach, starting from second
character, with their age.
(ii) What will be the output of the following query?
mysql>SELECT CONCAT (COACHNAME,
AGE) FROM CLUB WHERE AGE> 30;
(iii) Write a query to display the day for the Date_of Joining column.
(iv) What will be the ouput of the following query?
mysql>SELECT PAY *0.25 + 1000
FROM CLUB
WHERE COACHNAME LIKE ‘R%’;
(v) Write a query to display 3 characters from left of coach name.

 EN

Install NODIA App to See the Solutions.


Click Here To Install

You might also like