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 81 โ€“ 90 of 141 Questions
Page 9 of 15
Q81
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ SQL DDL Table ConstraintsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Is the statement true or false: 'Only one type of constraint can be enforced on any table using a single CREATE TABLE statement in SQL'?
๐Ÿ’ป sql Snippet
CREATE TABLE Example (id INT PRIMARY KEY, email VARCHAR(100) UNIQUE NOT NULL);
  1. A.True
  2. B.False
Q82
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Hash Collision Resolution Techniques (Separate Chaining)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following is a main disadvantage of using the separate chaining technique to resolve hash collisions in database indexing and hash tables?
  1. A.Limits the maximum number of elements that can be stored
  2. B.Requires costly full table rehashing on every insertion
  3. C.Overhead of storing pointers and traversing multiple linked lists
  4. D.Requires knowing the maximum number of elements beforehand
Q83
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Relational Normalization and Functional DependenciesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Consider a database relation R containing attributes EmpNo, ProjNo, and DeptNo. Which of the following functional dependency statements is NOT valid?
  1. A.The functional dependency ProjNo -> DeptNo holds over R
  2. B.The functional dependency (EmpNo, ProjNo) -> DeptNo holds over R
  3. C.The functional dependency DeptNo -> ProjNo holds over R
  4. D.The functional dependency EmpNo -> DeptNo holds over R
Q84
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Entity-Relationship Modeling (Entity Type vs Instance)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In database design and Entity-Relationship (ER) modeling, what is an 'Entity Type'?
  1. A.A physical data table constructed in physical disk storage
  2. B.A primitive data type such as INTEGER, VARCHAR, or DATE
  3. C.A coherent set or class of similar real-world objects about which data is stored (e.g., STUDENT, COURSE, CAR)
  4. D.A specific privilege level defined by the database administrator
Q85
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Entity-Relationship Modeling (Relationships)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In Entity-Relationship (ER) modeling, how can one entity type be logically connected or associated with another entity type?
  1. A.By creating a Hyperlink
  2. B.By defining a Relationship
  3. C.By creating an Index
  4. D.By defining an Attribute
Q86
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Relational Database Keys and Common AttributesEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In relational database design, how can one entity (or table) be logically connected to another table?
  1. A.Hyperlink
  2. B.Common attribute (Foreign Key)
  3. C.Primary key
  4. D.Superkey
Q87
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Database Views Updatability RulesMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Is the statement true or false: 'You cannot modify more than one underlying base table at a time through a single database view'?
  1. A.True
  2. B.False
Q88
โ“ MCQ๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ SQL DML Commands (INSERT)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following is a primary purpose of using Data Manipulation Language (DML) commands in SQL?
๐Ÿ’ป sql Snippet
INSERT INTO student (id, name) VALUES (1, 'Abrar');
  1. A.Creating databases
  2. B.Destroying database schemas
  3. C.Inserting data into tables
  4. D.None of the above
Q89
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ DDL vs DML Commands in SQLEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
What is the primary difference between Data Definition Language (DDL) and Data Manipulation Language (DML) in SQL?
Q90
๐Ÿ“ Short Q๐Ÿ“˜ CS401๐Ÿ“‘ Lec 13๐Ÿท๏ธ Relational Data Model Attribute DomainsEasy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Define the term 'domain of an attribute' in database relational design.