Professional Documents
Culture Documents
Note: For MySQL outputs, full marks may be awarded, even if the column name was not written
SECTION – A
1 (iv) Protocol 1M
3 (i) Yes 1M
5 (iii) COUNT(*) 1M
6 (iii) Keep the device such that direct sun light falls on the computer 1M
7 (iii) POW(2,3) 1M
8
8
8
8 (ii) 84 1M
9 (iv) INSTR( ) 1M
10 (iii) 1 25 1M
2 100
3 225
4 400
11 (ii) pip install pandas 1 M
SECTION – B
19 Difference – 1 M, Example – 1 M
Add–On is like regular app or program, but only run when the browser runs.
These will be installed and used for a specific purpose such as, taking Google Meet
attendance, converting webpage to PDF, downloading files etc.
Plug–in allows a web browser to display additional content it was not originally
designed to display. An example of a plug–in is the free Macromedia Flash
Player, which allows the web browser to display animations using the Flash format
OR
Bus topology consumes less cable length where as Star topology requires more
cable length
Data Transmission is faster in Star topology compared to Bus topology
21 For valid reason reflecting that the EName column of table Emp has NULL values
–2M
Reason: The column EName has three NULLs. COUNT(*) returns counts
including NULLs in the table but COUNT(EName) counts excluding NULLs and
hence the two statements producing different outputs
22 (a) print(Sales[Sales>300]) – 1M
(b) Sales.index.name="ProductName" – 1 M
OR
Definition – 1 M
Anyone who uses digital technology along with Internet is a digital citizen or a
netizen.
Any two valid etiquettes should be awarded marks even if not present in the above
list
-3-
For justification – 1 M
Justification: On x–axis the default labels 0, 1, 2, 3, 4, 5, 6 will be displayed
(b) studentdf.T 1M
SECTION – C
26 (a) SELECT MOD(ROUND(13.9), 3); 1M
2
(b) DAYOFYEAR('2022-02-05') 1M
36
OR
OR
Valid Example (Only queries without giving table data also should be considered)
–1M
SECTION – D
31 (a) Any two valid functions names (no explanation required) – 1 M
LENGTH( ), INSTR( ), ASCII( ) etc.
(b) Any two valid functions names (no explanation required) – 1 M
DAY( ), MONTH( ), YEAR( ), DAYOFMONTH( ), DAYOFWEEK( ),
DAYOFYEAR( ) etc.
(c) COUNT( ) –1M
(d) Any two valid functions names (no explanation required) – 1 M
SUM( ), AVG( ), MIN( ), MAX( ), COUNT(*) etc.
(e) Function MOD( ) – ½ Mark
Operator % – ½ Mark
OR
1 Mark for each query and output
(d)
ROUND(PRICE)
1400
1601
1100
4000
1500
1200
-5-
(e)
CONCAT(COLOUR,GNAME)
RedTshirt
BlueJeans
BlackSkirt
BlueJacket
BrownTrousers
PinkLadies Top
32 (a) 1M
Develop Research
ment Lab
Sales
Office
Back
Office
plt.show( ) 1M
OR
plt.plot(x_mag,y_fov,marker=".",markersize="10") 1M
plt.xlabel("Magnification") 1M
plt.ylabel("Field of View")
plt.title("Best in Class - Field of View Vs Magnification")
plt.show() 1M
-6-
SECTION – E
34 (i) SELECT MAX(Salary) FROM Teacher; 1M
OR
(iii) print(InfantMortality[2019]['India']-InfantMortality[2022]['India']) 2M
(Any valid accessing of elements should be considered)
OR
InfantMortality.drop('Australia') 2M
Or
InfantMortality.drop('Australia',axis=0)
Or
InfantMortality.drop('Australia',axis=0,inplace=True)
Or
InfantMortality.drop('Australia',inplace=True)