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

01. Question Paper Format for Target 1 Assessment

This document outlines an examination for Python Programming at Vignan’s Foundation for Science, Technology and Research, detailing the structure and content of the test. It includes two parts with questions covering topics such as indentation, functions, modules, and file handling in Python, each with specific marks allocated. The exam consists of practical coding tasks and theoretical questions designed to assess students' understanding of Python concepts.
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)
0 views1 page

01. Question Paper Format for Target 1 Assessment

This document outlines an examination for Python Programming at Vignan’s Foundation for Science, Technology and Research, detailing the structure and content of the test. It includes two parts with questions covering topics such as indentation, functions, modules, and file handling in Python, each with specific marks allocated. The exam consists of practical coding tasks and theoretical questions designed to assess students' understanding of Python concepts.
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

Slot No.

:
No. of Students.:
Vignan’s Foundation for Science, Regd. No.
Technology and Research,
Vadlamudi Year Semester Branch Section
Staff Name: K. Sambasiva Rao I II DS A
SS 2024
Subject: Python Programming
Department: ACSE Subject Code: 24DA104
M1 T1 & M2
T1
Program Name: B.S. Date: Time: Slot No.:

Each Question 10 Marks, Total 40 Marks

Part – A, Question – 01, Marks:10 Marks


a. What is indentation in Python and why is it important? [3M]
b. Differentiate between single-line and multi-line comments in Python with examples.[3M]
c. Write a Python script to display your name, age, and city using input() and print().
[4M]
Part – A, Question – 02, Marks:10 Marks

a. Explain how to define and call a function in Python. [3M]


b. What are the different ways of passing arguments to a function? [3M]
c. Write a function that accepts a name and age as arguments and prints a greeting message.
[4M]

Part – B, Question – 01, Marks:10 Marks

a. What is a module in Python? How is a user-defined module created? [3M]


b. Differentiate between import and from...import statements with examples. [3M]
c. Write a Python program that uses a user-defined module for basic arithmetic operations.
[4M]

Part – B, Question – 02, Marks:10 Marks


a. Explain the different file modes used in file handling in Python. [3M]
b. What is the difference between read(), readline(), and readlines()? [3M]
c. Write a Python program to create a file, write some lines, then read and print its contents.
[4M]

You might also like