0% found this document useful (0 votes)
139 views8 pages

Preboard 2 Class Xii Paper

This document provides instructions for a pre-board examination for Class XII students at Royale Concorde International School in Kalyan Nagar. [1] It lists the subject as Informatics Practices and provides general instructions regarding the paper structure and formatting. [2] The paper contains 5 sections (A to E) comprising multiple choice, very short answer, short answer and longer answer questions to be answered in 3 hours. [3] Programming questions must be answered in Python.

Uploaded by

Deepti Sharma
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)
139 views8 pages

Preboard 2 Class Xii Paper

This document provides instructions for a pre-board examination for Class XII students at Royale Concorde International School in Kalyan Nagar. [1] It lists the subject as Informatics Practices and provides general instructions regarding the paper structure and formatting. [2] The paper contains 5 sections (A to E) comprising multiple choice, very short answer, short answer and longer answer questions to be answered in 3 hours. [3] Programming questions must be answered in Python.

Uploaded by

Deepti Sharma
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/ 8

Royale Concorde International School, Kalyan Nagar

Pre-Board II Examination - January 2024

Name:________________ Date: 06-01-24


Class: XII Max Marks: 70
Sub: Informatics Practices Time: 3hr
______________________________________________________________________________
General Instructions:
1.This question paper contains five sections, Section A to E.
2.All questions are compulsory.
3.Section A has 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 questions carrying 05 marks each.
7.Section E has 02 questions carrying 04 marks each with internal choice.
8.All programming questions are to be answered using Python Language only.
_____________________________________________________________________________

Section-A

1. If a Dataframe is created using a 2D dictionary, then the 1


indexes/row labels are formed from
(a) dictionary's values (b) inner dictionary's keys
(c) outer dictionary's keys (d) none of these

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

3. According to a survey, one of the major asian country generates 1


approximately about 2 million tonnes of electronic waste per year.
Only 1.5 % of the total e-waste gets recycled. Suggest a method to
manage e-waste .
(a) burn it (b) refurbish it (c) dump it (d) none of all

4. Which amongst the following is not an example of browser ? 1


(a) Chrome (b) Firefox (c) Avast (d) Edge

5. Using Python Matplotlib _________ can be used to count how many 1


values fall into each interval
(a) line plot (b) bar graph

Page 1 of 8
(c) histogram (d) Options a and b both

6. Write the output of the following SQL command. 1


select mod(49,49) from dual;
a. 49.88 b. 1 c. 49.0 d. none

7. State whether True or False : 1


(a) A copyright is automatically granted to authors or creators of
content._________
(b) In FOSS, source code is usually hidden from the users. ________

8. Nitish received an email warning him of closure of his bank 1


accounts if he did not update his banking information as soon as
possible. He clicked the link in the email and entered his banking
information. Next he got to know that he was duped. This is an
example of __________ .
(a) Phishing (b) Identity Theft
(c) Digital footprint (d) All of Above

9. Which of the following is a type of cyber crime? 1


(a) Stealing a computer from a room
(b) Installing antivirus for protection
(c) Giving someone a false statement about something
(d) Cyber bullying

10. ________ is not a FOSS tool. 1


(a) Libre Office (b) Mozilla Firefox
(c) Google Chrome (d) Python

11. To create an empty Series object, you can use: 1


(a) pd.Series(empty) (b) pd.Series( )
(c) pd.Series(np.NaN) (d) pd.Series(None)

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

13. What will be the output of the following SQL command? 1


SELECT round(155.9772,-1);
(a) 155 (b) 156 (c) 160 (d) 156

Q14 and 15 are ASSERTION AND REASONING based questions. Mark


the correct choice as
(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

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.

15. Assertion(A): Digital footprint is the trail of data we leave behind 1


when we visit any website (or use any online application or portal) to
fill-in data or perform any transaction.
Reason(R): While online, all of us need to be aware of how to
conduct ourselves, how best to relate with others and what ethics,
morals and values to maintain.

16. To plot x versus y, we can write __________________ 1


#plt is an alias for matplotlib.pyplot
(a) plt.plot(y,x) (b) plt.plot(x)
(c) plt.plot(y) (d) plt.plot(x,y)

17. Identify the data type returned by the following query: 1


Select length(“LENGTH”) ;
(a) Numeric value (b) Text value
(c) Null value (d) Float value

18. _______________is a non-profit organization that aims to build a 1


publicly accessible global platform where a range of creative and
academic work is shared freely.
(a) Creative Cost (b) Critical Commons
(c) Creative Commons (d) Creative Common

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.

20. Consider the given SQL string: 2


“12#All the Best!”
Write suitable SQL queries for the following:
(a) Returns the position of the first occurrence of the substring “the”
in the given string.
(b) To extract the last five characters from the string.

21. Predict the output of the following queries: 2


(a) Select (-101);
(b) Select power(4,-2);
Or
If the table Medicines contains 4 records and Aamir executed the
following queries, find the output of both the queries:

Page 3 of 8
(a) Select mod(9,2) from dual;
(b) select mod(9,2) from medicines;

22. Write the output of the given program: 2


import pandas as pd
S1=pd.Series([5,6,7,8,10],index=['v','w',' x','y','z'])
S2=pd.Series([2,6,1,4,6],index=['z','y','a','w','v'])
print(S1-S2)

23. Harshit is a student from a remote village with little knowledge 2


about email and chat. You, as an expert, explain the difference
between email and chat to him with an example.

24. Carefully observe the following code: 2


import pandas as pd
x={'a':100, 'b':200}
y={'a':5,'c':20}
z={'b':50,'d':40}
df=pd.DataFrame({100:x,200:y})
print(df)
Answer the following:
(a) Display the dataframe .
(b) what will be the output of df.shape?

25. Preeti writes the following commands with respect to a table 2


EMPLOYEE having fields, empno, name, department, commission.

Command1 : Select count(*) from employee;


Command2: Select count(commission) from employee;

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

He has written the following queries:

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’;

27. Write a Python code to create a DataFrame with appropriate 3


column headings from the list given below:
[[‘INDIA’,'Gurman',101],[“Sri Lanka”,'Rajveer',102],[‘Japan’,
'Samar' ,103], [‘Iran’,'Yuvraj',104]]
Also,Print data whose name is ‘Yuvraj’ .

28. Consider the given DataFrame ‘Item’: 3

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

1 Abhishek XI M Agra 430

2 Prateek XII M Mumbai 440

3 Sneha XI F Agra 470

4 Nancy XII F Mumbai 492

5 Himanshu XII M Delhi 360

6 Anchal XI F Dubai 256

Page 5 of 8
7 Mehar X F Moscow 324

8 Nishant X M Moscow 429

(a) Display class wise lowest marks.


(b) Display city wise total marks.
(c) Display total number of male and female students.
OR
Discuss the significance of Order by clause in detail with the
help of suitable examples.

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:

The approximate distance between The number of computers installed


these units are as follows: in each unit are:
HR to Admin 70 M HR 30

HR to Sales 50 M Admin 50

Admin to Sales 100 M Sales 20

Baroda Office to 95 KM Baroda 10


Bharuch Office

(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

34. Carefully observe the following table named ‘Employee’: 4


Employee
ENO ENAME DEPT DESIG DOJ SALARY
1 James Sales MGR 2012-09-12 89000
2 Riya Accounts MGR 2005-04-22 56000
3 Raj Personal Clerk 2000-01-09 25000
4 Akash Personal Officer 1994-04-03 67000
5 Sumit Sales Officer NULL 19000
6 Anil Sales Officer NULL 20000
Write SQL queries for the following:
(a) To display the records in decreasing order of Salary.
(b) To display Dept and dept wise total salary of employee.
(c) To display the name, design and its average salary.

Page 7 of 8
(d) To display dept, lowest DOJ and highest DOJ in dept wise of
employee.

35. Consider the following dataframe: 4

Write code to do the following: (1 + 1 + 2)


(a) Display categories from dataframe
(b) Display Appname, Category, and Rating for app having a rating
more than 4.
(c) Display AppName and installs for sports category apps
OR (Only for c)
Display the dimensions and shape of given dataframe.
________________________xxxxxxxxxxxxxxxxxxxxxxx____________________________

Page 8 of 8

You might also like