Ip Sample Paper 6
Ip Sample Paper 6
Ip Sample Paper 6
ACADEMIC
KENDRIYA VIDYALAYA SESSIONJAMMU
SANGATHAN, (2023-24)
REGION
SAMPLE PAPER SET : 4 6
CLASS : XII SUBJECT: INFORMATICS PRACTICES (065)
General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 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 Q35
against part c only.
8. All programming questions are to be answered using Python Language only
PART A
1. In computer network, the process of converting analog signal into digital signal is known 1
as:
i. Transmission
ii. Modulation
iii. Conversion
iv. Demodulation
2. A person who deliberately sows discord on the Internet bystarting quarrels or upsetting 1
people is called as:
i. Cyber Bullying
ii. Cyber Trolling
iii. Hacking
iv. Doxing
4. Which command must be written after order by command to display the detail in 1
descending order in SQL.
5. If column “Quantity” contains the data set (5,4,7,5,8,5,4), what will 1
be the output after the execution of the given query?
SELECT SUM(DISTINCT Quantity) FROM sales;
i.38
ii. 24
iii.4
iv.None
6. FLOSS stands for ________________ 1
i. Free Liable Open Source Systems
ii. Free Libre Open Source Software
iii. Free License for Open Source Software
iv. Final License for Open Systems Software
7. Which SQL statement do we use to find out the total quantity of all the items in the table 1
SALES?
i. SELECT * FROM SALES;
ii. SELECT COUNT (*) FROM SALES;
iii. SELECT COUNT (QTY) FROM SALES;
iv. SELECT SUM (QTY) FROM SALES;
8. Which one of the following is a multi-row function? 1
i. count()
ii. round()
iii. now()
iv. length()
9. Which one of the following functions is used to find the weekday name for a given date 1
in MYSQL.
i. WEEKDAY()
ii. WEEK()
iii. DAY()
iv. DAYNAME()
10. Given a Pandas series called s, the command which will display the last 5 rows is 1
______________.
i. print(s.Tail())
ii. print(s.tail(5))
iii. print(s.Tail(5))
iv. both a and c
11. Which of the following statement will be used to install Pandas? 1
i. pip install python-pandas
ii. pip install pandas
iii. python install python-pandas
iv. python install pandas
12. Which attribute is used to get total number of elements in a Series? 1
i. values
ii. shape
iii. ndim
iv. size
13. Which amongst the following is not an example of a network device? 1
i. Router
ii. Repeater
iii. Hub
iv. None
14. In SQL, which function is used to extract a substring from a string (starting at any 1
position).
i. MID()
ii.SUBSTR()
iii. SUBSTRING()
iv. All of the above
15. A document that provides legally binding guidelines for the use and distribution of 1
software.
i. Copyright
ii. Patent
iii.FOSS
iv. License
16. Soham uploaded one video in his youtube channel where he used one background music 1
downloaded from somewhere on Internet without giving credit to the source. He is violating
i.Intellectual property right
ii. Patent
iii. Copyright
iv. None of the above
Q17 and 18 are ASSERTION AND REASONING based questions. Mark the correct choice as
i. Both A and R are true and R is the correct explanation for A
ii. Both A and R are true and R is not the correct explanation for A
iii. A is True but R is False
iv. A is false but R is True
17. Assertion (A) : MAC Addresss is 06 bytes long address and represented in 1
hexadecimal numbers.
Reason (R) : IP and MAC both type of addresses are used while communicating over a
network.
18. Assertion (A) : Professionals and developers are using the pandas library in data science 1
and machine learning.
Reason (R) : pandas is an open source Python library which offers high performance,
easy-to-use data structures and data analysis tools.
PART B
19. Explain the term Website and Web Server. 2
OR
What is the difference Static webpage and Dynamic webpage
20. Sam wrote the following query to display the details of parents whose age has not been 2
assigned.
But didn’t get the desired output. Help him in identifying the reason of the error and
write the correct query by suggesting the possible correction.
21. What is the purpose of Having clause in SQL? Explain with the help of suitable example. 2
22. Write a program to create a series object States using a list that stores the Capital of each
states.
Note: Assume four States as index are Bihar, Maharashtra, Assam and Rajasthan having
values are Patna, Mumbai, Guwahati and Jaipur respectively and pandas library has been
imported as pd.
23. List any two health hazards related to excessive use of Technology. 2
OR
Ms. Kanika, in charge of Computer Lab in Hills International school, recently discovered
that the communication between her lab and the primary block of the school is extremely
slow and signals drop quite frequently. The distance between these two blocks is 150
meters.
a. What is the type of network used in the school.
b. Which device which may be used for smooth communication. Justify your answer
24. What will be the output of the following code: 2
import pandas as pd
x={'A':[50,10],'B':[80,20],'C':[12,30],'D':[18,40]}
tot_Sales={"Sales":x}
df=pd.DataFrame(tot_Sales)
print(df)
25. Carefully observe the following code: 2
import pandas as pd
x=[[100,200,300],[10,20]]
df=pd.DataFrame(x)
print(df)
Answer the following:
(i) Display the dataframe
(ii) Write the syntax for displaying size and dimension of the above dataframe.
SECTION C
26. Write outputs for SQL queries (i) to (iii) which are based on the given table Employee: 3
DEPARTM
E_ID FNAME LNAME SALARY JOINING_DATE
ENT
1 Mansa Singh 100000 2014-02-20 HR
2 Nikita Kapoor 80000 2014-07-11 Admin
3 Vaibhav Singh 300000 2014-02-21 HR
4 Atul Gupta 500000 2014-02-20 Admin
5 Jai Kumar 200000 2014-02-11 Admin
(i) Add a new row with values (index as 106, Iname- Pencil Box, Itype- Stationery,
Price- 180, Quantity- 210)using appropriate function.
(ii) Delete the newly added row.
(iii) Add a new column TOTAL in dataframe where the TOTAL is addition
sum of Price and
Quantity.
29. You got the below shown email regarding your netflix account. Answer the following: 3
OR
Consider the following graph .Write the python program to plot line graphs showing
daily sales of “Drinks” and “Food” items for five days