0% found this document useful (0 votes)
38 views

Python WINTER 2022

prython winter 2022

Uploaded by

jagdishsimariya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

Python WINTER 2022

prython winter 2022

Uploaded by

jagdishsimariya
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Seat No.

:
Enrolment No._

GUJARAT TECHNOLOGICAL UNIVERSITY


BE -

SEMESTER-VII (NEW) EXAMINATION WINTER 2022 -

Subjeet Code:3171716 Date:12-01-2023


Subject Name:Python For Engineers
Time:10:30 AM TO 01:00 PM
Total Marks:70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
4. Simple and non-programmable scientific caleulators are allowed.
MARKS
Q.1 (a) List out the features of Python?
03
b) Describe advantages and limitation of python other
language. programming
over 04

(c)Briefly explain data types and variable in Python. 07


Q.2 a What is the difference between list and tuple?
03
(6) Explain bitwise operators of python wih suitable examples. 04
Explain Arithmetic, Comparision and membership operators of Python 07
with suitable examples.
OR
(c) Describe various string functions of python with suitable
examples. 07
Q.3 (a) Describe range function with example. 03
(b) Write a Python program to find reverse of given number. 04
Explain while and for loop structure of python with its syntax and 07
suitable examples.
OR
Q.3 ay Write a Python function to find whether the number is even or odd. The
03
function accepts the number as an argument
(hWrite a python program that finds the factorial ofa natural number n. 04
(c) Explain conditional statements of Python with suitable examples. 07

4 aWrite a python Program to find the largest among three Numbers. 03


Explain following List methods in python with appropriate example. a) 04
append() b) insert() c) remove) d) clear()
Describe user def+ned function in python.
07
OR
Q4 (a) What are modules in Python ? How to import the module in
Python? 03
(b) How to read CSV file in python explain with
example. 04
(c) Explain break and continue statements of Python with examples. 7

Q.5 (a) Write a Python program to print current date and time. 03
(b What is the differences between python and Micro python. 04
Write program in MicroPython to send digital data on GPIO pins of 07
NodeMCU and glow LED connected with NodeMCU or
any other
MicroPython supported board.
OR
,5 (a) Enlist various IDE available to
program MicroPython program. 03
(6) What is micro python? Discuss unique features of micro python. 04
()Describe file handling functions in python. 07
*nunui

7B83669075004FB214F8813FFECCEEE3

You might also like