cs501-bc200405544.docx
Verified academic study resource for CS501 (Advance Computer Architecture) under the Computer Science at Virtual University of Pakistan. This DOC document (Verified Study Resource) covers Full Course Curriculum spanning approximately 280 pages across 8 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS501 – Advance Computer Architecture
- Faculty
- Computer Science
- Format
- DOC
- Type
- Study Resource
- Coverage
- Full Course Curriculum
Review this document alongside the official handouts and test your retention in the Interactive MCQs Studio.
What this file covers — CS501 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
- Object-Oriented Paradigms: Classes & Data Abstraction — Lectures 23 to 29 (Pages 281 to 360). 16% Final-Term Marks (Core OO Concepts)
- Inheritance Hierarchies & Dynamic Polymorphism — Lectures 30 to 36 (Pages 361 to 435). 20% Final-Term Marks (Virtual Functions & V-Tables)
- Templates, Standard Library & Persistent File I/O — Lectures 37 to 41 (Pages 436 to 510). 14% Final-Term Marks (Generic Code & Streams)
- Final-Term Examination Dossier & Capstone Synthesis — Lectures 42 to 45 (Pages 511 to 585). Final-Term Exam Synthesis (Lectures 23–45 Scope)
Frequently asked questions
Where can I download cs501-bc200405544.docx for free?
You can preview and download "cs501-bc200405544.docx" (CS501 DOC, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs501-bc200405544-docx) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS501 file?
This document covers Full Course Curriculum across 8 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22, Lectures 23 to 29, Lectures 30 to 36, Lectures 37 to 41, Lectures 42 to 45), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.
What is the passing criteria for CS501 under the VU 20% Two-Half Rule?
Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.
Are CS501 solved past papers and handouts verified for 2026 exams?
Yes. All CS501 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.
Inside this file
CS 501-Advanced Computer Architecture
Assignment :01
Bc200405544
Question No.01
Write an assembly program to evaluate the expression: Your code should not change the source operands.
𝑦 =3(𝑥+4)−2(𝑧−7)
Answer :
section .data
;Define constants for the expression
constant1 db 3
constant2 db 2
constant3 db 4
constant4 db 7
section .bs
;Define variables for x,y, and z
x resb 1
y resb 1
z resb 1
section .text
global_start
_start:
;Read values of x and z
mov eax,0 :File description 0(stdin)
mov edi,x :Destination buffer for x
mov edx,1 :Number of bytes to read
syscall
mov eax,0 :File descripto 0(stdin)
mov edi,z :Destination buffer for z
mov edx,1 :Number of bytes to read
syscall
;Convert ASCII input to integers
mov al, [x]
sub al,'0'
mov bl,[z]
sub bl,'0'
;Perform the expression:y =3(x+4)-2(z-7)
mov ah,al :Copy the value of x
add al, constant3; x+4
imul ax, constant1; 3*(x + 4)
mov bh,bl :Copy the vaue of z
sub bl, constant4; z-7
imul bx, constant2; 2*(z-7)
sub axbx : Subtract the results
mov[y],al : Store he result in y
;Print the result
mov eax,4 : System call for write
mov ebx,1 :File descriptor 1(stdout)
mov ecx,y :Address of the result
mov edx,1 :Number of bytes to write
syscall
;Exit the program
mov eax,1 :System call foe exit
mov ebx,0 :Exit with status 0
syscall
Question No.02
For the reverse assemble, convert the following SRC machine language instructions in Hexadecimal, and mention the mnemonic:
1. 8A000000 h
2. 9C000000 h
Answer :
1. 8A000000 h :
Mnemonic : LDA (Load Accummulator)
Explanation: This instrution loads the value located at memory address 00000000 into the accumulator.
2. 9C000000 h:
Mnemonic : STR (Store Register)
Explanation: This instrution stores the contents of a register (usually accumulator) into the
memory address 00000000.
Question No.03
a. A computer has a 32-bit address bus and a 16-bit data bus. What is the maximum amount of memory that can be addressed by this computer? How many bytes of memory can be stored in this computer’s memory?
Answer :
1. Addressable Memory Space :
> The Address bus is 32 bits, which means it can address 2^32 different memory locations.
> Each memory location corresponds to one byte of memory since the address bus addresses individual bytes.
2. Data Storage Capacity :
> The Data bus is 16 bits, which means each memory location can store 16 bits of data(2 bytes).
Now, let's calculate the maximum amount of memory that can be addressed and how many bytes of memory can be stored:
> Addressable Memory Space : 2^32 memory location.
> Data Storage Capacity : Each memory location can store 2 bytes of data
To calculate the maximum memory size in btes,multiply the addressable memory space by the data storage capacity:
Maximum Memory Size = (2^32 memory locations)*(2 bytes per memory location)
= 2^32 * 2 bytes = 4,294,967,296 bytes .
b. Identify the instruction type and op-code for the following instructions:
Instructions
Instruction types
Number of memory operands
ADD R1, R2, R3
R-Type
0
SUB R4, R1, R5
R-Type
0
LOAD R1, 100
Load
1
STORE R2, 200
Store
1
More CS501 files
- CS501 By ®@π@ $@@β.docx (DOC · Study Resource)
- CS501 Solurion 1 By JUNAID.docx (DOC · Study Resource)
- CS501.pdf (PDF · Study Resource)
- cs501 qz1+q2+mid mega file.pdf (PDF · Study Resource)
- cs501 qz1+q2+mid mega file.pdf (PDF · Study Resource)
- CS501 GDB 1 SOL.pdf (PDF · Assignment)
- CS501 GDB 2023 Orange Monkey.pdf (PDF · Assignment)
- CS501 GDB IDEA SOLUTION By JUNAID.docx (DOC · Assignment)