Questions or need anything? Email codingcirculate@gmail.com or DM on Instagram @walicontext

Computer Science

CS401 Past Papers

Computer Architecture and Assembly Language Programming

CS401 current papers · Fall 2026

Questions students remember from this semester's exams

Midterm

2 PDFs

  • Solved subjective · by Moaaz Siddiq
  • Solved MCQs · by Moaaz Siddiq
Preview & download

Final Term

3 PDFs

CS401 Final Term Fall 2020

  • Solved paper · by VU Answer
Preview & download

CS401 Final Term Compiled

  • Solved MCQs · by Moaaz Siddiq
  • Solved subjective · by Moaaz Siddiq
Preview & download

About CS401

Computer Architecture and Assembly Language Programming, course code CS401, is the Virtual University course that takes students below high-level languages to the level of registers, memory and machine instructions. The official synopsis describes assembly language programming together with the basic architecture of computer systems: register structure, memory organisation, addressing modes, the organisation of peripherals, and machine-level operations, tied together through assemblers, linkers and loaders. Students also learn to write and debug assembly programs, to interface assembly code with C and C++, and some basic Boolean logic as it applies to programming and hardware. The official course calendar begins with three introductory lectures on assembly language and the segmented memory model. It then covers data declaration and direct addressing, indirect addressing and other addressing modes, branching, unconditional jumps and relative addressing, bit manipulation, multiplication, and bitwise logical and masking operations. Subroutines, the stack and its operations, and passing parameters and local variables through the stack follow. A practical block on the screen covers display memory, number printing, screen location calculation, clearing the screen, printing strings, scrolling and string comparison. Interrupts form the next major topic: interrupt handling, BIOS and DOS interrupts, hardware interrupts, ports, interrupt chaining, terminate-and-stay-resident programs, the programmable interval timer and parallel port, and a debugger built on the single-step interrupt. The calendar then introduces multitasking and a multitasking kernel as a TSR, BIOS and DOS video services, storage access through BIOS and DOS, device drivers, and serial port programming. The last lectures cover protected mode, code and data segment descriptors, 32-bit programming, the VESA linear frame buffer, interrupt handling in that setting, interfacing with high-level languages, and a comparison with other processors. Solved CS401 midterm and final term past papers are listed here as they are added.

View all 21 Computer Science courses