PHASE 3 XII IP(24-12-2024) SET A
PHASE 3 XII IP(24-12-2024) SET A
QPC-065
General Instructions:
(2) This question paper has five sections: Section A, Section B, Section C, Section D and Section
E.
(4) Section A contains sixteen questions, twelve MCQ and four Assertion Reasoning based of 1
mark each, Section Bcontains five questions of two marks each, Section C contains seven
questions of three marks each, Section D contains two case study based questions of four marks
each and Section E contains three long answer questions of five marks each.
(5) There is no overall choice. However, an internal choice has been provided in one question
in Section B, onequestion in Section C, one question in each CBQ in Section D and all three
questions in Section E. You have to attempt only one of the choices in such questions.
SECTION-A (21x1=21)
1. In......... topology, the devices are arranged in the form of multiple branches in hierarchical manner.
(a) Star
(b) Tree
(c) Mesh
(d) Bus
2.Ridhima purchased a license for a copy of a software and made additional copies without the
permission of the copyright owner. This act of hers is known as..........
(a) Trademark Infringement
(b) Identity Theft
(c) Copyright Infringement
3.What can an individual do to enhance the privacy of data stored digitally?
(a) Share sensitive information on social media platforms.
(b) Use your date of birth as your password.
(c) Regularly update software installed on your device.
(d) Download and install software from unknown sources
A
QPC-065
(a) FROM
(b) INSERT INTO
(c) WHERE
(d) GROUP BY
12. Which of the following command will not show first five rows from the Pandas series named S1?
(a) S1 [0:5]
(b) S1. head ( )
(c) S1. head (5)
(d) S1. head [0:5]
13.Rama was unable to understand how the recruiters were able to know about her digital activity
when she has not shared anything with them. The recruiters might have checked.......... of Rama.
(a) Carbon Footprint
(b) Water Footprint
(c) Online print
(d) Digital Footprint
14. Which MySQL string function is used to extract a substring from a given string based on a specified
starting position and length?
(a) SUBSTRING_INDEX( )
(b) LENGTH( )
(c) MID ( )
(d) TRIM ( )
15.The software that is free for anyone, and its source code is available for access, modification,
correction, and improvement is called..........
(a) Proprietary software
(b) Commercial software
(c) Free and Open source software
(d) Copyrighted software
16. ................. help in data protection through copyrights, patents and trademarks.
(a) Data Privacy Right
(b) Right to Innovation
(c) Intellectual Property Rights (IPR)
(d) Right to Data Protection
17. Fill in the blank:
Boolean indexing in Pandas DataFrame can be used for_____________ .
(a) Creating a new DataFrame
(b) Sorting data based on index labels (d) Filtering data based on condition
(c) Joining data using labels
(d) Histogram and Bar plot
18. Which Matplotlib plot is best suited to represent changes in data over time?
(a) Bar plot
(b) Histogram
(c) Line plot
(d) Histogram and Bar plot
19. Which type of network covers a small geographical area like a single office, building, or school
campus?
(a) PAN
(b) MAN
A
QPC-065
(c) LAN
(d) WAN
Directions (Q. Nos. 20 and 21) are Assertion (A) and Reason (R) Type questions. Choose the correct
option as:
(a) Both Assertion (A) and Reason (R) are true, and Reason (R) is the correct explanation of Assertion (A)
(b) Both Assertion (A) and Reason (R) are true, but Reason (R) is not the correct explanation of Assertion
(A)
(c) Assertion (A) is True, but Reason (R) is False
(d) Assertion (A) is False, but Reason (R) is True
import Pandas as pd
D1 = {'Name': 'Rakshit'. 'Age': 25}
02 = {‘Name": "Paul. 'Age: 30}
D3 ={'Name': 'Ayesha". 'Age: 28}
data = [D1, D2, D3)
df = pd.Dataframe(data)
print(df)
Or
A
QPC-065
(B) Complete the given Python code to get the required output (ignore the dtype attribute) as
Output
Tamil Nadu Chennai
Uttar Pradesh Lucknow
Manipur Imphal
Code
Import _______ as pd
data = ['Chennai'.'____'. 'Imphal']
indx = ['Tamil Nadu'. 'Uttar Pradesh', 'Manipur']
s = pd.Series(_____. indx)
print(_______ )
SECTION C (4x3=12)
29. 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.
I. Explain any one potential environmental hazard associated with improper e-waste disposal
II. Suggest one responsible way to Ayesha's family for proper disposal of their old computer.
III. Describe the importance of recycling in e-waste management.
30. (A) Write a Python program to create the following DataFrame using a list of dictionaries.
Product Price
0 Lattop 60000
1 Desktop 45000
2 Monitor 15000
3 Tablet 30000
Or (B) Write a Python Program to Create a Pandas Series as shown below using a dictionary.
Note that the left column indicates the indices and the right column displays the data.
Russia Moscow
Hungary Budapest
Switzerland Bern
31. I. Write an SQL statement to Create a table named STUDENTS, with the following
specifications:
Column Name Data Type Key
StudentID Numeric Primery Key
FirsstName Varchar(20)
LastName Varchar(10)
DateOfBirth Date
Percentage Float(10,2)
II. Write SQL query to insert the following data in the Students Table
1,Supriya,Singh,2010-08-18,75.5
32. (A) Consider the following tables:
Table 1
EMPLOYEE which stores Employee ID (EMP_ID), Employee Name (EMP_NAME), Employee City
A
QPC-065
(EMP_CITY)
Table 2
PAYROLL which stores Employee ID (EMP_ID), Department (DEPARTMENT), Designation
(DESIGNATION), and Salary (SALARY) for various employees.
Note: Attribute names are written within brackets.
Table: EMPLOYEE
EMP_ID EMP_NAME EMP_CITY
1 ABHINAV AGRA
2 KIRAN DELHI
3 RESHMIKA CHENNIA
4 SIMRAN MUMBAI
5 VIKRAM NOIDA
Table: PAYROLL
EMP_ID DEPARTMENT DESIGNATION SALARY
1 SALES MANAGER 75000
2 SALES ASSOCIATE 50000
3 ENGINEERING MANAGER 95000
4 ENGINEERING ENGINEER 70000
5 MARKETING MANAGER 65000
Write appropriate SQL queries for the following:
I. Display department-wise average Salary.
I. List all designations in the decreasing order of Salary.
II. Display employee name along with their corresponding departments.
SECTION – D (2x4=8)
33. During a practical exam, a student Ankita has to fill in the blanks in a Python program that
generates a bar chart. This bar chart represents the number of books read by four students in
one month.
Student Name Books Read
Karan 12
Lina 9
Raj 5
Simran 3
A
QPC-065
HR 175
FINANCE 35
TECHNICAL 50
SUPPORT 15
LUCKNOW OFFICE 40
I. Suggest the most suitable department in the Hyderabad Office Setup, to install the server.
Also, give a reason to justify your suggested location.
II. Draw a suitable cable layout of wired network connectivity between the departments in the
Hyderabad Office.
III. Which networking device would you suggest the company to purchase to interconnect all
the computer within a department in Hyderabad Office?
IV. The company is considering establishing a network connection between its Hyderabad Head
Office and Lucknow regional office. Which type of network – LAN, MAN, PAN, or WAN -- will be
created? Justify your answer.
V. The company plans to develop an interactive website that will enable its employees to
monitor their performance after login. Would you recommend a static or dynamic website, and
why?
Write down the mathematical operations and its types with example.
37. write suitable SQL query for the following :
I. Round the value of pi (3.14159) to two decimal places.
II. Calculate the remainder when 125 is divided by 8.
III. Display the number of characters in the word ‘TECHNOLOGY’.
IV. Display details from ‘email’ column (attribute), in the ‘students’ table, after removing any
leading and trailing spaces.