qps
qps
Section -A
Q.No.1.a.List all the generations and Explain any one generation of computer.(5)
OR
Section –B
OR
___________________________________________________________________________________
Subject with Code: Introduction to Python Programming (22PLC15B) Max. Marks: 20
Date: 20-01-2023 Duration: 1 Hour
Faculty Name: Prof: RenukaDevi Branch: AI & DS
Section -A
OR
Q.No.2.a.Evaluate Expressions(2)
i. ((10 * (6 / ((9 + 3) * -11))) + 17) + 5
Section -B
Q.No.3. a. List control statements Explain any one statement with example .(4)
OR
c.Explain with example strings are immutable and list data type is mutable.(2)
GOVERNMENT OF KARNATAKA
DEPARTMENT OF COLLEGIATE AND TEHCHNICAL EDUCATION
GOVERNMENT ENGINEERING COLLEGE BIDAR -585403
CIE – II Question Paper for B. E. I Semester, 2022-23
__________________________________________________________________________________
Section -A
OR
Q.No2.a.Define scope .explain any one type of scope(file, block,program ,function)(5)
Section -B
OR
GOVERNMENT OF KARNATAKA
DEPARTMENT OF COLLEGIATE AND TEHCHNICAL EDUCATION
GOVERNMENT ENGINEERING COLLEGE BIDAR -585403
CIE – II Question Paper for B. E. I Semester, 2022-23
__________________________________________________________________________________
Subject with Code: Introduction to Python Programming (22PLC153) Max. Marks: 20
Date: 24-02-2023 Duration: 1 Hour
Faculty Name: Prof: RenukaDevi Branch:AI & DS
Section -A
OR
Section -B
OR
b. Explain file open read and write methods with an example program.(5)
GOVERNMENT OF KARNATAKA
DEPARTMENT OF COLLEGIATE AND TEHCHNICAL EDUCATION
GOVERNMENT ENGINEERING COLLEGE BIDAR -585403
CIE – I Question Paper for B. E. I Semester, 2023-24
Department Of Artificial Intelligence And Data Science
__________________________________________________________________________________
Subject with Code: Introduction to Python Programming (22PLC153) Max. Marks: 20
Date: 17-11-2023 Duration: 1 Hour
Faculty Name: Prof: RenukaDevi Branch:AI & DS
Section -A
Q.No Questions M L CO
.
1.A 1. what is the need for role of precedence ?Illustrate the rules of 5 L1 CO1
precedence in python with example
Section -B
3.A Write various methods of List.Explain any one method 5 L1 CO2
with example
3.B Differentiate between list and dictionary 5 L1 CO2
OR
4.A 4. Explain raw string f’ string and string interpolation with 5 L1 CO2
example
4.B 5. The join() and split() Methods 5 L1 CO2
GOVERNMENT OF KARNATAKA
DEPARTMENT OF COLLEGIATE AND TEHCHNICAL EDUCATION
GOVERNMENT ENGINEERING COLLEGE BIDAR -585403
CIE – I Question Paper for B. E. II Semester, 2023-24
Department Of Computer Science & Engineering
__________________________________________________________________________________
Subject with Code: Introduction to Python Programming (22BPLCK205) Max. Marks: 20
Date: 14-05-2024 Duration: 1 Hour
Faculty Name: Prof: RenukaDevi Branch:CSE
Note : Solve only one complete question from each section.
Section -A
Q.No Questions M L CO
.
1.A What is an arithmetic expression? What is the output of this 2 L1 CO1
statement? ‘hello world’ + 100 + ’how are you’ explain the reason
if the statement produces an error
1.B Discuss various methods of importing modules in Python 5 L1 CO1
programs. Which method is best? Explain.
1.C What are the rules for naming variables. 3 L1 CO1
OR
2.A Explain looping control statements in Python with a syntax 4 L1 CO1
and example to each.
2.B 6. What are functions? Explain Python function with parameters 4 L1 CO1
and return statements
2.C Mention FOUR scope rules of variables in Python. 2 L1 CO1
Section -B
3.A Discuss list and dictionary data structure with example 7 L1 CO2
for each.
3.B Differentiate between list and dictionary 3 L1 CO2
OR
4.A Explain negative indexing, 5 L1 CO2
slicing.index(),append(),remove(),pop(),insert() & sort().
4.B 7. Explain with a programming example to each: (i) get() (ii) 5 L1 CO2
setdefault()
GOVERNMENT ENGINEERING COLLEGE BIDAR -585403
CIE – I Question Paper for B. E. (CSE)IISemester, 2023-24
SECTION-A
1.A.What is an arithmetic expression? What is the output of this statement? ‘hello world’ + 100 + ’how are you’ explain
the reason if the statement produces an error.(2M)
1.B.Discuss various methods of importing modules in Python programs. Which method is best? Explain.(5M)
1.C. What are the rules for naming variables.(3M)
OR
2.A.Explain looping control statements in Python with a syntax and example to each.(4M)
2.B.What are functions? Explain Python function with parameters and return statements.(4M)
2.C. Mention FOUR scope rules of variables in Python.(2M)
SECTION –B
3.A.Discuss list and dictionary data structure with example for each.(5M)
3.B.Differentiate between list and dictionary.(5M)
OR
4.A.Explain negative indexing, slicing.index(),append(),remove(),pop(),insert() & sort().(5M)
4.B. Explain with a programming example to each: (i) get() (ii) setdefault().(5M)
SECTION-A
1.A.What is an arithmetic expression? What is the output of this statement? ‘hello world’ + 100 + ’how are you’ explain
the reason if the statement produces an error.(2M)
1.B.Discuss various methods of importing modules in Python programs. Which method is best? Explain.(5M)
1.C.What are the rules for naming variables.(2M)
OR
2.A.Explain looping control statements in Python with a syntax and example to each.(4M)
2.B.What are functions? Explain Python function with parameters and return statements.(4M)
2.C. Mention FOUR scope rules of variables in Python.(2M)
SECTION –B
3.A.Discuss list and dictionary data structure with example for each.(5M)
3.B.Differentiate between list and dictionary. .(5M)
OR
4.A.Explain negative indexing, slicing.index(),append(),remove(),pop(),insert() & sort()..(5M)
4.B. Explain with a programming example to each: (i) get() (ii) setdefault().(5M)
SECTION-A
1.A.What is an arithmetic expression? What is the output of this statement? ‘hello world’ + 100 + ’how are you’ explain
the reason if the statement produces an error. .(2M)
1.B.Discuss various methods of importing modules in Python programs. Which method is best? Explain. .(5M)
1.C. What are the rules for naming variables. .(3M)
OR
2.A.Explain looping control statements in Python with a syntax and example to each. .(4M)
2.B.What are functions? Explain Python function with parameters and return statements. .(4M)
2.C.Mention FOUR scope rules of variables in Python. .(2M)
SECTION –B
3.A.Discuss list and dictionary data structure with example for each. .(5M)
3.B.Differentiate between list and dictionary. .(5M)
OR
4.A.Explain negative indexing, slicing.index(),append(),remove(),pop(),insert() & sort()..(5M)
4.B. Explain with a programming example to each: (i) get() (ii) setdefault()..(5M)