CS Easy HW Assignments | Online Homework Help
IP/DNS/SSH and Flip Flop Circuits
Assignment worksheet:
- Explain how NAT works to increase the number of devices on the Internet.
- Is there a local IPv6 address? If so, what is it?
- Is there an IPv4 address? If so, what is it?
- Who assigns and manages the IP addresses?
- What is the subnet mask assigned to your machine?
- What is the default gateway of your machine?
- What is the IP address of ATU? What is ATU’s URL?
________________________________________________________________
WAIT! Must review the Flip Flop Gates BEFORE completing next section!
- Today we will be creating basic circuits for storage and computation used in computers. Both of these circuits can be found inside of the CPU (processor) of a modern computer. The flip-flops in part 1 would be found in the registers (the storage of the processor); the addition circuits in parts 2 and 3 would be found within the ALU (Arithmetic Logic Unit) of the CPU. We will be using the free demo tool found at the website: http://logic.ly/demo/
**You must have each part below checked by the instructor before you leave.
Part 1
On the Logic-ly demo, choose a toggle switch and drag it to the large screen. Turn it on (becomes blue in the background), then turn it back off (Turns white in the background) Remember “On = 1” and “Off = 0) Now drag another toggle switch, then complete the next paragraph’s instructions. Attach your switches to the drawing
Create the following flip-flop circuit (use the toggle switches as inputs and a light bulb as an output—toggle “on” indicates a one, toggle “off” indicates a zero, a lit bulb indicates a one, and an unlit bulb equals zero). The circuit diagram for a flip-flop is as follows:
Create your flip-flop circuit and provide a screen snip from Logic-ly here:
What happens if you flip the topmost toggle switch on and then off?
How do you reset the flip-flop? (Answer in open space below.)
Note: A single flip-flop allows us only to store a 0 and 1. In order to store, the number 2 or 3 it would take two flip flop gates for (10 and 11), to store the numbers 4-7 it would take three flip flops (100, 101, 110, 111), etc. Thus, it takes a lot of flip-flop circuits to store something meaningful. (Remember binary number system!!)
Part 2:
Create the circuit for addition drawn below. The instructor must confirm you have correctly created the circuit BEFORE you complete Part 3.
|
||||
|
Compare the full and half adders. What are the differences? (Write answers below.)
*Hint, the half adder part of the circuit should look like this:
Use the circuit to add multiple numbers together and make sure the addition circuit works correctly.
Provide a Screen Snip of your circuit using Logic-ly here:
For example: Add 3 + 5
The light bulbs (Z1, Z2, Z3, and Z4) represent 20, 21, 22 and 23. What is the highest value this circuit can represent?
Provide Screenshot:
Part 3
Take the circuit in part 2 and make it capable of adding two four-bit numbers (hint: this can be done by connecting an extra full adder in the same pattern as in part 2).
Demonstrate this system works BEFORE YOU LEAVE!
MAKE SURE YOU TURN IN THE WORKSHEET BEFORE YOU LEAVE!