Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8498579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:26:31+00:00 2026-06-11T00:26:31+00:00

For a small digital system, I am given the requirement that The doors should

  • 0

For a small digital system, I am given the requirement that “The doors should not lock (a = doors lock) when the driver has got out of the car (b = driver in car) but the keys are still inside (c = keys inside) the engine, even though the driver has closed the door lock lever. (d = lock lever closed). NOTE: if the driver is in the car (b) and requests the door to be locked (d), then the doors must lock (a) “.

I thought this could be taken in 2 parts (where the overall expression is the 1. first set of requirements and 2. the “NOTE” part, so 1 + 2?)

For the first part, I thought the boolean expression would look like this:

a' = b' AND c AND d. 
a' = b'cd.

Then I tried taking the complement of both sides:
(a’)’ = (b’cd)’

…and using DeMorgan’s law…
a = (b’c)’ + d’
…and then using DeMorgan’s law again…
a = b + c’ + d’.

But wouldn’t this mean that “The doors should lock when the driver is in the car OR the keys are not in the car OR the door lock lever is not engaged.” This doesn’t make sense at all.

In the second part (NOTE:), I got a = bd. So, is the overall expression supposed to be an addition of this with the incorrect-sounding part from before? Then I’d have: a = b + c’ + d’ + bd. By a tricky distributive property given in class, I think I can simplify the c’ + bd component into (c’ + b)(c’ + d). So then I’d have a = (c’ + b)(c’ + d) + b + d’.

This is getting confusing; can I simplify if even more? (well, actually, it’s probably not correct in the first place!) Where did I go wrong, and where do I stop?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T00:26:32+00:00Added an answer on June 11, 2026 at 12:26 am

    I think you have a problem with your initial assumptions and then everything falls apart after that. What you have is an incomplete truth table:

    a  b  c  d
    ?  0  0  0
    ?  0  0  1
    ?  0  1  0
    0  0  1  1  <<< - this is the only data you have
    ?  1  0  0
    ?  1  0  1
    ?  1  1  0
    ?  1  1  1
    

    Actually, if you read the problem statement carefully, it looks like d is really a “don’t care” (since it says “even if …”), so you may actually have two entries in your truth table:

    a  b  c  d
    ?  0  0  0
    ?  0  0  1
    0  0  1  0
    0  0  1  1
    ?  1  0  0
    ?  1  0  1
    ?  1  1  0
    ?  1  1  1
    

    A further possible problem is with your interpretation of a. a doesn’t mean “the doors should lock”, it means the “the doors can be locked”, since you are specifying a case where it should not be possible to lock the doors.

    If we assume then that a is TRUE for all the unknown cases above (i.e. the doors can be locked in all other cases) then we have:

    a  b  c  d
    1  0  0  0
    1  0  0  1
    0  0  1  0
    0  0  1  1
    1  1  0  0
    1  1  0  1
    1  1  1  0
    1  1  1  1
    

    which can be expressed as:

    a = (b' AND c') OR b
    

    i.e. the doors can only ever be locked if either: (i) the driver is outside the car and the keys are not inside or (ii) the driver is inside the car.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A digital computer is a discrete system. So, does it follow that a continuous
Small problem here with an MVC app that I'm not sure how to figure
Im building a small digital signage system to run on internal machines. I would
have small problem, and would very much appreciate help :) I should convert byte
My small Web API project (hosted via SelfHostHttpServer ) has a few dependencies I
We've been working on a digital drawing system using XNA for display and using
I'm writing a small program which is to be used as a digital distribution
I'm re-designing an app I inherited that sends digital photos from a laptop to
I'm building a web site (asp.net) for a company that manufactures small customizable anodized
This question has been done to death, and I would agree that enums are

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.