Computer Science

Computer Science has evolved from an elective discipline into the backbone of modern competitive examinations, including the Sindh Public Service Commission (SPSC), HEC-based assessments, and engineering entrance tests like ECAT. In an era of digital governance and rapid technological integration, the SPSC syllabus now demands more than surface-level knowledge; it requires a structural understanding of computational logic, database management, and network architecture. Proficiency in this subject is often the deciding factor that separates successful candidates from the rest, as it bridges the gap between theoretical aptitude and practical administrative competency. At Professional Academy (MM Online), we recognize that mastering Computer Science for competitive boards requires moving beyond rote memorization. Our curated quiz is designed to challenge your grasp of core concepts, ranging from data structures and algorithmic complexity to cybersecurity fundamentals and operating systems. This assessment is not merely a collection of questions; it is a diagnostic tool engineered to simulate the rigorous standards of high-stakes testing. To excel, candidates should prioritize conceptual clarity over isolated facts. Focus your preparation on the "how" and "why" behind software processes and network protocols. By engaging with these modules, you will refine your analytical speed and accuracy, ensuring you are equipped to handle both the technical breadth and the specific logical nuances typical of SPSC and professional entrance papers. Approach this quiz as a strategic audit of your current knowledge base to calibrate your final preparation phase effectively.

Practice questions

  1. In
    • graph, the shortest path from
    • source to all vertices can be found using:
    • DFS
    • BFS
  2. Prim’s algorithm is used to find:
    • Shortest path
    • Minimum spanning tree
    • Maximum flow
    • Connected components
  3. In
    • weighted graph, Kruskal’s algorithm selects edges:
    • Randomly
    • With minimum weight
    • With maximum weight
  4. In
    • stack implemented using array, overflow occurs when:
    • Stack is empty
    • Stack is full
    • Push operation fails
  5. Circular linked list is useful in:
    • Memory management
    • Round Robin scheduling
    • Binary search
    • Sorting
  6. In
    • CPU, cache memory is used to:
    • Store instructions temporarily for faster access
    • Store permanent data
    • Store disk data
  7. In database normalization, 3NF removes:
    • Partial dependency
    • Transitive dependency
    • Redundancy completely
    • None
  8. Deadlock can be detected using:
    • Wait-for graph
    • Semaphore
    • Paging
    • Scheduling only
  9. In networking, MAC address operates at:
    • Physical layer
    • Data link layer
    • Network layer
    • Transport layer
  10. IP address 192.168.1.0/24 belongs to which class?
    • Class
    • Class
    • Class
    • Class
  11. Which of the following is true about TCP protocol?
    • Connectionless
    • Reliable and connection-oriented
    • Unreliable
    • Uses broadcast only
  12. In software engineering, waterfall model is:
    • Iterative
    • Linear sequential
    • Agile
    • Prototype
  13. Agile methodology emphasizes:
    • Documentation over working software
    • Customer collaboration and iterative delivery
    • Strict sequential process
    • No testing
  14. In machine learning, supervised learning examples include:
    • Regression and classification
    • Clustering
    • PCA
    • GAN
  15. In unsupervised learning, data used is:
    • Labeled
    • Unlabeled
    • Random only
    • Pre-processed only
  16. In Python, generator function uses:
    • return
    • yield
    • print
    • next
  17. In OOP, multiple inheritance means:
    • Single parent
    • Multiple parents
    • Single child
    • Single class
  18. In operating systems, aging is used to:
    • Prevent starvation
    • Manage memory
    • Handle I/O
    • Schedule threads only
  19. RAID 5 uses:
    • Striping with parity
    • Mirroring only
    • Striping without parity
    • Single disk
  20. Firewall rules are applied at:
    • Network layer
    • Transport layer
    • Both Network and Transport layers
    • Physical layer
MM Academy Preparing your learning space…