0% found this document useful (0 votes)
66 views11 pages

12 IP PreBoard SS 2024

IP question paper preboard

Uploaded by

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

12 IP PreBoard SS 2024

IP question paper preboard

Uploaded by

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

PREBOARD EXAMINATION (Dec-2024)

SUBJECT: Informatics Practices TIME: 3 Hrs


CLASS: 12 MAX. MARKS: 70

General Instructions:
1. This question paper contains five sections, Section A to E.
2. All questions are compulsory.
3. Section A have 21 questions carrying 01 mark each.
4. Section B has 07 Short Answer type questions carrying 02 marks each.
5. Section C has 04 Short Answer type questions carrying 03 marks each.
6. Section D has 02 Long Answer type questions carrying 4 marks each.
7. Section E has 03 Long Answer type questions carrying 5 marks each.
8.All programming questions are to be answered using Python Language only.

SECTION A
(OBJECTIVE TYPE QUESTIONS) [1X21=21]

1. Identify the SQL Query which displays the data of


StuLibrary table in ascending order of Student-ID.
i) Select * from StuLibrary Order By BookID
ii) Select * from StuLibrary Order By StuID
iii) Select * from StuLibrary Order By StuID ASC
iv) Select * from StuLibrary Order By StuID DESC
Choose the correct option:
a. Both Query i) and iv) will display the desired data.
b. Both Query i) and ii) will display the desired data.
c. Both Query iii) and iv) will display the desired data.
d. Both Query ii) and iii) will display the desired data.

2. Which of the following statement will import pandas


library?
a. Import pandas as pd
b. import Pandas as py
c. import pandas as pd
d. import panda as pd
SS Page 1 of 11
3. Samarth is the harware engineer of “Happy School”. He
has been given the task of installing a network in the
school lab which has around 40 computers.Suggest the
most suitable type of network topology he should use in
order to maximise speed and make each computer
indepenent of network breakdowns.

a. Bus Topology
b. Star Topology
c. Ring Topology
d. Mesh Topology

4. In a Pandas DataFrame, if the tail() function is used


without specifying the optional argument indicating the
number of rows to display, what is the default number of
rows displayed, considering the DataFrame has 10
entries?
a. 0
b. 1
c. 4
d. 5
5. Identify the networking device responsible for routing
data packets based on their destination addresses.
a. Modem
b. Hub
c. Repeater
d. Router

6. e-waste refers to:


a. Software that has become obsolete
b. Data that has been deleted from a storage device
c. Viruses that infect computers
d. Electronic devices that are no longer in use

7. The name “Pandas” is derived from the term


a. Panel data

SS Page 2 of 11
b. Panel series
c. Python document
d. Panel dataframe
8. If a substring is not present in a string the INSTR() returns
a. -1
b. NULL
c. 1
d. 0
9. The device that can operate in place of a hub is
a. Switch
b. Bridge
c. Router
d. Gateway
10. Primary law in India for matters related to e-commerce and
cybercrime is
a. IT act 1995
b. IT act 2000
c. IT Act 1998
d. IT Act 2010
11. SQL uses ____clause to display the names of students in
alphabetical order.
a. Sort by
b. Align by
c. Group by
d. Order by
12. Pop() functions accepts List values as parameter.
a. True
b. False
13. To compare data values of commission earned by sales men
over a year, which of the following type of graph should
preferably be used?
a. Line
b. Area
c. Bar
d. Scatter

SS Page 3 of 11
14. Which of the following will raise an error if given key is not
found in the dictionary.
a. Del
b. Pop()
c. Getitem()
d. All of the above
15. State the output of the given code:
SELECT ROUND(7486.9514,-2);
a. 7500
b. 7400
c. 7480
d. 7490
16. Mayank is not sure about the concept of Shareware and
Proprietary Software. Choose the similar aspects of both
Shareware and Proprietary Software to help him.
(i) Both have no source code.
(ii) Both are freely available.
(iii) Both cannot be modified.
(iv) Both can be downloaded from Internet.
Select the right choice from the followings:
a. (i) , (iii) and (iv)
b. (ii) and (iii)
c. (i) and (iii)
d. (i) , (ii) and (iv)
17. State True or False:
(v) Licensing is a legal procedure to provide rules and
guidelines for other user to use the work.
(vi) Digital Footprints are stored only temporarily (for few
days) and not permanently.
Choose the correct alternative:
(a) (i) True (ii) False
(b) (i) False (ii) True
(c) (i) True (ii) True
(d) (i) False (ii) False
18. Observe the following DataFrame 'Gadgets'created by AYUSH :
Gcode GName GPrice
SS Page 4 of 11
0 G10021 Computer 40000
1 G10030 Mobile 20500
2 G10045 Laptop 75000
Calculate 10% of GPrice and assign to a new column named Tax.

a. Gadgets['Tax'] = ['GPrice'] * 10 / 100


b. Gadgets['Tax'] = Gadgets[GPrice] * 10 / 100
c. Gadgets['Tax'] = Gadgets['GPrice'] + Gadgets['GPrice'] *
10 / 100
d. Gadgets['Tax'] = Gadgets['GPrice'] * 10 / 100
19. Help Sumit to insert a number 12 at 4th position of list named
List1.
a. List1.insert(4,12)
b. List1.insert(12,4)
c. List1.insert(12,3)
d. List1.insert(3,12)
20. Assertion {A} A static webpage does not change for each
person visiting the web page.
Reason {R} when a web server receives a request for a
dynamic page, it locates and updates the page and sends it to
the browser of the client.
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 the not the correct
explanation of A
c. A is True but R is false.
d. A is false but R is true.
21. Assertion {A} The output of addition of two series will be
NaN, if one of the element or both the elements have no value.
Reason {R}While performing mathematical operations on a
series, by default all missing values are filled in with 0.
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 the not the correct
explanation of A
c. A is True but R is false.

SS Page 5 of 11
d. A is false but R is true.

SECTION B
SHORT ANSWERED QUESTIONS [2X7=14]

22. Expand the following terms:


a. PHP
b. FOSS
c. GPL
d. VoIP
23. write the output of the following MYSQL commands:
e. SELECT ROUND(234.79,1) + ROUND(345.86,-1);
f. SELECT SUBSTR(“AJANTA BOOK DEPO”,
MOD(-15,6),2);
24. Write a python program to create a series object,
“COUNTRY” using a list that stores the capital of each country.
25. What is the purpose of Having and Group by clause in Sql?
Explain with the help of suitable example.
OR
Define the use of Default and Unique constraint. How
Unique constraint is different from Primary key constraint?

26. Write the python program to plot a line chart with the help of
given data ensure that the chart contains proper axis labels and
title.
City : Delhi, Banglore,Mumbai, Kolkata
Population in Lakhs : 12,15,11.7 , 15.9
27. Ayesha's family is replacing their old computer with a new
one. They decide to throw the old computer in a nearby
empty field/plot.
g. Explain any one potential environmental hazard associated
with improper e-waste disposal.
h. Describe the importance of recycling in e-waste management.

SS Page 6 of 11
28. Define Net Etiquettes and IPR.
SECTION C
SHORT ANSWERED QUESTIONS [3X4=12]

29. What is Plagiarism? How will you protect your work from
plagiarism. [3]
30. Consider the given dataframe Health [3]

Write suitable python statements for the following:


a. Remove the row containing details of disease name
Tuberculosis
b. Add a new disease named “Dengue” caused by “Mosquito”
c. Display the record of cholera
31. Write a program in Python to create a Series as given below.
[3]
Test
a 40
b 49
c 86
d 90
e 110
f 4
a. Write sample code to display 3 elements from 3rd
position of the Series
b. Display the dimension of the Series S1.
32. Consider a table SHOP contains the column MCODE,
MNAME, SALE_PRICE and Material_Type)
Write query/command in mysql for the following: [3]
SS Page 7 of 11
a. To add a column GST of datatype float in the table.
b. To increase the sale_price by 500 for those who have
Material_Type as “Wood”.
c. To display the highest price of material.

SECTION D
LONG ANSWERED QUESTIONS [4X2=08]

33. Write code to create the chart given below will all
specifications. Collect all details from diagram [4]

34. Consider the above given table and write sql queries for the
following: Vehicle [4]

a. Display the average price of each type of vehicle having


quantity more than 20.
b. Count the type of vehicles manufactured by each company.
c. Display the total price of all the types of vehicles.

SS Page 8 of 11
d. Display the name of vehicles having highest and lowest
price.

SECTION E
LONG ANSWERED QUESTIONS [5X3=15]
35. Write suitable SQL query for the following: [5]

a. To display the average score from the test_results column (attribute)


in the Exams table
b. To display the last three characters of the registration_number
column (attribute) in the Vehicles table. (Note: The registration
numbers are stored in the format DL-01-AV-1234)
c. To display the data from the column (attribute) username in the
Users table, after eliminating any leading and trailing spaces.
d. To display the maximum value in the salary column (attribute) of
the Employees table.
e. To determine the count of rows in the Super table.
OR
Write suitable SQL query for the following:
a. Round the value of pi (398.14159) to two decimal places.
b. Calculate the remainder when 125 is divided by 8.
c. Display the number of characters in the word 'NewJersey'.
d. Display the first 5 characters from the word “Regular Practices”.
e. Display details from 'email' column (attribute), in the 'Students'
table, after removing any leading and trailing spaces.

36. TATA STEEL Industries of Jharkhand, has set up its new


production unit and sales office at Ranchi. The company
compound has four buildings as shown in the [5]
diagram below:

SS Page 9 of 11
Distances between these buildings are as follows:
e. Administrative Office to Factory A 150 m
f. Factory A to Factory B 50 m
g. Factory B to Sales Office 100 m
h. Sales Office to Administrative office 200 m
i. Administrative Office to Factory B 125 m
j. Factory A to Sales Office 85 m

Number of computers in each of the buildings is follows:


· Administrative Office 80
· Factory A 13
· Factory B 15
· Sales Office 10

(a) Suggest the most appropriate topology for the connection


between the offices.
(b) Suggest a cable layout of connections between the buildings so
that each building is directly
connected to administrative office.
(c) Suggest the most suitable place (i.e. building) to house the
server of this production unit with a suitable reason.
(d) Suggest the placement of the Repeater with justification.
(e) Suggest the type of network formed. Also justify.

37. Consider the datafrma given below and write the Python
statements for the following [5]

SS Page 10 of 11
Movie Title Year rating
id
0 1 LAGAAN 2001 8.6
1 2 TAARE ZAMEEN 2007 8.4
PAR
2 3 DANGAL 2016 8.4
3 4 ANDHADHUN 2018 8.5

k. Print the first two rows of the dataframe DF


l. Display titles of the all the movies.
m. Remove the column Rating
n. Display the data of the title colum from indexes 2 to 4
only.
o. Rename the column title to Name

OR
Given below is a DataFrame named 'DF'. Observe it and write the
output produced by the givencommands:
Chetan Mihir Pushkar Ananya
Eng 78 55 89 45
Accounts 65 55 85 56
IP 45 58 39 53

(a) print(DF.shape)
(b) print(len(DF.columns) + len(DF.index))
(c) print(DF.size)
(d) print(DF.iloc[1 , 1] + DF.iloc[-2 , -2])
(e) print(DF.T.shape)

SS Page 11 of 11

You might also like