Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

IK Gujral Punjab Technical University Jalandhar, Kapurthala

Date of Examination :_ feb- 2022


Roll Number: 13322L M.Code.:7163
Subject Name: oblem Solving USig-
Subject Code.: VacA Llo3 Semester: 1

Course BcA Branch:


Management

Declaration of Student
.. Vihal_Croyak S/o Ravindes Humas hereby
declare that while attempting my answer sh et will not use any other person(s),
incriminating material or involve in any wrong activity. If such activity reported
by evaluator, then my case should be treated as UMC.

2. If I found sharing the question paper(s)/Answer sheet on digital media or


with any other person, any organization/ institution then my case should also be
treated under UMC.
If any change/ addition /modification have been found in my original
3.
answer sheet from scanned copy of answer sheet then my original answer sheet
should also be covered under UMC.
4. 1f handwriting on Answer sheet differs from my handwriting then my original
answer sheet should also be covered under UMC.

Signature of Student

above mentioned information is true and correct to


hereby also declared that
the best of my knowledge.

Vipl
Signature of Student

PageNo.: 1/1
!
213322 M.code t1%3

1) Synthx emons 2 Violake


bnon Hat OcC whe You

A hdes of ithin C
Symtax an Kouh as

Ca his
tompiles erhon 9kiaks bomethins
erssn Jndicakey
bomehi tmuss
t n e befou a Code be complrd All u s e a o t
Ca

One olekcted 6 pen ad thus ane Conplie fine


(wou

8yutax eros a
9
Musi Panahesi (3)
tninhig
3 bi
valhe
Sewicoloon of yanile witout declaris tt

ncludt <S+doh
Void main)

Snt y z 1S,

iwt f "1.", (x, y

S Vißhal
21332 M code H183

Conor: expecked beforn toke

)Run- tme
eahan Cron uich exe uuh
ocem dur prenam
hi) ter Auctesut
most Commobn Conbilhio
enras
a led Aun H h
One
n also
San esnau 2d'vsion
Kuow divsion hha
Smcude <io
stye am
clde <bitalstde+th tSnelnde s
Sdio h
USi hAmg 8pace Std; Void man )
void )
Snn ol o
oiv /o ,
dev-lo, lit f Aylt
/Count <
" peyAt < 2/.A"
div J );

wannin division a r o
L-woliv -6y dv h/o
Line eoon These
d-ut oje plhs aes lopilat'on we hkwhun

i r oljet
Tes ant
i Anl+ fa Ke (Aun)
esn jennaed e a exeukdle A
Le
eakd
beeerakd Tuis
Tds ronm ha
ale dne to
no Archo
fmchin protohreS»c
Como Cman s Ma rotohpe 9Coaaet hnde
Sahnt Vi^l ) SseadoPas no
woun t)
2133 2
M.code97/13

Snclnde <
Stdo. Lz
Void

a o
Caintf ('"/.d ") a

ex *orzo)
Unelef ferma to 'main )
Loycal enoss On

desises onpu Compilaion and exe aion


ngt hopmapm

oblied nam nber


obined
3-4t laes
oesson wd Psovided Jncaues
ntpr
has obe Canor
ean

nnos )

o(t o i3 itr)
i f " loof")
onhnant

ge no S/19
M.code 1/ KG
2133l

e t char ();
huhnn o

J
No 6w

) Semai Cran his cas atent


waen Sn

Copib

S emanthc

Veid nai )

int,,
at6 // bemanie ernan

Valr
Auinned as
lut oftrad asse
+ C 6emane Aroa

Sahvr Vslal
2
N
Mcode 4{13
2133z

Suct Poir

S P1

Sud Poiw

S;
Jn an )

S t Poin 141

Acces snhy

menben are atessed


doté)dot) opernras .

9mehde <
Sto h
snt Point

2
Stt peint '4 £o,1y;

Ssvabre Visbd
/11
M.code 7 1 3
21332z

f4.x2,
Easntf x - }d, y : d ", f4 x, P1.y);

Owput
x 20, y =|

SAructss
Uwion
) 7h Rey vead Stut s
Th Keawans U
s e d de
e te
odefin a
shushne on

Cach me mden wzk 6


e memaa qllok isshad
uttrt s asig-ed Sdiu'dal mener ot unen
Uni Shnane ara of
locaio

3) dividuad menses Can be Onl menbe Con be


aLtescl a t

4) Seveaal meben of
Munhna Cn 5ihalire mon cem e Suthalired -
C On

Sianatu ) viblal
2133 22I M.code)?4143

As Control stuch
#
skment oatis wed to cotas
Au low
exeuhon Sn
poA alles Cotrol uhat
Consines Suchion S loal Unit
Logcal Unr logrial Ut has ous

nt Poit O Cxit Po

Types
begunu
) Seleto
)
Repehiho
4) funton cell

1 Sesudne: Statues a
eeunkes 5n a
sfeed
sAhed ad skmtnt exeexeukd

low clart

S'snat Vipk
Mcode )71/3
2133

Conelit on

False
Satemew

iest of code
3 Repetrho
Ha-
stalere a exeutrd m
wi
osteaion
&nsim. s also now

lef Fa loo do i k

Jritiabeaf

Ce

oof boo

4fdae
Spuatn V s a
2133221 Mcode )?/1/3

Anhon call_
io weel to Snv a Call a
piete of tode oA
tnrn
this Coe tohal umps i Mi paogam
pAoNam .
Piece Code ad o Aehmn 6ac to hain P r o a

Ho

Mi untienal)
Fchon Y
nciapr 2 )
on 2

hio 3

Unon
Snh
T Keqsod Uion s sed defi Tle Kegstd sbnt
Oion
to
One defu a
sthacrore
se access
aa time Sndiolna nemden CA e
Gese ata he

Shrah Visl
M.c de F/U3

w'on

) Ond tinst Meker sf


Unon Can e Snihalired
Sevenalk meden of
shuchure cSnitiali ve
11) Meme Onc
a llocko
Snolt' viduad sanesd
ensen of Unio
ael menber w a tnshn
asined Uiu stot
S)Sine of oi f oakon
Sire o f tu
meben Size of stn
Sum of
ols ha data aire eF
6 Stores band yalue menbes
t mewbea foa a
StoAesdistint
mesen.

Syahn Vshal
21332z Mcode )/14J

lnnblen olvingrakjes
Conpukn ymbot-rabihlshag H t fotes
Set Sbncton Called
has
Pregum Pg tenpuià
a

oyasmed Sndesedent depabe


Lenprtea
Alean Solving
Aolvi Sratezies Snvoves holloi k
Den psobterr
)fosme hi mathenahid mde
3) Pevelot an
alspritr
1)nch n tode oh A aolle
sTetAu pya
Dein oslen

A Lleas and Conuse PAolle sJean PAOVioded.


2) Th Pobie defiition sho peit I t o o l ol onspus

3) hul oweeds abos e prole neede

Shrane Visal 11
21332i
M-Code 9}11/3

2) mdase name mah polla


A kcmial Aoler
kovided Cake soe
1) ful natnhialg
Knowkels aft pben sho be
k u revided alr
bdehli tenariul Lonceft
Cones
3) Develop Aljig
ajontan he beence of
Sejente of olhhon
o/trrion o lc
perhasmesd
V S Au foaed
uise plan of e
). alauahau ptolte
Ce 6c of
Flowdart PseduA
Code

Wke code oa he Prable


The algonitm developed st 6e lonvenkeod to a afam

The Comjila.s, w will conves Au s a Code


i tompuea Can Undessfansl

S) 1e _pear
)1eshi Svoves checki enron l t bynka ehad ad seahlh
) T
Canor as CaLed
ass
tonmplies id h 6 reveaks conpli
compin
progari to naclint

Siahn V
21332z M-Code N163

4 chec hevjihis

aik a C kion prime (nmm) has acefs


nun mea nd emn 4
aAunmen
Pim a o tthn wise tnikk a
Jnvo
Ptme numbes ehven

Let us assume number leo to Soo.

n e h a V i s
M-code 143
132t

ndA <Stio.hz
Swt i t i
(st) ;
Snt main )

oa ( - loo
n:So, ntt)
3 taine ))

S ime (>n nda )

fon Li 2 , i <ande; it+)


SF (mden 1. i o)

Sihur) V 915//
5
o
M
M

You might also like