Full-adder gate
About points...
We associate a certain number of points with each exercise.
When you click an exercise into a collection, this number will be taken as points for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit the number of points for the exercise in the collection independently, without any effect on "points by default" as represented by the number here.
That being said... How many "default points" should you associate with an exercise upon creation?
As with difficulty, there is no straight forward and generally accepted way.
But as a guideline, we tend to give as many points by default as there are mathematical steps to do in the exercise.
Again, very vague... But the number should kind of represent the "work" required.
When you click an exercise into a collection, this number will be taken as points for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit the number of points for the exercise in the collection independently, without any effect on "points by default" as represented by the number here.
That being said... How many "default points" should you associate with an exercise upon creation?
As with difficulty, there is no straight forward and generally accepted way.
But as a guideline, we tend to give as many points by default as there are mathematical steps to do in the exercise.
Again, very vague... But the number should kind of represent the "work" required.
About difficulty...
We associate a certain difficulty with each exercise.
When you click an exercise into a collection, this number will be taken as difficulty for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit its difficulty in the collection independently, without any effect on the "difficulty by default" here.
Why we use chess pieces? Well... we like chess, we like playing around with \(\LaTeX\)-fonts, we wanted symbols that need less space than six stars in a table-column... But in your layouts, you are of course free to indicate the difficulty of the exercise the way you want.
That being said... How "difficult" is an exercise? It depends on many factors, like what was being taught etc.
In physics exercises, we try to follow this pattern:
Level 1 - One formula (one you would find in a reference book) is enough to solve the exercise. Example exercise
Level 2 - Two formulas are needed, it's possible to compute an "in-between" solution, i.e. no algebraic equation needed. Example exercise
Level 3 - "Chain-computations" like on level 2, but 3+ calculations. Still, no equations, i.e. you are not forced to solve it in an algebraic manner. Example exercise
Level 4 - Exercise needs to be solved by algebraic equations, not possible to calculate numerical "in-between" results. Example exercise
Level 5 -
Level 6 -
When you click an exercise into a collection, this number will be taken as difficulty for the exercise, kind of "by default".
But once the exercise is on the collection, you can edit its difficulty in the collection independently, without any effect on the "difficulty by default" here.
Why we use chess pieces? Well... we like chess, we like playing around with \(\LaTeX\)-fonts, we wanted symbols that need less space than six stars in a table-column... But in your layouts, you are of course free to indicate the difficulty of the exercise the way you want.
That being said... How "difficult" is an exercise? It depends on many factors, like what was being taught etc.
In physics exercises, we try to follow this pattern:
Level 1 - One formula (one you would find in a reference book) is enough to solve the exercise. Example exercise
Level 2 - Two formulas are needed, it's possible to compute an "in-between" solution, i.e. no algebraic equation needed. Example exercise
Level 3 - "Chain-computations" like on level 2, but 3+ calculations. Still, no equations, i.e. you are not forced to solve it in an algebraic manner. Example exercise
Level 4 - Exercise needs to be solved by algebraic equations, not possible to calculate numerical "in-between" results. Example exercise
Level 5 -
Level 6 -
Question
Solution
Short
Video
\(\LaTeX\)
No explanation / solution video to this exercise has yet been created.
Visit our YouTube-Channel to see solutions to other exercises.
Don't forget to subscribe to our channel, like the videos and leave comments!
Visit our YouTube-Channel to see solutions to other exercises.
Don't forget to subscribe to our channel, like the videos and leave comments!
Exercise:
A half-adder takes three inputs A and B are two singlbit-numbers to add and a carry-in C_i. It has two outputs: A S which is the result of the addition and a carry-out C which is the carry-out bit for the next addition. The S is if an odd number of inputs among A B and C_i are . The carry is if at least two of the inputs are . Construct a full-adder using only textttXOR textttOR and textttAND gates. Draw the circuit diagram for your half-adder.
Solution:
center circuitikzscale. % First XOR gate for A XOR B draw nodexor port xor ; nodeanchoreast at xor.in A; nodeanchoreast at xor.in B; nodeanchorsouth at xor.out A oplus B; % Second XOR gate for A XOR B XOR Cin Sum draw nodexor port xor ; nodeanchorsouth at xor.in A oplus B; nodeanchoreast at xor.in Cin; nodeanchorwest at xor.out S Sum; % First AND gate for A AND B draw - nodeand port and ; nodeanchoreast at and.in A; nodeanchoreast at and.in B; nodeanchorwest at and.out ; % Second AND gate for A XOR B AND Cin draw - nodeand port and ; nodeanchorsouth at and.in A oplus B; nodeanchoreast at and.in Cin; nodeanchorwest at and.out ; % OR gate for Carry-out draw - nodeor port or ; nodeanchorwest at or.out Cout Carry-out; % Connections draw xor.out -- xor.in ; % Connect A XOR B to second XOR gate draw xor.out -- ++.; % Sum output draw and.out -- ++. |- or.in ; % Connect A AND B to OR draw and.out -- ++. |- or.in ; % Connect A XOR B AND Cin to OR circuitikz center array|c|c|c|c|c| hline A & B & textCin & textSum S & textCout Carry-out hline & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & hline array
A half-adder takes three inputs A and B are two singlbit-numbers to add and a carry-in C_i. It has two outputs: A S which is the result of the addition and a carry-out C which is the carry-out bit for the next addition. The S is if an odd number of inputs among A B and C_i are . The carry is if at least two of the inputs are . Construct a full-adder using only textttXOR textttOR and textttAND gates. Draw the circuit diagram for your half-adder.
Solution:
center circuitikzscale. % First XOR gate for A XOR B draw nodexor port xor ; nodeanchoreast at xor.in A; nodeanchoreast at xor.in B; nodeanchorsouth at xor.out A oplus B; % Second XOR gate for A XOR B XOR Cin Sum draw nodexor port xor ; nodeanchorsouth at xor.in A oplus B; nodeanchoreast at xor.in Cin; nodeanchorwest at xor.out S Sum; % First AND gate for A AND B draw - nodeand port and ; nodeanchoreast at and.in A; nodeanchoreast at and.in B; nodeanchorwest at and.out ; % Second AND gate for A XOR B AND Cin draw - nodeand port and ; nodeanchorsouth at and.in A oplus B; nodeanchoreast at and.in Cin; nodeanchorwest at and.out ; % OR gate for Carry-out draw - nodeor port or ; nodeanchorwest at or.out Cout Carry-out; % Connections draw xor.out -- xor.in ; % Connect A XOR B to second XOR gate draw xor.out -- ++.; % Sum output draw and.out -- ++. |- or.in ; % Connect A AND B to OR draw and.out -- ++. |- or.in ; % Connect A XOR B AND Cin to OR circuitikz center array|c|c|c|c|c| hline A & B & textCin & textSum S & textCout Carry-out hline & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & hline array
Meta Information
Exercise:
A half-adder takes three inputs A and B are two singlbit-numbers to add and a carry-in C_i. It has two outputs: A S which is the result of the addition and a carry-out C which is the carry-out bit for the next addition. The S is if an odd number of inputs among A B and C_i are . The carry is if at least two of the inputs are . Construct a full-adder using only textttXOR textttOR and textttAND gates. Draw the circuit diagram for your half-adder.
Solution:
center circuitikzscale. % First XOR gate for A XOR B draw nodexor port xor ; nodeanchoreast at xor.in A; nodeanchoreast at xor.in B; nodeanchorsouth at xor.out A oplus B; % Second XOR gate for A XOR B XOR Cin Sum draw nodexor port xor ; nodeanchorsouth at xor.in A oplus B; nodeanchoreast at xor.in Cin; nodeanchorwest at xor.out S Sum; % First AND gate for A AND B draw - nodeand port and ; nodeanchoreast at and.in A; nodeanchoreast at and.in B; nodeanchorwest at and.out ; % Second AND gate for A XOR B AND Cin draw - nodeand port and ; nodeanchorsouth at and.in A oplus B; nodeanchoreast at and.in Cin; nodeanchorwest at and.out ; % OR gate for Carry-out draw - nodeor port or ; nodeanchorwest at or.out Cout Carry-out; % Connections draw xor.out -- xor.in ; % Connect A XOR B to second XOR gate draw xor.out -- ++.; % Sum output draw and.out -- ++. |- or.in ; % Connect A AND B to OR draw and.out -- ++. |- or.in ; % Connect A XOR B AND Cin to OR circuitikz center array|c|c|c|c|c| hline A & B & textCin & textSum S & textCout Carry-out hline & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & hline array
A half-adder takes three inputs A and B are two singlbit-numbers to add and a carry-in C_i. It has two outputs: A S which is the result of the addition and a carry-out C which is the carry-out bit for the next addition. The S is if an odd number of inputs among A B and C_i are . The carry is if at least two of the inputs are . Construct a full-adder using only textttXOR textttOR and textttAND gates. Draw the circuit diagram for your half-adder.
Solution:
center circuitikzscale. % First XOR gate for A XOR B draw nodexor port xor ; nodeanchoreast at xor.in A; nodeanchoreast at xor.in B; nodeanchorsouth at xor.out A oplus B; % Second XOR gate for A XOR B XOR Cin Sum draw nodexor port xor ; nodeanchorsouth at xor.in A oplus B; nodeanchoreast at xor.in Cin; nodeanchorwest at xor.out S Sum; % First AND gate for A AND B draw - nodeand port and ; nodeanchoreast at and.in A; nodeanchoreast at and.in B; nodeanchorwest at and.out ; % Second AND gate for A XOR B AND Cin draw - nodeand port and ; nodeanchorsouth at and.in A oplus B; nodeanchoreast at and.in Cin; nodeanchorwest at and.out ; % OR gate for Carry-out draw - nodeor port or ; nodeanchorwest at or.out Cout Carry-out; % Connections draw xor.out -- xor.in ; % Connect A XOR B to second XOR gate draw xor.out -- ++.; % Sum output draw and.out -- ++. |- or.in ; % Connect A AND B to OR draw and.out -- ++. |- or.in ; % Connect A XOR B AND Cin to OR circuitikz center array|c|c|c|c|c| hline A & B & textCin & textSum S & textCout Carry-out hline & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & & hline array
Contained in these collections:
-
Digitalelektronik 1 by uz