Skip to content
← All years

Informatics Practices · 2023

CBSE Class 12 Informatics Practices 2023 — Previous-Year Question Paper

CBSE Class XII Board 2023 · Set 90/1/1

Real board examination

About this paper

The real Class-12 board examination held in 2023. Every question below is solved the concept-first way. Sample papers are labelled honestly — never shown as a past exam.

Total marks
70
Questions
35
Duration
180 min
Sections
5

The marks / questions / duration above are the official exam pattern. We currently have 35 of this paper’s questions (100% of the full paper), with 35 fully solved. Questions we couldn’t yet extract or verify are held — never shown as complete.

Sections & marks

SectionTypeQuestionsMarks eachTotal
ASection AMCQ / objective18118
BSection BVery short answer7214
CSection CShort answer5315
DSection DLong answer3515
ESection ECase-based248
Total3570

The question paper

The questions we hold for this paper, laid out by section. Solutions are on the Answers tab.

Board Examination

Informatics Practices

CBSE Class XII Board 2023 · Set 90/1/1

Series/Set: 90/1/1Roll No. ________
Time Allowed: 3 hoursMaximum Marks: 70

General Instructions

  1. This question paper contains 35 questions divided into 5 sections — A, B, C, D, E.
  2. Section A comprises 18 questions of 1 mark each (MCQ / objective).
  3. Section B comprises 7 questions of 2 marks each (Very short answer).
  4. Section C comprises 5 questions of 3 marks each (Short answer).
  5. Section D comprises 3 questions of 5 marks each (Long answer).
  6. Section E comprises 2 questions of 4 marks each (Case-based).

Above is the official exam pattern. The questions printed below are those we currently hold for this paper.

Section A

MCQ / objective · 1 mark each · 18 of 18 shown

Q1.
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
[1]
Q2.
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
[1]
Q3.
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
[1]
Q4.
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
[1]
Q5.
Aggregate functions are also known as: (A) Scalar Functions (B) Single Row Functions (C) Multiple Row Functions (D) Hybrid Functions
[1]
Q6.
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
[1]
Page 1 of 6
Q7.
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
[1]
Q8.
To remove the leading and trailing space from data values in a column of MySql Table, we use (A) Left ( ) (B) Right ( ) (C) Trim ( ) (D) Ltrim ( )
[1]
Q9.
If the substring is not present in a string, the INSTR ( ) returns: (A) - 1 (B) 1 (C) NULL (D) 0
[1]
Q10.
What will be the output of the following code? import pandas as pd myser = pd.Series([0, 0, 0]) print(myser) (A) 0 0 0 0 0 0 (B) 0 1 0 1 0 2 (C) 0 0 1 0 2 0 (D) 0 0 1 1 2 2
[1]
Q11.
Which of the following is a two-dimensional labelled data structure of Python? (A) Relation (B) Data frame (C) Series (D) Square
[1]
Q12.
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
[1]
Q13.
Which of the following is not a web browser? (A) Opera (B) Google Chrome (C) Linux (D) Mozilla Firefox
[1]
Q14.
Which of the following is not a valid aggregate function in MYSQL? (A) COUNT ( ) (B) SUM ( ) (C) MAX ( ) (D) LEN ( )
[1]
Q15.
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
[1]
Q16.
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
[1]
Page 2 of 6
Q17.
Assertion (A) : A static web page 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.
[1]
Q18.
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.
[1]
Section B

Very short answer · 2 marks each · 7 of 7 shown

Q1.
What is a web server ? How is it different from web browser ? OR What do you understand by the term cookies ? Give any two benefits of cookies.
[2]
Q2.
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 corrections(s) done.
[2]
Q3.
Differentiate between COUNT ( ) and COURT (*) functions in MYSQL. Give suitable examples to support your answer.
[2]
Q4.
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.
[2]
Q5.
Explain plagiarism with an example. 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.
[2]
Page 3 of 6
Q6.
What will be the output of the following code: import pandas as pd s1 = pd.Series(data=2*(3, 10)) print(s1)
[2]
Q7.
Carefully observe the following code: import pandas as pd dic = '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 data frame player created above, set the row labels as 'Player 1', 'Player 2', 'Player 3', 'Player 4', 'Player 5'. (ii) Rename the column 'points' to 'net point' in the Data Frame player.
[2]
Section C

Short answer · 3 marks each · 5 of 5 shown

Q1.
Consider the table Patient given below and write SQL commands. Table : Patient | Patient id | Name | City | Phone | Date of adm | Department | | --- | --- | --- | --- | --- | --- | | 1000001 | Ritvik Garg | Delhi | 68476213 | 2021-12-10 | Surgery | | 1000002 | Rahil Arora | Mumbai | 36546321 | 2022-01-08 | Medicine | | 1000003 | Mehak Bhatt | Delhi | 68421879 | 2022-02-02 | Cardiology | | 1000004 | Soumik Rao | Delhi | 26543266 | 2022-01-11 | Medicine | | 1000005 | Suresh Sood | Bangalore | 65432442 | 2021-03-09 | Surgery | (i) Display the details of all patients who were admitted in January. (ii) Count the total number of patients from Delhi. (iii) Display the last 2 digits of the Patient id of all patients from Surgery Department.
[3]
Q2.
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: Symbol Atomic Number Hydrogen H 1 Helium He 2 Lithium Li 3 Beryllium Be 4 Help her in writing suitable Python code to complete the task.
[3]
Q3.
Consider the given Data-Frame 'health'. Disease name Agent 0 Common cold Virus 1 Chickenpox Virus 2 Cholera Bacteria 3 Tuberculosis Bacteria Write suitable Python statements for the following: (i) Remove the row containing details of disease named Tuberculosis. (ii) Add a new disease named 'Malaria' caused by 'Protozoa'. (iii) Display the last 2 rows.
[3]
Q4.
Manohar received an email from a company, named Make money 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? (ii) What is the activity depicted above? (iii) What should he do with this email? OR What do you understand by the term Hacking? Write any two measures that one should take to avoid being the victim of hacking.
[3]
Page 4 of 6
Q5.
Write the output (i-iii) for the following SQL commands. Table : FASHION | ID | Product | Price | Qty | | --- | --- | --- | --- | | F01 | Kajal | 970 | 10 | | F02 | Foundation | 2100 | 15 | | F03 | Night Cream | 1700 | 20 | | F04 | Day Cream | 1400 | 10 | | F05 | Shampoo | 1200 | 25 | | F06 | Lipstick | 850 | 32 | (i) SELECT COUNT (Product) FROM FASHION; (ii) SELECT SUM (Price*Qty) FROM FASHION WHERE Product = "Night Cream"; (iii) SELECT LEFT (Product, 4) FROM FASHION WHERE Price > 1500; OR Find the output of the following SQL queries: (i) SELECT SUBSTR ("CLIMATE CHANGE", 4, 4); (ii) SELECT UCASE (RIGHT ("Pollution", 3) ); (iii) SELECT LENGTH ("HAPPY") + 3;
[3]
Section D

Long answer · 5 marks each · 3 of 3 shown

Q1.
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'. (ii) To convert your email id 'ABC@XYZ.com' to lowercase. (iii) To remove leading spaces from a string 'my country'. (iv) To display current date. (v) To display the value of 10⁶. OR Consider a table PRODUCT with the following data: Table : PRODUCT | S. No | Item name | Company | Stock-date | Price | Discount | | --- | --- | --- | --- | --- | --- | | 1 | Monitor | HP | 2021-12-20 | 15499.739 | 15 | | 2 | Webcam | Logitech | 2020-02-03 | 4890.90 | 5 | | 3 | Keyboard | Logitech | 2022-08-19 | 1878.985 | 30 | | 4 | Mouse | HCL | 2021-05-16 | 1200.00 | 7 | | 5 | Speakers | iBall | 2021-10-19 | NULL | 25 | Write SQL queries using SQL functions to perform the following operations: (i) Display the first 3 characters of all Item names. (ii) Display the names of all items whose Stock day is "Monday". (iii) Display the total price of all the products. (iv) Display the maximum Price. (v) Display the average Price of all the products by the company named 'Logitech'.
[5]
Q2.
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: [Figure: block layout titled 'XEED Private Ltd. Delhi Branch' showing four division blocks - HR (A1), SALES (A2), PRODUCTION (A3), MARKETING (A4) - and a separate BANGALORE BRANCH block] 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 : | | | | --- | --- | | A3 to A1 | 25 m | | A1 to A2 | 40 m | | A2 to A4 | 25 m | | A4 to A3 | 20 m | | A3 to A2 | 30 m | | A1 to A4 | 170 m | | Delhi Head Office to Bangalore Office | 2154 km | Number of computers in each of the wing: | | | | --- | --- | | A1 | 50 | | A2 | 40 | | A3 | 110 | | A4 | 60 | 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. (ii) Suggest the kind of network required (out of LAN, MAN, WAN) for connecting Production (A3) with the Bangalore branch. (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. (iv) Suggest the placement of switch/hub with justification. (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
[5]
Page 5 of 6
Q3.
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"] [Figure: line graph titled 'Marks secured by students in Term-1', X-axis label 'Student Name' (Sahil, Deepak, Anil, Ravi, Riti), Y-axis label 'Marks Scored'; all plotting data is given above in text] 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"] [Figure: bar graph titled 'Sales each quarter', X-axis label 'Quarter' (QTR1-QTR4), Y-axis label 'Sales'; all plotting data is given above in text]
[5]
Section E

Case-based · 4 marks each · 2 of 2 shown

Q1.
Consider the following table School-data: Table : School-data | Adm-no | Name | Grade | Club | Marks | Gender | | --- | --- | --- | --- | --- | --- | | 20150001 | Sargam Singh | 12 | STEM | 86 | Male | | 20140212 | Alok Kumar | 10 | SPACE | 75 | Male | | 20090234 | Mohit Gaur | 11 | SPACE | 84 | Male | | 20130216 | Romil Malik | 10 | READER | 91 | Male | | 20190227 | Tanvi Batra | 11 | STEM | 70 | Female | | 20120200 | Nomita Ranjan | 12 | STEM | 64 | Female | Write SQL queries for the following: (i) Display the average Marks secured by each Gender. (ii) Display the minimum Marks secured by the students of Grade 10. (iii) Display the total number of students in each Club where number of students are more than 1. OR (Option for Part (iii) only) (iii) Display the maximum and minimum marks secured by each gender.
[4]
Q2.
Consider the following Data Frame 'mdf'. | | ROLL NO | Name | English | Hindi | Maths | | --- | --- | --- | --- | --- | --- | | 0 | 1 | Aditya | 23 | 20 | 28 | | 1 | 2 | Balwant | 18 | 1 | 25 | | 2 | 3 | Chirag | 27 | 23 | 30 | | 3 | 4 | Deepak | 11 | 3 | 7 | | 4 | 5 | Eva | 17 | 21 | 24 | (a) Write Python statements for the Data Frame 'mdf': (i) To display the records of the students having roll numbers 2 and 3. (ii) To increase the marks of subject Math by 4, for all students. (b) Write Python statement to display the Roll no and Name of all students who secured less than 10 marks in Maths. 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.
[4]
Page 6 of 6