MH State Board All Notes Free5th to 12th & BA, BSc, B.Com 🔍

BSc Third Year (Sem 5 & 6) Computer Science – Daily Revision MCQ (English Medium)

📅 26 October 2026 · 10 questions · based on the Maharashtra university syllabus

This is the set for 26 October 2026. Solve today's MCQs →

Timed quiz: 15 seconds per question, the next one loads by itself when time runs out. Or solve without the timer: tap an option, right turns green, wrong turns red. New sets are added regularly.

  1. Which of the following is NOT one of the four necessary conditions for a deadlock?

    Chapter 1: Operating System Concepts

    Show answer

    Answer: B. Resources can be preempted from processes
    The four Coffman conditions are mutual exclusion, hold and wait, NO preemption and circular wait; allowing preemption actually breaks a deadlock.

  2. Processes P1, P2, P3 arrive at time 0 in that order with CPU burst times 24, 3 and 3 ms. Under FCFS scheduling, what is the average waiting time?

    Chapter 2: CPU Scheduling

    Show answer

    Answer: D. 17 ms
    Waiting times are P1 = 0, P2 = 24, P3 = 27; average = (0 + 24 + 27)/3 = 51/3 = 17 ms.

  3. Belady's anomaly (more page faults with more frames) can occur with which page replacement algorithm?

    Chapter 3: Memory Management

    Show answer

    Answer: A. FIFO
    FIFO is not a stack algorithm, so adding frames can increase page faults; LRU and Optimal never show Belady's anomaly.

  4. In the OSI model, which layer is responsible for routing packets between networks using logical (IP) addresses?

    Chapter 6: Computer Networks and the OSI Model

    Show answer

    Answer: C. Network layer
    The network layer (layer 3) handles logical addressing and routing; the data link layer uses MAC addresses within one link, and the transport layer gives end-to-end delivery.

  5. What is the Hamming distance between the code words 10110 and 11011?

    Chapter 7: Error Detection and Correction

    Show answer

    Answer: B. 3
    Compare bit by bit: 1-1, 0-1, 1-0, 1-1, 0-1 → they differ in positions 2, 3 and 5, so the distance is 3.

  6. How many usable host addresses are available in an IPv4 /26 subnet?

    Chapter 9: IP Addressing and Subnetting

    Show answer

    Answer: A. 62
    A /26 leaves 32 − 26 = 6 host bits: 2⁶ = 64 addresses, minus the network and broadcast addresses = 62 usable hosts.

  7. Which software process model, proposed by Barry Boehm, includes explicit risk analysis in every cycle?

    Chapter 10: Software Engineering and SDLC

    Show answer

    Answer: D. Spiral model
    The spiral model repeats planning, risk analysis, engineering and evaluation in loops; the waterfall model is purely sequential with no risk phase.

  8. What does the Python 3 statement print(7 // 2) display?

    Chapter 14: Python Programming Basics

    Show answer

    Answer: C. 3
    // is floor (integer) division: 7 ÷ 2 = 3.5, floored to 3; 7 / 2 would give 3.5 and 7 % 2 gives 1.

  9. In a deterministic finite automaton (DFA), for each state and each input symbol, the number of possible next states is:

    Chapter 17: Finite Automata and Regular Expressions

    Show answer

    Answer: A. Exactly one
    A DFA's transition function δ: Q × Σ → Q gives exactly one next state; an NFA may have zero, one or many.

  10. Which is the first phase of a compiler, which reads the source program and groups characters into tokens?

    Chapter 18: Phases of a Compiler

    Show answer

    Answer: D. Lexical analysis
    The lexical analyser (scanner) converts the character stream into tokens; the parser (syntax analysis) then checks their grammatical structure.

📘 Notes for this subject📝 All subjects MCQ

BSc Third Year (Sem 5 & 6): MCQ in other subjects

PhysicsChemistryMathematicsBotanyZoologyMicrobiologyEnglish (Compulsory)

All questions are written by PadhaiNotes in our own words from the common syllabus of Maharashtra universities (NEP). Your own university's syllabus may differ a little.