You are on page 1of 13

M

Page No.
YOUVA
Date.

Compamtment 2022-23.
Ol. A device that Can
iSanetwor.
tronimit it to oheh
he data analyse it ond
netoorko.
(A) Router

02. We need to exhibit propen mannecs and ehqluettes


Such :
while beng
Cb) Respectdhiansy
prolects Gn oven hon Aor yeane oler
patnt
which be fmeely wed

Wnk the Qutputi


Select lcase (subsh (" Projeck Managment", 9, 6))

O5. KVk Ahe output:


Select, fow (2, 2*)

06 F wase contains that caes respiratoye disorders


and brain dmaqe
Cadmiana Benyllium |lead Menuny
07 SQL the mo0th name Prom the
Speihed data.

A
Ao which o he iloun hunai me
Spaukied calunan Ig0anm he QULvaes 2
(b) CoUNT ((alumnane)
M W F SS
Page No
YOUVA
Date

09. help to ferch gnoupof ous. based


Commoo Vaue8 Olumn.

What wil be
putputithe
inport pandasoS pd
pa. Datatrame (C'Apple'sanana!, Oronge''araper',
"Cnuava'l)
piat (t(e :4:27)

0range
is one - dimensional rYay
cc containing
Sexies Aython 2

Python Pandas head tn) methad


memberS o Seniee. khat is deLautt Value oA2

13. S a to put a lueboe


web page

14. fiod the Dutput


Setect IAStr ( Data Sience "ie")

I5. Rupam Cneated aSsi'siye device for the bliod Ths


deuite eny help for he blnd and peaple soia
AJow sheHwank
Shauld opy hen
hen novahon. aJh ak hould sue da?
· (het ne patent r hen inuentibo
M

Page No.
YOUVA
Date

1b. Preenting Jomeone elsers.


Ôwnldea orw0nA0Stalwd
Eadenm Plagiaxism.
I7(A): Modem Shands for
forModulafor Demodulatoy
(R): The modem senders end Gtsa
demodulQtor that Ats the dgitat data oto
and at the
analogue Signals
modulator that LOnuents onalog
dgialdata.
(c) A is true but RT Palse

18 (A): In órder to be able to use Rython 'S data.


ViSualizaHon library we need to npot pyploE
moduleafrommatp1g libaty
(R) The pyplot module ahouses ofuocions
reuined to (neate andwstomize chants or
graphs
(a) A aod R

14 (a) Wnte maio


odvanteqe one diaadvantag
Skan topalagy
AduantagaiCentralzad LontoL and management makeR iE
monitor, Hroublehoot,Qnd scale the

Disadvantagg: Dependente oOn te centcal hub


bub or siitch
centralhab lails he e0ire
netwoYK heLomea fnaccesible
Page No
YOUVA
Date

(b) ith refkrence to broosing the websites. briely


explain. the term CooKie. AlSO menioo. any toD
points ol aignikcance of it.
A cooKie is Small piece o data thata uebsie
sends to ausen'sueb brausen. The bousten stotes
his data and sendsatk to Hhe website each
ime
aenisih it agnin.
Sigaikicane
Helps fo analycing theuAen's hoing patme
Helps. to Customiztag fhe expenience for a wmen
20. Arpit Wants to find the total
commission eanned by
depantmens whenethe no. of employees iothe
depaxtments than2wKA the
faloiong
Select department, count (commision) from
Count ()2
TEHNO hauing
group by depautmenA;
Buthe qot an Qrnr
ERROR4 SiM (Lonamaisibn) -plareo counE
ERROR 2 - hauin q' Should be

* Select depaumen sOM( comnisSion) Arorm TecHO

a Ananya, a database exeuhve, needs to


di'sptay
unrent date and time. Suggest to her a
Suitable sQ Runchon name. A(so oite
NOW()
Seloct
Pege Nn
YOUYA

Meate the foltowing. Melp hin to


22. Shobitneeds to qiven senu.
Create Q Dataframe mydata' AronmHe
Math
Enq
Aditi 25 Aditi
bhawk 29
bhavuk 15
chirag 24 23 chinag
14
deepak deepak
hasav 20
hanav21
iOt64
dhupe int64 dhype
import panda as pa
Eog:
='A Serte (AS, 21,23,24,27)
pd.i'bhavuk!'chiheg'deeparn auvas'Lnam

'Eng)
MOth pd. Sees ?, 29, 15, 14, 20
chicag' deepak haacav'
bhauuk
home Math!)

mydaka pd.concaklEagMathl axis 1)


IohongemenA2
23. hba do you undenstand about (opyright
er to avDid
kJh¡t Can be done
copyetahl Inkanqeonen ?
Copurigh iafoingemeot rekrs to he iunauhonzed wie
Tepmduchouiteout ho peamikrian ph opyaght holdes
To auord
penmissione licensed ontent create Hheir oun onqinal
open
W

Page NO

Date
YOUVA

(b) alhat ismeant


acioncan the byIraderhaktotongement?
Dwner take
what
agaihg Someone.
who inninges. its. regis kned trademak ?
Thademars intnogement when Someone uselia
reqistene d tracdemnank oithou
The can take
pehmissioa.
legol Qch'on agans the
like
hËunctiaed darma4es, Ofder to (eaie
the.
enbre
Mhonging
thei
aciuicto prakct theic brand and
exutive ihts
24 WhQ+ be the output
impatt pandaa
S1 = pd. Senies (data
pd foisuong code?

[11)
pnh+ (S2)

14

26. Canekully gbsenve the fallQwinq code:


inmpact pandas pd
Drodutt padid' : pa. Senies ([.2,3,4, 5]),
pname pa. Sexies (L'pen'penciera ler' 'colar,
Shanpeu).
qtypd. Senies [2,10, 10, Jo, 10J),
pae' p. Seies ([300, ao, s0, 40, 151)4
StoK= pd. DaMEeanue.
pn'nt (ahtk)
(il Oisptay namne pnoduk
i) Rename oumn ne to newpnie
Page No
YOUVA

)_piat(stotk. E'pnant'J)

26. Consider the table andoite SQLlommand

ger details o aL Cud tomers. who have plaud


e the ordeh the yean 2023.
Select *
Com CuStomer where yean (ocdendar.) 20231
(i) Count the toka no. ustomecs Arom Indla
Selers count (*) fono Cus tomer ohenecounhayi= Indtals
(it) Diplay the chanacters ol the emal td nf alL
ustonmers olDeamaMK
Select nahk ( Emalid, a) Prorm Customen here Lounn
DenmauK'

27 hnte a pnogram in Aython pandas to

from
Ate
can" the
foltcuoings
"Modei" :"Samurai", "¢Ord! "NeKon,
Brant: (" Suzuici" "HOnda, Honda', "Tata'"7
Make": [193, (947, (447, 2o1]}
impart pandass pd
dio r"Model" : " Samurai Accard'" " (R-y""Alexoa1
Bond'"SuzuKi""HOnda" MQnda',Ta ta"l
MOKe":993, 4997,917, 202 t]}
can pd.aenits (dtc)
YOUVA

25 Consaen the
oltewng
Name fetieanie
Rohit. 15
Mchit 76
2 Raman
3 Adikyâ

) Add a Lolumn' nrad!to the daBafname having

( Add a new Ow whene Name s 'Arh' with pecen hite as


92 and (arade A

tüi) Display the top 3 fows


pnn |relult head la

29. Rih receid a message othat shenee ds to updak


he KYC for her Bank ACOunt therefane she
Should upload hen Aadhar Cand 8ank Acioug+
Numben and Hhe

the douumeOA5 give the 0TP on


the hkK?
i) Should Rit caL hen hank immeliaely to Yetheck the
message Yeived?
tii)Validiy
hat menton ed
the douamente and qive Hae
6TP the IioK.
ff1 Yes Ri Should ome dialely banK.
fit) Phithing ybeA Crime
M

Page No
YOUVA
Date:

OR

Bnelly explain the tem Foss (hive examples ooE any


2openatng
Foss Sysems Souce that ae fosS.
softwae rekrs to softndne
Hhat aive1
freedom to studyy wiemodiy
and -dhibuke the Sokkuaane
nux Free aSD

80.ta)Lnkthe output
i) seleEt couat form Clubi
Li) selet surm [Fee) fnom club
t) Select 1e£t
leE (AcHuity2)fn
(AcHiUky2) fom club. hene days

itt)Su
Da

b) Fiad Hhe Outpuk

) Select O Examg'1,2);
Ex

i) select MONTHNAME2023 -0S3o


May
Ai)Select onth 2023 -bs- Q3")
5
MT W
Page No
YOUVA
Date

81.(a) Wrie SQL -quenie:

1) To display the day. part Firom yown.dato of admíssion


whtch iS 2023-12-13
Select Day (20)3 -12-la')
youn father's emaldlyz abc. com'to
ppLAal.uppercee.
Select UIAIE yz@abecom;
he no. o chanacters ih Hhe stang iodia!
Select length (Indla'
iv) To display today's day name
Selec DAYABé (NO)
OR
(b) Example Auntkon o

) LIRINN to remo ve
any leadMg spaueA fmm a cng.
Slert 1TRLM HelLo'
’ HELLO

if) RIRINó emove any leadiny spaes bom a


Selelt RORKARTRIM(I4ELLO

the
Yemove
Stoing
leadíag
Select TRIM

iY) MO0)- to calcuOte Hhe remiade o a diu'tioo


oDENQhiocn numbens

2.
M T W TF SS
Page No.
YOUVA
Date:

32. Awe sorme put. Itd, Deh radun is a company that deals
with hand wane. Lomponents. They have ditenent
diyisions HR(A1). ales (A2), Prpcuction LA3) ond
mankehng (AA).
The has a branch n Mumbat.
company also

Dehradun Branch
HR
70
1S0
satesy
A2
16 Gn
Branch
prodtattion MaNKehng
10
ttom A4

a) suq9gest the topology and draw he cable layout


Cb) Suggest the Kihd o netwoK or connechng 6ehves.
(e) Sugget plaement
Stan TopDlagy
70
A

erotte
A3 A4

(b) LA
co SALEN (AD) ae iE ha max na alcomputa
Page No.
YOUVA
Date

33. Wne Rython 0e plot thegraph


Addt TiHef lable forxlyatrs
inpotmatploHibupyplok adpl
Qugna,
augai. 83, 7S,872.98, Ro7

p yabele maNCA Soned')


lt, shoLA)

îoport maBplQHia.Ayploas plt


AanmeA uby' yLgelh', uisheah' RaKesh'
Augm L84,42 15, 72]
DlE. HHe "reAvlE o Anm-2 eKam')
plk xlahelS¥enA name)
ManK

34 Admn Name Class ophona. MayKS


Tony AT
(vona
LO03 NicK
lo04 Sandy
Kavyo 92

total maHKI secured by shdint of each


clau
Select SUM anra )
class
W

Page No.:
YOUVA
Date:

by udents o!
i)Display auenage manki secured
Ie ophongl subject,
seloc uhene apkana l
Display total n0. o SHdents Qach class
where no. studak than .
Selec CIass couNT (4) Arom Shudent anoup by clas
hauna

manC senad th eah


ti) Display
opttanalAubject mom SHecat
Select Lmanr)aaars)

35. Co niderDateframe Emplayee'


EIO Name Oepatbaent
Joho SOOO0
|P 4SO0o
2 Ria
|T SSOO0
3 Sia
MKT 60000
4
S
Aditta
Rashi
S200O

Stakment
salany
Emplayee. Coanlaçae daap (icalanyisi
iadex 4.
Fmplayee
haaihg
Remove
Eptaeeop lempioyee ioÁCx C4)
A) ank Statement to Save Datatromnc
emplayee
+) knk pyHeon Statmeat
Stat
pYi0t t emplogeeC Sl au'lt soo)
to dlsplay new salay

You might also like