Page 28 - IPP-12-2024
P. 28
SECTION B
19. Identify the electronic device in the given diagram. Write its function in brief.
Weakened Signal Regenerated Signal
?
OR
Identify the following devices—
(i) It is used to connect dissimilar networks.
(ii) It is a network device which works on different protocols within a network. (2)
20. The Python code written below has syntactical errors. Rewrite the correct code and underline the corrections
made.
import pandas as pd
Terminal_marks=[{"Amit":98, "Rishabh":97, "Ravi":95}{"Amit":97, "Rishabh":93,
"Ravi":98}
df=pd.DataFrame(terminal_marks)
print(df)
df.lock['2']=[95,96,99]
print(Df) (2)
21. Write the suitable SQL queries for the given string “AMBULANCE” that:
(i) Returns the string as “ANCE”.
(ii) Returns the total number of characters in the given string (2)
22. Predict the output of the given Python code:
import pandas as pd
list=["I can do it!"]
s = pd.Series(list*4)
print(s) (2)
23. What is Software Licensing and Copyright? Write any one advantage of licensed software. (2)
24. Complete the given Python code to get the required output as:
b Shreya
c Kritarth
d Avni
dtype: object
b Shreya
c Kritarth
d Avni
e Mridul
dtype: object
import pandas as pd
s=pd.Series(["Raima", "______", "Kritarth", "Avni", "Mridul"],
_____=["a","b","c","d","e"])
print(s.iloc[____])
print(s.loc[____]) (2)
Practice Paper A.3