0% found this document useful (0 votes)
96 views15 pages

Lab Manual P.F

This document contains a table of contents for a programming fundamentals lab manual, outlining 9 programming challenges to be completed by the student including writing programs to find the largest of 3 numbers, convert between Celsius and Fahrenheit, calculate an employee's bonus, and define and call user-defined functions. The document provides the objectives, code, and output for each challenge to guide the student in completing the assignments.

Uploaded by

Abdul Aziz
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)
96 views15 pages

Lab Manual P.F

This document contains a table of contents for a programming fundamentals lab manual, outlining 9 programming challenges to be completed by the student including writing programs to find the largest of 3 numbers, convert between Celsius and Fahrenheit, calculate an employee's bonus, and define and call user-defined functions. The document provides the objectives, code, and output for each challenge to guide the student in completing the assignments.

Uploaded by

Abdul Aziz
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/ 15

Sindh Institute of Management and Technology

(SIMT)

(PF) LAB MANUAL

Student Name: Abdul-Aziz


I.D: 226-122170
Instructor: Sir. Raza Jafri
Semester: Spring 2022 (1st Semester)
Course Name: Programming Fundamental
Program: AD (Computer Science) / BSCS

Department of Computer Sciences


Sindh Institute of Management & Technology, Karachi, Pakistan
Tel: (021) 111-746-746. Email: info@simat.edu.pk
Table Of Content

S.no Content

01 Write a python program to find the largest number from


three numbers
02 Write a python program to convert temperature to Celsius to
Fahrenheit
03 Write a python program to find the sum of first 10 natural
numbers
04 Write a python program to calculate the bonus of an
employee
05 Write a python program to print your name 10 times using for
loop
06 Write a python program to construct the following pattern
using nested loop
07 Write a python program to find the factorial of given number

08 Write a python program to implement an array (addition,


subtraction)
09 Write a python program to implement the function defined
by the user
01
OBJECTIVE:
Write a python program to find the largest number from three
numbers

CODE:
OUTPUT:
02
OBJECTIVE:
Write a python program to convert temperature to Celsius to

Fahrenheit

CODE:
OUTPUT:
03
OBJECTIVE:
Write a python program to find the sum of first 10 natural numbers

CODE:

OUTPUT:
04
OBJECTIVE:
Write a python program to calculate the bonus of an employee

CODE:

OUTPUT:
05
OBJECTIVE:
Write a python program to print your name 10 times using for loop

CODE:
OUTPUT:
06
OBJECTIVE:
Write a python program to construct the following pattern using
nested loop

CODE:

OUTPUT:
07
OBJECTIVE:
Write a python program to find the factorial of given number

CODE:

OUTPUT:
08
OBJECTIVE:
Write a python program to implement an array (addition,
subtraction)

CODE:
OUTPUT:
09
OBJECTIVE:
Write a python program to implement the function defined by the
user

CODE:

OUTPUT:

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy