SETB
SETB
3. __________ is the trail of data we leave behind when we visit any website(or use any [1]
online application or portal) to fill-in data or perform any transaction.
a)Offline phishing b)Offline footprint
c)Digital footprint d)Digital phishing
4. The outputs of the given two commands are 20 and 17 respectively. [1]
Select COUNT(*) From Student;
Select COUNT(Age) From Student;
How many NULL values are there in Age column of the Student table?
a)17 b)20 c)3 d)None of these
6. __________ is the legal term to describe terms under which people are allowed to use [1]
the copyrighted material.
a)Licensing b)Copyright c)Patent d)Trademark
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 1
7. E-waste management in India is done as per guidelines of ____________ [1]
a)NITI Aayog b)Ministry of Commerce
c)Central Pollution Control Board(CPCB) d)National Green Tribunal(NGT)
9. Which SQL statement do we use to find out the total quantity of all the items in the [1]
table SALES?
a)SELECT * FROM SALES; b)SELECT COUNT (*) FROM SALES;
c)SELECT COUNT (QTY) FROM SALES; d)SELECT SUM (QTY) FROM SALES;
10. Which of the following statement will be used to install Pandas? [1]
a)pip install python-pandas b)pip install pandas
c)python install python-pandas d)python install pandas
11. In MYSQL, _________option causes a group function to consider only unique values of [1]
the argument expression.
a)DESC b)ORDER BY c)DISTINCT d)None of the above
12. The following code create a dataframe named ‘D1’ with _______________ columns. [1]
import pandas as pd
D1 = pd.DataFrame([1,2,3] )
a) 1 b)2 c)3 d)4
[1]
13. The one who tries to gain unauthorised access to computers or networks in order
to steal sensitive data with the intent to damage or bring down systems is called
a)Cracker b)Plagiarism c)Ethical Hacker d)Phishing
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 2
16. Which of the following is not a violation of IPR? [1]
a)Plagiarism b)Copyright Infringement
c)Patent d)Trademark Infringement
17. Assertion (A): - There is a centralized control in case of Star topology. [1]
Reasoning (R):- A hub can transfer data packets only to the intended node in a
network.
a) Both A and R are true and R is the correct explanation of A.
b) Both A and R are true and R is not the correct explanation of A.
c) A is true but R is false.
d) A is false but R is true.
18. Assertion (A):- Data Frame is a two dimensional labelled array. Its column type can be [1]
heterogeneous i.e ,of varying types
Reasoning (R): - We need a Data Frame with a Boolean index to use the Boolean
indexing.
a) Both A and R are true and R is the correct explanation of A.
b) Both A and R are true and R is not the correct explanation of A.
c) A is true but R is false.
d) A is false but R is true.
SECTION B
19. Draw and Explain BUS topology. Write any two advantages and disadvantages of star [2]
topology.
OR
Differentiate between Hub and Switch.
20. The python code written below has syntactical errors. Rewrite the correct code and [2]
underline the corrections made.
Import Pandas as pd
emp_data = {'name':['Naveen','Rehan','Johny'],
'id':[1001,1002,1003],'department':['IT','IT','Sales'], 'salary':[90000,92000,80000]}
df = pd.dataframe(data)
Print(pd)
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 3
>>>import pandas as pd
>>>Marks =pd.Series(data=[15,25,35,30])
>>>print(Marks[Marks>25])
23. List any four health hazards related to the excessive use of technology. [2]
24. Complete the given Python code to get the output as 2022 [2]
import _______ as ________
data={"Year":2022,"Month":"Mar","Passengers":25}
S=pn.____________________(data)
print(S[_________])
25. Differentiate between GROUP BY and ORDER BY clause. Explain with example. [2]
SECTION C
26. Write outputs for SQL queries (i) to (iii) which are based on the given table Employee: [3]
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 4
Consider the following table Salesperson and Write SQL queries for following: [3]
28.
SID Name PhoneNo DOB Salary Zone
S101 Ankit 9824532586 1981-01-22 65000 North
S102 Bhvya 9725412396 1984-10-19 75000 South
S103 Bhumi 9898457120 1983-12-04 64000 East
S104 Vruti 9324578695 1988-04-05 45000 West
S105 Vikas 9612574891 1987-05-02 58000 Soutch
1)Display salary and date of birth of salesperson whose name ends with ‘i’.
2) Display id, name and Phone Number of all salesperson in descending order of
salary.
3)Display all the details of the salesperson in south zone.
29. Mr. Manoj who is a business man by profession faced following situations. Identify the [3]
type of crime for each situation/incident happened to him?
i) He was constantly receiving abusive emails.
ii) He clicked on an unknown link received as a result his personal sensitive information
was acquired by someone.
iii) His laptop was controlled by somebody in an unauthorized way.
OR
What do you understand by plagiarism? Why is it a punishable offence? Mention any
two ways to avoid plagiarism.
30. Consider the given DataFrame ‘Stock’: [3]
Name Price
0 The Dream Boy 150
1 The Train 180
2 The little girl 225
3 Honesty 500
Write suitable Python statements for the following:
i. Add a column called Special_Price with the following data: [135,150,200,440].
ii. Add a new book named ‘The Secret' having price 800.
iii. Remove the column Special_Price.
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 5
SECTION D
31. Table: Sams Table: Vendor [4]
Pcode PName Price Vcode Vcode VName
S001 Refrigerator 25000 P01 P01 Sathish
S002 Mobile Phone 50000 P02 P02 Manoj
S003 LCD 45000 P03 P03 Jacob
32. Mr. Lalit, a data analyst has designed the Data Frame df that contains data about [4]
Computer Olympiad with ‘CO1’, ‘CO2’, ‘CO3’, ‘CO4’, ‘CO5’ as indexes shown below.
Answer the following questions:
SECTION E
33. Write the SQL functions which will perform the following operations: [5]
1) Display 8 characters extracted from 4th left character onwards from the string
‘CBSE Board Exam Year 2024’
2) Display the position of occurrence of string ‘Exam’ in the string
‘CBSE Board Exam Year 2024’
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 6
3) Find 7 to the power 3.
4) To display current date and time.
5) Remove all the expected leading spaces from a column Name of the table
employee.
OR
Consider the table Transact and answer the following questions.
Table: TRANSACT
TRNO ANO AMOUNT TYPE DOT
T001 101 2500 Withdraw 2017-12-21
T002 103 3000 Deposit 2017-06-01
T003 102 2000 Withdraw 2017-05-12
T004 103 Null Deposit 2017-10-22
T005 105 12000 Deposit 2017-11-06
i) create the above table with proper datatype.
ii)To display details of all transactions of TYPE Deposit.
iii)Delete all the details of the account number 105.
iv)add a new column address in to the table
v)To display all ANO, DOT of those persons from table TRANSACT those who have the
amount less than or equal to 3000.
34. ABC International School, Delhi has different wings as shown in the diagram : [5]
Distance between the wings are as follows: Number of computers in each of the wings :
W3 to W1 70 m W1 125
W1 to W2 40 m W2 40
W2 to W4 15 m W3 42
W4 to W3 130 m W4 60
W3 to W2 120 m
W1 to W4 80 m
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 7
Based on the above information, answer the following questions :
i) Suggest the most suitable cable layout for the above connections.
ii)In which wing would you place the server? Explain the reason for your selection.
iii)Suggest the kind of network required (out of LAN, MAN, WAN) for connecting
Administrative Wing and Middle Wing.
iv)Suggest the placement of the following devices with justification:
i)Repeater ii)Switch/Hub
v)School is planning to purchase a new hardware to protect the network from network
from unauthorized access from outside the network. Name the device.
35. Write code to draw the following bar graph representing the total number of medals [5]
won by Australia.
OR
Write a Python program to display a line chart of the number of students in a
school. Sample data:
Class: I,II,III,IV,V
Strength: 38,30,45,49,37
**************************************************************
F 195, Rev O, Dated 16th March 2010 (This Question Paper contains 8 Pages) Page 8