Endsem Pyq - Removed
Endsem Pyq - Removed
9.
(c) (b) (a) (c) (b) (a) (c)
eratorWhat sides:
Define
Farther, name, to operatioris
useuitDef:ne Write by
ure error Wite recursive
Write What
Witefunction? func() func):def
clement
Expiair
file numbers, print(12)
print(11) for 12-list)
11-| What
members. 12.append(i+
11.append(i-1)
11, 5)
1.
v.iv. il. m-Input(Enter Hello)
value)
int(1) () reading in
12 ini
perimeter
is area setlength Jength
a date
the fpvthona
either a a is =
is
is setBreadth expiain a python three ofrecursion? ranpe(0.5): the
operator init_ class class recursive pvthon 12,
loaded rectangle. It type using
a
rectangle. frectangie.or shouid cf it, 11
Fiel aiong list output
findi1g 1or and buth, performed: of different into
Rectangle. the
initializationfor
Person progTam recçrsion
using
or initialization error
rloading?
for breadth
lor support doeFie2 with function program
use and What of
infnding the updating
with sn't binary following
python updating of that examples. access
rddress. byto
arta exist. only. are
followingtheinit_ T'he
of creatingcopy
following search in to
the of will
with
of the
class modes the
Explain the the thedata (iv)28/(14-5-4-3-2) 2+5'(üi) occur the python find python
Moreover,
members. dataneed
ofyou different
perimeter rectangle technique.
anrectangle. methods: method. contents it the
length
length members. should data when and for
example. to code?
how gcd
attributes: handle openingsearch parts
of as
of contain folowing
the of of of
the data Filel
the the the the of
+ an twO
a
2 2 2 2 2 2 2 2
2. handlingdictionaries
(L3),searching
*Bloom's Design e Output
objectSolveIllustrate structures,
Analyze, control
a)
1. queues,approaches, programming
thprogranms strings e syntax,
thUnderstand
Develop Marks:
Full
60O
Subject/
Programme:
B.Tech
(CSE) python
blocksof
(b) Analysis data
(a) the EXAMINATION,
SEMESTER
END
linked oriented
application
Answer taxonomy
propriate
xamples. real
using the
and and python
semantics Course
print(answer)
ifferentiate
answer=Whatusing Differentiate
Writepython. debug PROGRAMMING
i. (LA), the
'and' lists the files process
all life lists,correctly
does concepts, basic
arithmetic a Evaluation concept applications Learning
Outcome
and questions. levels: and exception and and Institute
((not python using problems sets, Constructs
functions like
the of and
trees predict programming
between &'
between structuring
tuples of
following (9 Knowledge test
of modular Technical
operatorsprogram
* (L5), stack, sorting, building
Each using using
and their and
8)) Creation the
"for the IN Fducatton
and
python question
to (L1), PYTHON
below-mentioned *Taxonomy
loop L2,L3
(7 andswaptwo Comprehension
(L6) L3 L3 L2,LA Level &
L3 L1 Research
and program+
temporary i. carries
mark.
equal
1) or'
<=
"while (CSE
JANUARY-2023 SOA
8)) integers
without and C),10(a, b,
c) 6(a,
7(a,c), 3(c),
4(b,c), 2(a,b),
print?
or 6(b), 9(a,b, 2(c),
1(b), 5(b),
5(a),3(b), 3(a),1(a),
i(c), 4(a), Hours
Semester:
Time: 35th Deemed
|' b,
c) 5(c) 8(b) Ques.
Nos.
1 variable. operators
(6 8a) 3142)
of loop (L2), 8(c)
4 < To
4.5) Application Be
using University
in Marks
4 12 10 12 10 12
2 2 2 |
2
Page
4.
2 3.
of
4 (
(h (a) (g
x=
10 (
def): What "fun(1,2)
defg): x=
20 return returns
fact factorial(n): Python
Findpdb?
def debugger What What collinear
nonlocal x
def threeWriteWriteprint(a,
fact=1
for What b) while(number0)number :123456 else:
> a,What= "conditional if
is
fact-fact*i c)fun(2,
fun(b=3,
a=2) a-3)
b) a)
funfa=0, (numn What
the i the is return
will b=
print("Odd
Number")
print("Even
Number")
in the difference fun) points a doesa
otherwise
be function number
python |/=10 else: digit
logical
outputrange(1,n): factorial if 0, the is
0 % is
the a**bb=1): (digit 2
as a conditional
of output function t=a
digitt=bdigitnumber = output epression"==
error
value between input which
+ function %2 0):
following b**areturns
==0): of
for and returns
of in return the
an
following step each false. which % expression"
python returns 10 following for
integer and area the
call by 65
takes following
code? next made true default
ofa 321
n.
function python in
co-ordinatescircle.
command below? if python?
points in coder python
which python?
of are code. Write
2 of
2 2 2 a
2 2 2
2
7.
6.
5.
(b (a)
Write(b) a (a
'Four
Two' e (b
parameter
Five. foexamples.
r suitable
Write State iü. andS3. Write
ofobtained print(r1) stringl
example, What re.fndall(r"^\w+",stringl)
What
print((re.split(r\s' a ,string What
re sentence.
1)) rlimportpython" parameter Writestring.
For Differentiate
print(commonFactors) iflnl n2+1)
commonFactors =6,9 nl,
n2 list print(x) f) &0
a theprint(c)
function c= a a Example:
is print(x) =30 X
and difference = is % using
is
python lambda = the python print(x)
on (x**2 [1, the the by "Regular then
i
s=
returns 2,
output output Bubble a output and
input + 3, student the between
that y2 4, and 0 scriptexpression ifcountcode
between expression number
452, 5]of n2% of of the
thtakes
e or Sort to
following to
ffollowing
following find in split
corTespondthe x, or
ftechnique. sentence t he read
y ==0)} i three of
to )
in i the defnes words number a and
functionnumber a set
zip(a,a)) python in compute python
and subjects,
kth sentence partition
range(1, python is is
dictionary smallest a
"Programming 3. of
should text code? code? average pattern" code?
as words
in an nin(n1+1, say as ()
function
an
words,
returm input element S1,
with marks in
Pceof4 3 input
S2, the
in in
2 2 2 2 2 2 2 2