Preboard 2 Class Xii Paper
Preboard 2 Class Xii Paper
Section-A
2. I: 1
● am a technology
● allows you to make voice calls over the internet directly
through a computer instead of an analog phone line
● converting your voice into a digital signal that travels over the
internet.
Who am I?
(a) SMTP (b) POP3 (c) VOIP (d) All of above
Page 1 of 8
(c) histogram (d) Options a and b both
12. If column “temp” of the weather table contains the data set (45, 35, 1
35, 28, 28), what will be the output after the execution of the given
query?
SELECT AVG (DISTINCT temp) FROM weather;
(a) 34.2 (b) 21.6 (c) 38.33 (d) 36
Page 2 of 8
Assertion (A): – When DataFrame is created by using Dictionary, 1
14. keys of dictionary are set as columns of DataFrame.
Reasoning (R):- Boolean Indexing helps us to select the data from
the DataFrames using a boolean vector.
Section-B
19. Briefly explain the basic concepts of a web server and web hosting. 2
OR
Rati is doing a course in networking. She is unable to understand
the concept of URL. Help her by explaining it with the help of
suitable example.
Page 3 of 8
(a) Select mod(9,2) from dual;
(b) select mod(9,2) from medicines;
She gets the output as 4 for the first command but gets an output 3
for the second command. Explain the output with justification.
Section - C
26. Harshit, is learning SQL and confused with the output of following 3
queries on table , predict the output for him:
LOANS
Page 4 of 8
(a) select (year(curdate)-year(StartDate))*12 as Installments_over
from loans;
(b) select CUS_NAME,monthname(Startdate) from LOANS where
60-age<=0;
(c) select CUS_NAME,LOAN_AMT from LOANS where
monthname(STARTDATE)=’March’;
Name Price
0 Note Book 100
1 Project File 120
2 Pen Drive 325
3 IP Book 500
Write suitable Python statements for the following:
(a) Add a column called Qty with the following data: [15,20,30,40]
(b) Add a new Item named ‘The Parker Pen' having price 200.
(c) Remove the column Qty.
29. Rani has recently shifted to a new city and school. She does not 3
know many people in her new city and school. But all of a sudden,
someone is posting negative, demeaning comments on her social
networking profile etc.
She is also getting repeated mails from unknown people. Every
time she goes online, she finds someone chasing her online.
(a) What is this happening to Rani?
(b) What immediate action should she take to handle it?
(c) Is there any law in India to handle such issues? Discuss briefly.
30. Based on table School given here, write suitable SQL queries for 3
the following:
Roll No Name Class Gender City Marks
Page 5 of 8
7 Mehar X F Moscow 324
Section- D
31. Biswas Enterprise is starting its first regional office in Baroda, Gujarat and a 5
branch office in Bharuch. Bharuch office has three units Admin, HR and
Sales in the 2 Km Area. As a network admin, you need to suggest the
network plan as per (i) to (iv) to the leaders keeping in mind the distances
and other parameters:
HR to Sales 50 M Admin 50
(a) Suggest the best suitable cable layout for the given case to connect
each unit of the Bharuch office.
(b) Suggest the most suitable place to install the server and specify the
reason.
(c) Which device out of the following to be installed in each unit of the
Bharuch office? Router, Repeater, Switch, Modem
(d) Which topology is best for each unit of the Bharuch Office?
Bus, Star, Tree, Mesh
(e) Suggest a suitable technology to access the internet at various units of
Bharuch Office.
OR(option for part (v) only)
Page 6 of 8
Suggest the best option to connect the Baroda office with the Bharuch
office’s units.
32. Write the SQL functions which will perform the following 5
operations:
(a) Display the string “chest” from the string “ Manchester United”
(b) Display the word “hello” from the string “$$$$$$$hello$$$$$$$
$”.
(c) To display the name of the month, e.g., January or February
from the current date.
Write the Output that will be generated by the SQL commands:
(e) SELECT SYSDATE();
(f) SELECT INSTR(“HELLO WORLD”, “he”);
OR
Explain the following SQL functions using suitable examples.
(a) LCASE() (b) LTRIM() (c) SUBSTR() (d) DAYNAME() (e) SQRT()
33. The following Line graph shows last week's Delhi temperature. Write 5
the Python code for the same.
Section - E
Page 7 of 8
(d) To display dept, lowest DOJ and highest DOJ in dept wise of
employee.
Page 8 of 8