Laboratory Record UCEST 105
Here’s a general guideline for preparing a laboratory record for UCEST 105 - Algorithmic Thinking with Python, covering the key sections you should include:
Maintain an A4 size long book(200 pages) as a rough record. No fair record is required.
1. Cover Page( First Page)
- College name and academic year
- Course Name: "Algorithmic Thinking with Python"
- Course Code: UCEST 105
- Your name, class, roll number, batch, and semester
- Instructor's name and Department
2. Index Page
- List all the lab experiments with their corresponding page numbers. Example format:
Experiment No. Experiment Title Page No. 1 Introduction to Python 1 2 Program to find largest of 3 numbers 5
3. Format for Each Experiment ( To be written on right side)
Each experiment should follow a consistent structure:
a) Title
- Clearly mention the title of the experiment (e.g., "Program to Find the Largest of Three Numbers").
b) Objective
- A brief description of the problem to be solved or the goal of the experiment.
c) Algorithm
- Write the step-by-step procedure for solving the problem. Keep it simple and clear.
- Use pseudocode or flowchart if required
Example:
1. Start
2. Get input values a, b, c
3. If a > b and a > c, then a is the largest
4. Else if b > a and b > c, then b is the largest
5. Else c is the largest
6. End
4. Program and output ( To be written on left side)
- Write the Python code implementation.
- Write the code neatly with proper indentation and comments/documentation to explain the logic where necessary.
- # Program to find the largest of three numbers
a = int(input("Enter first number: "))
b = int(input("Enter second number: "))
c = int(input("Enter third number: "))
if a > b and a > c:
print("The largest number is", a)
elif b > a and b > c:
print("The largest number is", b)
else:
print("The largest number is", c)
- Output
- Show the expected output for the program. You can write the sample input-output.
Input:
Enter first number: 10
Enter second number: 20
Enter third number: 15
Output:
The largest number is 20
4. Results ( To be written on right side after algorithm/flowchart)
- Write a short conclusion stating whether the experiment was successful in achieving its objective.
- Summarizing what you learned from the experiments .
Example: The program successfully finds the largest of three numbers.Learned to use if-elif statement with relational operators and also specifying multiple conditions with logical 'and' operator.
General Formatting Tips:
- Neatness: Keep the writing neat, and avoid overwriting or striking through.(use black or blue pen only)
- Use a Ruler: For underlining titles and drawing tables/flowcharts.
- Indentation: Follow proper indentation and maintain clarity in both code and algorithm.
- Consistency: Stick to a uniform format for all experiments.
Comments
Post a Comment