0% found this document useful (0 votes)
86 views8 pages

Xii Ip Sample Paper 1 2023-24

Uploaded by

Rashmi Jain
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)
86 views8 pages

Xii Ip Sample Paper 1 2023-24

Uploaded by

Rashmi Jain
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/ 8

Website: www.Learnpython4cbse.

com YouTube: SuperNova-Learnpython

Informatics Practices (065)


Class: XII (2023-24)
Sample Paper - 1

TIME: 03 HOURS M.M.: 70

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

a. We should forward to many people so that they can be benefited.


b. We should never forward to anyone.
Le

c. We should confirm the news from any reliable source before forwarding.
d. We should forward to our family and friends only.
a-

2. Which of the following can be called as cyber-crime? 1


a. Stealing someone’s computer
ov

b. Harassing someone over internet


c. Downloading copyright free movies over the internet
d. Sending emails to known people
rN

3. 1
pe

Above code is an example of:


Su

a. Creating series from dictionary


b. Creating series from scalar values
c. Creating series from an array
d. Creating series from Tuple
4. Abhishek uses computer and mobile for his personal use. He uploaded one video 1
in his YouTube channel where he used one background music downloaded from
somewhere on Internet, he may be violating:
a. Copyright
b. Intellectual property rights
c. Plagiarism
d. None of the above

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

5. Identify single-row functions of MySQL amongst the following. 1


a. TRIM() c. MAX()
b. ROUND() d. Both a and b
6. Which of the following function is used to create DataFrame? 1
a. DataFrame( ) c. NewFrame( )
b. CreateDataFrame( ) d. None of the Above
7. In India, E-Waste management assumes greater significance because _________. 1
a. generation of own e-waste
b. dumping of e-waste from developed countries

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

b. Free and open-source software


c. Free software
rN

d. None of the above


14. Consider a table DOCTOR(ID, DocName, Department, DOJ, Gender, salary). 1
Which of the following query will display the names and salaries of doctors in
pe

descending order of salaries.


a. Select DocName, Salary from Doctor order by salary desc;
Su

b. Select DocName, Salary from Doctor where order by salary desc;


c. Select DocName, Salary from Doctor order by salary asc;
d. Select DocName, Salary from Doctor where order by salary asc;
15. Which SQL clause is used to restrict the rows returned by a query? 1
a. SELECT c. ORDER BY
b. WHERE d. GROUP BY
16. Which of the following is NOT a mathematical function? 1
a. LENGTH() c. ROUND()
b. MOD() d. SQRT()
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct choice as
a. Both A and R are true and R is the correct explanation for A
b. Both A and R are true and R is not the correct explanation for A

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

c. A is True but R is False


d. A is false but R is True
17. Assertion(A): In this era of digital society, our daily activities like 1
communication, social networking, banking, shopping, entertainment,
education, transportation, etc., are increasingly being driven by online
transactions.
Reason(R): Managing our tasks digitally saves lot of time.
18. Assertion(A): A Series is a one-dimensional array containing a sequence of 1
values of any data type (int, float, list, string, etc.).

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

25. Write the python statements for the following: 2


i. To return both the first row and the second row in a Pandas DataFrame df.
pe

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

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

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-

Write Python commands to do the following:


i. Display the house names where the number of Second prize are in the
ov

range of 12 to 20.
ii. Display all the records in the reverse order.
rN

iii. Display the bottom 3 records.


29. The school offers Wi-Fi to the students of Class XII. For communication, the 3
network security-staff of the school is having a registered URL "schoolwifi.edu".
pe

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

within 24 hours by clicking on particular URL provided.


On the bases of the above information, answer the questions:
(i) Identify the name of cybercrime 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?
OR
Explain the features of IT Act 2000.

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

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

i. SELECT LENGTH(Name) FROM STUDENT WHERE MARKS > 400;


ii. SELECT NAME FROM STUDENT WHERE GRADE = ‘B’;
iii. SELECT MIN(MARKS), MAX(MARKS) FROM STUDENT WHERE
Su

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.

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

What will be the output of the following?

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.

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

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

Dist VIII, Dist IX, Dist X).


pe
Su

Also, give suitable python statement to save this chart in E: drive of the computer with
name 'house.png'

Class 12 Subject: Informatics Practices (065) Sample Paper - 1


Website: www.Learnpython4cbse.com YouTube: SuperNova-Learnpython

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

Class 12 Subject: Informatics Practices (065) Sample Paper - 1

You might also like