CS627 Mids Subjective Solved Fall 24-25 Compiled By MS-Team.pdf
Verified academic study resource for CS627 (Computer Vision & Pattern Recognition) under the Computer Science at Virtual University of Pakistan. This PDF document (Midterm Solved Past Paper & Revision File) covers Mid-Term Exam Scope (Lectures 1 to 22) spanning approximately 240 pages across 4 curriculum modules, and is indexed for student examination review with instant in-browser preview and 100% free direct download.
- Course
- CS627 – Computer Vision & Pattern Recognition
- Faculty
- Computer Science
- Format
- Type
- MCQ Bank
- Coverage
- Mid-Term Exam Scope (Lectures 1 to 22)
- Tags
- SUBJECTIVE, SOLVED, MIDTERM
Focus on core definitions and repeated MCQs from Lectures 1–22. Remember that scoring in the First Half builds your safety buffer toward the mandatory 20% Two-Half passing rule in CS627.
What this file covers — CS627 syllabus roadmap
- Core Architecture, Syntax & Primitive Data Structures — Lectures 1 to 6 (Pages 1 to 65). 15% Objective Marks (8–10 MCQs)
- Conditional Branching, Loops & Logical Control Flow — Lectures 7 to 12 (Pages 66 to 140). 18% Exam Marks (MCQs + 2-Mark Short Questions)
- Memory Management, Pointers, Arrays & Functions — Lectures 13 to 18 (Pages 141 to 215). 22% Exam Marks (High Yield for Midterms)
- Midterm Consolidation, Strings & Algorithm Synthesis — Lectures 19 to 22 (Pages 216 to 280). Midterm Exam Culmination (Lectures 1–22 Scope)
Frequently asked questions
Where can I download CS627 Mids Subjective Solved Fall 24-25 Compiled By MS-Team.pdf for free?
You can preview and download "CS627 Mids Subjective Solved Fall 24-25 Compiled By MS-Team.pdf" (CS627 PDF, ~240 pages) directly from the MIHORA VU Study Library (https://study.mihora.tech/doc/cs627-mids-subjective-solved-fall-24-25-compiled-by-ms-team-pdf) with 100% free high-speed downloads and zero registration requirements.
What syllabus chapters and lectures are covered in this CS627 file?
This document covers Mid-Term Exam Scope (Lectures 1 to 22) across 4 distinct lecture units (Lectures 1 to 6, Lectures 7 to 12, Lectures 13 to 18, Lectures 19 to 22), featuring comprehensive definitions, solved objective questions, and examiner marking rubrics.
What is the passing criteria for CS627 under the VU 20% Two-Half Rule?
Under official Virtual University regulations, students must score at least 20% in the First Half (Quizzes, Assignments, GDBs, and Midterm combined) AND independently at least 20% in the Final-Term examination paper. Scoring under 20% in the final exam results in an automatic F grade regardless of earlier marks.
Are CS627 solved past papers and handouts verified for 2026 exams?
Yes. All CS627 materials on MIHORA VU—including Moaaz, Waqar Siddhu, and team archives—are reviewed against the current VU syllabus to help students prepare for 2026 Midterm, Final-Term, and online quiz examinations.
Inside this file
By Maha Rana
Short Questions:
1. What are the two modes of Symmetric Encryption?
o Stream Cipher: Encrypts plaintext bit by bit.
o Block Cipher: Encrypts plaintext block by block.
2. Write down the CFE string for Microsoft Windows 2007?
By Maha Rana
The CFE string (Common Platform Enumeration - CPE Formatted Entry)
for Microsoft Windows 2007 (likely referring to Windows 7) follows the
standard CPE format used in cybersecurity tools like Qualys, Nessus, and
NIST's NVD (National Vulnerability Database).
cpe:/o:microsoft:windows_7
Breaking Down the CFE String:
cpe:/o → Represents an operating system
microsoft → Vendor name
windows_7 → Product name
Example for Specific Editions:
Windows 7 Professional:
cpe:/o:microsoft:windows_7:professional
Windows 7 Ultimate:
cpe:/o:microsoft:windows_7:ultimate
3. What are the two types of IDS (Intrusion Detection Systems)?
o Network-based IDS (NIDS): Monitors network traffic for suspicious
activities.
o Host-based IDS (HIDS): Monitors activity on individual devices
(hosts).
By Maha Rana
Long Questions:
1. What are the challenges and vulnerability exploits? Write the names of
two password vulnerabilities and how they can be exploited?
o Challenges in Cybersecurity:
Increasing complexity of systems.
Advanced persistent threats (APT).
Insider threats.
Lack of user awareness.
o Two Password Vulnerabilities & How They Are Exploited:
1. Brute Force Attack: Attackers try all possible password combinations until
they find the correct one.
2. Rainbow Table Attack: Attackers use precomputed hash values of common
passwords to match against stolen password hashes.
By Maha Rana
In the context of RSA, given that n = 143, e = 7, d = 103, how to encrypt when
M = 30?
What are the two methods to save a password?
Plain Text Storage (not recommended as it is insecure).
Hashing with Salt (recommended to prevent attacks like Rainbow Table Attack).
Short Questions:
1. Malware Examples
o Virus
o Worm
o Trojan Horse
o Ransomware
o Spyware
2. AAA Authentication
o AAA (Authentication, Authorization, and Accounting) is a
framework for controlling access to systems and resources.
Authentication: Verifies user identity.
Authorization: Grants permissions based on identity.
By Maha Rana
Accounting: Tracks user activity for auditing.
3. Difference Between Symmetric and Asymmetric Encryption
o Symmetric Encryption: Uses the same key for encryption and
decryption (e.g., AES, DES).
o Asymmetric Encryption: Uses a public key for encryption and a
private key for decryption (e.g., RSA, Diffie-Hellman).
Long Questions:
1. Types of Unique IDs
o Username/Password
o Biometric IDs (Fingerprint, Retina, Face Recognition)
o Smart Cards & Tokens
o One-Time Passwords (OTP)
o RFID & NFC-based IDs
2. Diffie-Hellman Secret Key Calculation
Given:
o Prime number PPP
o Generator GGG
o Private keys aaa and bbb
Steps:
By Maha Rana
Short Questions:
1. Two Password Storage Methods:
o Plaintext Storage: Storing passwords as they are (Not secure).
o Hashed Storage with Salt: Storing password hashes with added
randomness (Recommended).
2. What is Vulnerability in Cybersecurity?
o A vulnerability is a weakness in a system, software, or network that
can be exploited by attackers to gain unauthorized access or cause
damage.
3. Difference Between Asymmetric and Symmetric Encryption:
By Maha Rana
Long Questions:
1. Access Control Policies:
o Mandatory Access Control (MAC):
Access is determined by system-defined policies based on
security labels and clearance levels.
Used in military and government systems.
o Discretionary Access Control (DAC):
Access is determined by the owner of the resource.
Common in personal and small business systems.
o Role-Based Access Control (RBAC):
Access is assigned based on organizational roles (e.g., Admin,
User, Guest).
Used in corporate environments.
o Attribute-Based Access Control (ABAC):
Access is based on attributes (e.g., time, location, user
behavior).
Common in cloud-based environments.
By Maha Rana
2. Identify IDS (Intrusion Detection System) Types:
o Network-based IDS (NIDS): Monitors network traffic for suspicious
activities.
o Host-based IDS (HIDS): Monitors individual devices (hosts) for
unusual behavior.
3. Block Cipher - 5 Points or Attacks:
o Block Ciphers: Encrypt data in fixed-size blocks (e.g., 128-bit).
o Common Block Cipher Algorithms: AES, DES, 3DES.
o Modes of Operation: ECB, CBC, CFB, OFB, CTR.
o Key Size: Larger key sizes provide better security.
o Attacks on Block Ciphers:
Brute Force Attack: Trying all possible keys.
Cryptanalysis Attacks: Exploiting mathematical weaknesses
in the cipher.
Side-Channel Attacks: Observing physical characteristics like
power consumption.
Short Questions:
1. What is Public Key in Cryptography?
o A public key is part of an asymmetric encryption system used to
encrypt messages. It is shared publicly, while the correspondingMore CS627 files
- CS627 Finals Subjective Solved by MS-Team-1.pdf (PDF · Final-Term)