Docsity

Computer Architecture and Organization Lab Assignment 1 - Fall 2020 (CEN-221), Assignments of Digital Electronics

Toggle sidebar
bg1
Question 1: Write a program in MIPS Assembly language to compare 2 numbers. If the numbers are
same print the output as follows:
The numbers are same
And if the numbers are different print the output as follows:
The numbers are different
Question 2: Write a program to print sum of even numbers up to a given range by the user.
Question 3: Write a program to get user’s input in double and print it.
Note:
If you submit your assignment after the given deadline then 2 Marks will
be deducted for the late submissions.
Copied assignment will be marked zero.
BAHRIA UNIVERSITY (KARACHI CAMPUS)
ASSGINMENT # 1 - FALL 2020
Computer Architecture and Organization Lab (CEN-221)
Class: BSE 3(B)
Course Instructor: Engr.Dr. Samar Yazdani Submission Deadline: 10th November, 2020
Lab Instructor: Engr. Saniya Sarim Max Marks: 5

Partial preview of the text

Download Computer Architecture and Organization Lab Assignment 1 - Fall 2020 (CEN-221) and more Assignments Digital Electronics in PDF only on Docsity!

Question 1: Write a program in MIPS Assembly language to compare 2 numbers. If the numbers are

same print the output as follows: The numbers are same And if the numbers are different print the output as follows: The numbers are different

Question 2: Write a program to print sum of even numbers up to a given range by the user.

Question 3: Write a program to get user’s input in double and print it.

Note :

 If you submit your assignment after the given deadline then 2 Marks will

be deducted for the late submissions.

 Copied assignment will be marked zero.

BAHRIA UNIVERSITY (KARACHI CAMPUS)

ASSGINMENT # 1 - FALL 2020 Computer Architecture and Organization Lab (CEN-221) Class: BSE 3(B) Course Instructor: Engr.Dr. Samar Yazdani Submission Deadline: 10th^ November, 2020 Lab Instructor: Engr. Saniya Sarim Max Marks: 5