CBSE Class 12 IP 065 Board Question Paper 2022-23 with Solution

Class 12 Informatics Practices (IP) 065 CBSE Board Question Paper 2022-23 with Solutions has been updated on our website. Students can access the complete CBSE Class 12 IP previous year question paper along with detailed solutions to prepare effectively for their Class 12 CBSE board examinations. The question paper covers important topics and provides a clear understanding of the CBSE examination pattern, question types, and marking scheme.

Class-12-Informatics-Practices-065-Previous-Year-Question-Paper-2022-23-with-Solution

Practising the CBSE Class 12 Informatics Practices Previous Year Question Paper 2022-23 will help students improve their problem-solving skills, revise important concepts, and boost their confidence for the board exams. Download the Class 12 IP 065 Question Paper 2022-23 PDF with Solutions and use it as an effective resource for board exam preparation and self-assessment.

CBSE Class 12 IP 065 Board Question Paper 2022-23 with Solution

Exam Date Mar 23, 2023
Series ∑HEFG
Question Paper Code 90 Set 4

INFORMATICS PRACTICES (065) - PYQP 2023
(Session 2022-23)

Time allowed : 3 hours
Maximum 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 1 mark each.
  4. Section B has 7 Very Short Answer type questions carrying 2 marks each.
  5. Section C has 5 Short Answer type questions carrying 3 marks each.
  6. Section D has 2 questions carrying 4 marks each.
  7. Section E has 3 questions carrying 5 marks each.
  8. All programming questions are to be answered using Python language only.
-SECTION A-

1. Which of the following topologies is very efficient and all nodes are connected to a central hub?
a)  Star
b) Tree
c) Bus
d) Ring

2. Ramandeep is a young woman with great aspirations and has a good team of like-minded people. She along with her team members started a company to sell handicrafts online and also designed a logo for their company. What type of intellectual property does this logo represent?
a) Patents
b) Copyright
c) Design
d) Trademark

3. Which of the following is a type of cybercrime where objectionable and demeaning comments are posted on social media platform about a person, such that he/she is mentally harassed?
a) Phishing
b) Hacking
c) Cyber bullying
d) Identity Theft

4. Which of the following is the correct output of the following SQL command?
SELECT ROUND(7876.4568, 2);
a) 7876.46
b) 7876.45
c) 7900
d) 7900.4568

5. Aggregate functions are also known as:
a) Scalar Functions
b) Single Row Functions
c) Multiple Row Functions
d) Hybrid Functions

6. Primary law in India for matters related to e-commerce and cyber crime is:
a) IT Act 1995
b) IT Act 2000
c) IT Act 1998
d) IT Act 2010

7. Ravisha has stored the records of all students of her class in a MYSQL table. Suggest a suitable SQL clause that she should use to display the names of students in alphabetical order.
a) SORT BY
b) ALIGN BY
c) GROUP BY
d) ORDER BY

8. To remove the leading and trailing space from data values in a column of MySQL Table, we use:
Ans: LEFT()
b) RIGHT()
c) TRIM()
d) LTRIM()

9. If the substring is not present in a string, the INSTR() returns:
a) -1
b) 1
c) NULL
d) 0

10. What will be the output of the following code?
import pandas as pdmyser = pd.Series([0, 0, 0])print(myser)
a) 
0    0
0    0
0    0
b)
0    1
0    1
0    1
c)
0    0
1    0
2    0
d)
0    0
1    1
2    2

11. Which of the following is a two-dimensional labelled data structure of Python?
a) Relation
b) Dataframe
c) Series
d) Square

12. To compare data values of commission earned by salesmen over a year, which of the following type of graph should preferably be used?
a) Line
b) Area
c) Bar
d) Scatter
Explanation: Line Graph: Used to show trends or changes over time, such as monthly commission earned by a salesman.
Area Graph: Used to show trends over time and emphasize the magnitude of change.
Bar Graph: Used to compare values across different categories, such as the annual commission earned by different salesmen.
Scatter Graph: Used to show the relationship or correlation between two numerical variables.

13. Which of the following is not a web browser?
a) Opera
b) Google Chrome
c) Linux
d) Mozilla Firefox

14. Which of the following is not a valid aggregate function in MYSQL?
a) COUNT()
b) SUM()
c) MAX()
d) LEN()

15. The digital footprint that we leave online unintentionally is called:
a) Active digital footprint
b) Passive digital footprint
c) True digital footprint
d) False digital footprint

16. E-waste is responsible for the degradation of our environment if not properly treated or disposed of. Some of the feasible methods of e-waste management are reduce, ______ and recycle.
a) Reuse
b) Recheck
c) Resubmit
d) Regular

17. 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 web 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 for (A)
b) Both (A) and (R) are true and (R) is not the correct explanation for (A)
c) (A) is true and (R) is false
d) (A) is false but (R) is true

18. Assertion (A): The output of addition of two series will be NaN, if one of the elements or both the elements have no value(s).
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 for (A)
b) Both (A) and (R) are true and (R) is not the correct explanation for (A)
c) (A) is true and (R) is false
d) (A) is false but (R) is true

-SECTION B-

19. What is a web server? How is it different from web browser?
Ans: Web Server is a computer or software that stores website files and delivers web pages to users when requested. Web Browser is a software application used to access and view websites on the Internet.
Difference between Web Server and Web Browser:
Web ServerWeb Browser
It stores and provides website data.It displays website content to users.
It receives and responds to requests.It sends requests to web servers.
Example: Apache, Nginx.Example: Google Chrome, Mozilla Firefox.
OR
What do you understand by the term cookies? Give any two benefits of cookies.
Ans: Cookies are small text files stored on a user's computer by websites to remember information about the user and their activities.
Two benefits of Cookies:
(i) Remember Login Details: Cookies help websites remember users' login information, so they do not need to log in every time.
(ii) Save User Preferences: Cookies remember user preferences, such as language, theme and shopping cart items, to provide a better browsing experience.

20. Keshav has written the following query to find out the sum of bonus earned by the employees of WEST zone:
SELECT zone, TOTAL (bonus) FROM employee HAVING zone = 'WEST';
But he got an error. Identify the errors and rewrite the query by underlining the correction(s) done.
Ans: SELECT zone, SUM(bonus) FROM employee WHERE zone = "WEST" GROUP BY zone;

21. Differentiate between COUNT() and COUNT(*) functions in MYSQL. Give suitable examples to support your answer.
Ans: COUNT(): It counts only the non-NULL values in a specified column.
COUNT(*): It counts all rows in a table, including rows containing NULL values.
Example:
Suppose an Employee table has 5 records, out of which 1 employee has NULL salary.
SELECT COUNT(salary) FROM employee; → Returns 4.
SELECT COUNT(*) FROM employee; → Returns 5.

22. Write a Python program to create a series object, country using a list that stores the capital of each country.
Note: Assume four countries to be used as index of the series object are India, UK, Denmark, and Thailand having their capitals as New Delhi, London, Copenhagen, and Bangkok respectively.
Ans: 
import pandas as pd
country = pd.Series(
    ['New Delhi', 'London', 'Copenhagen', 'Bangkok'],
    index=['India', 'UK', 'Denmark', 'Thailand']
)
print(country)

23. Explain plagiarism with an example.
Ans: Plagiarism means copying someone else's work, ideas or content and presenting it as your own without giving proper credit.
Example: Copying an article from the Internet and submitting it as your own school assignment without mentioning the original source is called plagiarism.
OR
Nowadays all of us frequently use social media to connect with our friends. Give any two netiquettes that we should follow while communicating on social media.
Ans: Two Netiquettes to follow while communicating on social media:
(i) Be Respectful: Always use polite language and respect others' opinions. Do not use abusive or offensive words.
(ii) Protect Privacy: Do not share anyone's personal information, photos or messages without their permission.

24. What will be the output of the following code?
import pandas as pd
s1 = pd.Series(data=2*(3,10))
print(s1)
Ans: 
0
1
2
3
3
10
3
10

25. Carefully observe the following code:
import pandas as pddic = {'pid': [101, 102, 103, 104, 105],'pname': ['Shyam', 'Roushan', 'Archit', 'Medha', 'Lalit'],'sports': ['Cricket', 'Tennis', 'Football', 'Cricket', 'Cricket'],'points': [45000, 20000, 15000, 53000, 60000]}
player = pd.DataFrame(dic)
print(player)
Write Python statements for the following:
(i) In the dataframe player created above, set the row labels as 'Player1', 'Player2', 'Player3', 'Player4', 'Player5'.
Ans: player.index = ['Player1', 'Player2', 'Player3', 'Player4', 'Player5']
(ii) Rename the column 'points' to 'netpoint' in the DataFrame player.
Ans: player.rename(columns={'points': 'netpoint'}, inplace=True)

-SECTION C-

26. Consider the table Patient given below and write SQL commands.
Table: Patient
PatientidNameCityPhoneDateofadmDepartment
1000001Ritvik GargDelhi684762132021-12-10Surgery
1000002Rahil AroraMumbai365463212022-01-08Medicine
1000003Mehak BhattDelhi684218792022-02-02Cardiology
1000004Soumik RaoDelhi265432662022-01-11Medicine
1000005Suresh SoodBangalore654324422021-03-09Surgery
I. Display the details of all patients who were admitted in January.
Ans: SELECT * FROM Patient WHERE MONTH(Dateofadm) = 1;
II. Count the total number of patients from Delhi.
Ans: SELECT COUNT(*) FROM Patient WHERE City = 'Delhi';
III. Display the last 2 digits of the Patientid of all patients from Surgery Department.
Ans: SELECT RIGHT(Patientid, 2) FROM Patient WHERE Department = 'Surgery';

27. Kavyanjali, a chemical analyst, needs to arrange data of few elements in the form of two series containing symbols and their atomic numbers respectively. Thereafter, the data of these two series has to be arranged and displayed in the form of Data Frame as shown below:
 SymbolAtomic Number
HydrogenH1
HeliumHe2
LithiumLi3
BeryliumBe4
Help her in writing suitable Python code to complete the task.
Ans: 
import pandas as pd
s1 = pd.Series(['H', 'He', 'Li', 'Be'],
               index=['Hydrogen', 'Helium', 'Lithium', 'Berylium'])
s2 = pd.Series([1, 2, 3, 4],
               index=['Hydrogen', 'Helium', 'Lithium', 'Berylium'])
df = pd.DataFrame({'Symbol': s1, 'Atomic Number': s2})
print(df)

28. Consider the given DataFrame 'health'.
Table: 
 DiseasenameAgent
0Common coldVirus
1ChickenpoxVirus
2CholeraBacteria
3TuberculosisBacteria
Write suitable Python statements for the following:
(i) Remove the row containing details of disease named Tuberculosis.
Ans: health.drop(3, inplace=True)
(ii) Add a new disease named 'Malaria' caused by 'Protozoa'.
Ans: health.loc[4] = ['Malaria', 'Protozoa']
(iii) Display the last 2 rows.
Ans: print(health.tail(2))

29. Manohar received an email from a company, named Makemoney Pvt. Ltd., claiming that Manohar has won 20 lakhs in a survey done online. In order to claim the prize money, he was required to answer few security questions such as his Name, Account number, PAN card details, Phone number and OTP for verification purposes. For this, he had to click on the link provided in the email.
Answer the following questions:
(i) Should Manohar give the required details to the company?
Ans: No, Manohar should not share his personal details, bank account number, PAN card details or OTP with the company.
(ii) What is the activity depicted above?
Ans: This activity is called Phishing. It is an online fraud in which fake emails or links are used to steal personal and financial information.
(iii) What should he do with this email?
Ans: He should delete the email or report it as spam/phishing and should not click on the given link.
OR
What do you understand by the term Hacking? Write any two measures that one should take to avoid being the victim of hacking.
Ans: Hacking is the process of gaining unauthorized access to a computer, network or data to steal, modify or misuse information.
Two measures to avoid hacking:
(i) Use Strong Passwords: Always use strong and unique passwords for your accounts.
(ii) Install Antivirus Software: Use updated antivirus software to protect your computer from viruses and hackers.

30. Write the output (i-iii) for the following SQL commands.
Table: Fashion
IDProductPriceQty
F01Kajal97010
F02Foundation210015
F03Night Cream170020
F04Day Cream140010
F05Shampoo120025
F06Lipstick85032
(i) SELECT COUNT(Product) FROM FASHION;
Ans: 6
(ii) SELECT SUM(Price*Qty) FROM FASHION WHERE Product="Night Cream";
Ans: 34000
(iii) SELECT LEFT(Product, 4) FROM FASHION WHERE Price>1500;
Ans:
Foun
Nigh
OR
Find the output of the following SQL queries:
(i) SELECT SUBSTR("CLIMATE CHANGE", 4, 4);
Ans: MATE
(ii) SELECT UCASE(RIGHT("Pollution", 3));
Ans: ION
(iii) SELECT LENGTH("HAPPY")+3;
Ans: 8

-SECTION D-

31. Write the SQL queries which will perform the following operations:
(i) To display the year from your Date of Admission which is '2023-05-15'.
Ans: SELECT YEAR('2023-05-15');
(ii) To convert your email id 'ABC@XYZ.com' to lowercase.
Ans: SELECT LOWER('ABC@XYZ.com');
(iii) To remove leading spaces from a string 'my country '.
Ans: SELECT LTRIM('my country ');
(iv) To display current date.
Ans: SELECT CURDATE();
(v) To display the value of \(10^6\).
Ans: SELECT POWER(10,6);
OR
Consider a table PRODUCT with the following data:
Table: PRODUCT
SNOItemnameCompanyStockdatePriceDiscount
1MonitorHP2021-12-2015499.73915
2WebcamLogitech2020-02-034890.905
3KeyboardLogitech2022-08-191878.98530
4MouseHCL2021-05-161200.007
5SpeakersiBall2021-10-19NULL25
Write SQL queries using SQL functions to perform the following operations:
(i) Display the first 3 characters of all Itemnames.
Ans: SELECT LEFT(Itemname, 3) FROM PRODUCT;
(ii) Display the names of all items whose Stockday is "Monday".
Ans: SELECT Itemname FROM PRODUCT WHERE DAYNAME(Stockdate) = 'Monday';
(iii) Display the total price of all the products.
Ans: SELECT SUM(Price) FROM PRODUCT;
(iv) Display the maximum Price.
Ans: SELECT MAX(Price) FROM PRODUCT;
(v) Display the average Price of all the products by the company named 'Logitech'.
Ans: SELECT AVG(Price) FROM PRODUCT WHERE Company = 'Logitech';

32. XEED Private Ltd., Delhi is a company that deals with educational toys. They have different divisions HR (A1), Sales (A2), Production (A3) and Marketing (A4).
The layout of the Delhi branch is:
Class-12-Informatics-Practices-065-Previous-Year-Question-Paper-2022-23-with-Solution-Q32
The company also has a branch in Bangalore. The management wants to connect all the divisions as well as all the computers of each division (A1, A2, A3, A4).
Distance between the wings are as follows:
A3A125 m
A1A240 m
A2A425 m
A4A320 m
A3A230 m
A1A4170 m
Delhi Head OfficeBangalore Office2154 km
Number of computers in each of the wing:
A150
A240
A3110
A460
Based on the above specifications, answer the following questions:
(i) Suggest the topology and draw the most suitable cable layout for connecting all the divisions of Delhi branch.
Ans: Star Topology or Bus Topology
Class-12-Informatics-Practices-065-Previous-Year-Question-Paper-2022-23-with-Solution-A32
(ii) Suggest the kind of network required (out of LAN, MAN, WAN) for connecting Production (A3) with the Bangalore branch.
Ans: WAN
(iii) Which device can be used to connect the network of Delhi Branch to the Internet? This device should be able to receive data, analyse it and then transmit it to the network.
Ans: Router
(iv) Suggest the placement of switch/hub with justification.
Ans: Switch/Hub should be placed in A3 (Production) because it has the maximum number of computers (110). This will reduce the cable length and cost.
(v) Many employees were finding it difficult to cope up with work pressure and hence were showing stress related symptoms. In order to improve the mental health of its employees, HR planned to conduct an online session with a mental health expert from Mumbai.
Out of the options given below, suggest the protocol that will help to send the voice signals over internet to conduct the session successfully.
a) FTP
b) SMTP
c) VOIP
d) POP

33. Consider the following graph. Write the Python code to plot it. Also add the Title, label for X and Y axis.
Use the following data for plotting the graph:
smarks = [10, 40, 30, 60, 55]sname = ["Sahil", "Deepak", "Anil", "Ravi", "Riti"]
Class-12-Informatics-Practices-065-Previous-Year-Question-Paper-2022-23-with-Solution-Q33
Ans:
import matplotlib.pyplot as plt
smarks = [10, 40, 30, 60, 55]
sname = ["Sahil", "Deepak", "Anil", "Ravi", "Riti"]
plt.plot(sname, smarks)
plt.title("Marks secured by students in Term - 1")
plt.xlabel("Student Name")
plt.ylabel("Marks Scored")
plt.show()

OR
Write Python code to draw the following bar graph representing the total sales in each quarter. Add the Title, Label for X-axis and Y-axis.
Use the following data for plotting the graph:
sales = [450, 300, 500, 650]qtr = ["QTR1", "QTR2", "QTR3", "QTR4"]
Class-12-Informatics-Practices-065-Previous-Year-Question-Paper-2022-23-with-Solution-OR-Q33
Ans:
import matplotlib.pyplot as plt
sales = [450, 300, 500, 650]
qtr = ["QTR1", "QTR2", "QTR3", "QTR4"]
plt.bar(qtr, sales)
plt.title("Sales each quarter")
plt.xlabel("Quarter")
plt.ylabel("Sales")
plt.show()
-SECTION E-

34. Consider the following table Schooldata:
Table: Schooldata
AdmnoNameGradeClubMarksGender
20150001Sargam Singh12STEM86Male
20140212Alok Kumar10SPACE75Male
20090234Mohit Gaur11SPACE84Male
20130216Romil Malik10READER91Male
20190227Tanvi Batra11STEM70Female
20120200Nomita Ranjan12STEM64Female
Write SQL queries for the following:
(i) Display the average Marks secured by each Gender.
Ans: SELECT Gender, AVG(Marks) FROM Schooldata GROUP BY Gender;
(ii) Display the minimum Marks secured by the students of Grade 10.
Ans: SELECT MIN(Marks) FROM Schooldata WHERE Grade = 10;
(iii) Display the total number of students in each Club where number of students are more than 1.
Ans: SELECT Club, COUNT(*) FROM Schooldata GROUP BY Club HAVING COUNT(*) > 1;
OR
(iii) Display the maximum and minimum marks secured by each gender.
Ans: SELECT Gender, MAX(Marks), MIN(Marks) FROM Schooldata GROUP BY Gender;

35. Consider the following DataFrame 'mdf'.

RollnoNameEnglishHindiMakrs
01Aditya232028
22Balwant18125
33Chirag272330
44Deepak1137
55Eva172124
(A) Write Python statements for the DataFrame 'mdf':
(i) To display the records of the students having roll numbers 2 and 3.
Ans: print(mdf[mdf['Rollno'].isin([2, 3])])
(ii) To increase the marks of subject Math by 4, for all students.
Ans: mdf['Makrs'] = mdf['Makrs'] + 4
(B) Write Python statement to display the Rollno and Name of all students who secured less than 10 marks in Maths.
Ans: print(mdf.loc[mdf['Makrs'] < 10, ['Rollno', 'Name']])
OR
(Option for Part B only)
Write Python statement to display the total marks i.e., sum of marks secured in English, Hindi and Maths for all students.
Ans: mdf['Total'] = mdf['English'] + mdf['Hindi'] + mdf['Makrs']
print(mdf)

Download Now - Class 12 IP 843 CBSE Board Previous Year Question Paper (PYQP) 2022-23 with Solution

download-class-12-ip-065-previous-year-cbse-board-qp-with-solution

Year wise Question Papers with Solution – Class 12 Informatics Practices (Code 065)

CBSE Class 12 IP 065 Board Question Paper 2026-27 with Solution

CBSE Class 12 IP 065 Board Question Paper 2025-26 with Solution

CBSE Class 12 IP 065 Board Question Paper 2024-25 with Solution

CBSE Class 12 IP 065 Board Question Paper 2023-24 with Solution

CBSE Class 12 IP 065 Board Question Paper 2022-23 with Solution

CBSE Class 12 IP 065 Board Question Paper 2021-22 (Term 2) with Solution

CBSE Class 12 IP 065 Board Question Paper 2021-22 (Term 1) with Solution

CBSE Class 12 IP 065 Board Question Paper 2019-20 with Solution

CBSE Class 12 IP 065 Board Question Paper 2018-19 with Solution

CBSE Class 12 IP 065 Board Question Paper 2017-18 with Solution

Post a Comment

Previous Post Next Post