List of Programs for first Test
1. Program to accept an array of numbers and print the largest/smallest among them
(using ‘if’ – statement, ‘elif’-statement and for loop).
2. Program to calculate factorial of a number and program to print Fibonacci numbers
using ‘for loop’.
3. Program to convert binary/octal number to decimal number using user defined
functions.
4. Program to convert decimal number to binary/octal number using user defined
functions.
5. Program to search an element in the array using linear search.
6. Program to search an element in the array using binary search.
7. Program to arrange a set of given integers in an ascending/descending order and print
them.
8. Program to find roots of a quadratic equation.