Xii Ip Sample Paper 1 2023-24
Xii Ip Sample Paper 1 2023-24
se
General Instructions
1. This question paper contains five sections, Section A to E.
cb
2. All questions are compulsory.
3. Section A have 18 questions carrying 01 mark each.
n4
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
o
6. Section D has 02 questions carrying 04 marks each.
7. Section E has 03 questions carrying 05 marks each.
th
8. All programming questions are to be answered using Python Language only.
py
Question Section-A Marks
n
No.
1. As soon as we get any good news from any source in social media: 1
ar
c. We should confirm the news from any reliable source before forwarding.
d. We should forward to our family and friends only.
a-
3. 1
pe
se
c. lack of awareness
d. All of these
cb
8. Method or function to add a new row in a dataframe is ______________. 1
a. .loc() c. .iloc()
b. .join() d. .add()
n4
9. Which of the following refers to a small, single site network? 1
a. DSL c. RAM
o
b. WAN d. PAN
10. Write the output of the following SQL command. SELECT ROUND(47.89); 1
th
a. 47.9 c. 47.8
b. 48.0 d. 50
py
11. In a ring topology, how many neighbours does each node have? 1
a. One c. Three
n
b. Two d. Four
ar
12. Which type of function can accept Text as an input and provides string or numeric 1
value as an output?
Le
a. String c. Date
b. Time d. Math
13. A software which is available for free, and the code is open for all, it is called as 1
a-
_____________.
a. Proprietary software
ov
se
Reason(R): Pandas Series can be imagined as a column in a spreadsheet.
Section-B
cb
19. Write any two points of differences between LAN and WAN. 2
OR
n4
Define home page. Give two advantages of home page.
20. Aditi is a travel agent, she has stored the data of all passengers in a table 2
o
Travel(Pno, Pname,Tdate,Km, Coach).
She has given the following command to count the number of passengers in each
th
coach from Travel table.
Select PName, Count(Coach) from Travel order by Coach;
py
But she is not getting the desired result. Help her in identifying the reason of the
error and write the correct query by suggesting the possible correction (s).
n
21. State differences between date functions NOW( ) and DAY( ) of MySQL. 2
ar
22. Write a code to create a series object using a dictionary that stores the salary of 2
employees in ABC organisation.
Le
23. What is digital property rights? Write the names of some digital property rights. 2
24. Write the output of the given code. 2
a-
import pandas as pd
S1=pd.Series([5,6,7,8,10],index=[‘v’,‘w’,‘x’,‘y’,‘z’])
ov
l=[2,6,1,4,6]
S2=pd.Series(l, index=[‘z’,‘y’,‘a’,‘w’,‘v’])
print(S1-S2)
rN
ii. To select first four rows and second to fourth columns from a DataFrame ‘Data’.
Section-C
Su
26. 3
Give the output of following SQL commands on basis of above table Book.
i. Select SUBSTR(Title,2,3) from BOOK where Code=’D002’;
ii. Select CONCAT(Author, Publication) from BOOK Where
Price=250;
iii. Select Max(Price) from Book;
27. Mr. Ankit is working in an organization as data analyst. He got a dataset of the 3
passengers for the year 2010 to 2012 for January, March and December. His
manager wants certain information from him, but he is facing some problems.
se
cb
n4
Write the python code to create the above data frame.
28. Sanyukta is the event incharge in a school. One of her students gave her a
suggestion to use Python Pandas and Matplotlib for analysing and visualising the
o
data, respectively. She has created a DataFrame “df” to keep track of the number
th
of First, Second and Third prizes won by different houses in various events.
py
n
ar
Le
a-
range of 12 to 20.
ii. Display all the records in the reverse order.
rN
On 17th September 2017, E-mails were received by all the students regarding
expiry of their passwords. Instructions were also given renew their password
Su
30. 3
se
cb
o n4
Write the SQL statements for the following based on above table:
1. Display number of books and average price for each type of publisher.
th
2. Display title, price in descending order of price
py
3. Display total number of books available in stock published by BPB.
Section- D
31. Write outputs for SQL queries (i) to (iii) which are based on the given table 1+1+2
n
STUDENT:
ar
Le
a-
ov
rN
pe
SUBJECT = ‘Medical’;
OR
Display the highest marks of the students who has opted for subject as
Commerce.
32. Naman has created the following dataframe ‘climate’ to record the data about 1+1+2
climatic conditions of four years.
se
i. Climate.iloc[1:3,1:2]
ii. print (Climate.head(2))
iii. Write the python code to display:
cb
The temperature difference between MaxTemp and MinTemp for all
the rows in the dataframe Climate.
n4
OR
The exact number of values in each column of the dataframe.
Section-E
o
33. Eduminds University of India is starting its first campus in a small town Parampur 5
th
of central India with its centre admission office in Delhi. The university has three
major buildings comprising of Admin Building, Academic Building and Research
py
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
n
other given parameters.
ar
Le
a-
ov
rN
pe
Su
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
se
c. HTML
d. None of the above
cb
v. Which software will students use to connect to Internet, create websites and
view sites on web.
34. Write the SQL functions which will perform the following operations: 5
n4
(i) To display the name of the day of the current date.
(ii) To remove spaces from the beginning of a string “ Python”.
o
(iii) To display the name of the month e.g. January or February from your
date of birth(dob).
th
(iv) To display the starting position of word “Information” from “Information
Technology”.
py
(v) To compute the power of two numbers a and b.
OR
n
Explain the following SQL functions using suitable examples.
ar
i. UCASE()
ii. TRIM()
Le
iii. MID()
iv. DAYNAME()
v. TRUNCATE()
a-
35. District wise total number of houses are represented in the following table: 5
VII Dist VIII Dist IX Dist X Dist
ov
40 45 35 44
Draw the following bar graph representing the number of houses in each District(Dist VII,
rN
Also, give suitable python statement to save this chart in E: drive of the computer with
name 'house.png'
OR
Write a python program to plot a line chart based on the given data to depict the
weekly study patterns for all the seven days
Day = [1,2,3,4 ,5,6,7]
Study_Hours = [5 4 6 5,7,8,10]
Also, give suitable python statement to save this chart in d: drive of the computer with
name ‘study.png'
se
cb
o n4
th
n py
ar
Le
a-
ov
rN
pe
Su