1.18k likes | 1.31k Views
Facilitator – Clicker Question. Which logic gate with give the truth table to the right?. AND BUT OR NOR NAND XOR NOT The facilitator is not here. Gatekeeper – Clicker Question. Which logic gate with give the truth table to the right?. AND BUT OR NOR NAND XOR NOT
E N D
Facilitator – Clicker Question Which logic gate with give the truth table to the right? • AND • BUT • OR • NOR • NAND • XOR • NOT • The facilitator is not here.
Gatekeeper – Clicker Question Which logic gate with give the truth table to the right? • AND • BUT • OR • NOR • NAND • XOR • NOT • The gatekeeper is not here.
Timekeeper – Clicker Question Binary 1110 is equal to the decimal number ______ • 10 • 11 • 12 • 13 • 14 • 15 • 16 • The timekeeper is not here.
Recorder – Clicker Question Binary 1011 is equal to the decimal number ______ • 10 • 11 • 12 • 13 • 14 • 15 • 15 • The recorder is not here.
Chapter 4 Understanding Computers
Latch Input Flip-Flop Output 4.2.3 Basic Building Blocks • Memory • Flip-Flops • a circuit made with transistors and stores one bit of a binary number • SIMM - single in-line memory module • a large collection of flip-flops
4.2.3 Basic Building Blocks • Memory • DIMM - dual in-line memory module • a larger collection of flip-flops • Disks and Hard drives • 1’s and 0’s are store in magnetic media
4.2.3 Basic Building Blocks • CPU - Central Processing Unit • Clock • square wave voltage • Processors • Logic Gates (Made with Transistors) • AND, NAND, OR, NOR, NOT, XOR • (See chalkboard)
Electrical Engineering - Team Exercise • Logic Gate Investigations • What kind of logic gates are these? Datasheets
Team Exercise • Add these binary numbers: 1001 0111 + 0111 1001 • What 2 kinds of logic gates are needed for computer addition? Homepage
Example Problem • What would be the truth table for the logic circuit shown in figure 4.18(a)? A B Y
Example Problem • What would be the truth table for the logic circuit shown 14.8(b)? A B Y
Remember Your Team Roles • Recorder - doing the writing • Facilitator - keeping focus • Time Keeper - keeping track of time • Gatekeeper – encouragement
Team Exercise – 4 Minutes • What would be the truth table for the logic circuit shown below? A B X Y Note this is similar to the homework problem. Homepage
Team Exercise – 4 Minutes • What would be the truth table for the logic circuit shown below? A B X Y Note this is similar to the homework problem. Homepage
4.4 Computer Programs • Algorithm • a step-by-step procedure for solving a problem or accomplishing an end • Flowchart • a graphical description of an algorithm
Flowchart Symbols Input/Output Start/Stop Branch Test Calculation Process Flow
Flowchart Example Begin (again?) Define the problem Read input Ask for more input yes Can I solve this? Can I solve this? What do I need to know? no no Not available at this time yes Solve the problem Output results End
Note... 1 or 2 of the following 4 flow charts will appear on the next exam. 2 are very similar to the homework.
Example • Sketch a simple flowchart that will find the sum of two number and their difference.
Example Each month, the electric company bills consumers according to the following schedule: Electricity Usage (kWh) Rate ($/kWh) Energy 1000 0.10 1000 < Energy 10000 0.08 Energy > 10000 0.06 Prepare a flowchart that calculates the bill for a customer.
Start Example: Prepare a flowchart that determines the volume and area of a cube in which the length of one edge increases from 1 to 10 meters in 1 meters increments. a = 1 V=a3 A=6a2 Output V, A a = a+1 Stop No a>10? Yes
Start Example: Sketch a flowchart that will find the smallest number in a series of 100 numbers. I = 1 Input N Min=N I = I+1 Yes I>100? Output Min No Input N Stop N<Min? No Yes
Project One Hints for your Notes
What a drag… • What are four ways to increase the tension in the cable between the drag racer and parachute?
Drag Force The slope of FD versus v2 will give us k. Cp = Drag coefficient r = density of air A = cross sectional area of the object v = speed of the object
Project One Hints • Speed = Distance/Time Acceleration = Dv/Dt
Fg FD Drag Force…on the way up? • Free Body Diagram
FD Fg Drag Force…on the way down? • Free Body Diagram Homepage
Chapter 5 Introduction to Design
Engineering Drawing Skills • Line Quality • Lettering • Construction • Accuracy
Orthographic Projection • Orthographic drawings represent three dimensional objects in three separate views arranged in a standard manner.
Orthographic Views • You can adequately describe most objects with three orthographic views. • Front • Top • Right
Orthographic Views Top Front Right
Line Types Visible Line Hidden Line Center Line Dimension Line Construction Line
Engineering Drawing Rules • Always use a Pencil. • Make all lettering the same size. • Use Engineering or Drafting Paper. • Be patient and deliberate.
Orthographic Views • You can adequately describe most objects with three orthographic views. • Front • Top • Right
Sketching techniques • Use very light construction lines • “Box in” the rough outline of the object • Darken only the lines you wish to keep • Clean up the edges and rough spots