21CSS101J June 2023
21CSS101J June 2023
No A
BTech/ M.Tech (ntegrated) DGREE ENAMINATION, UNE2023
'iat & Necond Nenester
Z1CSST01|-PROORAMMING HOR POLEM tiOLVIN
Note: (For the condidates dniued iom the comte
be handed
() Part - Nhould tbe AAWered in OMR iet 40 mimes and OMI shee ahould
heet witlbin
over to hall invigilator at the ond of 4oh nimte.
(ii) Part -B And PartC ahould be anawered in anawer booklet
Mux, Marks; 75
Time: 3 Hours
PARTA (20 x1 20Murlw)
Annwer ALL Queations
I The CxprcNsion 4+6/3 *2 2 +7 %3 ovaluates t)
(B) 4
(A) 3 (D) 7
(C) 6
appropriate position for writing comments in C
2. Which of the following is
main
programming? (B) Before calling the
(A) Anywhere in the code function
declaration
(D) Beford Variable
scction
(C) Before hender file NCction
int a
switch (a)
Pege l f 4
15.
14. . 12.
6,4](2,(A) (C) A) -p(y
0 ) 1. 10.
) Suppose (Choose -python(A)Wich (C) (A) Choose (C)25
1234(A)25 Recursive
function
(C) A
9.
mutableists
are mutable <stdio.h>
#include What
Selffunction (A) back
(C) Go
Swi(
tAc)
functh ion is le ABCDEFGH
The (C)for whi(A)do (A)
The out(Cp) utNo
Tuples Both the []=Hello...!";
StringCharacter charary function
of a 0; =b;in*p
returmprintf t int { is
listl the correct b the keyword keyword ("EFGH");
printf
correct
tuples size ("%d =
is are following 25; output which
3,2), is array,
statement 'b reak (ABCD");printf
) immutable option not %d", |/ used
and b of calls
ary memory C to
mentioned
is cannot
b, program? itself transfer
what lists with th e is p);
a about
is while respect correct string location
1234; = calleda be
listl control simply
(Bar)e C
extension string.
(D) t (D ) p (B)pl (D ) (B) Compiler error
(D) (B)25 0 function
function
Static(D)Auto(B) Return(D)Goto(B) while Compiler(DEFGH
(D) (B)else if ) (B)
B) 2?* to from used
(1immutables
, are
immutable python? characters String end ary
Tuples Bot h lists a within
3, of has function
, 2,
are tuplesand
the cannot no error
,3,,] python null back
J mutable
ie:
containcharacter to
the
while caling
special at
tests are the
1 131 1
1
1 131
1 3
3 I
1
25. 24. 23. 22.21.
a. a. b. 20. 19. 18. 17. 16.
b. a. and b. a. Write b. a.
Write WriteExplain
valDifferentiate
ueby biggestWrite Write example. List dtypes
Dtypes of Pandas
(C) (A) Which Python Numerical
programe
(C) (AWhich
) Numericalpython
(C) (A) What (C) (A) What (A) &
(C)!=Which
Writhete each
down [5, [2:5]) a
[2, print(aimport
short the a a library does = is of
a number suitable column of 6, 3, np. the
input various with the these
notes program C program C various Numpy 7] 4) numpyaoutput
getchar following is range
suitable a among in to is
on and data program C PART-B data not
to to storage be stand (10) as of
numpy output (), compute Questions
Answer
ALL imported npthe a
types the get frame? bit
example: putchar attribute for? following wise
arrayfunctions in
three 3 to
numbers
classes (5
OR) (OR) python (OR) the (OR) using explain (OR) x for operator?
ributes. call () 8= of code?
with sum in creating
in with if as the C. 40 DTypes
datatypes
(D) (B)
dataRandom(D)frame
Dat(Ba) Nonlinear
python
Natural
(python
D) (B) (2,4,(D) 6](B) (D)<=(B&=
)
python a the ofcondition.input pre Explain Marks) frame
example. suitable data [0,
first and 1,
with from js frame? 2]
post about used
reference.callby C 10
example. programming natural the
increment
storage
to
user display
numberS. and
operator. class data
print
with ype
the
Marks 1 1
8 8 8 8 8
BI. 1
I32 1 2
12I CO
4 3 2 1 51
PO
1 1
27. 26. b.
chart.
flowDevelop
multiply 35% s
draw 10%Kannan' Explain
the of of
basic with
the a flow basicbasic
C an
last
program chart salary,
salary.
salary example
digit
andWritehouse
AnswerPART
is
and algorithm.
to numpy
given
second read rent
a -C(1x15
program
allowanceC as ANY indexing.
a
lastthree input
ONE
digit. through
digit to isQuestion =15
calculate 27%
Also Marks)
number
ofthe
write keyboard.
hibasic
s
the from gross
salary,
algorithm the salary. His
user
and
D.A
Also TA
and and is is Marks
15 15
PO
Co
BL 152
222 2
1
2