0% found this document useful (0 votes)
4 views5 pages

Pap Ia1 Scheme.

The document is an internal assessment test question paper for the 7th semester Computer Science and Engineering students at Vishwanathrao Deshpande Institute of Technology. It includes various programming questions related to Python, covering topics such as computer hardware architecture, built-in functions, conditional statements, and function creation. The test is structured into two parts, with each question carrying specific marks and requiring students to demonstrate their programming skills.

Uploaded by

rtp
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)
4 views5 pages

Pap Ia1 Scheme.

The document is an internal assessment test question paper for the 7th semester Computer Science and Engineering students at Vishwanathrao Deshpande Institute of Technology. It includes various programming questions related to Python, covering topics such as computer hardware architecture, built-in functions, conditional statements, and function creation. The test is structured into two parts, with each question carrying specific marks and requiring students to demonstrate their programming skills.

Uploaded by

rtp
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/ 5

Karnatati Law Societ'

ishwanathrao Deshpande Instituic of Tcchnology, Haliyal -

581 329
Doc. No.: VDIT/ACAD/AR/05Sa Rev.No.:02
Page I
Rev. Dt: 25/03/2021
IA TEST QUESTION PAPER
AY: 2020-21
Department: CSE IA Test No:1
Semester/ Division: 7th Sem
|Open Electivel Date: 12-11-2021
Subject with Sub. Code: PYTHON APPLICATION PROGRAMMING -18CS752
Time: 10.00 am to 11.15am
Faculty Name: Ravindra T. Patil Max.Marks:50

Note: Answer any one full question from each part; each full question carries 25 marks.

PART-A
Ia Explain Computer hardware architecture. 10
bExplain the building blocks of programs. 10
cWrite a python program to find the biggest of two numbers.
5
OR
2a Explain following Built-in functions with an
example. 10
a max b)min c)len d)print()
b Write a program to prompt the user for hours and rate per hour to compute gross pay.
10
Use try and except to handle errors.
c Write a python program to swap the content of two variable using third variable. 5
PART-B
3a Explain Fruitful functions and void functions with example programs 10
b Explain following conditional statements with an example. 10
i) Conditional Execution ii) Alternative execution ii) Chained conditionals
program to check given number is even or odd.
cWrite a python
OR

how to create, add new functions and list its usages.


4a Explain
10

bExplain the following


iv) Order of Operations 10
)Syntax errorsi) Semantic errors ii) LogicErrors

to find biggest ofthree numbers. 5


cWrie a python program

Q. No. 2 Q. No. 3 Q. No. 4


Q. No. 1I
S.No. Details a b b a b C b
PO

2 CO I
3 3 2 3
3 Level 2 2
Karnatak Law Society's
VIshwanathrao Deshpande Institute of Technology,
Doc. No.: VDIT/ACAD/AR/0Sb 329
Haliyal - 301
Page Rev.No.:01
Rev. Dt: 25/03/2021
Solution and Scheme for award of marks
AY: 2020-21
Department: Computer Science and
Subject with Sub. Code: Engineering IA Test No:
Semester / Division: ah
Pymon
Name of Faculty: Prof. Ravindra Aeea cn prop0neges+ S2
T. Patil
Q.No. Solution and Scheme Marks
1.a. SJw
-
H S
A Com puns Hlw am. tun
Eoplainakon 3
of moams. Eeslain Ea ln
&ath.
b. B
b u i1dia
Buld} as loeo 10
Cond5n\nal lne, epeavE d
oe,
o1r, Seq utnjas
P
Sm.
it a b
Priv A S big ")
ese
at"b big")
Ealn wim 10m
c)en dPiat
b ty
b fadatiopu+ "¬oh hotun"))
inpur( "Enh
Y:
Hoa
1 0m
9f: h*
i 9r)
Ecept " Pleas E umeN)C Ua lne "))
Pri
.NO. Solution and Scheme
C a 1o Niar
"
(" Bejot Sur ac
. ba/J 7.(a,))
r
Sm
t a
b a
PAPT B3
3.a uit w Srm value. 1m
huntnbn 10m
wi1 mo hn an ValiR
a u
b Condi ron neusn
Explaho mta wimiza m p
Cendinun
Stt
wim Exay.
Erplain f- 0L
Cenasn
Sy not
3
tm2
No.
Solution and Scheme Marks
3.6 ) Chenintd Condosal* Some bmes hu

tha &

nee

Chaine Ccnti aa.


Io
C imnnfle A :
3yat
i a
C2 Priat ("A")
92 b>a
a:
Ca Pri ("B)|

SH Priot ("Eaa")

3.C inÞCinp«( "¬sen nun "))

Sm.

prn ("odt")
H.a.Det Cey uso
C a hunv ).

priaprin y res ()
ne HiHelto")

rsio hibelo ")


Solution and Scheme
Q.No.
IH km.

k e plainas ot Caun em
9 6 rm
$)rnanic eToTS 10

V) OTddi of 0poako) Hm

PEM DAS

h.C hndiy 99e d} 3 aum

n2 20

i n, >ng ani n,n3

Da>ng

Pria n lorg)

else
Pri'at ( ne i s ").

You might also like