0% found this document useful (0 votes)
4 views2 pages

Assembly Language Programming Tasks

The document outlines an assembly language programming assignment with a series of tasks to be completed within two weeks. The tasks include writing programs to determine odd/even numbers, find the youngest of three ages, print numbers, calculate sums, reverse integers, and display factorials, among others. Each task is designed to enhance understanding of programming concepts and individual evaluation is emphasized.

Uploaded by

yeabalex18
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)
4 views2 pages

Assembly Language Programming Tasks

The document outlines an assembly language programming assignment with a series of tasks to be completed within two weeks. The tasks include writing programs to determine odd/even numbers, find the youngest of three ages, print numbers, calculate sums, reverse integers, and display factorials, among others. Each task is designed to enhance understanding of programming concepts and individual evaluation is emphasized.

Uploaded by

yeabalex18
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

Assembly language programming assignment

Do all of the following questions and you should submit within


two weeks from the day it is given
general guidelines: - it is better that every member of the
group knows the problem, evaluation is individually.
1. Any integer is input by the user. Write a program to find out whether it is an odd number or even
number.
2. If the ages of Abebe, Belay and Helen are input by the user, write a program to determine the youngest
of the three.
3. Write a program to print number from 1 to 10.
4. Write a program to calculate the sum of first 10 natural numbers.
5. Two numbers are entered through the keyboard. Write a program to find the value of one number
raised to the power of another.
6. Write a program to reveres any given integer number.
7. Write a program that displays n numbers
a. Starting from zero.
b. Starting from one.
c. Starting from a number entered from the keyboard.
Where n is a positive number to be entered from the keyboard.
8. Write a program that displays the first n positive integer numbers in reversed (descending) order
where n is a positive number to be entered from the keyboard.
9. Write a program that lets a user to enter numbers as long as s/he has entered a positive number.
When the user enters a negative number, the program must display the prompt that says ‘Now you
have entered a negative number’ then after it should be terminated.
10. Write a program that displays the upper and the lower cases of each of the Latin alphabets as
shown in the following example. Example
Aa Bb Cc Dd . . . Zz.
11. Write a program that calculates and displays the factorial of n where n is a positive integer number
to be entered from the keyboard.
Example n! = n * (n-1) * (n-2) * . . . * 2 * 1 1! = 0! = 1
12. Write a program that displays the multiplication table in a proper output format.

You might also like