0% found this document useful (0 votes)
13 views9 pages

Class 12 Ip Pre Board Set A

This document is a pre-board examination paper for Class XII in Informatics Practices, consisting of various sections with a total of 70 marks. It includes multiple-choice questions, short answer questions, and programming tasks primarily focused on Python and SQL. The exam is designed to assess students' understanding of concepts related to web technologies, data handling, and programming skills.

Uploaded by

mahiij120
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)
13 views9 pages

Class 12 Ip Pre Board Set A

This document is a pre-board examination paper for Class XII in Informatics Practices, consisting of various sections with a total of 70 marks. It includes multiple-choice questions, short answer questions, and programming tasks primarily focused on Python and SQL. The exam is designed to assess students' understanding of concepts related to web technologies, data handling, and programming skills.

Uploaded by

mahiij120
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/ 9

AGARWAL VIDYA VIHAR, SURAT IPP202

PRE-BOARD 1 (2023-24)

CLASS : XII SUB : INFORMATICS PRACTICES(065) MARKS : 70


DATE : KENDRIYA VIDYALAYA SANGATHAN,
SET -A ERNAKULAM REGION
DURATION : 3 HOURS
CLASS XII - FIRST PRE-BOARD EXAM, 2022-23
INFORMATICS PRACTICES (065)
Max marks-70 Duration-3 Hrs

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. One internal choice is given in Q35 against part
c only.
8. All programming questions are to be answered using Python Language only

PART -A
1 If different branches of a hospital in different state capitals are connected together, which type 1
of network it forms?
(a) LAN
(b) MAN
(c) WAN
(d) None of the above
2 Stealing someone’s intellectual work and representing it as another person’s work is known as 1
_____.
a. Phishing
b. Spamming
c. plagiarism
d. hacking

3 A free software provides 1


(a) Freedom to run the program for any purpose
(b) Freedom to study and adapt its needs
(c) Freedom to redistribute and improve the program
(d) All the above options are correct
4 There is a TABLE called EMPLOYEE as shown below. 1
EMPLOYEE
EMPNAME SALARY
ARUNAN 5000
SAMUEL NULL
MADHAV 6000

What may the possible output after the following query is executed?
SELECT AVG(SALRY) FROM EMPLOYEE;
(a) 5500
(b) 3666.667
(c) 5000
(d) NULL
5 Select the proper output for the following query from the options: 1
select right(substr('Innovative ideas',2,7),3);
(a) vati
(b) ati
(c) itav
(d) ita
6 URL stands for 1
(a) Universal Resource Locator
(b) Uniform Resource Locator
(c) Universal Range Limit
(d) None of the above

7 Consider the STOCK table. 1


INAME PRICE QTY

CRAYONS 20.00 50
GRAPH 25.00 40
BOOK
PENCIL SET 90.00 20

Find the output of the following SQL query


SELECT PRICE*QTY FROM STOCK WHERE QTY < 40;
(a) 1000.00
(b) 1200.00
(c) 1800.00
(d) None of the above

8 Which among the following is a scalar function? 1


i. ROUND()
ii. SUM()
iii. COUNT()
iv. AVG()

9 Consider the following table Cosmetics. 1


C_ID NAME PRICE QTY
C11 Sun Cream 670 10
C12 Hair Shampoo 125 15
C23 Face Cream 180 25
C56 Sun Cream 590 10
C87 Gel Wax 1000 15
C45 Face Cream 482 20

What will be the output after the execution of the given query?
SELECT COUNT (DISTINCT NAME) FROM Cosmetics ;
(a) 5
(b) 6
(c) 4
(d) 2
10 Consider the below given series, named Batsman, which command will be used to print 6 as 1
output?

a WD Parnell
b David Warner
c RG Sharma
d KL Rahul
e Baber Azam
f Ross Taylor
dtype: object
a. Batsman .index
b. Batsman .length
c. Batsman .values
d. Batsman .size
11 Identify the function used for reading data from a csv file. 1
a) read.csv()
b) read_csv()
c) read_data()
d) csv_read()
12 When a DataFrame is created from List of Dictionaries, then dictionary keys will become 1
______
(i) Column labels
(ii) Row labels
(iii) Both of the above
(iv) None of the above

13 An online activity that enables us to publish website or web application on the internet 1

(a) Web server


(b) Web Browser
(c)Web Hosting
(d) None
14 Identify the SQL function which returns output as a group of characters. 1
(a) NOW()
(b) MONTHNAME()
(c) MONTH()
(d) WEEKNAME()

15 Violating the intellectual property rights of a copyright holder is known as 1


a) Encryption
b) Digital footprint
c) Offline phishing
d) Copyright infringement

16 Which of the following activity is an example for Active digital footprint? 1


a) Surfing internet
b) Apps and websites that use geolocation to pinpoint your location
c) Agreeing to install cookies on your devices when prompted by the browser
d) None 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) : Incognito browsing opens up a version of the browser that will track your 1
activity
Reasoning(R) : Incognito browsing is useful when entering sensitive data

18 Assertion (A):- DataFrame has both a row and column index. 1


Reasoning (R): - A DataFrame is a two-dimensional labelled data structure like a table of
MySQL.

PART-B
19 Explain the terms Static and dynamic Web pages.
2
OR
What are cookies?

20 Shyam created following table Hotel in a database: 2

Table : Hotel
EMPID Category Salary
E101 MANAGER 60000
E102 EXECUTIVE 65000
E103 CLERK 40000
E104 MANAGER 62000
E105 EXECUTIVE 50000
E106 CLERK 35000
E107 MANAGER 61000
E108 CLERK 36000
He now wants to count number of staffs under each category where the number of staffs is
more than 2. He has executed the following query:
Select category, sum(salary) from hotel where count(*)>2 group by category;
But he got an error. Identify the error(s) and rewrite the query. Also underline the correction(s)
done.

21 Write the difference in usage of where and having keywords. 2

22 Write a program to create a series object using dictionary, having 3 movie names as data with 2
index labels 2000,2010 and 2020.

23 What is E -Waste? List any two E-Waste management techniques? 2

OR
List any one Positive impact and negative impact of usage of technology.

24 What will be the output of the following code: 2


import pandas as pd
list1=[2,4,6,8]
list2=['gh','mn','pq','st']
school=pd.Series(list1,index=list2)
print (school*2)
print (school[1:3])

25 Carefully observe the following code: 2


import pandas as pd
D1={'S1': 'India', 'S2': 'Russia', 'S3': 'World'}
D2={'School': 'EOIS', 'Place': 'Moscow'}
data={1:D1,2:D2}
df=pd.DataFrame(data)
print(df)

Answer the following


i. List the index of the DataFrame df
ii. List the column names of DataFrame df
SECTION -C
26 Write outputs for SQL queries (i) to (iii) which are based on the given PASSENGER table 3

pid Pname Age Place DateofJourney Amount Sex


201 Amith 22 Delhi 2022-10-07 2000 M
202 Jeena 38 Mumbai 2022-15-09 1500 F
203 Abilash 54 Chennai 2022-05-22 750 M
204 Asok 43 Chennai 2022-05-05 750 M
205 Nithya 28 Delhi 2022-08-14 2000 F
206 Devan 58 Mumbai 2022-07-21 1500 M

1. SELECT INSTR(PLACE, ‘E’) FROM PASSENGER WHERE DATEOFJOURNEY


=’2022-07-21’;

2. SELECT LENGTH(PNAME) FROM PASSENGER WHERE


MONTH( DateofJourney)=8;

3. SELECT LEFT(PNAME,2) FROM PASSENGER WHERE SEX= ‘F’ AND


AMOUNT<=1500;
27 Write a Python code to create a DataFrame Toppers with appropriate column headings from
the list given below: 3
[[501,'Aromal',’Commerce’],[502,'Greeshma',’Science’],[503,'' Preeti”,’Humanities’],
[504,' Rupin ',’Arts’]]

28 Consider the given DataFrame ‘Market’: 3

Name S_Price
0 Apple 220
1 Banana 45
2 Orange 160
Write suitable Python statements for the following:

i. Add a new item named ‘Guava' having price 175.

ii. Add a column called Margin with the following data: [80,13,50,30].

iii. Remove the column Margin.

29 Mr. Manoj who is a business man by profession faced following situations. Identify the type of 3
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 unauthorised way
OR
What do you understand by Cyber crime? List any two cyber crimes? How cyber crimes are
handled in our country?

30 A relation ‘VAHAN’ is given below : 3

VNO TYPE COMAPNY YEAR PRICE QTY


V1 WAGONAR MARUTI 2009 325000 35
V2 JEEP MAHINDRA 2005 1600000 10
V3 MIRAGE MITSUBISHI 2009 500000 15
V4 RAV4 TOYOTA 2012 5500000 10
V5 ALTO LXI MARUTI 2012 310000 45
V6 FTO MITSUBISHI 2022 850000 8
V7 LANCER MITSUBISHI 2021 733000 9
V8 GLANZA TOYOTA 2022 659000 12

Write suitable SQL queries for the following:


i. Display year wise highest price
ii. Display company wise lowest price
iii. Display sum of quantities available and number of cars available year wise.

OR
Discuss the significance of Order by clause in detail with the help of suitable example

SECTION D

31 Write suitable SQL query for the following: 5


i. Display 7 characters extracted from 22nd left character onwards from the string
‘Experience is a hard teacher’.
ii. Display the position of occurrence of string ‘HIDE’ in the string ‘HIDE AND
SEEK’.
iii. Round off the value 45.1876 to two place.
iv. Display the remainder of 77 divided by 4.
v. Remove all the expected leading and trailing spaces from a column student_name
of the table ‘ result ’.
OR
Explain the following SQL functions using suitable examples

i. LCASE()
ii. LTRIM()
iii. SUBSTR()
iv. NOW()
v. MONTHNAME()
32 ABC Radio services is an international organization with their head office at Telangana 5
They are planning to set up its new centre at Kochi for its office and broadcasting activities. It
has 4 blocks of buildings as shown in the diagram below.

You as a network expert have to suggest the best network related solutions for their problems
raised in (i) to (v), keeping in mind the distances between the buildings and other given
parameters.
Kochi

Telangana Broadcasting
News collection

Advertisements

Recruitment

Center to Center distance between various blocks.

Broadcasting to News collection 60 m


News collection to Advertisements
125 m
Advertisements to Recruitment
175 m
Broadcasting to Recruitment 250 m
News collection to Recruitment
100 m
Broadcasting to Advertisements 75 m

Number of Computers in each wing

Broadcasting 50
News collection 250
Advertisements 50
Recruitment 100
i. Suggest the most appropriate location of the server inside the Kochi campus (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
Kochi campus 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 MUMBAI campus?

iv. Company is planning to get its website designed which will allow listeners to see
daily news details after registering 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 Telangana campus and
Kochi office?
a) Cable TV b) Email c) Video conferencing d) Text chat

33 Write Python code to plot following bar chart 5

Also give suitable python statement to save this chart.

OR

Write a python program to plot a line chart based on the given data to depicts the annual
gross profit (in lakhs of Rs) of a company for a period of 5 years.

SECTION E

34 Reela, a database administrator has designed a database for a watch shop. Help her by writing 1+1+2
answers of the following questions based on the given table: Watches

TABLE: WATCHES
Watchid Watch_Name Price Type Qty_Store
W001 High Time 10000 Unisex 100
W002 Life Time 15000 Ladies 150
W003 Wave 20000 Gents 200
W004 High Fashion 7000 Unisex 250
W004 Golden Time 25000 Gents 100
W005 Lady bird 8500 Ladies 150
i. Write a query to display the highest price from the table watches
ii. Write a query to display watch names in upper case.
iii. Write a query to display total number of watches under each type.
OR (Option for part iii only)
Write a query to display sum of price of watches under each type where quantity
available is more than 100.

35 Mr. Roshan, a data analyst has designed the DataFrame df that contains data about sales made 1+1+2
by 4 salesmans in two half yearlys as shown below. Answer the following questions:

First Second
Salesman1 23000 18000
Salesman2 11000 15000
Salesman3 60000 40000
Salesman4 35000 12000

A. Predict the output of the following python statement:


i. df.shape
ii. df[1:3]

B. Write Python statement to display the data of Second half yearly column of indexes
Salesman1 to Salesman3

OR (Option for part iii only)

Write Python statement to compute and display the sum of data of First column and Second
column of the above given DataFrame.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy