Cs401 mc220205169_113314.docx
Verified academic study resource for CS401 (Computer Architecture & Assembly Language) 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
- CS401 – Computer Architecture & Assembly Language
- 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 — CS401 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 Cs401 mc220205169_113314.docx for free?
You can preview and download "Cs401 mc220205169_113314.docx" (CS401 DOC, ~280 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs401-mc220205169-113314-docx) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS401 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 CS401 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 CS401 solved past papers and handouts verified for 2026 exams?
Yes. All CS401 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
Assignment#01:
SEMESTER 2023
Course Code CS401
Student Name Sonia Kiran
Student ID Mc220205169
Question#01:
Write an assembly language program to store your Roll Number(Number part only) and calculate their sum. Print a message on the screen that shows that the received number is even or odd.
Answer
org 100h ;Set the origin to 0x100
section.data
roll num db '220205169' ; Roll number
roll_len equ $-roll num ;Length of the roll number string
section.text
global_start
_start
mov si, 0 ; Initialize index
mov cx, 0 ; Initialize sum
mov di. 0 ; initialize flag for even/odd
sum_loop:
mov al, byte[roll num+si] ; Load the byte from roll num string
sub al, 48 ; convert ASC11 digit to decimal
add cx, ax ; add the digit to te sum
inc si ;Increment index
cmp si, roll_len ; check if end of string
jl sum_loop
mov ax ,cx ; move the sum to ax register
test al, 1 ; check if the lowest bit is set
jz even
mov di, 1 ; set the flag for odd number
jmp print_result
even:
cmp di, 0 ; check the flag value
je even_num ; even number messsage
mov ah,9h ;set the function code for print string
lea dx.[even_msg] ; load the address of the even messsage
int 21h ; call the DoS interruot
end program;
mov ah,4Ch ; set the function code for exit
xor al, al ; setthe exit code to 0
int 12h ; call the DoS interruot
section_data
odd_msg db 'The received number is odd.' , 0Dh, 0Ah, '$' ; Message for odd number
even_msg db 'The received number is odd.' , 0Dh, 0Ah, '$' ; Message for even number
Question#02:
Find the offset address where Physical address is 4A37Bh and the segment address is 40FFh .
Answer
The formula to calculate the offset address is:
Offset Address = (Segment Address × 16) + Physical Address
Let's calculate it:
Segment Address: 40FFh
Physical Address: 4A37Bh
Converting the Segment Address to decimal: 40FFh= 16639 Converting the Physical Address to decimal: 4A37Bh-303995
Now, we can use the formula to find the offset address:
Offset Address = (16639 × 16)+303995
Offset Address = 266224 +303995
Offset Address=570219
More CS401 files
- CS401 (2).txt (TXT · Study Resource)
- CS401 - 1.pdf (PDF · Study Resource)
- CS401 - 2.pdf (PDF · Study Resource)
- CS401 - 3.pdf (PDF · Study Resource)
- CS401 - 4.pdf (PDF · Study Resource)
- CS401 AZNAIN.docx (DOC · Study Resource)
- CS401 EXERCISE.pdf (PDF · Study Resource)
- CS401 MID fall 2010 01-12-2010.doc (DOC · Study Resource)