Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please create both expressions out of the following circuits Expression 1: not F and not A and C and F Expression 2: not K and

image text in transcribed

Please create both expressions out of the following circuits

Expression 1: not F and not A and C and F

Expression 2: not K and J or I and not K

For this assignment you will demonstrate that you can design, implement, and test expressions that use logical operators. You will do so by determining the expressions that correspond to a pair of simple circuit schematics that were assigned specifically to your student number, and then developing a program that takes command-line arguments and uses them to create the Boolean inputs needed to evaluate your expression. In order to complete this task, you will need to: - find your assigned circuit schematics (sent to you via email) - know how to interpret the symbols on a circuit schematic 1 - learn how to translate command-line characters into Boolean inputs for a circuit 2 - evaluate your circuit (by hand) for several inputs (to design test cases for yourself) submission for this - must NOT import anything other that 'sys' (which is required for command-line arguments) - must have Boolean variables storing whether the required arguments hold zeros or ones 4 - must create two logical expressions that correspond precisely to the two assigned circuits - must NOT employ any branching structures (i.e., no IF-THEN or IF-ELSE statements) - must NOT attempt to "simplify" the schematics (e.g., do not simplify " x and x " into simply " x ") - must print out both comma-separated results inside "triangle brackets" (e.g., ) - can assume that the user will *always* enter 12 command-line arguments to be used as inputs 5

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spatial Databases A Tour

Authors: Shashi Shekhar, Sanjay Chawla

1st Edition

0130174807, 978-0130174802

Students also viewed these Databases questions