[go: up one dir, main page]

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

JP (Python)

This document is an examination paper for the Python programming subject at JP Institute of Engineering & Technology, detailing the structure of the exam, including sections with various questions on loops, data types, and programming concepts. The exam consists of three sections: Section-A requires brief answers to five questions, Section-B allows students to choose two out of three questions, and Section-C also requires answering two out of four questions. The total duration is 1 hour and the maximum marks are 30.

Uploaded by

Anshika Rana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views1 page

JP (Python)

This document is an examination paper for the Python programming subject at JP Institute of Engineering & Technology, detailing the structure of the exam, including sections with various questions on loops, data types, and programming concepts. The exam consists of three sections: Section-A requires brief answers to five questions, Section-B allows students to choose two out of three questions, and Section-C also requires answering two out of four questions. The total duration is 1 hour and the maximum marks are 30.

Uploaded by

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

JP INSTITUTE OF ENGINEERING & TECHNOLOGY,

MEERUT (282)
IST SESSIONAL EXAMINATION: (ODD SEM 2024-25)
SUBJECT:PYTHON SUBJECT CODE: BCC302 ROLL NO.:
PROGRAMING
BRANCH & SEM: DURATION: 1.00hr MAX MARKS: 30
CS/IT/ME/CE/EC–3RD SEM
Section-A
Attempt all questions in brief. 2X5 =
10

1. Explore the working of while, and for loop with examples?


2. What is the difference between Python Arrays and lists?
3. Explain why the program generates an error:
x = [‘12’, ‘hello’, 456]
x[0] *= 3
x[1][1] = ‘ bye’
4. In some language, every statement ends with a semi-colon(:). What happens if you put a
semi-colon at the end of a Python statement?
5. Define floor division with an example?
Section-B

Attempt any two of the following: 5X2=10

1. Explain the programming cycle for python, Elements of Python, Type Conversion in
Python, Operator Precedence, and Boolean Expression .
2. What do you mean by DATA TYPES using python.
3. Discuss List, Tuples, Dictionary with Example.
Section-C

Attempt any two of the following: 5X2=10

1. Explain the purpose and working of loops. Discuss Break and continue with example.
Write a python program to convert time from 12 hour to 24 hour format.

2. What is python? How Python is interpreted language? What are the tools that help to find
bugs or perform static analysis? What are the Python Decorators?

3. Explain all the Conditional Statement in Python using small code Example.

4. Write a python program to print 2 to 10 using loop.

You might also like