What is science NHPY 110 BS 6 Semester/Term PU — University of the Punjab 2024
Discussion
Ask a question about this paper, or help someone else with theirs. Answers are emailed to whoever asked.
No questions yet — be the first to ask.
Need a paper or stuck on a question? Ask here — students reply and you get an email.
Ask about a paper-
BS ZOOLOGY first semester Animal diversity ZOOL 101 - university of Punjab 2025
0 replies Reply → -
Literary criticism
1 reply Reply → -
this paper consists of 60 marks but now we have 35 marks paper.
1 reply Reply → -
Can you please tell me more past papers please because my exams are starting from next week
1 reply Reply → -
Did you provide the past papers of the science of society uos?
1 reply Reply →
Paper text
6:42c⋯
Steall Le
←
November 7, 2026
18:41 | Chrome
•J
く
Punjab University
UNIVERSITY OF THE PUNJAB
B.S. Computer Science 2 Year: Annual - 2021
Roll No.
Subject: Computer Org. and Assembly Language
Paper: 10
Time: 2 Hrs. 30 Min. Mark
ATTEMPT THIS (SUBJECTIVE) ON THE SEPARATE ANSWER SHEET PROVIDED
NOTE: Attempt any FOUR questions. All questions carry equal marks.
Q.2. A. Write an assembly program that inputs two strings, concatenate both strings and display on the
Screen. (10+5)
B. Describe the function LAHF instruction.
Q.3. A. Write an assembly program that inputs two strings and checks them whether they are same
Or not (10+5)
B. What is parity and zero flag?
Q.4.A. Write a program in assembly language that inputs 10 digits, stores them into an array and finds the
Minimum digit input validation. You should input only digits and make sure that no other character
Can be input. (10+5)
B. What is the purpose of LEA instructions in assembly language?
Q.5. A. Write an assembly program that calculates the factorial on an integer number. (10+5)
B. What are the three basic steps in instruction execution cycle?
Q.6. A. Write an assembly program that reads a character from keyboard and determines whether character is
A vowel or consonant. (10+5)
B. Write instructions that contain a loop to display 1 to 5 integers.
Q.7. A. Write an assembly language program that alphabetically sorts an array of ten characters. (10+5)
B. How does CALL instruction works?
b)8-r-ca)l
b)2
c)3
Visit ›
- Share
• Save
UNIVERSITY OF THE PUNJAB
B.S. In Computer Science / Fourth Year: Annual - 2022
ATTEMPY THIS PAPER ON THIS QUESTION SHEET ONLY.
UNIVERSITY OF THE PUNJAB
B.S. 4 Years Program / Sixth Semester - Fall 2024
Coursa Code: 06-328
THE ANSWERS MUST BE ATTEMPTED ON THE ANSWER SHEET PROVIDED