Posts
University Question Paper and Answer Key Dec 2025 - UCEST 105 Algorithmic Thinking with Python
- Get link
- X
- Other Apps
UCEST 105 Lab Cycle - 2
- Get link
- X
- Other Apps
Learning outcome: Write looping statements while, for Learn transfer control statements break , continue Learn to process strings 1.Find the largest, smallest, sum and average of 'n' numbers. ( use while loop) 2.Print the series 1 2 4 7 11 16 22.........n ( use while loop) 2.Print the following series using for loop ( learn range() function) 1 3 5 7 9 11 13...n 50 45 40 35 30 25 20 15 10 5 0 3.Find the numbers between 1...
UCEST 105 Lab Cycle - 3
- Get link
- X
- Other Apps
Learning Objective: Learn to use RATOR tool Learn to use nested control statements RAPTOR programs to try 1.Check positive and negative number 2.Odd or Even Number using modulus (%) operator 3.Print 10, 9, 8, .... 1 4.Print sum of the digits of a number 5.Factorial of a given number Nesting of Loops/control statements Print the following patterns using nested loops. 1.Square Pattern: * * * * * * * * * * * * * * * * * * * * 2.Right-Angled Triangle Pattern: * * * * * * * * * * * * * * * 3.Pyramid Pattern: * * * * * * * * * * * * * * * * * * * * * * * * * 4.Number pattern ( read N; example with N=5 is shown) 5 4 3 2 1 4 3 2 1 3 2 1 2 1 1 5.Write a python program to generate the following type of pattern for the giv...
UCEST 105 Lab Cycle - 4
- Get link
- X
- Other Apps
Learning Objective: Learn to write functions and recursive functions Functions and Recursive Functions 1.Write a function to check whether the given number is even or odd. ( return True or False) 2.Write a function to find the sum of numbers between a lower bound and an upper bound 3.A program that accepts the lengths of three sides of a triangle as inputs. The program should output whether or not the triangle is a right triangle (Recall from the Pythagorean Theorem that in a right triangle, the square of one side equals the sum of the squares of the other two sides). Implement using functions. 4. Write a function that returns True if a given number is prime and False otherwise.Use this function to print all prime numbers less than N. Read N. Use the same function to print n'th prime number. 5.Write a Python program to calculate the area of a circle, given the center and a point on the perimeter. Use a function to find the radius as the distance between two points . 6.Compute nCr...
University Question Paper and Answer Key Dec 2024 - UCEST 105 Algorithmic Thinking with Python
- Get link
- X
- Other Apps
University Question Paper and Answer Key May 2025 - UCEST105 Algorithmic Thinking with Python
- Get link
- X
- Other Apps