Commerce (English Medium)
Science (English Medium)
Arts (English Medium)
Academic Year: 2022-2023
Date: March 2023
Duration: 3h
Advertisements
General Instructions :
- This question paper contains five sections, Sections A to E.
- All questions are compulsory.
- Section A has 18 questions carrying 01 mark each.
- Section B has 07 Very Short Answer type questions carrying 02 marks each.
- Section C has 05 Short Answer type questions carrying 03 marks each.
- Section D has 03 Long Answer type questions carrying 05 marks each.
- Section E has 02 questions carrying 04 marks each. One internal choice is given in Q 35 against part C only.
- All programming questions are to be answered using Python Language only.
The television cable network is an example of ______
LAN
WAN
MAN
Internet
Chapter:
Which of the following is not a type of cybercrime?
Data theft
Installing antivirus for protection
Forgery
Cyber bullying
Chapter: [0.06] Societal Impacts
What is an example of e-waste?
A ripened mango
Unused old shoes
Unused old computers
Empty cola cans
Chapter: [0.06] Societal Impacts
Which type of values will not be considered by SQL while executing the following statement?
SELECT COUNT(column name) FROM inventory;
Numeric value
text value
Null value
Date value
Chapter: [0.01] Querying and SQL Functions
If column “Fees” contains the data set (5000,8000,7500,5000,8000), what will be the output after the execution of the given query?
SELECT SUM (DISTINCT Fees) FROM student;
20500
10000
20000
33500
Chapter: [0.01] Querying and SQL Functions
'O' in FOSS stands for ______.
Original
Open
On
Operating
Chapter: [0.06] Societal Impacts
Which SQL statement do we use to find out the total number of records present in the table ORDERS?
SELECT * FROM ORDERS;
SELECT COUNT (*) FROM ORDERS;
SELECT FIND (*) FROM ORDERS;
SELECT SUM () FROM ORDERS;
Chapter: [0.01] Querying and SQL Functions
Which one of the following is not an aggregate function?
ROUND()
SUM()
COUNT()
AVG()
Chapter: [0.01] Querying and SQL Functions
Which one of the following functions are used to find the largest value from the given data in MySQL?
MAX()
MAXIMUM()
BIG()
LARGE()
Chapter: [0.01] Querying and SQL Functions
To display the last five rows of a series object ‘S’, you may write ______
S.Head()
S.Tail(5)
S.Head(5)
S.tail()
Chapter: [0.02] Data Handling using Pandas - I
Which of the following statement will import pandas library?
Import pandas as pd
import Pandas as py
import pandas as pd
import panda as pd
Chapter: [0.02] Data Handling using Pandas - I
Which of the following can be used to specify the data while creating a DataFrame?
Series
List of Dictionaries
Structured ndarray
All of these
Chapter: [0.02] Data Handling using Pandas - I
Which of the following is not an example of a browser?
Chrome
Firefox
Avast
Edge
Chapter: [0.05] Internet and Web
In SQL, which function is used to display the current date and time?
Date ()
Time ()
Current ()
Now ()
Chapter: [0.01] Querying and SQL Functions
Legal term to describe the rights of a creator of original creative or artistic work is ______.
Copyright
Copyleft
GPL
FOSS
Chapter: [0.06] Societal Impacts
______ is the trail of data we leave behind when we visit any website (or use any online application or portal) to fill in data or perform any transaction.
Offline phishing
Offline footprint
Digital footprint
Digital phishing
Chapter: [0.06] Societal Impacts
Assertion (A): Internet cookies are text files that contain small pieces of data, like a username, password, and user preferences while surfing the internet.
Reasoning (R): To make browsing the Internet faster & easier, it is required to store certain information on the server’s computer.
Both A and R are true and R is the correct explanation for A.
Both A and R are true and R is not the correct explanation for A.
A is True but R is False.
A is false but R is True.
Chapter: [0.05] Internet and Web
Assertion (A): DataFrame has both a row and column index.
Reasoning (R): A DataFrame is a two-dimensional labelled data structure like a table of MySQL.
Both A and R are true and R is the correct explanation for A.
Both A and R are true and R is not the correct explanation for A.
A is True but R is False.
A is false but R is True.
Chapter: [0.02] Data Handling using Pandas - I
Advertisements
Explain the term Web page.
Chapter: [0.05] Internet and Web
Explain the term, Home Page.
Chapter: [0.05] Internet and Web
Mention any four networking goals.
Chapter: [0.05] Internet and Web
Rashmi, a database administrator needs to display house wise total number of records of the ‘Red’ and ‘Yellow’ houses. She is encountering an error while executing the following query:
SELECT HOUSE, COUNT (*) FROM STUDENT GROUP BY HOUSE WHERE HOUSE=’RED’ OR HOUSE= ‘YELLOW’;
Help her in identifying the reason for the error and write the correct query by suggesting the possible correction (s).
Chapter: [0.01] Querying and SQL Functions
What is the purpose of the Order By clause in SQL? Explain with the help of a suitable example.
Chapter: [0.01] Querying and SQL Functions
Write a program to create a series of objects using a dictionary that stores the number of students in each house of class 12D of your school.
Note: Assume four house names are Beas, Chenab, Ravi, and Satluj having 18, 2, 20, and 18 students respectively and pandas library has been imported as pd.
Chapter: [0.02] Data Handling using Pandas - I
List any four benefits of e-waste management.
Chapter: [0.06] Societal Impacts
Mention any four net etiquettes.
Chapter: [0.06] Societal Impacts
What will be the output of the following code:
>>>import pandas as pd
>>>A = pd.Series(data = [35, 45, 55, 40])
>>>print(A > 45)
Chapter: [0.02] Data Handling using Pandas - I
Carefully observe the following code:
import pandas as pd
Year1 = {'Q1':5000,'Q2':8000,'Q3':12000,'Q4': 18000} Year2 = {'A' :13000,'B':14000,'C':12000}
totSales = {1:Year1,2:Year2}
df = pd.DataFrame(totSales)
print(df)
Answer the following:
- List the index of the DataFrame df
- List the column names of DataFrame df.
Chapter: [0.02] Data Handling using Pandas - I
Write outputs for SQL queries that are based on the given table PURCHASE:
TABLE: PURCHASE | ||||
CNO | CNAME | CITY | QUANTITY | DOP |
C01 | GURPREET | NEW DELHI | 150 | 2022-06-11 |
C02 | MALIKA | HYDERABAD | 10 | 2022-02-19 |
C03 | NADAR | DALHOUSIE | 100 | 2021-12-04 |
C04 | SAHIB | CHANDIGARH | 50 | 2021-10-10 |
C05 | MEHAK | CHANDIGARH | 15 | 2021-10-20 |
- SELECT LENGTH(CNAME) FROM PURCHASE WHERE QUANTITY>100;
- SELECT CNAME FROM PURCHASE WHERE MONTH(DOP) = 3;
- SELECT MOD (QUANTITY, DAY(DOP)) FROM PURCHASE WHERE CITY = ‘CHANDIGARH’;
Chapter: [0.01] Querying and SQL Functions
Write a Python code to create a DataFrame with appropriate column headings from the list given below:
[[101,'Gurman',98], [102,'Rajveer',95], [103,'Samar' ,96], [104,'Yuvraj',88]]
Chapter: [0.02] Data Handling using Pandas - I
Consider the given DataFrame ‘Stock’:
Name | Price | |
0 | Nancy Drew | 150 |
1 | Hardy boys | 180 |
2 | Diary of a wimpy kid | 225 |
3 | Harry Potter | 500 |
Write suitable Python statements for the following:
- Add a column called Special_Price with the following data: [135,150,200,440].
- Add a new book named ‘The Secret' with a price of 800.
- Remove the column Special_Price.
Chapter: [0.02] Data Handling using Pandas - I
Nadar has recently shifted to a new city and school. She does not know many people in her new city and school. But all of a sudden, someone is posting negative, demeaning comments on her social networking profile, etc. She is also getting repeated mails from unknown people. Every time she goes online, she finds someone chasing her online. |
- What is this happening to Nadar?
- What immediate action should she take to handle it?
- Is there any law in India to handle such issues? Discuss briefly.
Chapter: [0.06] Societal Impacts
What do you understand by plagiarism?
Chapter: [0.06] Societal Impacts
Why is plagiarism a punishable offence?
Chapter: [0.06] Societal Impacts
Mention any two ways to avoid plagiarism.
Chapter: [0.06] Societal Impacts
Based on the table STUDENT given here, write suitable SQL queries for the following:
Roll No | Name | Class | Gender | City | Marks |
1 | Abhishek | XI | M | Agra | 430 |
2 | Prateek | XII | M | Mumbai | 440 |
3 | Sneha | XI | F | Agra | 470 |
4 | Nancy | XII | F | Mumbai | 492 |
5 | Himanshu | XII | M | Delhi | 360 |
6 | Anchal | XI | F | Dubai | 256 |
7 | Mehar | X | F | Moscow | 324 |
8 | Nishant | X | M | Moscow | 429 |
- Display gender-wise highest marks.
- Display city-wise lowest marks.
- Display the total number of male and female students.
Chapter: [0.01] Querying and SQL Functions
Discuss the significance of Group by clause in detail with the help of a suitable example.
Chapter: [0.01] Querying and SQL Functions
Advertisements
Write suitable SQL query for the following:
Display 7 characters extracted from the 7th left character onwards from the string ‘INDIA SHINING’.
Chapter: [0.01] Querying and SQL Functions
Write suitable SQL query for the following:
Display the position of occurrence of the string ‘COME’ in the string ‘WELCOME WORLD’.
Chapter: [0.01] Querying and SQL Functions
Write suitable SQL query for the following:
Round off the value 23.78 to one decimal place.
Chapter: [0.01] Querying and SQL Functions
Write suitable SQL query for the following:
Display the remainder of 100 divided by 9.
Chapter: [0.01] Querying and SQL Functions
Write suitable SQL query for the following:
Remove all the expected leading and trailing spaces from a column userid of the table ‘USERS’.
Chapter: [0.01] Querying and SQL Functions
Explain the following SQL function using a suitable example.
UCASE()
Chapter: [0.01] Querying and SQL Functions
Explain the following SQL function using a suitable example.
TRIM()
Chapter: [0.01] Querying and SQL Functions
Explain the following SQL function using a suitable example.
MID()
Chapter: [0.01] Querying and SQL Functions
Explain the following SQL function using a suitable example.
DAYNAME()
Chapter: [0.01] Querying and SQL Functions
Explain the following SQL function using a suitable example.
POWER()
Chapter: [0.01] Querying and SQL Functions
Prime Computer Services Ltd. is an international educational organization. It is planning to set up its India campus in Mumbai with its head office in Delhi. The Mumbai office campus has four main buildings-ADMIN, ACCOUNTS, EXAMINATION, and RESULT.
You as a network expert have to suggest the best network-related solutions for the problems given below, keeping in mind the distances between the buildings and other given parameters.
Shortest distances between various buildings:
ADMIN TO ACCOUNTS | 55 m |
ADMIN TO EXAMINATION | 90 m |
ADMIN TO RESULT | 50 m |
ACCOUNTS TO EXAMINATION | 55 m |
ACCOUNTS TO RESULT | 50 m |
EXAMINATION TO RESULT | 45 m |
DELHI Head Office to MUMBAI campus | 2150 m |
The number of computers installed at various buildings is as follows:
ADMIN | 110 |
ACCOUNTS | 75 |
EXAMINATION | 40 |
RESULT | 12 |
DELHI HEAD OFFICE | 20 |
- Suggest the most appropriate location of the server inside the MUMBAI campus (out of the four buildings) to get the best connectivity for the maximum number of computers. Justify your answer.
- Suggest and draw cable layouts to efficiently connect various buildings within the MUMBAI campus for wired connectivity.
- Which networking device will you suggest to be procured by the company to interconnect all the computers of various buildings of the MUMBAI campus?
- The company is planning to get its website designed which will allow students to see their results after registering themselves on its server. Out of the static or dynamic, which type of website will you suggest?
- Which of the following will you suggest to establish online face-to-face communication between the people in the ADMIN office of the Mumbai campus and the Delhi head office?
a) Cable TV
b) Email
c) Video conferencing
d) Text chat
Chapter: [0.05] Internet and Web
Write Python code to plot a bar chart for India’s medal tally as shown below:
Also, give a suitable python statement to save this chart.
Chapter: [0.04] Plotting Data using Matplotlib
Write a python program to plot a line chart based on the given data to depict the changing weekly average temperature in Delhi for four weeks.
Week=[1,2,3,4]
Avg_week_temp=[40,42,38,44]
Chapter: [0.04] Plotting Data using Matplotlib
Shreya, a database administrator has designed a database for a clothing shop. Help her by writing answers to the following questions based on the given table:
TABLE: CLOTH | |||||
CCODE | CNAME | SIZE | COLOR | PRICE | DOP |
C001 | JEANS | XL | BLUE | 990 | 2022-01-21 |
C002 | T-SHIRT | M | RED | 599 | 2021-12-12 |
C003 | TROUSER | M | GREY | 399 | 2021-11-10 |
C004 | SAREE | FREE | GREEN | 1299 | 2019-11-12 |
C005 | KURTI | L | WHITE | 399 | 2021-12-07 |
- Write a query to display cloth names in lowercase.
- Write a query to display the lowest price of the clothes.
- Write a query to count the total number of clothes purchased in medium size.
OR
Write a query to count the year-wise total number of clothes purchased.
Chapter: [0.01] Querying and SQL Functions
Mr. Som, a data analyst has designed the DataFrame df that contains data about Computer Olympiad with ‘CO1’, ‘CO2’, ‘CO3’, ‘CO4’, and ‘CO5’ as indexes shown below. Answer the following questions:
School | Tot_students | Topper | First_Runnerup | |
CO1 | PPS | 40 | 32 | 8 |
CO2 | JPS | 30 | 18 | 12 |
CO3 | GPS | 20 | 18 | 2 |
CO4 | MPS | 18 | 10 | 8 |
CO5 | BPS | 28 | 20 | 8 |
- Predict the output of the following python statement:
i. df.shape
ii. df[2:4] - Write a Python statement to display the data of the Topper column of indexes CO2 to CO4.
OR
Write a Python statement to compute and display the difference of data of the Tot_students column and First_Runnerup column of the above given DataFrame.
Chapter: [0.02] Data Handling using Pandas - I
Other Solutions
Submit Question Paper
Help us maintain new question papers on Shaalaa.com, so we can continue to help studentsonly jpg, png and pdf files
CBSE previous year question papers Class 12 Informatics Practices with solutions 2022 - 2023
Previous year Question paper for CBSE Class 12 Informatics Practices-2023 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.