Ch 14: Preemptive Multitasking & Context Switching

90 Questions90 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS401 - Computer Architecture and Assembly Language Programming Examination Practice

Timed practice exam simulation for CS401 - Computer Architecture and Assembly Language Programming.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 11 โ€“ 20 of 90 Questions
Page 2 of 9
Q11
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ 14.1. Calling Conventions (C vs Pascal)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many prevalent calling conventions primarily exist in high-level language integration with assembly (e.g., C cdecl vs Pascal)?
๐Ÿ’ป assembly Snippet
; C Calling Convention (cdecl): Caller cleans stack
; Pascal Calling Convention: Callee cleans stack
  1. A.2
  2. B.1
  3. C.3
  4. D.4
Q12
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ 14.1. Calling Conventions (C vs Pascal)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many prevalent calling conventions primarily exist in high-level language integration with assembly (e.g., C vs Pascal)?
  1. A.2
  2. B.1
  3. C.3
  4. D.4
Q13
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ 14.1. High-Level Language Interface (Four Traditional Calling Conventions)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How many traditional calling conventions (e.g., cdecl, stdcall, pascal, fastcall) are commonly referenced in high-level language integration?
  1. A.1
  2. B.2
  3. C.3
  4. D.4
Q14
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ Serial and Parallel Port CommunicationEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Differentiate between serial communication and parallel communication.
๐Ÿ’ป assembly Snippet
; Serial Port Initialization
mov ah, 0
mov al, 0xE3
xor dx, dx
int 0x14
Q15
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ Serial Communication FundamentalsMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Differentiate between synchronous data transmission and asynchronous data transmission in serial communication.
Q16
๐Ÿง  Long Problem๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ BIOS Serial Port Services (INT 14h)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Specify the required register parameters for calling the BIOS INT 14h service 'Write Character to Serial Port'.
๐Ÿ’ป assembly Snippet
mov ah, 0x01
mov al, 'A'
mov dx, 0
int 0x14
Q17
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ Serial Hardware Architecture and RS-232 SignalsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the minimum number of pins required for bidirectional serial communication, and what are their names?
Q18
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ Serial Communication Hardware and ConnectorsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin RS-232 (DB-9) serial interface connector, which pin number is assigned to the Data Set Ready (DSR) signal?
  1. A.Pin 5
  2. B.Pin 6
  3. C.Pin 7
  4. D.Pin 8
Q19
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ Serial Communication Hardware and ConnectorsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 serial communications connector, which pin number is allocated to the Data Set Ready (DSR) hardware status line?
  1. A.Pin 4
  2. B.Pin 5
  3. C.Pin 6
  4. D.Pin 7
Q20
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 14๐Ÿท๏ธ Serial Communication Hardware and ConnectorsEasy๐Ÿ”โญ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
On a standard 9-pin DB-9 serial communications connector, which pin number is assigned to the Clear To Send (CTS) hardware status signal?
  1. A.Pin 6
  2. B.Pin 7
  3. C.Pin 8
  4. D.Pin 9