Class: XII Time: 3 Hrs. Jindal Vidya Mandir, Salav. Pre Board II Examination (2023-24) Subject: Informatics Practices (065) MM: 70
Class: XII Time: 3 Hrs. Jindal Vidya Mandir, Salav. Pre Board II Examination (2023-24) Subject: Informatics Practices (065) MM: 70
Class: XII
Pre Board II Examination [2023-24] MM: 70
Time: 3 Hrs.
Subject: Informatics Practices (065)
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 01 mark each.
4. Section B has 07 Very Short Answer type questions carrying 02 marks each.
5. Section C has 05 Short Answer type questions carrying 03 marks each.
6. Section D has 02 questions carrying 04 marks each.
7. Section E has 03 questions carrying 05 marks each.
8. All programming questions are to be answered using Python Language only.
Section A Marks
1 What is the term used when the main server sends mail to another mail server? 1
a. VoIP b. SMTP c. POP3 d. MIME
2 Stealing someone‟s intellectual work and representing it as your own is known as ____. 1
a. Hacking b. Plagiarism c. Copyright d. Patent
3 A person who starts quarrels or upsets people on the internet to distract and sow discord by 1
posting inflammatory and digressive, extraneous or off-topic messages to an online community.
This person will be referred as ______ in cyber world.
a. cyber troll b. cyber stalker c. Spyware d. Hacker
4 Write the output : Select ROUND(753.589,-2); 1
a. 753.58 b. 800 c. 754 d. 700
5 If on '2019-05-26', it was Sunday, what will be the output of following SQL command? 1
select nameofday('2019-05-27');
a. Error b. 5 c. Monday d. Sunday
6 The ____ clause of SELECT query allows us to select only those rows in the result that satisfy a 1
specified condition.
a. FROM b. WHERE c. ORDER BY d. GROUP BY
7 Which of the SQL statements is correct? 1
a. SELECT Username AND Password FROM Users;
b. SELECT Username, Password FROM Users;
c. SELECT Username, Password WHERE Username = 'user1'; d. None of these
8 Which of the following function returns the date value in 'YYYY-MM-DD' from system date? 1
a. date() b. now() c. sysdate() d. curdate()
9 Which of the following function returns the value of a number raised to the power of another 1
number?
a. Round( ) b. Power( ) c. Pwr( ) d. Both b. and c.
10 How many elements will be there in the series named 'S1'? 1
>>> S1 = pd.Series(range(5))
>>> print(S1)
a. 5 b. 4 c. 6 d. None of the above
11 The command to display last 3 rows from series named 'week' is ____. 1
a. print(week.tail(3)) b. print(week.Tail(3))
c. print(week.Tails(3)) d. print(week.tails(3))
12 To display the 3rd, 4th and 5th columns from the 6th to 9th rows of a dataframe you can write 1
a. df.loc[6:9, 3:5] b. df.loc[6:10, 3:6]
JVMS/PRE-BOARD2/2023-24/CLASS XII/IP
1 of 5
c. df.iloc[6:10, 3:6] d. df.iloc[6:9, 3:5]
13 Which document view given an appearance as in web browser? 1
a. Draft view b.Outline view c. Web layout view d. Full screen reading
14 Which of the following function is used to FIND the largest value from the given data in 1
MYSQL?
a. MAX() b. MAXIMUM() c. LARGEST() d. BIG()
15 Which type of right is related to logo work? 1
a. Copyright b. Trademark c. Trade secret d. Patent
16 Which of the following is a type of cyber security? 1
a. Cloud Security b. Network Security c. Application Security d. All of the above
Q17 and 18 is ASSERTION AND REASONING based questions. Mark the correct choice as:
i. Both A and R are true and R is the correct explanation for A
ii. Both A and R are true and R is not the correct explanation for A
iii. A is True but R is False
iv. A is false but R is True
17 Assertion (A): Social media are websites or applications that enable their users to participate in 1
social networking but they cannot create and share content with others in the community.
Reason (R): We should not waste precious time in responding to unnecessary emails or
comments unless they have some relevance for us.
18 Assertion (A): Data visualization refers to the graphical representation of information and data 1
using visual elements like charts, graphs and maps etc.
Reason (R): To install matplotlib library we can use the command - pip install matplotlib.
Section B
19 Expand the following terms related to Computer Networks: 2
a. EDGE b. URL c. TCP/IP d. VoIP OR
Select block, count (*) from apartments group by block where block=2 or 3;
Help her in identifying the reason of the error and write the correct query by suggesting the
possible correction (s).
21 What is a website? How is it different from a webpage? OR 2
According to a survey, one of the major Asian countries generates approximately about 2
million tons of electronic waste per year. Only 1.5 % of the total e-waste gets recycled. Suggest a
method to manage e-waste.
24 Write output for the code: 2
import pandas as pd
s = pd.Series([10,20,30,40,50],index=['a','b','c','d','e'])
print(s[0]) #or print(s.iloc[0])
print(s['a':'c']) #or print(s.loc['a':'c'])
print(s[2]) #or print(s.iloc[s[2])
print(s['a']) #or print(s.loc['a'])
JVMS/PRE-BOARD2/2023-24/CLASS XII/IP
2 of 5
25 Carefully observe the following code: 2
import pandas as pd
y1={'P1':5000,'P2':800,'P3':1200,'P4': 1800}
y2={'P':1300,'Q':1400,'R':1200}
total = {1:y1,2:y2}
df = pd.DataFrame(total)
print(df)
Answer the following:
i. List the index of the DataFrame.
ii. List the column names of DataFrame.
Section C
26 Write outputs for SQL queries (i) to (iii) which are based on the given table – orders 3
cno cname city qty dop
C01 MALHAR MUMBAI 150 6/11/2022
C02 KETKI PUNE 10 2/19/2022
C03 NAVIN NASIK 100 12/4/2021
C04 NEHA SATARA 50 10/10/2021
C05 JAYESH SATARA 15 10/20/2021
i. select length(cname) from orders where qty > 100;
ii. select cname from orders where month(dop) = 3;
iii. select mod (qty, day(dop)) from orders where city= 'SATARA';
27 Write a Python code to create a DataFrame with appropriate column headings from the list 3
given below:
[['T1','Govind','Math'],['T2','Rajan','Chem'],
['T3','Kiran','IP'],['T4','Dinesh','Phy']]
28 A dataframe flights stores data about passengers, Flights and Years. 3
First few records of the DataFrame are shown below:
Sr_no Year Months Dom Intl
1 2022 January 900 380
2 2022 February 1000 550
3 2022 March 980 290
4 2022 April 1100 410
OR
JVMS/PRE-BOARD2/2023-24/CLASS XII/IP
5 of 5