Assignment 2 Clss12 Pandas i
Assignment 2 Clss12 Pandas i
School
Class 12
Sub- Informatics Practices
Most expected questions
Unit 1(Data handling using pandas – I)
Assignment 2
[1] Consider the above data frame and write code for the following:
i) Display the records of batsmen who scored more than 50.
ii) Display the runs of Rohit.
Ans.i) print(s[s>50])
ii) print(s[‘Rohit’])
[2] What will be the output of the following:
import pandas as pd
s=pd.Series([[34,56,78],[4,3,2]])
print(s)
Ans.:0 [34, 56, 78]
1 [4, 3, 2]
dtype: object
[3] Consider a given Series , M1. Write a program in Python Pandas to create the series.
Marks
PT1 23
WT2 19
PT2 58
WT2 21
Ans.:
import pandas as pd
M1=pd.Series([23,19,58,21],index=['PT1','WT1','PT2','WT2'])
print(M1)
[4] Given two series S1 and S2
S1
P 23
Q 14
R 19
S 24
S2
P 17
Q 17
T 17
U 17
a. S1[ : 2]*100
b. S1 * S2
Ans.a)Steps:
0 Parth 71.55
1 Dhananjaya 83.25
2 Kauntey 68.69
3 Arjun 54.35
0 Pen 15 40
1 Pencil 10 25
2 Erasers 10 25
3 Scale 10 40
0 Ahmedabad 198 24
1 Baroda 145 18
2 Surat 98 12
3 Bhavnagar 74 7
0 11 Priya 97.5
1 36 Rishi 98.0
2 7 Preet 98.5
3 4 Vansh 98.0
R1 A 151.2533 True 20
R2 B 131.5241 False 25
R3 C 165.3214 True 15
R4 D 187.452 None 28
P03 JKLU 45 6 39
P04 Anandalaya 80 12 68
P03 JKLU 45 6 39
P04 Anandalaya 80 12 68
[2] Consider the following DataFrame, DFCL with row index S1,S2,S3,S4
Rollno Name Class Section CGPA Stream
Class XII XI XI X
Section D B D E
ii) 2
B.i)print(DFCL.shape[1])
#or
print(len(DFCL.columns))
#or
r,c=DFCL.shape
print(c)
#or
print(len(DFCL.axes[1]))
ii)
print(DFCL.shape[0])
#Or
print(len(DFCL))
#Or
r,c=DFCL.shape
print(r)
#Or
print(len(DFCL.axes[0]))
OR
print(DFCL.to_string(index=False,header=False))
#OR
l=[]
for i,r in DFCL.iterrows():
lr=[r.Rollno,r.Name,r.Class]
l.append(lr)
for i in l:
print(i)
[3] Mr. Kaushik, a data analyst has designed the dataframe DF that contains data about
punching time as shown below:
name time_in time_out
ii) [‘E001′,’E002′,’E003′,’E004′,’E005’]
B. i) print(DF.dtypes)
ii) print(DF.empty)
or
for i,c in df.iteritems():
print(c)
[4] Bhargav, a data analyst has designed a series df that contains data about score made by
4 batters in a match as shown below.
Virat Kohli 36
Ishan Kishan 17
Ans. i) (4,)
ii)
Rohit Sharma 303
Ishan Kishan 51
iii) print(s//3)
OR
for i in s.index:
if 'sh' in i.lower():
print(i)
iv) print(s>=100)
Data Visualization
In this section, I will cover data visualization’s most important questions for informatics
practices class 12. Here we go!
[1] Write python code to plot a bar chart for India’s runs in T20 World cup as shown
below:
Apply appropriate labels to the chart and x and y axis.
Ans.:
teams=["Pakistan","Netherlands","South
Africa","Bangladesh","Zimbabwe","England"]
runs=[160,179,137,184,186,168]
plt.bar(teams,runs,color=['r','g','b','c','m','k'])
plt.xlabel("Teams")
plt.ylabel("Runs")
plt.show()
[2] Write python code to depict the data of India/England semi-final runs by over on line
chart. The data is as follows:
Overs 5 10 15
India 31 62 100
England 52 98 156
Ans.:
overs=[5,10,15]
ind=[31,62,100]
eng=[52,98,156]
plt.plot(overs,ind,'b')
plt.plot(overs,eng,'r')
plt.xlabel("Overs")
plt.xticks(overs)
plt.ylabel("Runs")
plt.show()
[3] Write python code to plot a bar chart for Library Books as shown below:
Also give suitable python statement to save this chart.
Ans.:
book=['Maths','IP','Accounts']
qty=[60,40,72]
plt.bar(book,qty)
plt.title("Books in library")
plt.xlabel("Books")
plt.ylabel("Number of Books")
plt.savefig("Books.jpg")
plt.show()
[4] Write a program to plot a line chart based on the given data to depict the runs scored
by a batsman in 5 innings.
Innings = [1,2,3,4,5]
Runs = [102,88,98,146,52]
Ans.:
Innings = [1,2,3,4,5]
Runs = [102,88,98,146,52]
plt.plot(Innings,Runs)
plt.show()
[5] Write a python code to draw a histogram of runs scored by 10 players in previous
innings. Apply following customizations:
1. Take bins as 7
2. Apply title “Player Performance”
3. Show histogram cumulatively
4. Apply bar color – red
Ans.:
dt=[34,56,28,89,75,33,45,68,23,90]
plt.hist(dt,7,color='red',cumulative=-1)
plt.title("Player Performance")
plt.show()
city=['Ahmedabad','Vadodara','Surat','Patan','Bharuch']
max_temp=[32,28,39,31,27]
min_temp=[25,22,30,24,20]
plt.plot(city,max_temp,color='red')
plt.plot(city,min_temp,color='blue')
plt.xlabel("City")
plt.ylabel("temperature")
plt.title("Temprature")
plt.yticks([20,25,30,35,40])
plt.show()
[7] Observe the following chart and write code for the following:
Ans.:
import matplotlib.pyplot as plt
virat=[80,65,34,42,55]
rohit=[55,35,88,78,42]
x1=[0.25,1.25,2.25,3.25,4.25]
x2=[.75,1.75,2.75,3.75,4.75]
plt.bar(x1,virat,label='Virat Kohli',width=0.5,color='red')
plt.bar(x2,rohit,label='Rohit Sharma',width=0.5,color='blue')
plt.xlabel("Macthes")
plt.ylabel("Runs")
plt.title("Player Stats")
plt.xticks([1,2,3,4,5])
plt.show()
[8] Mrs. Namrata is a coordinator in the senior section school. She represented data on
number of students who passed the exam on line chart as follows:
import matplotlib.pyplot as plt
no_of_boys=[23,22,20,26,33,30]
no_of_girls=[17,10,20,12,5,8]
plt.line(classes,no_of_boys) #Statement 1
plt.line(classes,no_of_girls) #Statement 2
plt.ytitle("Classes") #Statement 4
plt.show()
ii) What is the correct function name for Statement 3 and Statement 4?
iv) Name the parameter and values used to apply the marker as given in the output.
v) Name the parameter and values used to apply linestyle as given in the output.
Ans:
1. Statement 1: plt.plot(classes,no_of_boys)
2. Statement 2:plt.plot(classes,no_of_girls)
1. plt.xlabel(‘classes’)
2. plt.ylabel(‘No of stduents’)
iii) To display the legend she need to add label parameter in the plot method as following:
1. plt.plot(classes,no_of_boys,label=’Boys’)
2. plt.plot(classes,no_of_girls,label=’Girls’)
plt.legend()
iv) To apply the marker as given in the figure she needs to write the code as follows:
plt.plot(classes,no_of_boys,marker='D')
plt.plot(classes,no_of_girls,marker='o')
plt.legend()
iv) To apply the marker as given in the figure she needs to write the code as follows:
plt.plot(classes,no_of_boys,marker='D')
plt.plot(classes,no_of_girls,marker='o')
v) To apply the lines styles she needs to use a parameter linestyle or ls with the values ‘dashed’
and ‘dotted’ respectively as follows:
plt.plot(classes,no_of_boys,ls='dashed')
plt.plot(classes,no_of_girls,ls='dotted')
plt.plot(classes,no_of_boys,color='m')
plt.plot(classes,no_of_girls,color='pink')
vii) To save the figure as image she needs to use savefig() method as follows:
plt.savefig('boygirlspass.jpg')
Select length(“LENGTH”) ;
a) Numeric value
b) Text value
c) Null value
d) Float value
”Show_Answer”
[2] If column “SCORE” of table PLAYER contains the data set (45,80, 35,15, 7) , what will
be the output after execution of the following query?
a) 38
b) 73
c) 8
d) 35
”Show_Answer”
[3] If column “temp” of the weather table contains the data set (45, 35, 35, 28, 28), what will
be the output after the execution of the given query?
a) 34.2
b) 21.6
c) 38.33
d) 36
”Show_Answer”
[4] Ravi is class 12 student. He is learning MySQL functions. He wants to know the
category of mid() function. Select an appropriate category to help him to understand well.
a) Math function
b) Text function
c) Date Function
d) Aggregate Function
”Show_Answer”
[5] What will be the output of the following SQL command?
SELECT round(155.9772,-1);
a) 155
b) 156
c) 160
d) 156
”Show_Answer”
[6] Consider the string “TutorialAICSIP.com is best”, Which among the following SQL
command(s) will give the output as – best?
”Show_Answer”
[7] If column “venue” of table matches contains the data set (‘Ahmedabad’, ‘Baroda’,
‘Ahmedabad’, ‘Anand’, ‘Baroda’) , what will be the output after execution of the following
query?
a) 5
b) 3
c) 2
d) 4
”Show_Answer”
[8] The correct SQL form below to find the temperature in increasing order of all cities
”Show_Answer”
[9] Which one of the following is an aggregate function(s)?
i) min()
ii) max()
iii) power()
iv) now()
a) Only (i)
”Show_Answer”
[10] Observe this statement and select appropriate option: “Where and Having clauses can
be used interchangeably in SELECT queries“.
a) True
b) False
c) Only in views
d) With order by
”Show_Answer”
[11] Sohail is confused about which function returns the time when the function executes.
Help him by selecting the correct option out of the following:
a) SYSDATE()
b) NOW()
c) CURRENT()
d) TIME()
”Show_Answer”
[12] Prakash has been given a task to select a function used to display the current date and
time. Select an appropriate function for same.
a) Date( )
b) Time( )
c) Current( )
d) Now( )
”Show_Answer”
[13] Find the output for the below SQL statement:
a )3
b) am@2023
c) BoardEx
d) 3202@ma
”Show_Answer”
[14] What is the output of following?
Select Round(9999.299,2);
a) 9999.30
b) 10000.29
c) 19999.00
d) 10000.30
”Show_Answer”
[15] What is the use of a desc word along with order by clause?
”Show_Answer”
[1] In a table employee, a column occupation contains many duplicate values. Which
keyword would you use if wish to list of only different values?
”Show_Answer”
[2] Define and Identify Single Row functions of MySQL amongst the following :
”Show_Answer”
[3] Given the table ‘Player’ with the following columns :
Pcode Points
P001 25
P002 36
P003 12
P004 NULL
P005 42
Write the output of the following queries:
”Show_Answer”
[4] Name SQL Single Row functions (for each of the following) that
”Show_Answer”
[5] Name two Aggregate (Group) functions of SQL and explain them with example.
”Show_Answer”
[6] Consider the table ‘Hotel’ given below:
Mr. Vinay wanted to display average salary of each Category. He entered the following
SQL statement. Identify error(s) and Rewrite the correct SQL statement.
”Show_Answer”
[7] Write the output of the following SQL queries :
1. SELECT MID(‘BoardExamination’,2,4);
2. SELECT ROUND(67.246,2);
3. SELECT INSTR(‘INFORMATION FORM’,‘FOR’);
4. SELECT LEFT(‘2022-06-13’,4);
”Show_Answer”
[8] Distinguish between Single Row and Aggregate functions of MySQL. Write one
example of each.
”Show_Answer”
[9] Consider the following table :
Abhay wants to know the number of students who took the test. He writes the following
SQL statement to count STUDENTID without duplicates. However the statement is not
correct. Rewrite the correct statement.
”Show_Answer”
[10] Aman has used the following SQL command to create a table ‘stu’ :
Write the output that will be produced by the following SQL statement :
”Show_Answer”
[11] Table Student has the columns RNO and SCORE. It has 3 rows in it. Following two
SQL statements were entered that produced the output (AVG(SCORE)) as 45 and
COUNT(SCORE) as 2). Data in SCORE column is same in two rows. What data is present
in the SCORE column in the three rows?
”Show_Answer”
[12] Consider the following table – activity
activitycode activityname points
1. Write query to display Activity Code along with total points of each activity
(Activity Code wise) from the table Participant.
2. To display Activity Code, Activity Name in alphabetic ascending order of names of
activityname.
”Show_Answer”
[13] Consider the following table: results
1 Ankit 1010 98
2 Bhavik 1011 95
3 Suman 1010 85
4 Sachin 1011 75
Write the outputs that the following SQL statements will generate :
”Show_Answer”
[14] Consider the following table: item
Ino Iname Price
1 Pencil 10
2 Sketch Pens 40
3 Ball Pens 18
4 Gel Pens 20
5 Eraser 8
Write queries to
1. To display Names of Items and Price of all the items in descending order of their
Price.
2. To display Minimum and Maximum Price of each item from the table item for pens
and pencil)
”Show_Answer”
[15] Write the output of the following queries:
1. select mod(-23,2);
2. select right(lower(‘Class XII Term 2 Exam’),4);
3. select month(‘2022-04-03’);
4. select pow(day(‘2022-05-03’),-2);
”Show_Answer”
[16] Consider the following table game:
”Show_Answer”
[17] What will be the output of the following queries:
”Show_Answer”
[18] Differentiate between order by clause and group by clause.
”Show_Answer”
[19] Differentiate between where and having clause.
”Show_Answer”
[20] Ankur has written the following commands with respect to a table employee having
fields empno, name, department, and commission.
She gets the output as 6 for the first command but gets 4 rows for the second command.
Explain the output with justification.
”Show_Answer”
[21] Roshan, is a student of class 12 learning MySQL, he wants to remove leading and
trailing spaces from ‘#####LEARNING###MYSQL####’ (#denotes a blank space) and also
wants to know the output. Write the output and explain how these spaces are removed?
”Show_Answer”
[22] Mr. Kalpesh is Admin Manager in Krishna Hospital. He created the following table
named doctor to store records of doctors.
”Show_Answer”
[22] Based on the table given above, help Mr. Kalpesh write queries for the following task:
i) To display the names and salaries of doctors in descending order of salaries.
ii) To display the unique departments from the doctor table.
”Show_Answer”
[23] Gopal is using a table EMPLOYEE. It has the following columns: He wants to display
the maximum salary Department wise.
”Show_Answer”
[24] Write the name of the functions to perform the following operations and write an
example:
1. To display the day, from the date when the constitution of India came into effect.
2. To display the position of India from the given string – ‘Republic India’.
”Show_Answer”
[25] Predict the output:
1. select power(3,0);
2. select round(125.7654,-2)
”Show_Answer”
”Show_Answer”
[2] Consider the following table ‘Prepaid’ and write queries given below:
”Show_Answer”
[3] Raj is working with functions of MySQL. Suggest a query to him for the following:
”Show_Answer”
[4] Consider the following table – ‘Garment’
”Show_Answer”
[5] Consider the table – Garment and write the following queries:
”Show_Answer”
[6] Write output of the following:
”Show_Answer”
[7] Consider the table – friends
”Show_Answer”
[8] Name the SQL command used for the following:
”Show_Answer”
[9] Explain the difference between each and justify using an example for each.
”Show_Answer”
[10] Binal has joined as a trainee in a database company. While working with real-time
data, he has few queries: As a senior, help him name the functions to clear his queries and
explain the difference among them:
1. A function that returns a constant time that indicate’s the time at which the statement
began to execute
2. A function that returns exact time at which it executes.
3. A function that returns the current date only and not the time.
”Show_Answer”
[11] Sanjana is executing the following queries:
The # sign is used to denotes the space. He got the output for the commands are as follows:
”Show_Answer”
[12] Consider “Winners never quit”. Write the queries for the following tasks.
”Show_Answer”
[13] What will be the output of the following queries?
”Show_Answer”
[14] Consider the following table stduent and write answer of the following questions:
[1] Display square of age that got admission in the month of June.
”Show_Answer”
[2] Divide age the by 2 and display the output with 2 decimal places along with name and
department.
”Show_Answer”
[3] Display unique departments in capital letters.
”Show_Answer”
[4] Display the name from 3rd letter to 6th letter along with age and department who
admitted after 1997.
”Show_Answer”
[5] Display the name, admission date and fees whose name is 6 letters long.
”Show_Answer”
[6] Display the total number of years for all students from the table and rename the
heading as years in school.
”Show_Answer”
[7] Display name, department and month name in which they got admission for all
students.
”Show_Answer”
[8] Display name and subtract today’s day from date of admission day.
”Show_Answer”
[9] Display no, name, and day name for students whose name contains ‘ha’.
”Show_Answer”
[10] Display the most senior student and most junior student’ age.
”Show_Answer”
[11] Display maximum age for each department.
”Show_Answer”
[12] Display young age for each gender.
”Show_Answer”
[13] Display total number of student for each department and display the report where no.
of students are more than 2.
”Show_Answer”
[14] Display the details of students in descending order of age.
”Show_Answer”
[15] Display the details of students according to youngest to oldest.
”Show_Answer”
Watch this video for more understanding:
a) LAN
b) MAN
c) WAN
d) PAN
”Show_Answer”
[2] If different branches of a hospital in different state capitals are connected together,
which type of network it forms?
a) LAN
b) MAN
c) WAN
”Show_Answer”
[3[ Which of the following covers a geographical area like a city or town?
a) LAN
b) MAN
c) WAN
d) PAN
”Show_Answer”
[4] The Internet is an example of
a) LAN
b) MAN
c) WAN
d) PAN
”Show_Answer”
[5] Nishtha is preparing for her IP board exams. She is confused about the types of URL.
Select the appropriate option and help her to understand.
”Show_Answer”
[6] Rajesh is working as a lab technician in a school. He needs to install a web browser in
school computers. Help him in choosing the best browser for computers:
a) Google Chrome
b) Apple Safari
c) Opera Mini
d) UC Browser
”Show_Answer”
[7] Assertion (A): Each website has a unique address called URL.
https://ncert.nic.in/textbook.php?leip1=5-7
”Show_Answer”
[8] Jyoti is searching for a device that is used to regenerate the signals over long-distance
data transmission:
a) switch
b) modem
c) Repeater
”Show_Answer”
[9] Suhas wants to make video and voice calls to his clients staying abroad. Which protocol
help him to accomplish his task?
a) HTTP
b) VoIP
c) Video Chat
d) SMTP
”Show_Answer”
[10] Udit is attempting an online test where he has been given a question URL that stands
for what? Select an appropriate option and help him.
”Show_Answer”
[11] The device used to connect two networks using different protocols is:
a) Router
b) Repeater
c) Gateway
d) Hub
”Show_Answer”
[12] Which one is incorrect about MAC address?
a) It is the Physical Address of any device connected to the internet.
b) Anyone can change the MAC address of a device.
c) It is the address of the NIC card installed in the network device.
d) It is used to track the user over the Internet
”Show_Answer”
[13] Assertion (A):- VoIP makes audio and video calls possible from any internet-connected
device having a microphone and speakers.
Reasoning (R):- VoIP is possible if both caller and receiver have the right software and hardware
to speak to one another.
b) Both A and R are true and R is not the correct explanation for A
”Show_Answer”
[14] Ankit is preparing for a network engineer interview. He asked his friend to make
questions for him. His friend asked him which of the following is not network topology.
a) Star
b) Mesh
c) Firewall
d) Tree
”Show_Answer”
[15] Ram is a network analyst in a multination company. His boss asked him to prepare a
network layout that uses fewer wires. Suggest to him the best topology to accomplish this
task.
a) Bus
b) Star
c) Ring
d) Hybrid
”Show_Answer”
[16] A group of two or more similar things or people interconnected with each other is
called _________
a) Group
b) Community
c) Collection
d) Network
”Show_Answer”
[17] Which of the following is not a benefit of a network?
a) Sharing information
b) Sharing resources
d) Communication
”Show_Answer”
[18] Apart from computers networks include
a) Office Staff
c) Packets
d) Sockets
”Show_Answer”
[19] In network communications packets refers to ______________
”Show_Answer”
[20] In a communication network, each device that is part of a network and that can
receive, create, store, or sends data to do different network routes is called ____________
a) Network Path
b) URL
c) Node
d) Communication Media
”Show_Answer”
[21] Which of the following cannot be a node in the network?
a) WiMAX
b) Hub
c) Router
d) Server
”Show_Answer”
[22] Which of the following is comparatively secure network access among all kinds of
networks?
a) WAN
b) MAN
c) LAN
d) None
”Show_Answer”
[23] The data transfer in LAN generally ranges from
a) 10 to 50 Mbps
b) 10 to 100 Mbps
c) 10 to 500 Mbps
d) 10 to 1 Gbps
”Show_Answer”
[24] Mbps stands for
”Show_Answer”
[25] ______________ is a set of rules that decides how computers and other devices connect
with each other through cables in a local area network or LAN.
a) Communication
b) Topology
c) Ethernet
d) Firewall
”Show_Answer”
[26] State True or False – “Data transfer rate in MAN network is high as compared to
MAN network. “
”Show_Answer”
[27] Modem Stands for ________________
a) Modulate Demodulate
b) Modulator Demodulator
c) Modulation Demodulation
d) Modules Demodules
”Show_Answer”
[28] The modulator connected to sender’s end acts as
a) Client
b) Server
c) demodulator
d) modulator
”Show_Answer”
[29] The modem at the receiver’s end acts as a
a) Client
b) Server
c) demodulator
d) modulator
”Show_Answer”
[29] Mehul wants to connect his personal computer with his office LAN. He is confused
about which device is used to set up a wired network from his computer, help him to do the
same.
a) HDD
b) NIC
c) RAM
d) CPU
”Show_Answer”
[30] Select the correct statements about NIC:
a) Only i
c) i) and ii)
”Show_Answer”
[31] In general network, signals can travel up to _______________
a) 1m
b) 10m
c) 100m
d) 500m
”Show_Answer”
[32] Select correct statements for the hub
”Show_Answer”
[33] Nirali wants to connect a local area network to the internet. Suggest her best device
out of the following:
a) bridge
b) router
c) switch
d) repeater
”Show_Answer”
[34] The gateway has _________________, usually integrated with it.
a) firewall
b) router
c) Internal modem
d) router
”Show_Answer”
[35] To build a fully connected mesh topology of n nodes, how many wires are required?
a) n
b) n-1
c) n(n-1)
d) n(n-1)/2
”Show_Answer”
[36] Arjun wants to connect 10 computers with fully connected mesh topology, how many
wires are required?
a) 45
b) 50
c) 55
d) 100
”Show_Answer”
[37] In which of the following topology the link is unidirectional?
a) star
b) bus
c) ring
d) mesh
”Show_Answer”
[38] Which of the following is not an application of the internet?
a) WWW
b) Email
c) Chat
d) Firewall
”Show_Answer”
[39] Which of the following statements correct about WWW
a) It is an ocean of information
”Show_Answer”
[40] Which of the following is not a fundamental technology that led to the creation of the
web?
a) HTML
b) URI
c) Email
d) HTTP
”Show_Answer”
[41] Which of the following is not a popular search engine?
a) Google
b) Facebook
c) Yahoo
d) Bing
”Show_Answer”
[42] Which of the following is the most popular email service provider?
a) gmail
b) facebook
c) linkedin
d) ChatGPT
”Show_Answer”
[43] Which of the following is the more popular chat application?
a) ChatGPT
b) Slack
c) Google Map
d) None
”Show_Answer”
[44] _____ will be displayed when the website is launched.
a) Startup Page
b) Splash Screen
c) Home Page
d) Front Page
”Show_Answer”
[45] Nishant has started a business. Now he wants to sell his products online. Which of the
following is helpful for him with his own online infrastructure?
a) Website
b) Network
d) Selling on Amazon
”Show_Answer”
[45] State True or False – “A website design should be user-friendly and provide
information to users with minimum effort.”
”Show_Answer”
[46] Basic structure of web site is created using
a) MS Word
b) C++
d) MS Excel
”Show_Answer”
[47] CSS stands for ____________________
”Show_Answer”
[48] Which of the most popular and commonly used scripting languages?
a) Python Script
b) Web Script
c) Java Script
d) C++ Script
”Show_Answer”
[49] A web page can be ________________ or _____________
a) Absolute, Relative
b) Static, Dynamic
c) Absolute, Dynamic
d) Physical, Relative
”Show_Answer”
[50] Select the correct statement about static webpage:
”Show_Answer”
[51] A ________________ is used to store and deliver the contents of a website to clients
such as a browser that requests it.
a) Web Page
b) Home Page
c) Web Server
d) WebSite
”Show_Answer”
[52] When the web server is not able to locate the page, it sends a page containing an error
message. Identify this error:
d) 410 Gone
”Show_Answer”
[53] _______ is a service that allows us to put a website or a web page onto the Internet,
and make it a part of the World Wide Web.
a) web browser
b) web server
d) web hosting
”Show_Answer”
[54] __________ is a service that does the mapping between domain name and IP address.
c) Protocol
d) Absolute/Relative Path
”Show_Answer”
[55] A ____________ is a software application that helps us to view the web page(s).
a) Web hosting
b) Web Browser
c) Web Server
d) Web Page
”Show_Answer”
[56] Which was the first web browser?
a) Mosaic
b) Opera
c) Apple Safari
d) Google Chrome
”Show_Answer”
[57] A _____________ is a complete program or may be a third-party software.
a) Add on
b) Extension
c) Plug in
d) App
”Show_Answer”
[58] Add-on is also referred as
a) Plug in
b) App
c) Adware
d) Extension
”Show_Answer”
[59] Which of the following is a text file, containing a string of information, which is
transferred by the website to the browser when we browse it?
a) cookies
b) script
c) program
d) session
”Show_Answer”
[60] State True or False – “Cookies are usually harmful.”
”Show_Answer”
”Show_Answer”
[2] Distinguish between LAN and WAN.
”Show_Answer”
[3] What is the purpose of Modem in network ?
”Show_Answer”
[4] Define ‘Domain Name Resolution’.
”Show_Answer”
[5] Illustrate the layout for connecting 5 computers in a Bus and a Star topology of
Networks.
Star Topology
Start topology
Bus Topology
[6] State one way with which an online shopper can be sure that he/she is using a secure
website.
”Show_Answer”
[7] Expand:
”Show_Answer”
[8] A CEO of a car manufacturing company ElectroCars Ltd. located at Mumbai wants to
have an annual meeting with his counterparts located at Delhi and Chennai where he
would like to show as well as see and discuss the presentations prepared at the three
locations for the financial year. Which communication technology out of the following is
best suited for taking such an online demonstration ?
”Show_Answer”
[9] What kind of data gets stored in cookies and how is it useful?
”Show_Answer”
[10] State the reason why star topology requires more cable length than bus topology.
”Show_Answer”
[11] Seema needs a network device that should regenerate the signal over the same network
before the signal becomes too weak or corrupted. Amit needs a network device to connect
two different networks together that work upon different networking models so that two
networks can communicate properly.
”Show_Answer”
[12] How is the domain name related to IP address?
”Show_Answer”
[13] What happens to the Network with Star topology if the following happens :
”Show_Answer”
[14] Write the purpose of HTTP.
”Show_Answer”
[15] Write the purpose of the following devices : Router, Modem
”Show_Answer”
[16] Name any two private Internet Service Providers (company) in India.
”Show_Answer”
[17] Pratima is an IT expert and a freelancer. She undertakes those jobs, which are related
to setting up security software/tools and managing networks in various companies. If we
name her role in these companies, what it will be out of the following and justify the
reason:
”Show_Answer”
[18] Kamakshi Ltd. Company wants to link its computers in the Head office in New Delhi
to its office in Sydney. Name the type of Network that will be formed. Which device should
be used to form this Network ?
”Show_Answer”
[19] Name the devices :
1. This device constantly looks at all the data entering and exiting your connection. It
can block or reject data in response to an established rule.
2. This device connects multiple nodes to form a network. It redirects the received
information only to the intended node(s).
”Show_Answer”
[20] Differentiate between Bus Topology and Star Topology of Networks. What are the
advantages and disadvantages of Star Topology over Bus Topology ?
”Show_Answer”
[21] Atul is learning the topic of types of networks. He is confused about which type of
network formed by the following:
”Show_Answer”
[22] Identify the smallest and largest network out of these and write an example of each of
them:
”Show_Answer”
[23] Match the following devices functions:
1 Modem A Connect the different networks together that work upon different networking models
Regenerate the signal over the same network before the signal becomes too weak or
2 Gateway B
corrupted
4 Hub D Connect multiple devices in a network and send information to all nodes
”Show_Answer”
[24] Parul is learning topic network topologies. Identify the following topologies:
”Show_Answer”
[25] Arun is going to select a network topology for his company. Suggest him the topology
from the following hints:
(i) He needs to maximise the speed maximise the speeds and make each computer independent.
(ii) A topology which contains a backbone cable running through the whole length.
”Show_Answer”
[26] Bhumin wants to know about the hub. Explain the device with its type to him in short.
”Show_Answer”
[27] Explain the types of repeaters in short.
”Show_Answer”
Unit 3 Introduction to computer networks 5
marks questions
[1] Biswas Enterprise is starting its first regional office in Baroda, Gujarat. And a branch office
in Bhruch. Bharuch office has three units Admin, HR and Sales in the 2 Km Area. As a network
admin, you need to suggest the network plan as per (i) to (iv) to the leaders keeping in mind the
distances and other parameters:
HR to Admin 70 M
HR to Sales 50 M
Admin to Sales 100 M
HR 30
Admin 50
Sales 20
Baroda 10
(i) Suggest the best suitable cable layout for the given case to connect each unit of the
Bharuch office.
(ii) Suggest the most suitable place to install the server and specify the reason.
(iii) Which device is out of the following to be installed in each unit of the Bharuch office?
(iv) Which topology is best for each unit of the Bharuch Office?
(vi) Suggest a suitable technology to access the internet at various units of Bharuch Office.
(vii) Suggest the best option to connect the Baroda office with the Bharuch office’s units.
(viii) Suggest a device/software to provide security for the entire network of Bharuch
Office.
(ix) Company wants to arrange online meetings frequently throughout the year. Suggest
anyone online video conferencing software/app and protocol used for the software.
(x) Company has launched its R & D department office in USA. They want to connect this
office network with Baroda office. Suggest the best way to connect them.
(c) In this unit they want to connect the internet line with their telephone. Suggest a device which
can be used to establish an internet connection through telephone.
Answers:
(i)
(ii) Admin unit is the most suitable place to install a server as it has a maximum number of
computers.
(iii) Switch can be used to connect all the devices of the Bharuch office.
(iv) Star topology is best for each unit of the Bharuch Office.
(vi) Broadband
(vii) Sattelite is the best option to connect Baroda office and Bharuch office units.
(viii) Firewall
(ix) Software: Skype, Zoom, Google Meet, Webex & Protocol : VoIP
(x) Satellite
(xi) Switch
(b) Repeater
(c) Modem
[1] Parul is surfing the Internet using smartphones where she left a trail of data reflecting
the activities performed by her online. This trail of data is known as ______________
a) Data print
b) Digital Activity
c) Digital footprint
d) Digital print
”Show_Answer”
[2] Stealing someone’s intellectual work and representing it as another person’s work is
known as _____.
a) Phishing
b) Spamming
c) plagiarism
d) hacking
”Show_Answer”
[3] Free software provides
”Show_Answer”
[4] Observe the given options and identify the option which violates IPR:
a) Licensing
b) Digital Footprint
c) GPL
d) Plagiarism
”Show_Answer”
[5] Unsolicited commercial emails is known as …………..
a) Spam
b) Malware
c) Virus
d) Worms
”Show_Answer”
[6] Identify the organization responsible for E-Waste management in India
a) NITI Aayog
b) Ministry of Commerce
”Show_Answer”
[7] Which of the following is not protected by copyright and available to everyone is
categorized as:
a) Proprietary
b) Open Source
c) Patent
d) Plagiarism
”Show_Answer”
[8] Which of the following is not a cybercrime?
”Show_Answer”
[9] What is meant by the term ‘cyber crime’?
a) Any crime that uses computers to jeopardize or attempt to jeopardize national security
”Show_Answer”
[10] Ankit is working in an organization that purchases new computers every year and
dumps the old ones into the local dumping yard. Select an appropriate category of waste
created, out of the following options:
a) Artificial waste
b) Computerized waste
c) E-waste
d) Natural Waste
”Show_Answer”
[11] ______ are the attempts by individuals to obtain confidential information from you
through a clone or similar kind of interface of website and URL.
a) Pharming
b) Cloning
c) Spamming
d) Phishing
”Show_Answer”
[12] Karishma sets up her own company to sell her own range of clothes on social media
platforms. What type of intellectual property can she use to show that the clothes are made
by her company only?
a) Patents
b) Copyright
c) Trademark
d) Design
”Show_Answer”
[13] Some etiquettes followed while using the internet is called Net Etiquette. Which of the
following is/are Net Etiquette(s)?
a) Be Ethical
b) Be Responsible
c) Be Respectful
d) All of these
”Show_Answer”
[14] Akshat is fraudulently acquiring someone’s personal and private information, such as
online account names, login information, and password, Here Akshat is doing
a) Phishing
b) Identity Theft
c) Plagiarism
”Show_Answer”
[15] Purva got a link in a WhatsApp group that diverts her to a bogus site. This type of
activity is known as _______
a) Phishing
b) Spoofing
c) Eavesdropping
d) Pharming
”Show_Answer”
[16] Assertion (A): – E-waste cause of Damage to the immune system, Skin disease, Multi
ailments and Skin problems.
Reasoning (R):- Mostly all electronic waste comprises of toxic chemicals such as lead,
beryllium, mercury etc.
”Show_Answer”
[17] Assertion(A): Digital footprint 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.
Reason(R): While online, all of us need to be aware of how to conduct ourselves, how best to
relate with others and what ethics, morals and values to maintain.
”Show_Answer”
[18] The information/art/work that exists in digital form is called________.
a) job work
b) computerized property
c) digital property
d) e-property
”Show_Answer”
[19] Legal term to describe the right of creator of original creative or artistic work is
called_____.
a) Copyright
b) Copyleft
c) GPL
d) Trademark
[20] Rajesh received an email warning him of closure of his bank accounts if he did not update
his banking information as soon as possible. He clicked the link in the email and entered his
banking information. Next he got to know that he was duped. This is an example of
__________ .
a) Online Fraud
b) Identity Theft
c) Plagiarism
d) Phishing
[21] Assertion (A):- VoIP makes audio and video calls possible from any internet connected
device having a microphone and speakers.
Reasoning (R):- VoIP is possible if both caller and receiver have the right software and hardware
to speak to one another
[22] An online activity that enables us to publish website or web application on the internet
a) Web server
b) Web Browser
c) Web Hosting
d) None
a) Encryption
b) Digital footprint
c) Offline phishing
d) Copyright infringement
[24] Which of the following activity is an example for Active digital footprint?
a) Surfing internet
c) Agreeing to install cookies on your devices when prompted by the browser d) None of the
above
[25] Assertion(A) : Incognito browsing opens up a version of the browser that will track your
activity
b) Old clothes
c) an old computer
d) a ripened banana
a) Video Conference
b) Chat
c) Text Phone
d) Telephony
I hope this article will help you to prepare for the CBSE informatics practices board exam. If you
have doubts or queries related to any topic feel free to ask in the comment section.
Share this:
Telegram
Like this:
Loading...
SUBJECTS
Artificial Intelligence
Computer Science
Informatics Practices
Information Technology
Computer Applications
Trending
LATEST
Python program to print words from list having 3 letters with index