मराठी

Informatics Practices Set 4 2024-2025 Commerce (English Medium) Class 12 Question Paper Solution

Advertisements
Informatics Practices [Set 4]
Marks: 70 CBSE
Commerce (English Medium)
Science (English Medium)
Arts (English Medium)

Academic Year: 2024-2025
Date & Time: 29th March 2025, 10:30 am
Duration: 3h
Advertisements

General Instructions:

  1. Please check this question paper contains 37 questions.
  2. All questions are compulsory. However, internal choices have been provided in some questions. Attempt only one of the choices in such questions.
  3. The paper is divided into 5 sections A, B, C, D and E.
  4. Section A consists of 21 questions (1 to 21). Each question carries 1 mark.
  5. Section B consists of 7 questions (22 to 28). Each question carries 2 marks.
  6. Section C consists of 4 questions (29 to 32). Each question carries 3 marks
  7. Section D consists of 2 case study type questions (33 & 34). Each question carries 4 marks.
  8. Section E consists of 3 questions (35 to 37). Each question carries 5 marks.
  9. All programming questions are to be answered using Python language only.
  10. In case of MCQs, text of the correct answer should also be written.

SECTION-A
[1]1.

State whether the following statement is True or False:

In Python, we cannot create an empty DataFrame.

Concept: undefined - undefined
Chapter:
[1]2.

What will be the output of the following SQL command?

SELECT MONTHNAME ('2024-08-02');

08

02

February

August

Concept: undefined - undefined
Chapter:
[1]3.

Temporary data files stored by websites in our computer can be used to track our online activities and also to personalize browsing experience. These files are known as ______.

Plug-ins

Add-ons

Cookies

Bookmarks

Concept: undefined - undefined
Chapter:
[1]4.

Which of the following is not an aggregate function in SQL?

COUNT(*)

MIN()

LEFT()

AVG()

Concept: undefined - undefined
Chapter:
[1]5.

Raheem created a unique computer software and wants to protect his creation from being copied or used without his permission. He is considering to apply for legal protection. Which type of intellectual property protection should Raheem apply for, to safeguard his software?

Copyright

Plagiarism

Trademark

Lease

Concept: undefined - undefined
Chapter:
[1]6.

What is the default index type for a Pandas Series if not explicitly specified?

String

List

Numeric

Boolean

Concept: undefined - undefined
Chapter:
[1]7.

In Python which function of matplotlib library is used to save a plot?

save()

saveplot()

export()

savefig()

Concept: undefined - undefined
Chapter:
[1]8.

State whether the following statement is True or False:

The MOD() function in SQL returns the quotient of division operation between two numbers.

Concept: undefined - undefined
Chapter:
[1]9.

Which of the following data structure is used for storing one-dimensional labelled data in Python Pandas? 

Integer

Dictionary

Series

DataFrame

Concept: undefined - undefined
Chapter:
[1]10.

Priya received an email that appeared to be from her bank, asking her to update her account information by clicking on a link. She clicked the link to enter her details, but immediately after, some amount was debited from her account. What type of cybercrime did Priya fall victim to?

Cyber stalking

Phishing

Fishing

Cyber bullying

Concept: undefined - undefined
Chapter:
[1]11.

Which SQL function calculates ab?

MOD()

POWER()

RAISE()

ROUND()

Concept: undefined - undefined
Chapter:
[1]12.

Which protocol is used while communicating through video calls on the Internet?

Video Over Internet Protocol

Voice Over Internet Protocol

Internet Protocol

Video Audio Over Internet Protocol

Concept: undefined - undefined
Chapter:
[1]13.

Which of the following Python statements will be used to select a specific element having index as points, from a Pandas Series named ser?

ser.element (points)

ser.select (points)

ser[points]

ser.show[points]

Concept: undefined - undefined
Chapter:
[1]14.

Excessive screen time and poor posture can lead to ______.

Faster Internet Speeds

Eye strain and other health issues

Better vision and bone density

Improved physical health

Concept: undefined - undefined
Chapter:
[1]15.

Which of the following libraries defines an ndarray in Python?

pandas

numpy

matplotlib

scipy

Concept: undefined - undefined
Chapter:
[1]16.

With respect to SQL, match the function given in column-II with categories given in column-I:

  I   II
(i) Math function (a) COUNT()
(ii) Aggregate function (b) ROUND()
(iii) Date function (c) RIGHT()
(iv) Text function (d) YEAR()

(i) - (c), (ii) - (d), (iii) - (a), (iv) - (b)

(i) - (b), (ii) - (a), (iii) - (d), (iv) - (c)

(i) - (d), (ii) - (b), (iii) - (a), (iv) - (c) 

(i) - (b), (ii) - (c), (iii) - (d), (iv) - (a)

Concept: undefined - undefined
Chapter:
[1]17.

Which of the following Python statements is used to change a column label in a DataFrame, df?

df = df.rename({old_name : new_name}, axis=‘columns’)

df = df.rename(old_name, new_name),axis=‘columns’

df = df.change_name(old_name, new_name, axis=‘bar’)

df = df.update({old_name : new_name}, axis=‘bar’)

Concept: undefined - undefined
Chapter:
[1]18.

In Python Pandas, DataFrame. ______ [] is used for label indexing with DataFrames.

label

index

labindex 

loc

Concept: undefined - undefined
Chapter:
Advertisements
[1]19.

Every web page on the Internet has a unique address. This address is known as ______.

Domain Name

Protocol

Uniform Resource Locater 

Network Topology

Concept: undefined - undefined
Chapter:
Q. 20 and Q. 21 are Assertion (A) and Reason (R) type questions. Choose the correct option as:
[1]20.

Assertion (A): The drop() method in Pandas can be used to delete rows and columns from a DataFrame.

Reason (R): The axis parameter in the drop() method specifies whether to delete rows (axis=0) or columns (axis=1).

Both Assertion (A) and Reason (R) are True and Reason (R) is the correct explanation for Assertion (A).

Both Assertion (A) and Reason (R) are True and Reason (R) is not the correct explanation for Assertion (A).

Assertion (A) is True and Reason (R) is False.

Assertion (A) is False, but Reason (R) is True.

Concept: undefined - undefined
Chapter:
[1]21.

Assertion (A): The ROUND() function in SQL can be used to round off a number to a specified number of decimal places.

Reason (R): The ROUND() function is a string function that accepts character values as input and returns numerical values as output.

Both Assertion (A) and Reason (R) are True and Reason (R) is the correct explanation for Assertion (A).

Both Assertion (A) and Reason (R) are True and Reason (R) is not the correct explanation for Assertion (A).

Assertion (A) is True and Reason (R) is False.

Assertion (A) is False, but Reason (R) is True.

Concept: undefined - undefined
Chapter:
SECTION-B
[2]22. (a)

Mention any two main points of difference between Series and DataFrame of Python Pandas.

Concept: undefined - undefined
Chapter:
OR
[2]22. (b)

Explain how we can access elements of a series using slicing. Give an example to support your answer.

Concept: undefined - undefined
Chapter:
[2]23.

A small tech startup, is considering using open source software to develop their new project management tool. They are evaluating the benefits and potential challenges of adopting open source solutions.

  1. Identify one key benefit of using open source software for the development of project management tool.
  2. Give any two examples of open source software.
Concept: undefined - undefined
Chapter:
[1]24. (i)

Consider the string, “Informatics Practices”. Write a suitable SQL query for the following:

To convert the entire string to uppercase.

Concept: undefined - undefined
Chapter:
[1]24. (ii)

Consider the string, “Informatics Practices”. Write a suitable SQL query for the following:

To display the total number of characters in the given string.

Concept: undefined - undefined
Chapter:
[2]25. (a)

What is the difference between Static and dynamic web page?

Concept: undefined - undefined
Chapter:
OR
[2]25. (b)

Describe the role of a router in a network.

Concept: undefined - undefined
Chapter:
[1]26. (i)

What is a Database Management System (DBMS)?

Concept: undefined - undefined
Chapter:
[1]26. (ii)

Mention any two examples of DBMS.

Concept: undefined - undefined
Chapter:
[2]27.

Give any two impacts on environment that are caused when e-waste is carelessly thrown or dumped in landfills or dumping grounds.

Concept: undefined - undefined
Chapter:
[2]28. (a)

Rohit is trying to create a Pandas Series from scalar values. His code has some mistakes. Rewrite the correct code and underline the corrections made.

import pandas

data = [50, 15, 40]

series = pd.series(data, Index=[‘x’, ‘y’, ‘z’])

Print(series)

Concept: undefined - undefined
Chapter:
OR
[2]28. (b)

Complete the given Python code to generate the following output:

  COLOUR NAME QTY
0 Red  Apple 10
1 Blue Berry 15
2 Green Guava 20
import ______ as pd
data=[{‘COLOUR’ : ‘Red’, ‘NAME’ : ‘Apple’, ‘QTY’ : 10},
{‘COLOUR’ : ‘Blue’, ‘NAME’ : ‘Berry’, ‘QTY’ : 15},
{______, 'NAME' : 'Guava', 'QTY' : 20}]
df=pd.DataFrame(______)
print(______)
Concept: undefined - undefined
Chapter:
SECTION-C
[3]29.
Ravi is a student studying in grade 12. He frequently uses the internet for various activities such as social networking, online shopping, and to research for school projects. Recently, he noticed that he receives targeted advertisements based on his browsing history and is concerned about his digital footprint. Additionally, Ravi has encountered instances of cyberbullying and is unsure how to handle them. Help Ravi by answering the following questions:
  1. What are digital footprints, and how are they created?
  2. Write any two net etiquettes that Ravi should follow to ensure respectful and responsible online behavior.
  3. How can Ravi protect himself from cyberbullying? Mention any one protective measure.
Concept: undefined - undefined
Chapter:
[3]30. (a)

Write a Python program to create the following DataFrame using a Dictionary of Series:

  City State
0 Mumbai Maharashtra
1 Dehradun Uttarakhand
2 Bengaluru Karnataka
3 Hyderabad Telangana
Concept: undefined - undefined
Chapter:
OR
[3]30. (b)

Write a Python program to create a Pandas Series as shown below from an ndarray containing the numbers 10, 20, 30, 40, 50 with corresponding indices ‘A’, ‘B’, ‘C’, ‘D’, ‘E’.

A 10
B 20
C 30
D 40
E 50
Concept: undefined - undefined
Chapter:
Advertisements
[2]31. (i)

Write the SQL statement to create a table, Customer with the following specifications:

Table: Customer
Column Name Data Type Key
CID Int Primary Key
FName Varchar (20)  
LName Varchar (20)  
Age Int  
Concept: undefined - undefined
Chapter:
OR
[1]31. (ii)

Write the SQL query to display all records in descending order of LName from the Table Customer.

Table: Customer
Column Name Data Type Key
CID Int Primary Key
FName Varchar (20)  
LName Varchar (20)  
Age Int  
Concept: undefined - undefined
Chapter:
[3]32. (a)

Given the following tables:

Table: STUDENTS

S_ID NAME AGE CITY
1 Rahul 20 Delhi
2 Priya 22 Mumbai
3 David 21 Delhi
4 Neha 23 Bengaluru
5 Khurshid 22 Delhi

Table: GRADES

S_ID SUBJECT GRADE
1 Math A
2 English B
3 Math C
4 English D
5 Math E

Write SQL queries for the following:

  1. To display the number of students from each city.
  2. To find the average age of all students.
  3. To list the names of students and their grades.
Concept: undefined - undefined
Chapter:
OR
[3]32. (b)

Consider the following tables:

Table 1: PRODUCTS

This table stores the basic details of the products available in a shop.

PID PName Category
201 Laptop Electronics
202 Chair Furniture
203 Desk Furniture
204 Smartphone NULL
205 Tablet Electronics

Table 2: SALES

This table records the number of units sold for each product.

SaleID PID UnitesSold
301 201 50
302 202 100
303 203 60
304 204 80
305 205 70

Write SQL queries for the following:

  1. To delete those records from table SALES whose UnitsSold is less than 80.
  2. To display names of all products whose category is not known.
  3. To display the product names along with their corresponding units sold.
Concept: undefined - undefined
Chapter:
SECTION- D
[4]33.

Gurkirat has to fill in the blanks in the given Python program that generates a line plot as shown below. The given line plot represents the temperature (in degree Celcius) over five days as given in the table:

Days Temperature
Day 1 30
Day 2 32
Day 3 31
 Day 4 29
Day 5 28

import _______ as plt # Statement-1
days = ['Day 1', 'Day 2', 'Day 3', 'Day 4', 'Day 5']
temp = [30, 32, 31, 29, 28]
plt._____ (days, temp) # Statement-2
plt.xlabel ('_______') # Statement-3
plt.ylabel ('Temperature')
plt.title('________ ') # Statement-4
plt.show()

Write the missing statements according to the given specifications:

  1. Write the suitable code to import the required module in the blank space in the line marked as Statement-1.
  2. Fill in the blank in Statement-2 with a suitable Python function name to create a line plot.
  3. Refer to the graph shown and fill in the blank in Statement-3 to display the appropriate label for x-axis.
  4. Refer to the graph shown and fill in the blank in Statement-4 to display the suitable chart title.
Concept: undefined - undefined
Chapter:
[4]34. (a)

An educational institution is maintaining a database for storing the details of courses being offered. The database includes a table COURSE with the following attributes:

C_ID: Stores the unique ID for each course.

C_NAME: Stores the course’s name.

INSTRUCTOR: Stores the name of the course instructor.

DURATION: Stores the duration of the course in hours.

Table: COURSE

C_ID C_NAME INSTRUCTION DURATION
C101 Data Structures Dr. Alok 40
C102 Machine Learning Prof. Sunita 60
C103 Web Development Ms. Sakshi 45
C104 Database Management Mr. Suresh 50
C105 Python Programming Dr. Pawan 35

Write SQL queries for the following:

  1. To add a new record with following specifications:
    C_ID  : C106
    C_NAME  : Introduction to AI
    INSTRUCTOR  : Ms. Preeti
    DURATION  : 55
  2. To display the longest duration among all courses.
  3. To count total number of courses run by the institution.
  4. To display the instructors’ name in lower case.
Concept: undefined - undefined
Chapter:
OR
[4]34. (b)

Ashutosh, who is a manager, has created a database to manage employee records. The database includes a table named EMPLOYEE whose attribute names are mentioned below:

EID: Stores the unique ID for each employee.

EMP_NAME: Stores the name of the employee.

DEPT: Stores the department of the employee.

SALARY: Stores the salary of the employee.

JOIN_DATE: Stores the employee's joining date.

Table: EMPLOYEE

EID EMP_NAME DEPT SALARY JOIN_DATE
E01 ARJUN SINGH SALES 75000 2019-11-01
E02 PRIYA JAIN ENGINEERING 85000 2020-05-20
E03 RAVI SHARMA MARKETING 60000 2018-08-14
E04 AYESHA NULL 50000 2021-01-10
E05 RAHUL VERMA FINANCE 40000 2017-06-25

Write the output of the following SQL Queries:

  1. Select SUBSTRING(EMP_NAME, 1, 5) from EMPLOYEE where DEPT = 'ENGINEERING';
  2. ‘Select EMP_NAME from EMPLOYEE where month (JOIN DATE) = 8;
  3. Select EMP_NAME from EMPLOYEE where SALARY > 60000;
  4. Select count (DEPT) from EMPLOYEE;
Concept: undefined - undefined
Chapter:
SECTION-E
[5]35.

XYZ Technologies, Hyderabad is a company that deals with data science and AI projects. They have different divisions ADMIN, SALES, PRODUCTION and SERVICE.

The layout of the Hyderabad branch is:

The management wants to connect all the divisions as well as the computers of each division (ADMIN, SALES, PRODUCTION and SERVICE).

Distance between the divisions are as follows:

ADMIN to SALES 69m
ADMIN to PRODUCTION 84m
ADMIN to SERVICE 60m
SALES to PRODUCTION 110m
SALES to SERVICE 135m
PRODUCTION to 90m

Number of computers in each division:

Division Number of Computers
ADMIN 40
SALES 75
PRODUCTION 120
SERVICE 20

Based on the above specifications, answer the following questions:

  1. Suggest the topology and draw the most suitable cable layout for connecting all the divisions in the Hyderabad office.
  2. XYZ Technologies is having its head office in USA. Out of LAN, MAN and WAN, which kind of network will be created to connect Hyderabad office with USA Office? Justify your answer.
  3. Suggest the division for the placement of server. Explain the reason for your selection.
  4. Suggest the placement of Switch/Hub with justification.
  5. Where will a repeater be placed in the suggested network layout? Justify your answer.
Concept: undefined - undefined
Chapter:
[5]36.

Consider the DataFrame Doctor shown below:

  DID  Name Department Fee
0 101 Dr. Joe ENT 1500
1 102 Dr. Salma UROLOGY 1600
2 103 Dr. Jeet ORTHO 1550
3 104 Dr. Neha ENT 1200
4 105 Dr. Vikram ORTHO 1700

Write suitable Python statements for the following:

  1. To print the last three rows of the DataFrame Doctor.
  2. To display the names of all doctors.
  3. To add a new column ‘Discount’ with value of 200 for all doctors.
  4. To display rows with index 2 and 3.
  5. To delete the column ‘Department’.
Concept: undefined - undefined
Chapter:
[1]37. (a) (i)

Write SQL query for the following:

To display sum total of all the values of the Score column, from STUDENTS table.

Concept: undefined - undefined
Chapter:
[1]37. (a) (ii)

Write SQL query for the following:

To display the first five characters of the Name column from STUDENTS table.

Concept: undefined - undefined
Chapter:
[1]37. (a) (iii)

Write SQL query for the following:

To display the values of Name column from the STUDENTS table, after removing the trailing spaces.

Concept: undefined - undefined
Chapter:
[1]37. (a) (iv)

Write SQL query for the following:

To retrieve the lowest score from the Score column of GRADES table.

Concept: undefined - undefined
Chapter:
[1]37. (a) (v)

Write SQL query for the following:

To increase the fee of all students by 100, in the STUDENTS table. (The name of the column is FEE)

Concept: undefined - undefined
Chapter:
OR
[1]37. (b) (i)

Write a SQL query for the following:

To calculate the square of 15.

Concept: undefined - undefined
Chapter:
[1]37. (b) (ii)

Write a SQL query for the following:

To round the number 456.789 to the nearest integer.

Concept: undefined - undefined
Chapter:
[1]37. (b) (iii)

Write a SQL query for the following:

To display the position of first occurrence of ‘com’ in the string ‘mycommercial.com’.

Concept: undefined - undefined
Chapter:
[1]37. (b) (iv)

Write a SQL query for the following:

To display the name of the day for the date ‘2024-11-07’.

Concept: undefined - undefined
Chapter:
[1]37. (b) (v)

Write a SQL query for the following:

To display the current date and time.

Concept: undefined - undefined
Chapter:

Other Solutions




































Video TutorialsVIEW ALL [2]

Submit Question Paper

Help us maintain new question papers on Shaalaa.com, so we can continue to help students




only jpg, png and pdf files

CBSE previous year question papers Class 12 Informatics Practices with solutions 2024 - 2025

     CBSE Class 12 Informatics Practices question paper solution is key to score more marks in final exams. Students who have used our past year paper solution have significantly improved in speed and boosted their confidence to solve any question in the examination. Our CBSE Class 12 Informatics Practices question paper 2025 serve as a catalyst to prepare for your Informatics Practices board examination.
     Previous year Question paper for CBSE Class 12 Informatics Practices-2025 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
     By referring the question paper Solutions for Informatics Practices, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CBSE Class 12.

How CBSE Class 12 Question Paper solutions Help Students ?
• Question paper solutions for Informatics Practices will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×