0% found this document useful (0 votes)
4 views7 pages

Practical Programming Assignments Guide

The document outlines a series of practical assignments for programming, including topics such as mathematical operators, if-else statements, loops, strings, lists, tuples, dictionaries, and functions. Each assignment includes a question sheet with source code examples and expected outputs. The document serves as a guide for students to complete their programming tasks.

Uploaded by

lakshay.991235
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)
4 views7 pages

Practical Programming Assignments Guide

The document outlines a series of practical assignments for programming, including topics such as mathematical operators, if-else statements, loops, strings, lists, tuples, dictionaries, and functions. Each assignment includes a question sheet with source code examples and expected outputs. The document serves as a guide for students to complete their programming tasks.

Uploaded by

lakshay.991235
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

Cover Page 9shared separately)

Index

[Link]. Particulars Teacher Sign

1 Practical Assignment – 1 : Simple Programs

2 Practical Assignment – 2 : If-else programs

3 Practical Assignment – 3 : Loops

4 Practical Assignment – 4 :String

5 Practical Assignment – 5 : Lists

6 Practical Assignment – 6 : Tuple-Dictionary

7 Practical Assignment – 7 : Functions

Certificates/ Achievements
Practical Assignment 1 Question sheet
(as shared by the teacher)
PRACTICAL Assignment -1
Ques 1 : Write a program to demonstrate mathematical operators
Source Code
n1=int(input("Enter first number"))
n2=int(input("Enter second number"))
n=n1+n2
print("Addition" ,n)
n=n1-n2
print("Subtraction", n)
print("Multiplication", n1*n2 )
print("Division", n1/n2 )
print("Modulus - Remainder", n1% n2 )
print("Floor division- Quotient", n1//n2 )
print("Exponent", n1**n2 )

OUTPUT

Ques 2 : Write a program to demonstrate mathematical operators


Source Code
--------------

. --------------
--------------

. --------------

Output

Ques 3 : Write a program to demonstrate mathematical operators


Source Code
--------------

. --------------

--------------

. --------------

Output
Practical Assignment 1 Question sheet
(as shared by the teacher)
PRACTICAL ASSIGNMENT -2
Ques : Write a program to . . . .
Source Code

OUTPUT

You might also like