0% found this document useful (0 votes)
6 views10 pages

CS Journal

Uploaded by

proplayer3307
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views10 pages

CS Journal

Uploaded by

proplayer3307
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

SOURCE

moll EXPERIMENT:

cODE
n
naul3 int
no
t No.
= (input
-pint(a) int

linput
ingat("ustu ("How

("tu lu ey

t?:
desplauy
fouundsat to
studut's loroa
(leeati
hete PaoeNo

lo
naue y4

:"

EXPERIMENT:

punt
puint
Ceeat "
binau " ho
tl: wst:0r #
nt
gpen
op inpu
euatiens ("Stusut.
2 "
RLad
Eut ")4 utu
dat,
Studuut eol
Stau 3.l PapNall
"ub
noi
oat a)
")
)
EXPERINMENT:

blak
pint bueak
huatpuint
El)
No
(" ("
Read eeate
File Fle
") ")

PageNo

EXPERIMENT:

Me

Date Page No
dt npaut
pikle EXPERIMENT

n ('Manka' ) puist
pntgunt(" He
Weihueend
:
int opur No
ut(" bwak "n---
\n
puint('studuutRuendat"
(suoll
'SROBL']16
(e Rol mmaus{
"MARKs i
C'shAME'1,\t
How no
DSPL Shae,
may " AY
't',ud:
""Naue
STUDENTS
mauks): mauks
andand
oos u SNAME":
Snauie
"ub") Date Page Ne
esl
yes DETAILS
= e binauy a
" Myid:
) --)

EXPERIMENT

taogu snaue
ulikuuwud
Cswoll etks
Wlilu
Tuu :
puint(" buak
hewR
hlabecand
feuendE1 nAAHkA= hauee = 3 3
eduutRuce inpt
Hoat
caud
Rucal ineut"Entu Cinput
p floattnpuE(" ("Entu
Li1'MARKS
LilI'sNAME]
ddat, het Snae,
mauks ) ("
Li, Eutu
poud Nauut
le) Nae Mautes
ub) I Eutu i |PageNa
") = ")
mautsnae i ?
as Mankt ) ")
mytil:
Mainl)
EXPERIMENT:

pintl"O.EE
")puinr2uint
beuak No.

intinput("Eut " (
laaiy ) u=a
DisplayTnyeut

Rucels
Rilands
updatid i)
")
^)
Caiwiyoue )

EXPERIMENT

Ent+r 0,Exit 2.Luspay Hares:


Enter
Enter
kaneT 2.04nplay
Recorte
Ente ecris

Yur Your
stUtESs
D1Ar
Ete
Choice:
Chot aTez

cas to ugate: be
c No
0 7.G 2
xit) PSTAT:
1EA1s

C/AEchaa

mptant

icala-p

Page o
impaut sOURLE
w coDE - Land EXPERIMENT:

maueity iplay
e3
fauud
Ealie
mow
intlingut eeituuitiuaw no
No.
=
3euiter
int
t
input" L intamatin
l"
Eutu
lesuile
Eutu
lCeuo
Emploee aud
Enp delinilin
nai,
lo Dale (PageNo
y
salay w upno d
Nuwhs no: ='')
1)
)

EXPERIMENT

euin"
No,

beuak pint
EMPNo

"
NOT sALARY

EoUND
"
Pae No
ew
[i1)
EXPERIMENT
ALARE192 Eter ZHEeT

L-ye
n

Saiary N.te
No
SSTAFT:
t250000 102
3atct
103

C:/Archana

/Ccng

utetEtacticals-y

Dte Page No

PEEK:det
stackt] SOVELE
CODE
EXPERIMENT:
pua ain m lnlatatk)
puint top =
Pnt

The " No
"
Tw
Stat
eltd
elenunt
leut
eut
aei
Atatk"
")
Pae No

popl))
FXPERIMENT
ort
pUsHl)
DISPLAY
PuintPEEK*)
Rnt("
(*5.puint
Pop")
("2Rwnt pucn
Input puiut
(" Ne
"
l" l" stack
Iuvaid PUsH
Ly/n)?i)
gPuatin
3rak Do
wantygu 6 ")
Qpuatim
Iuput

haota Date

choioe:3
Enter
your 3. Stack
VEEKOporationa choice:1
Eoter
your DUTPUT
De choioe:4
Enter
TDeyour PEDx 3. Eater Display 4. PUSa 1. Dbo Enter
your
perations
POP 2. Stack cholce:1 PRIK
Operations
3.POP 2. Stack
you Stack you EXPERIMENT
DLpiay
the
ant Mant
leehts ant
leant
to co to
Perto perfom PerEOm Prfora nt
aret
vhich shich
4nother anotbeE another No.
yo anothár
yog
vant
vaat
stack operation
(y/n)iy
stack stack stack
to te
puab:30 puabt0
oparatioa operation operatiom operatien
(y/aTiy

ty/a) (y/a) (y/n)

:y Ty
y

Date Page No
impot
tennto
mgol soUKCECODe
EXPERIMENT:

QumySalanykwden No
4SeLEeTY
EMP)
FROM
itlinpt"E
3 s No.
"NIERT
3)
iut ngut
detls (input
oumet INTO
Eut
Cyn EMP'Ertu
lHe, tEmPtable to
EmployuEmpls
): Nane,vAVEI
") Employu
(i.'3
yusn,
Date
Guden Nuntn
salay s@1My
Salauy (M/E):
i display
)
) )

4 Bavya', Enter
(1Do
Record
(4, (3,Salary:29000 Enter
(2. Employee ERnlovee
EnterEnterEnployee
Nunber:3
Numh Enter
Salary:25000
EnterEnployee
Stored
Record Enter
Do Enter
Enter
Employee
Nunber:2
EnterStored
RecordDo Eaployes
Nuberi1
Enter Enter
Enter
nysql>OTPUTLSOL nter Enter Rnter EXPERIMENT
rows EMPIDNAME you you you you
----+ 'Saravanan', *BalaArun ,
2 want Enployee Employee
Employee EnployeeEmployee
Salary: Employee
Enployee Enployee Enployee
in
4 3 1 SELECT Stored want vantEnployee
Successtully
Dtored
set
SaravananBavya
M Bala Arun 20000)
'M',M to to to
Successfully
27000)
F', add GenderNane Gonder fully
(0.e0 Bavya
Nane: Success
add GenderName: Success
addSalary
Gender Name
FROM H,25000)
another :Saravanan
another another another :Arun
Bala
sec) (M/E) (M/E) fully
:20000(M/)
EMP; 29000) 27000(M/)
M GENDER
eployee :M :P tM :M
enployee employee employee

|
29000
27000
25000
20e00 SALARY
detalls details details details

|
(y/a) (y/a) (y/n) (y/a)

*a y :y :y Oata Pagn No
Leyttn
Qusuy NO EXPERIMENT
'hootPwa3
int = eot'
puntl
data) E k
(input("
"SELEe*
fotemat
(Ne) Aale No.

Ent
FROM a

tln leupleyee
EMP
aledy
eeictiny
tesleinteguat
Mysat
eitt
wHELEnloel
uuing
nmbun databas
uplyy
eMPID EMPID Date Paoe No

b
caneh
".

#*
*ttt tt tttt
tt t t
tt ttttt
QUTPUT1: tthtt ttkEnter
tRecord tt ttttt t t t t t t t t t t t * * t
Welcome Enter
ysql> OUTPUT:SOL Run -2
(2, Welcome RUN-1:
ptyOUTPUT2%
ny row EMPID
sql> 'Bala',
in 2 SELECT the
set not the
SELECT set | to to
Bala NAME employee
.0 Employee employee
(0.00 Found! Employee
| FROM 'M',
M
GENDER
sec) FROM sec)
EMP !! 25000)
number
EMP ttttttttttt Search ttttttttttttt
numberSearch
| |WHERE
25000 SALARY
|
WHERE
EMPIDs2; to
Screen to
search:505 Screen
=505: search:2
lonneto
impeut
neysol
appepuieaaluady EXPERIMENT:
Rus Ruint
ag 3
" citing No,
91 SELECT kllos
ineutl"
uPDATE 3
PID table
*
FROM to
. EMP you EMP
EMP nploy
wat
SET
at
ly/n)?2
nplos
above WHERE
SALAPy oletul
upsate EMPIO
al. 2 Dete Page No
RE upat
Sueu
=?fo
e
Ne

ele!
EXPERIMENT:
punt

"ecodAot
Ng

Conlmt
piutli
Fouud

!
)

Data PageNo

You might also like