0% found this document useful (0 votes)
47 views6 pages

Xii Ip CHN 03 QP

Uploaded by

Surjith S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
47 views6 pages

Xii Ip CHN 03 QP

Uploaded by

Surjith S
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

KENDRIYA VIDYALAYA SANGATHAN, CHENNAI REGION

PRE BOARD EXAMINATION 2023-24 12INF03 QP


CLASS XII SUBJECT: INFORMATICS PRACTICES (065)
TIME: 03 Hours M.M.:70

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 02 questions carrying 04 marks each.
7. Section E has 03 questions carrying 05 marks each.
8. All programming questions are to be answered using Python Language only.

SECTION A
1 Which of the following network devices is also known as intelligent hub? 1
a) Gateway b) Switch c)Repeater d)Router
2 _________ are the records and traces that we left behind as we use internet. 1
a) Digital Footprints
b) Data Protection
c) Plagiarism
d) Digital data
3 To display top five rows of a Series S 1
a) S.head( )
b) S.Tail(5)
c) S.Head(5)
d) S.tail( )
4 Write the output for the following SQL commands: 1
Select round(15.193,-1);
a) 11 b)10 c)15 d) 14
5 The combination of bus and star topology is called a ________ 1
a) Hybrid b) Mesh c) Tree d) Ring
6 The _______ function works with data of multiple rows at a time and returns aggregate value. 1
a) SUM() b)AVG() c)MAX() d)COUNT()
7 ‘O’ in FOSS stands for ____ 1
a) Outsource
b) Open
c) Original
d) Outstanding
8 Predict the output of the following queries: 1
Select power(5,3)
a) 100 b)125 c) 243 d)15
9 What will be the output of the following code? 1
>>>import pandas as pd
>>>A=pd.Series(data=[35,45,55,40])
>>>print(A==data)
a) True b) False c)[35,45,55,40] d)Error
10 ______ method in Pandas can be used to change the index of rows and columns of a Series or 1
DataFrame.
a)rename () b)reindex() c)reframe() d)none of the above
11 Which one of the following functions is used to find the largest value from the given data in 1
MySQL?
a)MAX() b)MAXIMUM() c)BIG() d)LARGE()
12 Which of the following is not a type of Cyber crime? 1
a) Data theft b) Forgery c) Installing antivirus d) Cyber bullying
13 The clause that is used to arrange the result of SQL command into groups. 1
a) HAVING BY b)ORDER BY c) DISTINCT d) GROUP BY
14 An organization purchase new computers every year and dumps the old one into the local 1
dumping yard. Write the name of the most appropriate category of waste that the organization is
creating every year, out of the following options:
a) Business waste
b) Commercial waste
c) E-waste
d) Green waste
15 To remove the leading space from data values in a column of MySQL table, we use 1
a) Left() b) Right() c) Trim() d)Ltrim()
16 _________ refers to the process of conversion of electronic devices into something else which 1
can be used again and again.
a) Reduce b)Reuse c)Recycle d) All of the above
17 Assertion (A): A website is a group of related web pages hosted on a web server. 1
Reason (R): A website is a collection of some hyperlinks.

a)Both A and R are true and R is the correct explanation for A


b)Both A and R are true and R is not the correct explanation for A
c) A is True but R is False
d)A is false but R is True
18 Assertion (A): List of dictionary can be passed to form a DataFrame. 1
Reason (R): Keys of dictionary are taken as row names by default.

a)Both A and R are true and R is the correct explanation for A


b)Both A and R are true and R is not the correct explanation for A
c) A is True but R is False
d)A is false but R is True
SECTION B
19 Identify the type of topology: 2
a)Each node is connected with the help of a single cable.
b) Each node is connected with Central switching through independent cables.
Or
What are cookies? What is their utility?
20 The python code written below has syntactical errors. Rewrite the correct code and underline the 2
corrections made.
import Pandas as pd
B1 = pd.Series( [10,20,30,40] )
B2 = Pd.Series( 50,60,70,80 )
df = pd.Dataframe(b1,b2)
print(df)
21 Consider the given SQL string: 2
“EK BHARAT SHRESTHA BHARAT”
Write suitable SQL queries for the following:
i. Returns the position of the first occurrence of the substring “RAT” in the given string.
ii. To extract last six characters from the string
22 What will be the output of the following code: 2
>>>import pandas as pd
>>>A=pd.Series(data=[35,45,55,40])
>>>A[2:5] = 25
>>>print(A)
23 What are the communication etiquettes? 2

24 Complete the given Python code: 2


import _______ as pd
____ = [ [ “Aman”, 12], [“Kapil”, 25], [“Amala”,32] ]
DF = pd.___________( S1,columns = [ “Name”,”Age”], index=[1,2,3])
print(____)
25 Briefly explain the purpose of the following: 2
i. POWER( )
ii. SUM( )
SECTION C
26 Based on the SQL table STUDENT, write suitable queries for the following: 3

Sid SName Class House


1001 Aman 12A RED
1002 Sunil 12B RED
1003 Rohith 12A GREEN
1004 Malavika 12A BLUE

i. To display all information of the students of 12B in descending order of Sid


ii. To display Sid, SName of those students whose name is less than 5 characters long.
iii. To insert a new row in the table STUDENT (1005,’Dhivya’,’12B’, ‘GREEN’)
OR
Reena is working with functions of MySQL . Explain her following:
i. What is the purpose of now () function?
ii. How many parameters does it accept?
iii. What is the general format of its return type?
27 Write a Python code to create a DataFrame ‘temp’ by using list: 3
City Maxtemp Mintemp Rainfall
0 Delhi 40 32 24.1
1 Bangalore 31 25 36.2
2 Chennai 35 27 40.8
3 Mumbai 29 21 35.2
28 Predict the output of the following SQL queries 3
i. SELECT LTRIM (“ ALL THE BEST “);
ii. SELECT RIGHT (‘INFORMATICS’,2);
iii. SELECT SUBSTR(‘START UP INDIA’,6,6);
29 What do you mean by “Digital Footprints”? Explain the different types of digital footprints with 3
example?
OR
What do you mean by Intellectual Property Right? Give some names of common type of IPR
which are protected by the law.
30 Consider the given DataFrame df: 3
A B C D
0 50 80 120 180
1 110 120 130 140
Write suitable Python statements for the following:
i. Add a column called E with the following data: [14, 220].
ii. Remove the column A, C.
iii. Remove the first and second rows from DataFrame.
SECTION D
31 Consider the following table ITEM : 4
TABLE: ITEM
SNO ITEMNAME TYPE PRICE STOCKDATE
1 CHAISES LIVING 11500.58 2020-02-19
2 ACCENT CHAIRS LIVING 31000.67 2021-02-15
3 BAKER RACKS KITCHEN 25000.623 2019-01-01
4 SOFA LIVING 7000.3 2020-10-18
5 NIGHTSTAND BEDROOM NULL 2021-07-23

Write SQL queries for the following:

i. Display all the records in descending order of stockdate.


ii. Display the type and total number of items of each type
iii. Display the least price
iv. Display the itemname with their price rounded to 1 decimal place.
32 Consider the following dataframe “DF”: 4
Emp no Ename
One 1 Anil
Two 2 Sunil
Three 3 Suman
Write the output for the following:
i. print(DF.loc[“Two”])
ii. print(DF.loc[:,”Ename”])
iii. print(DF[“Ename”])
iv. print(DF.loc[“One”,”Two”])
SECTION E
33 Write suitable SQL queries using SQL functions to perform the following operations: 5
Note: The table EMPLOYEE (EMPNO, ENAME, DESG, SALARY, BONUS, DOJ)

i. Display employee name and bonus after rounding off to zero decimal places.
ii. Display the position of occurrence of string ‘an’ in employee name.
iii. Display the 3 characters from employee name starting from second character.
iv. Display the month name for the DOJ of employees.
v. Display the name of the weekday for the DOJ of Employee.
OR
Divnesh, a database analyst has created the following table : Salesman

SNO SNAME SALARY BONUS DOJ STORE_TYPE


A01 ANIL 30000 45.23 29-10-2019 GROCERY
A02 DEEPAK 50000 25.34 13-03-2018 GROCERY
B03 NIRBHAY 30000 35.00 18-03-2017 HARDWARE
B04 UBESH 80000 NULL 31-12-2018 HARDWARE
C05 AATIF 20000 NULL 23-01-1989 HEALTH
C06 KRITIKA 50000 25.34 13-03-2018 HEALTH
E07 ANGEL 30000 35.00 18-03-2017 SOFTWARE
E08 PAYAL 80000 NULL 31-12-2018 SOFTWARE

Write output for the following SQL queries :


i. Select sum(salary) from salesman where bonus is null and salary > 20000;
ii. Select avg(salary)+min(bonus) from salesman where storetype=’health’;
iii. Select max(salary)from salesman where storetype=’software’;
iv. Select length(SNAME) from salesman where bonus is NULL;
v. Select count(bonus) form salesman;

34 Agra Shoes Pvt. Limited is an international shoe maker organization. It is planning to set up its 5
India Office at Agra with its head office in Delhi. The Agra office campus has four main
buildings: - ADMIN, PRODUCTION, WAREHOUSE & SHIPPING.

AGRA OFFICE
DELHI HEAD PRODUCTION WAREHOUSE
ADMIN SHIPPING

Shortest distances between various buildings:

ADMIN TO WAREHOUSE 50MTR


ADMIN TO PRODUCTION 85MTR
ADMIN TO SHIPPING 45MTR
WAREHOUSE TO PRODUCTION 50MTR
WAREHOUSE TO SHIPPING 45MTR
PRODUCTION TO SHIPPING 40 MTR
DELHI HEAD OFICE TO AGRA OFFICE 240 KM

Number of computers :

ADMIN 120
WAREHOUSE 60
PRODUCTION 35
SHIPPING 18
DELHI HEAD OFFICE 12
i) Suggest the most appropriate location of the server inside the AGRA office (out of
the four buildings) to get the best connectivity for maximum number of computers.
Justify your answer.
ii) Suggest and draw cable layout to efficiently connect various buildings within the
AGRA office for a wired connectivity.
iii) Which networking device will you suggest to be procured by the company to
interconnect all the computers of various buildings of AGRA office?
iv) Company is planning to get its website designed which will allow shopkeepers to see
their products, shipping details themselves on its server. Out of the static or dynamic,
which type of website will you suggest?
v) Which of the following will you suggest to establish the online face to face
communication between the people in the ADMIN office of AGRA and Delhi head
office?
i)Cable TV ii)Email iii)Video Conferencing iv)Text chat
35 Write a program to create a horizontal bar chart for India’s medal tally: 5

Country Gold Silver Bronze Total


Australia 80 59 59 198
England 45 45 46 136
India 26 20 20 66
Canada 15 40 27 82

OR
Collect data about your nearby school and number of courses they run for Science, commerce
and Humanities, store it in CSV file and present it using a bar plot

You might also like