Ip Sample Paper 10
Ip Sample Paper 10
Ip Sample Paper 10
ACADEMIC
KENDRIYA VIDYALAYASESSION (2023-24)
SANGATHAN, JAMMU REGION
SAMPLE PAPER SET :10
5
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. Collection of millions of interlinked web pages and resources on the internet forms the: 1
i. Web Server
ii. Website
iii. World Wide Web
iv. E-mail System
2. The practice of sending fraudulent messages that appear to come from a reputable 1
source is known as:
i. Hacking
ii. Plagiarism
iii. Identity Theft
iv. Phishing
3. Which is not a measure to recycle your e- waste safely. 1
i. Donate the old and used electronics.
ii. Use certified e-waste recycler
iii.Visit Civic institutions for recycling options.
iv. Dump it in water or dig them in earth.
4. The outputs of the given two commands are 12 and 10 respectively. 1
Select COUNT(*) From Employee;
Select COUNT(Designation) From Employee;
How many NULL values are there in Designation column of the Employee table?
a. 12
b. 10
c. 2
d. None of these
5. If column “Age” contains the data set (10,7,9,6,10,10), what will be the output after the 1
execution of the given query?
SELECT AVG (DISTINCT Age) FROM student;
i. 8.67
ii. 8
iii. 9
iv. 5.33
6. In which year the Indian IT Act, 2000 got updated? 1
i) 2006
ii)2008
iii)2010
iv)2012
7. Which SQL statement do we use to find out the total salary of all the employees in the 1
table EMPLOYEE?
i. SELECT * FROM EMPLOYEE;
ii. SELECT COUNT (*) FROM EMPLOYEE;
iii. SELECT COUNT (salary) FROM EMPLOYEE;
iv. SELECT SUM (salary) FROM EMPLOYEE;
8. Which one of the following is a single row function? 1
i. max()
ii. count()
iii. avg()
iv. length()
9. Predict the output of the following queries: 1
select round(791.485,-2);
10 Consider the following series S : 1
.
a) 1
b) 2
c) 3
d) 4
17 Assertion (A): - We should always prefer websites using secure HTTP connection. 1
. Reasoning (R):- The web pages are transferred over the web using Hyper Text Transfer
Protocol.
18 Assertion (A): - Boolean indexing is a type of indexing. 1
. Reasoning (R):- DataFrame.loc(True) function can be used to find the relative values
where index value is True
PART B
19 Explain the term Add-ons and Plug-in. 2
. OR
Differentiate between router and gateway.
20 Sam wrote the following query to display the total number of employees in each 2
. department where the total employees are more than 5.
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 Group By clause in SQL? Explain with the help of suitable 2
. example.
22 Write the output of the given program:
.
import pandas as pd
S1=pd.Series([5,6,7,8,10],index=['v','w',' x','y','z'])
S2=pd.Series([2,6,1,4,6],index=['z','y','a','w','v'])
print(S1-S2)
23 Explain about the various communication etiquettes. 2
. OR
In a class, the teacher has assigned projects to two top students. Student A has invented
a new concept and applied for rights to the government while Student B has designed a
new logo for his School.
i.Which type of rights Student A will get for his new concept?
a. Trademark b. Copyright c. Patent d. Ownership
ii. What type of rightStudent B will get for designing the logo?
a. Trademark b. Copyright c. Patent d. Ownership
24 What will be the output of the following code: 2
. import pandas as pd
data= {'Name':['Sachin','Dhoni','Virat','Rohit','Shikhar'],
'Age':[26,27,25,24,22],'Score':[87,89,89,55,47]}
df=pd.DataFrame(data,index=['a','b','c','d','e'])
print(df['Score']>=87)
25 Carefully observe the following code: 2
. import pandas as pd
x={'a':100, 'b':200}
y={'a':5,'c':20}
z={'b':50,'d':40}
df=pd.DataFrame({100:x,200:y})
print(df)
(i) SELECT INSTR(CNAME, ‘D’) FROM COURSE WHERE FEES BETWEEN 12000 AND 18000;
(ii) SELECT MOD(DAY(STARTDATE),MONTH(STARTDATE)) FROM COURSE;
(iii) SELECT * FROM COURSE WHERE MONTHNAME(STARTDATE)= ‘JULY’;
27 Write a Python code to create a DataFramedf using dictionary of dictionaries from the 3
. data given below:
(i) Add a new column FinalScore where the finalscore is sum of score1 and score2.
(ii) Add a new row with values (index as 4, Bno- 5, name- Sachin Tendulkar, score1- 99,
score2- 85) using appropriate function
(iii) Delete the columns Bno and score2.
29 Ms.Suhana who is a well-known celebrity in entertainment industry by profession faced 3
. following situations. Identify the type of crime for each situation/incident happened to
her?
(i) Someone deliberately starts argument and posted derogatory messages on her
online.
(ii) She received an email which looked like from her manager where a link was provided
to fill some sensitive information. She provided the information which then resulted in
breach of confidentiality.
(iii) Her official social media account was controlled by somebody in an unauthorised
way.
OR
What do you understand by e-waste? What are the different methods of e-waste
management? Discuss each method briefly.
30 Based on table Salesman given here, write suitable SQL queries for the 3
. following:
(i) Display the bonus after rounding off to 1 decimal places.
(ii) Display the total number of character of all SNAME where the bonus is assigned.
(iii) Display the total salary of each YEAR of JOINING.
OR
Consider the table WORKER below and answer the following questions:-
SECTION D
31 Write suitable SQL query for the following: 5
. i To display the name of the month for the current date.
ii To display the leftmost 5 characters from the string“INFORMATICS
PRACTICES”.
iii To display the position of first occurrence of “iya”in the string
“Kendriya Vidyalaya”
iv To display the column NAME in uppercase from table STUDENT.
v To compute the remainder of 120 and 7 using sql function.
OR
Explain the following SQL functions using suitable examples.
i. DAYNAME()
ii. MID()
iii. TRIM()
iv. LENGTH()
v. POWER()
32 A Software Development Company has set up its new centre at HYDERABAD for its 5
. officeand web-based activities. It has 4 blocks of buildings named Block A, Block B,
BlockC, Block D.
Number of Computers:
(i) Suggest the most suitable place (i.e. block) to house the server of this company with
a suitable reason.
(ii) Suggest the type of network to connect all the blocks with suitable reason.
(iii) Suggest the placement of following devices with justification:
1. Switch/Hub
2. Repeater
(iv) Suggest a system (hardware/software) to prevent unauthorized access to or from
the network
(v) Which of the following will you suggest to establish the online face
to face communication between the people in the BLOCK A of Hyderabad head office
and Delhi campus?
a) Cable TV
b) Email
c) Text chat
d) Video conferencing
33 Write Python code to plot a bar chart for Result Analysis as shown below: 5
.
Also give suitable python statement to save this chart in pdf format.
OR
Write a python program to plot a line chart based on the given data to depict the runs
scored by India. Create a list “OVER” with the data 10, 20, 30, 40, 50. Create another
list “RUNS” to store the runs scored as 45, 25, 50, 75, 100
SECTION E
34 A relation ITEM is given below : 1
. +
1
+
2