VU Midterm Past Papers
CS302 — Digital Logic Design — Midterm Past Papers & Solved MCQs
18 solved midterm past paper MCQs for CS302 (Digital Logic Design) at Virtual University, each with the correct answer marked. Use them to learn the VU question style and test your recall. An independent study tool — not affiliated with VU.
Prefer a summary first? Read the CS302 midterm handout.
Q1. The Extended ASCII Code (American Standard Code for Information Interchange) is a _____ code
- A.2-bit
- B.7-bit
- C.8-bit✓ Correct
- D.16-bit
Q2. The AND Gate performs a logical __________function
- A.Addition
- B.Subtraction
- C.Multiplication✓ Correct
- D.Division
Q3. NOR gate is formed by connecting _________
- A.OR Gate and then NOT Gate✓ Correct
- B.NOT Gate and then OR Gate
- C.AND Gate and then OR Gate
- D.OR Gate and then AND Gate
Q4. Generally, the Power dissipation of _______ devices remains constant throughout their operation.
- A.TTL
- B.CMOS 3.5 series✓ Correct
- C.CMOS 5 Series
- D.Power dissipation of all circuits increases with time.
Q5. When the control line in tri-state buffer is high the buffer operates like a ________ gate
- A.AND
- B.OR
- C.NOT✓ Correct
- D.XOR
Q6. The GAL22V10 has ____ inputs
- A.22✓ Correct
- B.10
- C.44
- D.20
Q7. The ABEL symbol for “OR” operation is
Q8. The OLMC of the GAL16V8 is _______ to the OLMC of the GAL22V10
- A.Similar
- B.Different
- C.Similar with some enhancements✓ Correct
- D.Depends on the type of PALs input size
Q9. All the ABEL equations must end with ________
- A.“ . “ (a dot)
- B.“ $ “ (a dollar symbol)
- C.“ ; “ (a semicolon)✓ Correct
- D.“ endl “ (keyword “endl”)
Q10. The Quad Multiplexer has _____ outputs
Q11. "Sum-of-Weights" method is used __________
- A.to convert from one number system to other✓ Correct
- B.to encode data
- C.to decode data
- D.to convert from serial to parralel data
Q12. )CA)(CBA)(BA(++++ is an example of ______________
- A.Product of sum form✓ Correct
- B.Sum of product form
- C.Demorgans law
- D.Associative law
Q13. Which one is true:
- A.Power consumption of TTL is higher than of CMOS✓ Correct
- B.Power consumption of CMOS is higher than of TTL
- C.Both TTL and CMOS have same power consumption
- D.Power consumption of both CMOS and TTL depends on no. of gates in the circuit.
Q14. Which of the statements is true about destructor?
- A.Destructors are used to initialize data members
- B.Destructors return types are always void
- C.Destructors are called in reverse order of constructor called in a class hierarchy✓ Correct
- D.Destructors are used to display the data members of their respective class
Q15. Identify the type of variable that is part of a class, yet is not part of an object of that class.
- A.instance
- B.static✓ Correct
- C.global
- D.local
Q16. Which of the following operators can not be overloaded?
- A.++
- B.new
- C.sizeof✓ Correct
- D.=
Q17. Target function for a call is selected at compile time in case of
- A.Static binding✓ Correct
- B.Polymorphism
- C.Encapsulation
- D.Dynamic binding
Q18. Suppose it is required to implement a single functionality with different data type, which of the following techniques should be used
- A.Inheritance
- B.Friend function
- C.Templates✓ Correct
- D.Encapsulation