0% found this document useful (0 votes)
1 views2 pages

Python Objective Test

The document outlines an objective test for the subject 'Introduction to Python Programming' for Semester II students. It includes questions related to Python concepts such as data types, loop statements, functions, and modules. The test is scheduled for July 3, 2025, from 5:30 to 6:00 PM.

Uploaded by

kavya Hanji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views2 pages

Python Objective Test

The document outlines an objective test for the subject 'Introduction to Python Programming' for Semester II students. It includes questions related to Python concepts such as data types, loop statements, functions, and modules. The test is scheduled for July 3, 2025, from 5:30 to 6:00 PM.

Uploaded by

kavya Hanji
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

USN

Name: Roll.No. Semester:II Division: A &B Date:03-07-2025


Time: 5.30-6.00pm

Objective Test
Subject: Introduction to Python Programming Sub code: BCSB205D
1. Graphical Representation of algorithm 6. T= (10, 11, 12, 13, 14)
is called as print (T [-1])
Write the output
a. flow chart
a. 10 b. 13 c. 11 d. 14
b. flow diagram
c. flow point 7. What is a dictionary in programming,
specifically in Python?
d. None of the above a) A collection of ordered data.
2. ------- is an integer data type in python b) A collection of unique elements.
c) A collection of key-value pairs.
a. c=FALSE b. c=”bec” d) A collection of ordered elements.
c. c=10.5 d. c=10 8. What does the string method .join () do in
3. Loop statements supported in python Python?
are a. splits a string into a list
b. Concatenates a list of strings into one
a. for and do while
string
b. while and do while
c. Reverse a string
c. for and while
d. None
d. All of the mentioned

4. Keyword used to define function is 9. ------- function is used to open a file in


python
a. pass b. def a. open() b. read()
c. import d. return c. write() d. close()

5. L=[1,2,3,4]
print(len(L)) 10. --------module is designed for common
Write the output pathname manipulation and interaction
with the operating system's file system.
a. 5 b. 6
c. 4 d. 7 a. os.path b.math
c. os d. none of above

Marks Obtained:

Signature of the Student with Date: Signature of Staff:


USN
Name: Roll.No. Semester:II Division: A &B Date:03-07-2025
Time: 5.30-6.00pm

You might also like