Phase 4 Exam Drill: System Design, Report Outlines & Ethics
90 Exam-Style Questions covering Modules 7 & 8 (Context Diagrams, Use Cases, ERD, 3-Tier Architecture, Dec 2024 Exam Q1, Q3 & Q6 [60 Marks Total], proposal drafting, and the 5 Cardinal Sins). Click "View Model Answer" to reveal the exact marking criteria.
Part 1: Foundational Questions (Questions 1 - 30)
P4-Q01Easy
What is the primary purpose of Chapter One (Introduction) in a CS final year report?
NUST Model Answer [4 Marks]: Establishing background context, formal Problem Statement, Research Aim (The "What"), Objectives (The "How"), Research Questions/Hypotheses, and Report Organization.
P4-Q02Easy
What is the primary purpose of Chapter Two (Literature Review)?
NUST Model Answer [4 Marks]: Systematically reviewing existing research (SLR), PRISMA flow diagram, identifying knowledge gaps, and presenting theoretical frameworks.
P4-Q03Easy
What is the primary purpose of Chapter Three (Methodology)?
NUST Model Answer [4 Marks]: Detailing research paradigms, research methodology, software development methodology, sampling strategy, data collection instruments, and ethics.
P4-Q04Easy
What is the primary purpose of Chapter Four (Analysis and Design)?
NUST Model Answer [4 Marks]: Presenting system requirements analysis, Context Diagrams, Use Case Diagrams, Activity Diagrams, 3-Tier System Architecture, ERD, and algorithm pseudocode.
P4-Q05Easy
What is the primary purpose of Chapter Five (Implementation and Testing)?
NUST Model Answer [4 Marks]: Documenting system implementation environment, empirical benchmarking results, statistical validation (t-test/ANOVA), error rate analysis, and conclusions.
P4-Q06Easy
What is Data Fabrication?
Model Answer [3 Marks]: Making up fake benchmark numbers, survey responses, or test logs.
P4-Q07Easy
What is Data Falsification?
Model Answer [3 Marks]: Manipulating real benchmark logs or selectively deleting outliers to artificially fit a hypothesis.
P4-Q08Easy
Define Plagiarism.
Model Answer [3 Marks]: Copying text, code, or ideas from other authors without proper attribution/citation.
P4-Q09Easy
What is AI Hallucination risk in academic writing?
Model Answer [3 Marks]: Copying fake AI-generated paper citations or unverified code into a report without verification.
P4-Q10Easy
Define a Context Diagram.
Model Answer [3 Marks]: A high-level Data Flow Diagram (Level 0) representing the system as a single process interacting with external entities.
P4-Q11Easy
Define a Use Case Diagram.
Model Answer [3 Marks]: A UML diagram illustrating actors, system boundary, and functional use cases.
P4-Q12Easy
Define an Activity Diagram.
Model Answer [3 Marks]: A UML diagram modeling sequential logic flows, decision nodes, and parallel activities.
P4-Q13Easy
What is an ERD (Entity-Relationship Diagram)?
Model Answer [3 Marks]: A database design model showing entities, primary keys (PK), foreign keys (FK), and relationships (1-to-N).
P4-Q14Easy
State the 3 layers in a 3-Tier System Architecture.
Model Answer [3 Marks]: 1. Hardware / Perception Layer, 2. Application / Logic Layer, 3. Data Layer.
P4-Q15Easy
What is the function of an openEuler character driver?
Model Answer [3 Marks]: Providing kernel-space device access as an un-buffered stream of bytes for user-space applications.
P4-Q16Easy
What kernel function registers a char driver region in openEuler?
Model Answer [3 Marks]: alloc_chrdev_region() (or register_chrdev_region()).
P4-Q17Easy
State two mandatory items required in a Research Proposal.
Model Answer [3 Marks]: 1. Problem Statement, 2. Proposed Methodology.
P4-Q18Easy
What software tool is recommended for writing academic LaTeX papers at NUST?
Model Answer [2 Marks]: Overleaf LaTeX editor.
P4-Q19Easy
What is Turnitin used for?
Model Answer [2 Marks]: Checking similarity scores and auditing papers for potential plagiarism.
P4-Q20Easy
What is an `«include»` relationship in a Use Case Diagram?
Model Answer [3 Marks]: A mandatory sub-task that must be executed whenever the base use case is triggered.
P4-Q21Easy
What is an `«extend»` relationship in a Use Case Diagram?
Model Answer [3 Marks]: An optional execution branch triggered only under specific conditional logic.
P4-Q22Easy
Define Data Flow Diagram (DFD) Level 1.
Model Answer [3 Marks]: Decomposing the Level 0 Context Diagram into main sub-processes and data stores.
P4-Q23Easy
What is a Primary Key (PK) in an ERD?
Model Answer [3 Marks]: A unique identifier column for records in a database table.
P4-Q24Easy
What is a Foreign Key (FK) in an ERD?
Model Answer [3 Marks]: A column referencing the primary key of another table to establish relational constraints.
P4-Q25Easy
Define Algorithmic Bias.
Model Answer [3 Marks]: Systemic unfairness in model outputs caused by biased training data or flawed feature selection.
P4-Q26Easy
What is a Blackbox AI Model in research?
Model Answer [3 Marks]: A model whose internal decision-making logic is opaque and non-interpretable to humans.
P4-Q27Easy
What is the function of `cdev_init()` in Linux char drivers?
Model Answer [3 Marks]: Initializes a `struct cdev` with file operations callback handlers.
P4-Q28Easy
State the purpose of an abstract in a research report.
Model Answer [3 Marks]: A 200-300 word summary of problem, methodology, key findings, and conclusions.
P4-Q29Easy
What is Informed Consent in human data collection?
Model Answer [3 Marks]: Formally educating subjects on study risks/benefits and obtaining written permission before data gathering.
P4-Q30Easy
What is a Research Assumption?
Model Answer [3 Marks]: A premise accepted as true without direct proof to allow research to proceed (e.g. assuming active NFC cards).
Part 2: Medium / Applied Questions (Questions 31 - 60)
P4-Q31Medium
DEC 2024 EXAM Q1 DRILL: Outline Chapter Four (Analysis and Design) of a final year research report. State 4 mandatory sub-sections. [4 Marks]
NUST Model Answer [4 Marks]: 1. System Requirements Analysis (Functional & Non-Functional), 2. System Modeling (Context Diagram, Use Cases, Activity Diagrams), 3. System Architecture (3-Tier Decoupled Structure), 4. Database Design (ERD & Schema Dictionary).
P4-Q32Medium
DEC 2024 EXAM Q3 DRILL: Describe the `file_operations` struct setup for an openEuler char driver experiment report.
Why must database ERDs specify foreign key constraints in Chapter 4?
Model Answer [3 Marks]: To enforce referential integrity between entities (e.g. Student and Attendance tables).
P4-Q42Medium
Explain how AI hallucination risks corrupt reference lists.
Model Answer [4 Marks]: LLMs can generate fake author names, fabricated volume numbers, and non-existent paper titles that fail audit checks.
P4-Q43Medium
Scenario: Reporting an openEuler driver memory benchmark. What graph type should be used?
Model Answer [3 Marks]: Line graph showing Memory Overhead (MB) on Y-axis vs Payload Size (KB) on X-axis.
P4-Q44Medium
What is the role of an abstract in a 3-page research proposal?
Model Answer [3 Marks]: Providing a single-paragraph summary of topic, problem statement, aim, methodology, and expected contribution.
P4-Q45Medium
Differentiate between Functional and Non-Functional requirements in Chapter 4.
Model Answer [4 Marks]: Functional: What system does (e.g. scan fingerprint). Non-Functional: System quality attributes (e.g. latency < 3.5s, 99.9% uptime).
P4-Q46Medium
Explain the role of `copy_from_user()` in Linux char drivers.
Model Answer [4 Marks]: Safely copying user-space write payload buffer into kernel-space device memory.
P4-Q47Medium
Why is Overleaf LaTeX preferred over MS Word for CS thesis writing?
Model Answer [3 Marks]: Automated BibTeX citation management, superior mathematical formatting, and consistent IEEE/ACM layouts.
P4-Q48Medium
What is the role of Research Assumptions in Chapter 1?
Model Answer [3 Marks]: Stating foundational preconditions assumed true so the study scope remains tractable.
P4-Q49Medium
State two ethical considerations when collecting student attendance data.
Model Answer [3 Marks]: 1. Secure local DB encryption, 2. Restricting access to authorized invigilators only.
P4-Q50Medium
Why must Chapter 4 include algorithm pseudocode?
Model Answer [4 Marks]: To formally specify algorithmic logic in a language-agnostic format for peer verification.
P4-Q51Medium
How does an Activity Diagram show parallel processing execution?
Model Answer [3 Marks]: Using synchronization fork and join bars.
P4-Q52Medium
Why is data falsification harder to catch than plagiarism?
Model Answer [4 Marks]: Because automated tools (Turnitin) flag text matching, whereas detecting falsified logs requires raw data audits.
P4-Q53Medium
State the purpose of Chapter Three (Methodology) in a 20-mark essay question.
Model Answer [4 Marks]: Justifying the research design, sampling methods, data collection tools, and ethical frameworks.
P4-Q54Medium
What is the function of `printk()` during openEuler char driver debugging?
Model Answer [3 Marks]: Logging kernel-space diagnostic messages to `dmesg` buffer.
P4-Q55Medium
Scenario: Designing an ERD for biometric exam auth. List two required entities.
Explain the role of Chapter Two in setting up Chapter Five conclusions.
Model Answer [4 Marks]: Chapter 5 results are compared directly against the literature baselines documented in Chapter 2.
P4-Q57Medium
What is the function of `unregister_chrdev_region()` in Linux kernel drivers?
Model Answer [3 Marks]: Releasing major/minor device numbers back to kernel memory upon driver module cleanup.
P4-Q58Medium
Why must a research proposal include a realistic project timeline (Gantt Chart)?
Model Answer [3 Marks]: To prove project feasibility within the academic semester timeframe.
P4-Q59Medium
How does 3-Tier Architecture enhance security in biometric data handling?
Model Answer [4 Marks]: Data Layer (Tier 3) is isolated behind Tier 2 APIs, preventing direct unauthorized hardware access to database files.
P4-Q60Medium
What is the danger of paraphrasing using automated AI tools without human editing?
Model Answer [4 Marks]: Alters technical accuracy, introduces awkward phrasing, and fails Turnitin AI-detection checks.
Part 3: Hard / Defense & Synthesis Questions (Questions 61 - 80)
P4-Q61Hard
DEC 2024 EXAM Q1 ESSAY DRILL: Provide a full 20-mark outline for Chapters 1 through 5 of a CS Final Year Project Report. [20 Marks]
NUST Model Answer [20 Marks Breakdown]: 1. Ch 1: Introduction [4M]: Background, Problem Statement, Aim, Objectives (3-4), RQs/Hypotheses, Significance, Report Structure. 2. Ch 2: Literature Review [4M]: SLR methodology, PRISMA flow diagram, State-of-the-art baselines, Knowledge gaps, Theoretical framework. 3. Ch 3: Methodology [4M]: Research paradigm (Positivism/Pragmatism), Applied Research design, Software Dev methodology (Iterative Prototyping), Sampling, Data instruments, Ethics. 4. Ch 4: Analysis & Design [4M]: Functional/Non-functional requirements, Context Diagram, Use Case Diagrams, Activity Diagrams, 3-Tier Architecture, ERD Schema. 5. Ch 5: Implementation & Testing [4M]: Code environment, Driver integration, Empirical benchmarking, Statistical validation (t-test/ANOVA), Conclusions & Future work.
P4-Q62Hard
DEC 2024 EXAM Q3 ESSAY DRILL: Report on the openEuler OS character driver experiment performed in class. [20 Marks]
NUST Model Answer [20 Marks Breakdown]: 1. Abstract & Background [4M]: Kernel module execution in openEuler, character vs block devices. 2. Setup & Controls [5M]: QEMU ARM64 setup, openEuler kernel 5.10, memory isolation, gcc compilation flags. 3. Driver Architecture & Methods [5M]: `alloc_chrdev_region()`, `cdev_init()`, `file_operations` struct (`read`, `write`, `ioctl`), `copy_to_user()` memory safety. 4. Empirical Results & Discussion [6M]: Benchmarking throughput (MB/s) and latency ($\mu s$) across payload sizes (64B-64KB) with line graphs and statistical confidence analysis.
P4-Q63Hard
DEC 2024 EXAM Q6 DRILL: Outline a 3-page research proposal on a Biometric Exam Authentication System. [20 Marks]
Model Answer [20 Marks]: 1. Title & Intro [3M], 2. Background [3M], 3. Problem Statement & Aim [3M], 4. Objectives & SLR/PRISMA [4M], 5. Methodology & System Design (Context/Use Case/3-Tier) [4M], 6. Assumptions & Harvard References <5 yrs [3M].
P4-Q64Hard
Synthesize how Chapter 4 System Design directly implements Chapter 3 Software Methodology.
Model Answer [5 Marks]: Chapter 3 specifies the software methodology rules (e.g. Iterative Prototyping), while Chapter 4 details the exact architectural blueprints (Use Cases, ERD, 3-Tier) built during those sprint iterations.
P4-Q65Hard
Critique a proposal that lacks explicit Research Assumptions.
Model Answer [4 Marks]: Flawed proposal: Unstated assumptions leave room for hidden scope failure (e.g. assuming pre-existing student NFC cards).
P4-Q66Hard
Explain how `copy_to_user()` failures threaten experimental kernel stability.
Model Answer [5 Marks]: Unchecked memory pointer copying causes invalid kernel memory dereferences, triggering kernel panics and corrupting test log reliability.
P4-Q67Hard
Defend the separation of Functional Requirements from System Architecture in Chapter 4.
Model Answer [5 Marks]: Functional requirements define *what* the system must achieve; architecture defines *how* technical layers decouple components to fulfill those goals securely.
P4-Q68Hard
Synthesize the 5 Cardinal Sins into a unified Research Integrity checklist for Chapter 5.
Model Answer [5 Marks]: 1. No fabricated data, 2. No falsified/cherry-picked runs, 3. Turnitin-verified citations, 4. Verified non-hallucinated AI references, 5. IRB-cleared human data.
P4-Q69Hard
Why is an ERD mandatory for CS systems storing biometric attendance logs?
Model Answer [4 Marks]: Proves relational database normalization, eliminating data redundancy and ensuring atomic attendance audit logging.
P4-Q70Hard
Contrast Context Diagram (DFD Level 0) with DFD Level 1 in Chapter 4.
Model Answer [4 Marks]: Context Diagram shows whole system boundary as 1 process; DFD Level 1 explodes it into core sub-processes and data stores.
P4-Q71Hard
Evaluate the risk of using un-encrypted SQLite databases for biometric minutiae hashes.
Model Answer [5 Marks]: Violates ethical data privacy standards; unencrypted minutiae hashes risk extraction and identity impersonation breaches.
P4-Q72Hard
Explain how Activity Diagrams model exception handling during biometric matching timeouts.
Model Answer [4 Marks]: Using decision nodes leading to fallback error branches (e.g. routing to invigilator manual desk after 3 failed scans).
P4-Q73Hard
Why does Chapter 5 require both empirical throughput tables and visual line graphs?
Model Answer [4 Marks]: Tables provide exact numeric values for replication; line graphs visually illustrate performance scaling trends across payload sizes.
P4-Q74Hard
Critique a proposal title: "A Project on Making Exams Better."
Model Answer [4 Marks]: Flawed title: Vague, unscientific, and lacks technical specificity. Corrected: "A Dual-Factor Biometric Examination Identity Authentication System for Higher Education."
P4-Q75Hard
Explain how Overleaf LaTeX BibTeX entries prevent citation formatting errors.
Model Answer [4 Marks]: BibTeX automatically formats in-text citations and reference lists into strict Harvard/IEEE rules directly from raw DOI metadata.
P4-Q76Hard
Synthesize how openEuler character driver logging fulfills Chapter 5 empirical testing requirements.
Model Answer [5 Marks]: Kernel log timestamps recorded via `dmesg` provide verifiable raw data for computing driver throughput and context switch overhead.
P4-Q77Hard
Differentiate between Use Case `«include»` and `«extend»` in Chapter 4 diagrams.
Model Answer [4 Marks]: `«include»`: Mandatory sub-use case executed every time. `«extend»`: Optional sub-use case executed only under specific conditional triggers.
P4-Q78Hard
Why must Chapter 1 state explicit Research Questions/Hypotheses before Chapter 4 design?
Model Answer [4 Marks]: To ensure Chapter 4 system design artifacts are engineered specifically to test and answer those initial research questions.
P4-Q79Hard
Evaluate the ethical risk of storing raw fingerprint images vs minutiae hashes.
Model Answer [5 Marks]: Storing raw images is a major privacy violation (reconstructible fingerprint data); storing encrypted minutiae hashes protects biometric privacy.
P4-Q80Hard
Explain how a 3-page research proposal proves project viability to NUST examiners.
Model Answer [4 Marks]: By succinctly demonstrating a clear problem gap, rigorous methodology, feasible system design, and adherence to ethics rules.
TRICK: Is it permissible to skip Chapter Four (Analysis and Design) if your project uses an Agile software dev methodology?
NUST Model Answer [5 Marks]: ABSOLUTELY NOT! Examiner Trap: Regardless of software development methodology (Agile, Waterfall, Prototyping), NUST CS final year reports explicitly mandate Chapter 4 (Analysis & Design) to detail Context Diagrams, Use Cases, ERD, and 3-Tier Architecture blueprints.
P4-Q82EXAMINER TRICK
TRICK: Does copying open-source Linux kernel driver code into your Chapter 5 report constitute plagiarism if un-cited?
Model Answer [5 Marks]: YES! Code plagiarism is equal to text plagiarism. All external open-source driver routines must be explicitly cited in comments and text references.
P4-Q83EXAMINER TRICK
TRICK: Can a Use Case Diagram contain data flow arrows between actors?
Model Answer [4 Marks]: NO! Examiner Flaw: Use Case Diagrams model interactions between actors and use cases inside the system boundary. Data flows belong in DFDs.
P4-Q84EXAMINER TRICK
TRICK: If Turnitin similarity is 12%, is the paper automatically free of plagiarism?
Model Answer [5 Marks]: NO! Even with 12% overall similarity, if a single paragraph or code block is copied verbatim without citation, it constitutes plagiarism.
P4-Q85EXAMINER TRICK
TRICK: Can an openEuler character driver be tested directly in user-space without kernel compilation?
Model Answer [4 Marks]: NO! Char drivers execute in kernel space (Ring 0) and must be compiled as kernel modules (`.ko`) and loaded via `insmod`.
P4-Q86EXAMINER TRICK
TRICK: Is IRB ethical clearance required if you only survey 5 fellow CS student friends?
Model Answer [4 Marks]: YES! Any research collecting data from human participants (regardless of sample size or friendship) requires formal ethical clearance.
P4-Q87EXAMINER TRICK
TRICK: What is wrong with placing raw execution logs of 10,000 runs directly inside Chapter 5 body text?
Model Answer [4 Marks]: Clutters the report body. Chapter 5 should present summary tables/graphs; raw 10,000-line logs belong in the Appendix.
P4-Q88EXAMINER TRICK
TRICK: Can an ERD primary key (PK) contain NULL values?
Model Answer [4 Marks]: NO! Relational database rules strictly mandate that Primary Keys must be non-null unique identifiers.
P4-Q89EXAMINER TRICK
TRICK: Is using ChatGPT to generate synthetic benchmark data acceptable if declared?
Model Answer [5 Marks]: NO! Generating fake performance benchmark data via AI constitutes Data Fabrication and voids empirical validity.
P4-Q90EXAMINER TRICK
TRICK: What is the single biggest trap in writing Chapter Five (Implementation and Testing)?
Model Answer [5 Marks]: Presenting only screenshots of software user interfaces without providing empirical benchmark tables, statistical tests, or error rate analyses.