Informatics Practices-Sahodaya QP New
Informatics Practices-Sahodaya QP New
Informatics Practices-Sahodaya QP New
CLASS XII
INFORMATICS PRACTICES (065)
Marks: 70
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A has 18 questions carrying 01 mark each.
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.
6. Section D has 03 Long Answer type questions carrying 05 marks each.
7. Section E has 02 questions carrying 04 marks each. One internal choice is given in Q34
and Q35 against part iii only.
8. All programming questions are to be answered using Python Language only.
SECTION A
1. In which topology are all the nodes connected through a single Coaxial cable? 1
i. Star
ii. Tree
iii. Bus
iv. Ring
i. Cracking
ii. Hacking
iii. Banging
iv. Phishing
i. Property rights
ii.Patent
iii.Registered trademark
iv. Copyright
5. The contents of prod ID and price columns of a table “PRODUCT” are given
below,what will be the output after the execution of the given query? 1
P01 3500
P02 2000
P03 NULL
P04 3500
i.2250
ii.3000
iii.1800
iv.2000
6. --------------- is the plug-in device used in networking and telecommunication
applications. 1
i.RJ-45
ii.Hub
iii.Switch
iv.Router
i.ion
ii.on
iii.Ap
iv.App
i.UCASE()
ii.LEN()
iii.SUM()
iv.NOW()
i. Plot
ii.matplot
iii. pyplot
iv. graphics
10. To display fourth element of a Series object S1, you will write---------- 1
i.S1[:3]
ii.S1[4]
iii.S1[:4]
iv.S1[3]
11. Which of the following function is used to import a DataFrame from csv file?
i.read_csv() 1
ii.import_csv()
iii.to_csv()
iv.export_csv()
12. Amongst which of the following is a correct syntax for panda's dataframe? 1
i.Microsoft Windows
ii.Adobe Photoshop
iii.MySQL
iv. MS PowerPoint
14. In SQL, which function returns the day of the month of a given date? 1
i. DAYNAME ()
ii.MONTHNAME ()
iii.DAY ()
iv.MONTH()
i.Static webpage
ii.Website
iii.Web Server
iv.Dynamic webpage
16. The digital footprint can be saved in which of the following locations? 1
i.Download folder
ii.User account
iv.Google Drive
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the
correct choice as:
ii. Both A and R are true and R is not the correct explanation for A
17. Assertion(A):Social media are websites or applications that enable their users to
participate in social networking but they cannot create and share content with
SECTION B
19. Why is domain name address used in place of IP address of the server to
OR
20. Ms.Radhika is working in a school, she wants to group the result set based on
some column’s value. Also, the grouped result should appear in a sorted order.
In which orders she will write the two clauses? Give example to support her? 2
ACCOUNTS 6000
MARKETING 4000
PERSONNEL 5000
i.Write the command which will display the name of the department having
salary>5000.
23. Mr.Raj recently sorted old and damaged items in his house. He gave away
many items for recycling but he did not know how to get rid of the electronic
OR
import pandas as pd
S1 = pd.Series([2, 4, 8, 10])
S2 = pd.Series([1, 3, 7, 10])
print("Equals:")
print(S1 = = S2)
0 1 2 3
0 5 4 3.0 3.0
1 1 6 NaN NaN
2 3 1 7.0 NaN
3 8 7 9.0 2.0
i.Write the command to replace the missing values in columns 2 and 3 with
-6 and 8.
SECTION C
26. What will be the output of the following queries on the basis of LOAN table?
27. Consider a series object AMT that stores the number of employees in each
section of production as shown below. First two sections have been given the
amount for charity Rs.500/-. Write code to create the series and display how
much section A and B have collected. 3
A 75
B 100
C 70
D 65
ii.To delete the second and third index rows in the DataFrame Games.
29. What do you mean by intellectual property? Explain the need of protecting
OR
30. Consider the table APPLIANCE given below. Write suitable SQL queries for
the following: 3
i. Display the total price and count of appliances for each company.
ii. Display the item name and customer name of items whose price is greater
than 35000.
iii. Display the year for the date of purchase of all appliances without
duplication.
SECTION D
31. Write suitable SQL function for the following: 5
v.To remove space from the beginning and end of a string, “ Executives “.
OR
Consider the following table STOCK and answer the given questions:
Table: STOCK
i.Display the stock name and price after rounding off to zero decimal
places.
iv. Find the total number of price by date and show only date with a total
number of prices above 15.
32. “Imperial College” has its main campus in London and their branches are
situated in the township. The buildings at these places are shown in the diagram.
Main Campus
City Branch
Admin
Arts Science
Admin 150
Science 100
Arts 75
City branch 50
i. Name the device that will be required to protect the network from unwanted and
unauthorized accesses from outside the network.
ii. Suggest the placement of the following devices with justification if the company
wants minimized network traffic.
*Repeater
*Hub/Switch
iii. Suggest the topology and draw the cable layout for main campus?
iv. Suggest most reliable and low maintenance connection for the campus with its
city branch in township.
v. Which block will be appropriate for server in the main campus, give reason.
33. Write Python code to plot a bar chart survey to find which kind of movie the
people liked best as shown below: 5
Favourite Type of Movie
7
4
Rating 3
0
Comedy Action Romance Drama SciFi
Type
OR
Write a python program to plot a line chart based on the given data to depict the
Team = [‘Brazil’,’Argentina’,’England’,’Germany’]
Score = [3, 2, 4, 2]
SECTION E
34. Consider the table AGENTS given below and answer the following questions:
1+1+2
AG_CODE AG_NAME WRKG_AREA LOCID COMM PHNO
A007 Ramasundar Bangalore B100 45.25 077-
25814763
A008 Nishant Chennai C200 20 044-65767568
iii. Display the agent name and phone number in the Chennai area.
OR
To display agent name and commission wise highest commission of the agent as
per locid from the table agents.
35. Mr. William created the following DataFrame Sales _data. He wants to do
some operations in the dataframe. 2+1+1
Region Sales
0 East 50000
1 North 52000