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

IP Sample Paper 3

Dvhh

Uploaded by

santro9776
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)
99 views8 pages

IP Sample Paper 3

Dvhh

Uploaded by

santro9776
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/ 8

Page 1 Sample Paper 3 INFORMATICS PRACTICES Class 12

Sample Paper 3
INFORMATICS PRACTICES (065)
CLASS XII 2023-24
Time: 3 Hours Max. Marks: 70
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 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. A series “Pseries” is created with the values [1.6, numpy.NaN, 8.9, 10.5](Assuming numpy module is already
imported). The output of the statement
Pseries.hasnans will display
(a) True (b) False
(c) NaN (d) NULL

2. Suhhani is confused about the free operating system available in the market. Few of her friends suggested a few
operating systems. Help her in choosing free operating system for her device.
(a) Ubuntu (b) Windows
(c) Mozilla Firefox (d) Blender

3. Which of the following is an example of active digital footprint?


(a) Sharing personal information on Facebook, Instagram, etc.
(b) Signing up when creating mail accounts.
(c) Acceptance to install cookies when prompted to do so.
(d) All of the above

4. W3C stands for _____.


(a) World Wide Web (b) World Web Concerns
(c) World Wide Web Consortium (d) World Wide Web Concerts

5. We should exhibit proper manners and etiquettes while being online. Choose the right netiquette(s).
(a) Avoid cyber bullying (b) Respect other’s privacy
(c) No copyright violation (d) All of the above

Install NODIA App to See the Solutions.


Click Here To Install
Page 2 Sample Paper 3 INFORMATICS PRACTICES Class 12

6. The indexes of a series can be seen by the property _____.


(a) indexes (b) index
(c) values (d) indices

7. Rajan wanted to see all the values of a series school, which command(s) will do it ?
(a) school[0:] (b) school[:]
(c) school.all (d) Both (a) and (b)

8. Which of the following is not true about a freeware?


(a) Available free of cost (b) Can be modified
(c) Can be copied (d) Can be redistributed

9. Which of the following is/are not open source software(s)?


(a) Mozilla Firefox (b) Adobe Photoshop
(c) MS-Windows (d) Both (b) and (c)

10. The correct output of


SELECT TRIM (LEADING ‘&’ FROM ‘&&& India &&&&’); is
(a) India &&& (b) India &&&&
(c) && India (d) &&& India

11. What will be the output of the following query?


Select MOD(11, 3);
(a) 0 (b) 1
(c) 2 (d) 3

12. Which of the following is the correct syntax of LCASE( ) function?


(a) LCASE (row_ name) (b) LCE (column_name)
(c) LCASE (str/column_name) (d) None of these

13. To join the Internet, the computer has to be connected to a _____.


(a) internet architecture board (b) internet society
(c) internet service provider (d) different computer

14. The SQL function which obtains the smallest value in a selected column is
(a) MIN (b) MAX
(c) SUB (d) SUM

15. Megha wants to display the current system date and time, which function she must use to get the correct output?
(a) DATE() (b) TIME()
(c) SYSDATE() (d) CURDATE()

Install NODIA App to See the Solutions.


Click Here To Install
Page 3 Sample Paper 3 INFORMATICS PRACTICES Class 12

16. Name the function that is used to count the number of characters in a character expression.
(a) LENGTH (b) COUNT
(c) SUM (d) STRING

Directions (Q.Nos. 17-18): Assertion and Reason based Questions.

17. Assertion (A) Histograms are used to describe distributions.


Reason (R) To specify the intervals in x-axis, the property used is “interval”.
(a) Both A and R are true and R is the correct explanation of A.
(b) Both A and R are true but R is not the correct explanation of A.
(c) A is true but R is false.
(d) A is false but R is true.

18. Assertion (A) MAN might cover few buildings in a city and might either be private or public.
Reason (R) MAN is a network which spans a physical area that is larger than WAN but smaller than LAN.
(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 and R is true.

Section B
19. Aman, a freelance website developer, has been assigned a task to design few web pages for a book shop. Help Aman
in deciding out of static web page and dynamic web page, what kind of web pages should be designed by clearly
differentiating between static and dynamic web pages on atleast two points?
 o
Priyanka, a beginner in IT field has just started learning web technologies. Help her in understanding the difference
between website and web pages with the help of a suitable general example of each.

20. What are the e-Waste hazards?

21. The Python code written below has syntactical errors. Rewrite the correct code and underline the corrections made.
Import pandas as pd
data = {‘Name’: [‘Riya’, ‘Preeti’, ‘Neeta’], ‘Age’: [25, 30, 22]}
df = Pd.DataFrame(Data)
df.to_csv(‘output.csv’)

22. Aryan, a database administrator, has grouped records of a table with the help of GROUP BY clause.
He needs to further filter groups of records generated through GROUP BY clause. Suggest suitable clause for it and
properly, explain its usage with the help of an example.

23. Complete the given Python code: Given a DataFrame ‘df’, select rows where the ‘score’ column is greater than 80
and ‘age’ column is less than 30.
import _____ as pd

Install NODIA App to See the Solutions.


Click Here To Install
Page 4 Sample Paper 3 INFORMATICS PRACTICES Class 12

df = pd.DataFrame(‘name’: [‘Riya’,
‘Preeti’, ‘Neeta’], ‘age’: [25,
30, 22], ‘score’: [85, 78, 92]})
selected_rows = df[(df[‘score’]
>_____) & (df[‘age’] <_____)]
print(selected_rows)

24. Riya has given the following command to obtain the highest salary
SELECT MAX (EMP_SALARY) FROM Employee
WHERE GROUP BY DOJ;
But she is not getting the desired output.
Help her by writing the correct command.

25. Consider the following DataFrame df 1:


EName Sal Bonus

0 Kavita 50000 3000

1 Sudha 60000 4000

2 Garima 55000 5000

Write the output of the given command:


df1.loc[:0, ‘Sal’]

Section C
26. Ritika is a new learner for the Python Pandas and she is aware of some concepts of Python but is unable to create
the DataFrame. Help her by writing proper statements which will create the DataFrame for the following data.
Name: [‘Manpreet’, ‘Kavil’, ‘Manu’, ‘Ria’]
Phy : [70, 60, 76, 89]
Chem : [30, 70, 50, 65]

27. Saharsh is a student of Class IXth and he is a very frequent user of Internet applications. One day he got an
unpleasant message on his instant messenger.
(i) What do you think he should do?
(ii) Exhibiting proper manners and etiquettes while being online is called as?
(iii) Name the law to handle such issues?
 o
Mr. Navneet found that his login id and password are automatically appearing on keypress in the login page. Explain
him how cookies are responsible for this and how they are useful?

Install NODIA App to See the Solutions.


Click Here To Install
Page 5 Sample Paper 3 INFORMATICS PRACTICES Class 12

28.
Naveen Rehana John Roja Mannat
Maths 90 92 89 81 94
Science 91 81 91 71 95
Hindi 97 96 88 67 99
Based on above DataFrame, write the Python statements for the following.
(i) To add a new column with name of student Prem’ in above DataFrame.
(ii) To set all the values to zero in DataFrame.
(iii) To delete the row of Science marks.

29. Ms.Saumya is working on a MySQL table named ‘Hotel’ having following structure:
Table : Hotel
Field Type Null Key Default Extra
user_id varchar(20) YES NULL
name varchar(20) YES NULL
city varchar(20) YES NULL
mobile_no varchar(11) YES NULL
She needs to perform following task on the table.
(i) To fetch last 2 characters from the user_id column.
(ii) To display the values of name column in lower case.
(iii) To display 3 characters from 3rd place from the column city.
Suggest suitable SQL function for the same. Also, write the query to achieve the desired task.
 o
While dealing with string data type in MySQL, its observed that sometimes unnecessary space character comes
in between which hampers the successful executing of a string manipulation module. Name the suitable MySQL
function(s) to remove leading, trailing and both type of space characters from a string. Also, give MySQL queries
to depict the same.

30. Predict the output of the following queries.


(i) SELECT INSTR(‘[email protected]’, ‘.’);
(ii) SELECT SUBSTR(‘[email protected]’ , 7, 4);
(iii) SELECT LEFT(‘[email protected]’ ,5);

Section D
31. Consider the following DataFrame dfn:
A B C
Order 450 180 350
Purchase 330 550 610
Sell 250 410 380
Target 1050 980 1250

Install NODIA App to See the Solutions.


Click Here To Install
Page 6 Sample Paper 3 INFORMATICS PRACTICES Class 12

(a) Write the output of the following statement.


(i) dfn[[‘A’, ‘B’]]
(ii) dfn.loc [‘Purchase’, :]
(b) Write the code to replace the existing indexes of a DataFrame with O, P, S and T, respectively.
(c) To transpose the DataFrame dfn.
 (option for part (c) only)
o
To create another DataFrame S1 and add above DataFrame to it.

32.
Table : Worker
Ecode Name Desig Plevel DOJ DOB
11 Radhey Shyam Supervisor P001 13-Sep-2004 23-Aug-1981
12 Chander Nath Operator P003 22-Feb-2010 12-Jul-1987
13 Fizza Operator P003 14-June-2009 14-Oct-1983
15 Ameen Ahmed Mechanic P002 21-Aug-2006 13-Mar-1984
18 Sanya Clerk P002 19-Dec-2005 09-June-1983
Consider the above table and write the SQL commands for the following:
(i) To display the details of all workers in descending order of DOB.
(ii) To display Name and Desig of those workers, whose Plevel is either P001 or P002.
(iii) To display the detail of all the workers, whose DOB is in between ‘19-JAN-1984’ and ‘18-JAN-1987’.
(iv) To add a new row with the following data:
19, ‘Daya kishore’, ‘Operator’, ‘P003’, ‘19-Jun-2008’, ‘11-Jul-1984’

Section E
33. Write the code in Pandas to create the following DataFrame
Name Designation Salary

1 Abhi DBA 35000

2 Vanshika Pragrammer 40000

3 Riya Tester 32000

4 Chirag Content Writer 25000


5 Tushar Business Analyst 30000

6 Khushal Sales Executive 37000

7 Mahi Web Designer 42000

Write the commands to do the following operations on the DataFrame given above:
(i) To select the column Designation.
(ii) To change index label from 1 to E101, 2 to E102, .... and so on.
 o

Install NODIA App to See the Solutions.


Click Here To Install
Page 7 Sample Paper 3 INFORMATICS PRACTICES Class 12

Write the code for the following bar graph.

34.
Table : Furniture
No Itemname Type Date of stock Price Dis-count

1 White lotus Double Bed 23/02/02 30000 25

2 Pink feather Baby Cot 20/01/02 7000 20

3 Dolphin Baby Cot 19/02/02 9500 20


4 Decent Office Table 01/01/02 25000 30

5 Comfort Zone Double Bed 12/01/02 25000 25


Based on above table, write the SQL commands for the following:
(i) To show all information about the baby cots from the Furniture table.
(ii) To list the Itemname which are priced at more than 15000 from the Furniture table.
(iii) To list Itemname and Type of those items, in which Dateofstock is before 22/01/02 from the Furniture table in
the descending order of Itemname.
(iv) To display Itemname and Dateofstock of those items, whose Type is “Sofa” from Furniture table
(v) To insert a new row in the Furniture table with the following data:
14, “Velvet touch”, “Double Bed”, {25/03/03}, 25000,30
 o
Explain the following SQL functions using suitable examples.
(i) RIGHT() (ii) COUNT()
(iii) YEAR() (iv) SUM()
(v) MOD()

Install NODIA App to See the Solutions.


Click Here To Install
Page 8 Sample Paper 3 INFORMATICS PRACTICES Class 12

35. JNV School at Hyderabad have their offices according to the following diagram. Go through the details and answer
the questions that follows.

Distance between various wings are given below:


Wings Distance
(in metre)
MESS to SCHOOL 60
MESS to DORMETORY 110
MESS to GATE 65
MESS to ADMIN 130
SCHOOL to DORMETORY 40
SCHOOL to GATE 50
SCHOOL to ADMIN 68
DORMETORY to GATE 115
DORMETORY to ADMIN 100
GATE to ADMIN 65

(i) Name the most suitable wing, where the server should be installed. Justify your answer.
(ii) Draw the cable layout to efficiently connect various wings JNV, Hyderabad and also write the topology.
(iii) Suggest a device/software and its placement that would provide data security for the entire network of the
School.
(iv) (a) Which device will you suggest to be placed/installed in each of these wings to efficiently connect all the
computers within these wings.
(b) Suggest the placement of a repeater in the network with justification.
(v) Suggest a device and the protocol that shall be needed to provide wireless Internet access to all smart phone/
laptop users in the campus of.JNV, Hyderabad.

 EN

Install NODIA App to See the Solutions.


Click Here To Install

You might also like