<< Chapter < Page Chapter >> Page >
Bit

One bit is a short way of saying one `binary digit'. It is a single 0 or 1.

Interesting fact

If you have eight bits, you can store a binary number from 00000000 to 11111111 (0 to 255 in denary). This gives you enough permutations of 0s and 1s to have one for each letter of the alphabet (in upper and lower case), each digit from 0 to 9, each punctuation mark and each control code used by a computer in storing a document. When you type text into a word processor, each character is stored as a set of eight bits. Each set of eight bits is called a byte . Computer memories are graded according to how many bytes they store. There are 1024 bytes in a kilobyte (kB), 1024 × 1024 bytes in a megabyte (MB), and 1024 × 1024 × 1024 bytes in a gigabyte (GB).

To store a bit we need a circuit which can `remember' a 0 or a 1. This is called a bistable circuit because it has two stable states. It can stay indefinitely either as a 0 or a 1. An example of a bistable circuit is shown in [link] . It is made from two NOR gates.

A bistable circuit made from two NOR gates. This circuit is able to store one bit of digital information. With the two inputs set to 0, you can see that the output could be (and will remain) either 0 or 1. The circuit on the top shows an output of 0, the circuit underneath shows an output of 1. Wires carrying high logic levels (1) are drawn thicker. The output of the bistable is labelled Q.

To store the 0 or the 1 in the bistable circuit, you set one of the inputs to 1, then put it back to 0 again. If the input labelled `S' (set) is raised, the output will immediately become 1. This is shown in [link] .

The output of a bistable circuit is set (made 1) by raising the `S' input to 1. Wires carrying high logic levels (1) are shown with thicker lines.

To store a 0, you raise the `R' (reset) input to 1. This is shown in [link] .

The output of a bistable circuit is reset (made 0) by raising the `R' input to 1. Wires carrying high logic levels (1) are shown with thicker lines.

Once you have used the S or R inputs to set or reset the bistable circuit, you then bring both inputs back to 0. The bistable `remembers' the state. Because of the ease with which the circuit can be Reset and Set it is also called an RS flip flop circuit.

Computer memory can store millions or billions of bits. If it used our circuit above, it would need millions or billions of NOR gates, each of which is made from several transistors. Computer memory is made of many millions of transistors.

Interesting fact

The bistable circuits drawn here don't remember 0s or 1s forever — they lose the information if the power is turned off. The same is true for the RAM (Random Access Memory) used to store working and temporary data in a computer. Some modern circuits contain special memory which can remember its state even if the power is turned off. This is used in FLASH drives, commonly found in USB data sticks and on the memory cards used with digital cameras. These bistable circuits are much more complex.

You can also make T flip flops out of logic gates, however these are more complicated to design.

Counting circuits

  1. What is the term bit short for?
  2. What is 43 in binary?
  3. What is 1100101 in denary?
  4. What is the highest number a modulo 64 counter can count to? How many T flip flops does it contain?
  5. What is the difference between an RS flip flop and a T flip flop?
  6. Draw a circuit diagram for a bistable circuit (RS flip flop). Make three extra copies of your diagram. On the first diagram, colour in the wires which will carry high voltage levels (digital 1) if the R input is low, and the S input is high. On the second diagram, colour in the wires which carry high voltage levels if the S input of the first circuit is now made low. On the third diagram, colour in the wires which carry high voltage levels if the R input is now made high. On the final diagram, colour in the wires carrying high voltage levels if the R input is now made low again.
  7. Justify the statement: a modern computer contains millions of transistors.

End of chapter exercises

  1. Calculate the reactance of a 3 mH inductor at a frequency of 50 Hz.
  2. Calculate the reactance of a 30 μ F capacitor at a frequency of 1 kHz.
  3. Calculate the impedance of a series circuit containing a 5 mH inductor, a 400 μ F capacitor and a 2 k Ω resistor at a frequency of 50 kHz.
  4. Calculate the frequency at which the impedance of the circuit in the previous question will be the smallest.
  5. Which component can be used to block low frequencies?
  6. Draw a circuit diagram with a battery, diode and resistor in series. Make sure that the diode is forward biased so that a current will flow through it.
  7. When building a complex electronic circuit which is going to be powered by a battery, it is always a good idea to put a diode in series with the battery. Explain how this will protect the circuit if the user puts the battery in the wrong way round.
  8. Summarize the differences betwen a bipolar and field effect transistor.
  9. What does an operational amplifier (op-amp) do?
  10. What is the difference between a digital signal and an analogue signal?
  11. What are the advantages of digital signals over analogue signals?
  12. Draw the symbols for the five logic gates, and write down their truth tables.
  13. Draw a circuit diagram with an AND gate. Each input should be connected to the output of a separate NOT gate. By writing truth tables show that this whole circuit behaves as a NOR gate.
  14. Convert the denary number 99 into binary.
  15. Convert the binary number 11100111 into denary.
  16. Explain how three T flip flops can be connected together to make a modulo 8 counter. What is the highest number it can count up to?
  17. Draw the circuit diagram for an RS flip flop (bistable) using two NOR gates.
  18. Show how the circuit you have just drawn can have a stable output of 0 or 1 when both inputs are 0.
  19. Operational (and other) amplifiers, logic gates, and flip flops all contain transistors, and would not work without them. Write a short newspaper article for an intelligent reader who knows nothing about electronics. Explain how important transistors are in modern society.

Questions & Answers

I'm interested in biological psychology and cognitive psychology
Tanya Reply
what does preconceived mean
sammie Reply
physiological Psychology
Nwosu Reply
How can I develope my cognitive domain
Amanyire Reply
why is communication effective
Dakolo Reply
Communication is effective because it allows individuals to share ideas, thoughts, and information with others.
effective communication can lead to improved outcomes in various settings, including personal relationships, business environments, and educational settings. By communicating effectively, individuals can negotiate effectively, solve problems collaboratively, and work towards common goals.
it starts up serve and return practice/assessments.it helps find voice talking therapy also assessments through relaxed conversation.
miss
Every time someone flushes a toilet in the apartment building, the person begins to jumb back automatically after hearing the flush, before the water temperature changes. Identify the types of learning, if it is classical conditioning identify the NS, UCS, CS and CR. If it is operant conditioning, identify the type of consequence positive reinforcement, negative reinforcement or punishment
Wekolamo Reply
please i need answer
Wekolamo
because it helps many people around the world to understand how to interact with other people and understand them well, for example at work (job).
Manix Reply
Agreed 👍 There are many parts of our brains and behaviors, we really need to get to know. Blessings for everyone and happy Sunday!
ARC
A child is a member of community not society elucidate ?
JESSY Reply
Isn't practices worldwide, be it psychology, be it science. isn't much just a false belief of control over something the mind cannot truly comprehend?
Simon Reply
compare and contrast skinner's perspective on personality development on freud
namakula Reply
Skinner skipped the whole unconscious phenomenon and rather emphasized on classical conditioning
war
explain how nature and nurture affect the development and later the productivity of an individual.
Amesalu Reply
nature is an hereditary factor while nurture is an environmental factor which constitute an individual personality. so if an individual's parent has a deviant behavior and was also brought up in an deviant environment, observation of the behavior and the inborn trait we make the individual deviant.
Samuel
I am taking this course because I am hoping that I could somehow learn more about my chosen field of interest and due to the fact that being a PsyD really ignites my passion as an individual the more I hope to learn about developing and literally explore the complexity of my critical thinking skills
Zyryn Reply
good👍
Jonathan
and having a good philosophy of the world is like a sandwich and a peanut butter 👍
Jonathan
generally amnesi how long yrs memory loss
Kelu Reply
interpersonal relationships
Abdulfatai Reply
What would be the best educational aid(s) for gifted kids/savants?
Heidi Reply
treat them normal, if they want help then give them. that will make everyone happy
Saurabh
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Siyavula textbooks: grade 12 physical science. OpenStax CNX. Aug 03, 2011 Download for free at http://cnx.org/content/col11244/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Siyavula textbooks: grade 12 physical science' conversation and receive update notifications?

Ask