Ch 13: Multitasking & Cooperative Kernels

141 Questions141 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 61 โ€“ 70 of 141 Questions
Page 7 of 15
Q61
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ DOS File Management (INT 21h Service 3Ch)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How do you create or truncate a file using DOS Interrupt 21h Service 3Ch (AH = 3Ch)? Specify input parameters and return values.
๐Ÿ’ป assembly Snippet
mov ah, 0x3c
mov cx, 0
mov dx, filename
int 0x21
Q62
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ BIOS INT 13h Disk Sector Reading Service 02hMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
How do you read disk sector(s) into memory using BIOS Interrupt 13h Service 02h? Detail all required register input parameters and return values.
๐Ÿ’ป assembly Snippet
mov ah, 0x02
mov al, 1
mov ch, 0
mov cl, 1
mov dh, 0
mov dl, 0x80
mov bx, buffer
int 0x13
Q63
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Database Recovery Service and ConsistencyEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which feature of a database management system provides conversion from an inconsistent state of a database to a consistent state while ensuring minimum data loss?
  1. A.User accessible catalog
  2. B.Data processing
  3. C.Authorization service
  4. D.Recovery service
Q64
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Database Views and Virtual TablesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following statements is true regarding views in a relational database management system?
  1. A.A view is always a complete set of all the tables in a database
  2. B.A view cannot be used for retrieving data
  3. C.The results of using a view are not permanently stored in the database
  4. D.Rows cannot be updated or deleted in a view
Q65
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ SQL TRUNCATE Command MechanicsMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following statements is true regarding the SQL TRUNCATE TABLE command?
  1. A.It can be rolled back in all transaction logs
  2. B.It activates ON DELETE triggers automatically
  3. C.It is classified purely as a DML command
  4. D.It resets the identity counter of the table to its seed value
Q66
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Relational Joins and Cartesian Product SizeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following is the correct formula to determine the total number of rows in the Cartesian product resulting from a CROSS JOIN?
  1. A.The number of columns in the first table multiplied by the number of columns in the second table
  2. B.The number of columns in the first table multiplied by the number of rows in the second table
  3. C.The number of rows in the first table multiplied by the number of columns in the first table
  4. D.The number of rows in the first table multiplied by the number of rows in the second table
Q67
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ SQL Aggregation and HAVING ClauseEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which SQL clause is used to filter group results after performing an aggregation with the GROUP BY clause?
  1. A.WHERE
  2. B.HAVING
  3. C.ORDER BY
  4. D.GROUP FILTER
Q68
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Relational Joins and Cartesian Product SizeEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Suppose TABLE1 contains 8 rows and 4 columns, while TABLE2 contains 3 rows and 4 columns. What is the total number of rows in the Cartesian product resulting from a CROSS JOIN between these two tables?
๐Ÿ’ป sql Snippet
SELECT * FROM TABLE1 CROSS JOIN TABLE2;
  1. A.24 rows
  2. B.32 rows
  3. C.12 rows
  4. D.16 rows
Q69
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ ACID Transaction PropertiesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following is NOT one of the standard ACID properties of a database transaction?
  1. A.Atomicity
  2. B.Consistency
  3. C.Redundancy
  4. D.Durability
Q70
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Database Views and Data AbstractionEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following statements is INCORRECT regarding database VIEWS?
๐Ÿ’ป sql Snippet
CREATE VIEW user_view AS SELECT id, name FROM users;
  1. A.It is not possible to leave out data that is not required for a specific view
  2. B.A database view displays one or more database records based on underlying tables
  3. C.Views can be used as a security mechanism to restrict access to sensitive columns
  4. D.Views are generally used to customize and focus the perception each user has of the database