UUnizy

Imperial · ELEC70056 · Electrical and Electronic Engineering

ELEC70056 Hardware and Software Verification: exam practice questions, marked

Practise for ELEC70056 Hardware and Software Verification at Imperial College London with 49 quick-recall questions, 24 exam-style questions and 16 first-class stretch questions, written from the module’s published description. Write an answer and get it marked against Imperial’s grade bands in about 30 seconds, with the exact sentences that lost marks and three changes to reach the next class.

Try one free, no sign-up Create a free account

Example ELEC70056 question

(a) Determine whether ((p ⇒ q) ∧ (q ⇒ r)) ⇒ (p ⇒ r) is valid. Justify your answer without drawing the full truth table. [3] (b) Convert ¬(p ⇒ (q ∧ r)) into conjunctive normal form, showing each step. [3] (c) Classify (p ∨ q) ⇒ (p ∧ q) as valid, satisfiable but not valid, or unsatisfiable, giving witnesses. [2] (d) Explain how an SMT solver would be used to check the formula in part (a), and what output you would…

Topics covered

  1. Logic foundations for verification
  2. Hoare logic and weakest preconditions
  3. Loop invariants, variants and termination
  4. Specifying and verifying programs in Dafny
  5. Inductive datatypes and proof by induction
  6. Verifying combinational hardware
  7. SAT and SMT solving
  8. Model checking and temporal logic

Unizy is an independent revision tool and is not affiliated with or endorsed by Imperial College London. Marks are practice estimates, not official marks.