Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
13 views1 page

List of Programs For First Test

The document lists eight programming tasks for a first test. These tasks include finding the largest/smallest number in an array, calculating factorials, converting between number systems, searching elements in an array, sorting integers, and finding roots of a quadratic equation. Each task specifies the use of certain programming constructs such as loops and user-defined functions.

Uploaded by

Harshal Omega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views1 page

List of Programs For First Test

The document lists eight programming tasks for a first test. These tasks include finding the largest/smallest number in an array, calculating factorials, converting between number systems, searching elements in an array, sorting integers, and finding roots of a quadratic equation. Each task specifies the use of certain programming constructs such as loops and user-defined functions.

Uploaded by

Harshal Omega
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like