DSA Oral Questions-1
DSA Oral Questions-1
DSA Oral Questions-1
Dete
2
Define qlobal declaationfunctions outside.
Dec lazing Varia bles of
any function for global acce ssibility
2.
De fine data types can hold.
Define the type of data avaziable
Ceg ntfloat.chax)
hatis asray
Colle ction of elemeats of the same example typ
gWhat i6 uo dimea sibnal aaãay
Matzix-like wth wS
and colums
Page No.
Date
Blo cK of
and Canbe eused
looping Gtatement
1oWhat aae the yazioug
avalable
fo ohile do- wh
whle.
DSA
21 whio Gletcanoat
" ged laopirg
Pos
Repeakdly. efecuteg o biock oF Codo
long
p20-poCeSSon in C
The p epaoce£s00 in
pooccsses the, Socece Code
pasged to tte Caapilee
Psoa
PecesiMe, Fachon
A cueeiMe, Fncton 8 a oction in
Dongananing ttet calls itselfeithee
dafectl4
aproblem.
ßn indrcectly in dgde2 to solve
THe condition
He losp bod
. checked befoen exesuing
Candiion S fal^e
21
docohile laop
The candition S
CARLmhing th chheakod cPe
loop body
DeFire opa2ata coith ekuaple
An opeeoto iG a chaeaceg on
that Pepeesets Cn obol
in aoteretics action an poocesS
pe. Conptee
Aeithonaic logiod.Relatiorod,
bitwnseetc gsinment
18 Canditiar4 opecto o teeneey
opcecto
" Canditionel opeeado.
The Candihiore oneeeton Cotso Called
Aeenoy aneeato)3 Cged in
Tengaoag to oke
decisiorg othin lire op Code.
22 Define Pornter.
A nul pointer pointer that doesnot
point to any Vodid mermoy location it is usualy
initiallzed as n l cNULL)
23 compqre struetures.
Strctue.
Aray
A a S are the Homoqeneo Str ures dre Heterogene
data emets
-us d ata elements -0uS
3. Enclose
De Pine union.
28. user- derined
Unib is data type in c
all hevmembersShde Sam
whene
but cqn storedìfrent
memySpace
types of data at diFfrent times
DeFine file
24.
storage
deyces
to Store data permandnty
Oganized in binay text foma
Pago No.
Dato
Access
0 Memond
Sinmgle to EAGieieng
implenment
Zuitable fox Mothe matieal opemabton
fixeel size
6D Inettent Inseod'on/Deletion.
Contiqua us Mema regurement
Lack of Flesibilkt
Q.36 \Ahat An -amay
An Jecta stuctue
collec ton that stores
elements in a cont iquo us
block
Define Dqueue
A Deg Dgue ue. stunds fos
Lt is aline ors date stuct ure
Double- Ended ueue
to he added
that alowes elenmenty
the ront remaed txom both erck
cncl eas
to implement
You Lan ingplement stack a using singl linked le.
stackusing
Singl linkecl lot by
the top of the stack maintaining
and p
ope'ans on the nkecd Jis entosminq puch
hat ore
ane the types of ineas inAed Iist
6Sinal linkec li'st
Doubl inked
Cirulas linkel ltst
hat
Sizeadantagesof Linkedl Jis
CAre
Daynarmic
5E4cient
No
Inseat'on and Deletion
alasted Spuce
Memo fEietenty fur laqe Dodaseds
to ibaglenent
Flesible Cornpk Data Shutue
Allocodion
Page No
to t he
peg helper peg
nth disk frorm +he SourIe
( Awaxds, moste the
peq to the destinat'on peg
mote the res nl dtsks fxom
Einally +he desh'natiorn
helpesneg