0% found this document useful (0 votes)
9 views1 page

Python First Internal

study material

Uploaded by

velu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
9 views1 page

Python First Internal

study material

Uploaded by

velu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 1

GOVERNMENT ARTS and SCIENCE COLLEGE, IDAPPADI GOVERNMENT ARTS and SCIENCE COLLEGE, IDAPPADI

SECOND INTERNAL EXAMINATION SECOND INTERNAL EXAMINATION

CLASS: I-B.Sc (CS) Python Programming Total Marks : 50 CLASS: I-B.Sc (CS) Python Programming Total Marks : 50
Date: 22.09.2023 Paper Code: 23UCSCC01 Time : 2 hrs
Date: 22.09.2023 Paper Code: 23UCSCC01 Time : 2 hrs
SECTION – A (5×1=5)
SECTION – A (5×1=5)
1. Which keyword is used for function?
1. Which keyword is used for function?
a) Fun b) Define c) def d) Function
a) Fun b) Define c) def d) Function
2. What is called when a function is defined inside a class?
2. What is called when a function is defined inside a class?
a. class b. function c. method d. module
a. class b. function c. method d. module
3. What is a recursive function?
3. What is a recursive function?
a. A function that calls other function. b. A function which calls itself.
a. A function that calls other function. b. A function which calls itself.
c. Both A and B d. None of the above
c. Both A and B d. None of the above
4. What is a variable defined outside a function referred to as?
4. What is a variable defined outside a function referred to as?
a. local variable b. global variable
a. local variable b. global variable
c. static Variable d. automatic variable
c. static Variable d. automatic variable
5. A return statement with _____ arguments.
5. A return statement with _____ arguments.
a. No b. 1 c. 2 d. Any
a. No b. 1 c. 2 d. Any
SECTION – B (3×5=15)
SECTION – B (4×5=15)
6. Various jumping statements in python.
6. Various jumping statements in python.
7. Describe about recursive function with an example..
7. Describe about recursive function with an example..
8. Explain about keyword arguments in python.
8. Explain about keyword arguments in python.
SECTION – C (3×10=30)
SECTION – C (5×10=50)
9. Explain in detail about looping statements.
9. Explain in detail about looping statements.
10. Explain in details about various String handling function .
10. Explain in details about various String handling function .
11. Write a python program to generate mark statement with different
11. Write a python program to generate mark statement with different
function names as basic, marks and result
function names as basic, marks and result
******* All the Best *******
******* All the Best *******

You might also like