q-1006
q-1006
q-1006
SCHOOL
PRE BOARD 2022-23
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.
8. All programming questions are to be answered using Python Language only.
PART A
1 Given a Pandas series called S, the command which will display the last 4 rows is _ . 1
a. print(S.tail(4))
b. print(s.Tail())
c. print(s.tails(4))
d. print(s.tail(4))
2 are messages that a web server transmits to a web browser so that the web 1
server can keep track of the user’s activity on a specific website.
a. text
b. cookies
c. email
d. chat
3 The trim()function in MySql is an example of . 1
a. Math function
b. Text function
c. Date Function
d. Aggregate Function
4 The command can be used to insert a new row in a table in SQL. 1
a. add()
b. append
c. insert into
d. alter table.
5 State whether True or False : 1
i. Copying and pasting data from internet or other digital resources is ethical.
ii. E-waste is very hazardous if not handled carefully.
6 Rohan wants to print the row labels of the dataframe. He should use the 1
attribute of a dataframe.
a. column
b. columns
c. index
d. rowname
7 Write the output of the following SQL command. 1
select pow(2,–2);
a. -4
b. 4
c. 0.25
d. -0.25
8 What is e-waste? 1
(a) electronic waste
(b) environmental waste
(c) earth waste
(d) energy waste
9 What will be the output of the following code? 1
mysql>> lcase ('INFORMATICS PRACTICES CLASS 12TH');
13 A URL can specify the IP address of the Web _ that houses a Web page? 1
a) server
b) client
c) e-mail recipient
d) None
14 ………………. are the records and traces that are left behind while internet is used. 1
a) Digital data
b) Digital Footprint
c) Data Protection
d) Plagiarism
15 To mention conditions along with group by function ............................. clause is used. 1
a)Where b)having c)distinct d)select
16 Jhilmalini has stolen a credit card. She used that credit card to purchase a laptop. What 1
type of offence has she committed?
a. online fraud
b. cyber bullying
c. cyber stalking
d. All 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) : import matplotliblib.pyplot as plt is used to import pyplot .
Reason (R) :It is python library so it is imported for using its function.
SECTION B
19 (a) Consider a given Series , T1: 1
SUB1 45
SUB2 65
SUB3 24
SUB4 89
Write a program in Python Pandas to create the series.
(b) Define Series. Write a python statement to create an empty statement.
1
20 Rohit writes the following commands with respect to a table student having fields, Sno, 2
name, Age, fee.
Command1 : Select count(*) from student;
Command2: Select count(name) from employee;
he gets the output as 6 for the first command but gets an output 5 for the second command.
Explain the output with justification.
21 Consider the following Series object, C_amt 2
Mouse 135
Keyboard 260
Pen drive 80
CD 155
i. Write the command which will display the name of the items having amount <100.
ii. Write the command to name the series as comp_items.
Write commands to :
i. Add a new column ‘Percentage’ to the Data frame.
ii. Add a new row with values ( 5 , Rohit ,XI, A ,98,Science)
28 Write a Python code to create a DataFrame with appropriate column headings from the list 3
given below:
[[21101,'MANJUSH',58],[21102,'AKSHAY',60],[21103,'ANN' ,76],
[21104,'NITHYA',48]]
29 (a)What are the different ways in which authentication of a person can be performed? 1.5
(b)Describe measures to recycle your e-waste. 1.5
SECTION D
31 Consider the following graph. Write the code to plot it. 5
OR
Draw the following bar graph representing the uses of programming language.
T1 T2
T3 T4
Computers in each wing are networked but wings are not networked The company has
now decided to connect the wings also.
i. Suggest a most suitable cable layout for the above connections.
ii. Suggest the most appropriate topology of the connection between the wings.
iii. The company wants internet accessibility in all the wings. Suggest a suitable
technology.
iv. Suggest the placement of the following devices with justification if the company
wants minimized network traffic
a) Repeater b)Hub / switch
v. The company is planning to link its head office situated in Pune with the offices
in hilly areas. Suggest a way to connect it economically.
33 (a)Write the SQL functions which will perform the following operations: 2.5
i) To display the current date .
ii) To display the substring “earn” from the whole string ‘LearningIsFun’.
iii) To round the number 76.384 up to 2 place after decimal point.
iv) To find the position of first occurrence of ‘R’ in string 'INFORMATION FORM'
v) To find out the result of 93 .
(b)Consider a table Order with the following data: 2.5
Write SQL queries using SQL functions to perform the following operations:
i) To count the number of orders booked by Salespersons with names starting with ‘R’.
ii) Display the position of occurrence of the string “an” in SalesPerson names.
iii) Display the four characters from SalesPerson name starting from second character.
iv) To find the average of order amount.
v) Display the month name for the Order date.
SECTION E
34 A relation Vehicles is given below: 1+1+2
35 A dataframe fdf stores data about passengers, Flights and Years as given below. 1 each