0% found this document useful (0 votes)
8 views18 pages

2023 CS 718

The document is an assignment submitted by Abdullah Khan for the Computer Organization and Assembly Language course. It includes various programming tasks such as string reversal, finding maximum in an array, factorial calculation using recursion, and more. Each task is accompanied by code and output sections, although the specific code and outputs are not provided in the document.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views18 pages

2023 CS 718

The document is an assignment submitted by Abdullah Khan for the Computer Organization and Assembly Language course. It includes various programming tasks such as string reversal, finding maximum in an array, factorial calculation using recursion, and more. Each task is accompanied by code and output sections, although the specific code and outputs are not provided in the document.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 18

COAL Assignment #2

Submitted By:
Abdullah khan 2023-CS-718

Submitted To:
Sir Nadeem Iqbal

Course:
Computer Organization and Assembly
Language

Department of Computer Science


University of Engineering and Technology, Lahore
New Campus
Question 1: String Reversal Using Procedures
Code:
Output:

Question 2: Finding Maximum in an Array


Code:
Output:
Question 3: Factorial Calculation Using Recursion
Code:
Output:

Question 4: Swapping Two Variables Using Stack


Code:
Output:

Question 5: Simple Calculator with Procedures


Code:
Output:

Question 6: Palindrome Checker (String Processing)


Code:
Output:

Question 7: Matrix Addition


Code:
Output:

Question 8: Sorting an Array Using Bubble Sort


Code:
Output:
Question 9: Fibonacci Sequence Using Recursion
Code:
Output:

Question 10: Temperature Conversion (Celsius to Fahrenheit & Vice Versa)


Code:
Output:

You might also like