Computer Science
Mr. Brummer
Homework
Create a slide with 2-4 pictures that show the class who you are.
They can be photos of you or images of your interests.
Assignment is posted to google classroom.
Unit 1
Warm Up
What do you think COMPUTATIONAL THINKING means?
Computational Thinking
The thought processes involved in formulating problems and their solutions so that the solutions are represented in a form that can be effectively carried out by an information-processing agent (human or machine).
Key Components to Computational Thinking
Jigsaw
Each group member is assigned a discipline.
Identify which components of computational thinking are present.
Share Out
Exit Ticket
Choose a field or problem NOT discussed today. How might computational thinking be applied to it? Identify at least two components of computational thinking in your example.
Warm Up
If you were going to teach someone how to tie their shoes, how would you teach them?
Write down the steps as if you were teaching someone to tie their shoes.
Teach Me To Tie My Shoes
Algorithms are…
Sequence of precise, step-by-step instructions to solve a problem or complete a task.
Solve a problem
Algorithm - a sequence of precise, step-by-step instructions to solve a problem or complete a task. (e.g., recipes, assembly instructions, driving directions)
Computer science (e.g., sorting algorithms, search algorithms).
Solve a problem
Break down the problem into smaller tasks and create an algorithm for each task.
Planning a party:
Warm Up
Have you joined Google Classroom? If not, why?
Do you have a laptop? If not, why?
Does your laptop work with no issues?(i.e. broken screen, does not charge, no charger, cannot log in)
Identifying Patterns in Data
Finding patterns in data. Pattern recognition is a key skill in computer science and helps us solve problems more efficiently.
Identifying Patterns in Data
2, 4, 6, 8, …
1, 1, 2, 3, 5, 8, ...
Check for Understanding
3, 6, 11, 18, …
What they think comes next and why?
Independent work
Try to find a pattern in something you see every day - it could be in nature, in numbers, or in people's behavior.
Warm Up
What is this?
What details are missing?
Why might we use this simple representation instead of a detailed drawing?
Abstraction
Abstraction is the process of simplifying complex systems by focusing on essential features while hiding unnecessary details.
Levels of Abstraction
Problem Domain - refers to the real-world problem or situation that needs to be solved or addressed using computing. This level is about understanding the requirements and context of the problem, often described in natural language.
Levels of Abstraction
Design/Algorithm - we create a plan or method to solve the problem identified in the Problem Domain. This involves breaking down the problem into steps or processes, often using pseudocode, flowcharts, or other high-level representations. The focus is on the logic and structure of the solution, not the specific programming language.
Levels of Abstraction
Program Code - This level involves translating the design or algorithm into actual programming language code. Here, we implement the solution using specific syntax and structures of a chosen programming language.
Levels of Abstraction
Execution - This is the lowest level of abstraction, where the program code is actually run on a computer. It involves the machine executing the instructions, managing memory, and performing operations at the hardware level.
Levels of Abstraction
Making a sandwich:
Problem Domain: "I need to eat lunch"
Design/Algorithm: Steps to make a sandwich
Program Code: A function in a programming language to make a sandwich
Execution: The actual process of making the sandwich
Levels of Abstraction
Why abstraction is important in computer science (managing complexity, problem-solving, creating efficient systems)
Transportation:
Sending an email:
Everyday Abstraction
Consider the process of making a sandwich. List three levels of abstraction for this task, from highest (most general) to lowest (most detailed).
High(most general):
Medium:
Low(most detailed):
Warm Up
Think of a task or activity you did over the weekend. What was the task/activity?
Using what we learned about abstraction, break down how you completed that task into high, medium, and low levels of abstraction.
What is a Boolean Expression?
In computer programming, data is a set of instructions or facts which is processed as information and stored in a computer system. The data can be in the form of a document, audio or video.
Computers interpret organized data in the form of binary numbers (0 and 1). Data type determines the type of values which can be stored or used to perform operations on them.
Boolean Values
Boolean values can only be true or false.
And: results true if both the conditions are true.
Or: results true if any one of the conditions is true.
Not: returns true when the condition is false.
True or False
For each scenario, write whether it would evaluate to True or False:
a) The sky is blue AND grass is green: _________
b) It's raining OR it's snowing (on a sunny day): _________
c) NOT (2 + 2 = 5): _________
AND
AND | ||
A | B | Result |
True | True | |
True | False | |
False | True | |
False | False | |
OR
OR | ||
A | B | Result |
True | True | |
True | False | |
False | True | |
False | False | |
Not
NOT | |
A | Result |
True | |
False | |
Exit Ticket
Describe a real-world scenario where Boolean logic could be useful in solving a problem. How would you use Boolean values or operators in this scenario?
Warm Up
Write a boolean expression for each of the boolean operators.
And:
Or:
Not:
Warm Up
Evaluate the following everyday situations using Boolean logic. Write "True" or "False" for each statement:
Pseudocode
Making a peanut butter and jelly sandwich
Pseudocode
A program that calculates the area of a rectangle.
Exit Ticket
Write pseudocode for a program that determines if a year is a leap year. (Hint: A leap year is divisible by 4, except for century years, which must be divisible by 400.)
Warm Up
Explain the reasons we as programmers use pseudocode.
Flowcharts
Programmers use flowcharts to visually represent the logic and steps of a program, allowing them to plan out the structure of their code, identify potential issues in the logic before writing code, communicate their ideas to others, and easily debug complex processes by seeing the data flow within the program.
Flowcharts
Flowcharts
Visualizing complex logic:
Planning and design:
Collaboration and communication:
BRING LAPTOPS NEXT CLASS
Analyzing Voter Data
Day 1
Click the link on Classroom and respond to this question.
Poll
How important do you think it is for people to vote?
10
9
8
7
6
5
4
3
2
1
0
Not very important
Very important
Voter Turnout
Voter Turnout: percentage of eligible voters who participated in an election.
In the U.S. in 2020, voter turnout was 70.75%. �(IDEA database, Sept. 30, 2022)
Why do you think voting is important — or not?
What are some factors that might affect voter turnout?
Read article and answer questions
Warm Up
What is a pattern from the country voter data activity last class that you noticed.
Analyzing Voter Data
Day 2
CODAP Tutorial/Familiarization
Introduction to CODAP
CODAP stands for Common Online Data Analysis Platform
This free resource was developed by The Concord Consortium.
Analyzing Voter Data
Day 3
CODAP Design Challenge
Design Scenario
Your team of data journalists is investigating and reporting on voter turnout. You are using data to examine trends in voting.
Design Problem
Explore data about voter turnout in the United States.
Tell a story about what you discover. Include any of your remaining questions and suggestions for further investigation.
Plugged Design Challenge
Explore the Data on CODAP
Craft the Story
Tell the Story of the Data
Each team will take turns presenting.
Presenting Team | Audience |
Share Three Slide Story |
|
Debrief
Unit 2
Warm Up
Mr. Brummer when a student says they “forgot their laptop.”
Juicemind
Go to www. juicemind.com
Assignment
Create 5 print statements.
Each line should be a full sentence about you.
Warm Up
Go to GOOGLE CLASSROOM
Click on assignment under Warm Ups section
Assignment
Create a program that has 10 outputs.
If You Finished 2.2
Using your current knowledge about print statements and input statements, create a program that meets the following criteria:
WARM UP
On google classroom
10/10 Warm Up
Data Types
String(str) = words
Ex. hello world
Integer(int) = numbers defined for computation/mathematical operations
Ex. 5, 10, 16
Float = numbers with decimals.
Ex. 20.5
Boolean(bool) = true or false logic
Ex. True/False
String
2.3 - Data Types and Outputs
Create a program that has the user enter different data types
Include the following types:
You DO NOT need to include boolean.
WARM UP
On google classroom
10/11 Warm Up
Relearning Day
Complete any missing assignments.
Move up to the front if you are confused with anything to work with Mr. Brummer.
Warm Up
Mathematical Operations
Operation Python
Assignment
Make a calculator that when the user enters two numbers, values are returned for each mathematical operator.
Warm Up
Warm Up
Take your seat and get laptop setup. Login to Juicemind and prepare for a quiz!
NO PHONES!!!
Input/Output Quiz
INDEPENDENTLY, debug the provided code on juicemind. Make sure to test your code. When you have finished debugging the program, submit it.
You CANNOT help each other with this. This is a quiz!
Warm Up
"When do we make decisions in our daily lives?"
Example: What to wear based on weather, which route to take based on traffic
Boolean Operators
if Statements
if Statements
if condition:
# code to run
if Statements
If statements
Assignment
Warm Up
Write out an if statement with a print/output statement.
Day 2
grade = 85
if grade >= 90:
print("A")
elif grade >= 80:
print("B")
else:
print("Keep trying!")
Choose Your Own Adventure
Create a choose your adventure game.
# Example:
print("You're at a crossroads.")
choice = input("Go left or right? ")
if choice == "left":
print("You find a treasure!")
elif choice == "right":
print("You meet a friendly dragon!")
else:
print("Invalid choice!")
Guidelines:
Warm Up
Commenting on Code
Nested if, elif, and else statements
Nested if, elif, and else statements
2.8 Assignment
Weather Activity Recommender Create a program that suggests activities based on:
1. Temperature (in Fahrenheit)
2. Weather condition (sunny, rainy, or snowy)
3. Time of day (morning, afternoon, or evening)
Use this as the starting point for your code.
Warm Up
Guess the Number
What is it?
Requirements
Your program must:
Tell the player if their guess is:
Include at least 3 helpful comments explaining your code
Starter Template
Example output
Grading Rubric (Total: 20 points)
Extra Credit(2 Points)
If you finish early, try adding these features:
Warm Up
Get laptops set up and on Juicemind.
You can start working on your laptop.
A teacher will walk around and check in with everyone to see where they are at on the project.
Unit 3
Warm Up
Take out your phone and check what your screen time total is in your settings.
4 Corners Activity
The influence of Social Media on young people is good.
Pick an Article to Read
Pick one of the three articles to read on the topic of social media.
While reading keep the following questions in mind:
Warm Up
What did you learn about social media from the video we watched and the article we read yesterday? What did you already know that hey reminded you of or affirm?
Activity
Use Reading Protocol to Annotate the Teen Vogue Article About Social Media
Writing
TEAR Paragraph
Describe what some of the potential effects social media can have on teenagers who use it citing evidence from at least 2 of the 3 sources we used in class.
Explain how people who develop social media applications can be more responsible using evidence from at least 2 of the 3 sources we used in class.
Warm Up
Careers and Applications
Software Developer
Write the code for applications
High Demand
Computer Systems Analyst
Evaluates and optimizes an organization's computer systems
Understanding of hardware and software, usually does not do hardware or software development.
Network Systems Administrator
Monitor computer networks(Local area networks, wide area networks, etc.)
Database Administrator
Database maintenance and security
Ensure safety and security of databases considering sensitive information.
Web Developer
Focus solely on website development
Security Analyst
Protect a companies network from cyber attacks and security breaches.
Job Interviews
Write down questions for your three career field interests.
Careers and applications(Day 2)
Areas of Computer Science
Artificial Intelligence
Cryptography
Encrypting information so if someone intercepts it, they will not be able to decipher it.
EX: Password: #14DL;NFS4875839VG
Originally: Mbrummer123!
Ensure security for internal and external applications
Cybersecurity
Forensic Computer Analyst
-Perform analysis and experimentation on security systems
Bioinformatics
Need to have knowledge of biology and computer science.
Computer Graphics
Image processing, computer vision
Math/Physics involved
Warm Up
Warm Up:
What kind of jobs do you think people with experience and backgrounds in computer science have?
What college degree(s)/level of education do you need to have to get a job in the field of computer science?
Job Review
Look at the job posting and identify all of the key information.
Hard skills - measurable abilities that you learn through education or experience. They are often the foundation of a company, and are necessary to perform a job.
Soft skill - personal qualities that you develop over time. They are also known as professional skills.
Warm Up
Warm Up:
Annotation Guide
Students should:
1. Highlight key terms and their definitions
2. Circle real-world examples
3. Underline specific actions they can take
4. Mark questions or unclear concepts with "?"
5. Put a star (*) next to information they find surprising
Password Strength
What does a scam email look like?
Exit Ticket
Name one new thing you learned about data security today and one question you still have.
Find Your New Seat
Desk
Board
Aiden/Rafael/Sam
Addison/
Chris/Pryncess
Evelyn/
Sandro
Zion M/
Steven
Mikol/
Afeez
Amaya/
Nashla
Ramya/
Skylah
Alvin/Zion R
Jahvon/
Delan
Sharely/
Joseph
Tiffany/
Analia
Yanilee/
Mariah
Nariyah/
Noah
David
Matthew/
Eddy
Windows
Door
Ryan
Geo
Warm Up
Analyze the sample passwords and rate their strength, explaining your reasoning.
password123
P@ssw0rd!2024
Ilovemydog
Tr@ff1cL1ght$2024!
MyB1rthd@y1990!
When you don’t want to do your warm up but you do it anyways because you’re a chill guy
Security Audit Workshop
Think of three accounts you want to check. Use the password check tool that is posted to Juicemind. Enter your password(it will not be saved) and note the strength of the password.
Account Service:
Strength of password:
How could you improve the password strength?:
Security Scenarios
As groups, go through the scenarios and identify the red flags, what immediate actions should be taken, and how would you verify if the threats are legitimate?
Find Your New Seat
Desk
Board
Aiden/Rafael/Sam
Addison/
Chris/Pryncess
Evelyn/
Sandro
Zion M/
Steven
Mikol/
Afeez
Amaya/
Nashla
Ramya/
Skylah
Alvin/Zion R
Jahvon/
Delan
Sharely/
Joseph
Tiffany/
Analia
Yanilee/
Mariah
Nariyah/
Noah
David
Matthew/
Eddy
Windows
Door
Ryan
Geo
Warm Up
Warm Up:
Exit Ticket
Three security actions I will take this week:
Why I chose these actions:
seven
Warm up
What do you know about AI?
Have you used AI before? If so, how?
Al is one of the smartest technologies right now. AI is really useful for many things. AI has helped humans in many things such as helping them better their essay. . Another thing that AI has helped out is helping us go to the location we need to be at. AI gives us directions where to go and how to get to your location. AI has helped us with many things even when we have questions on something that we don’t know about or lost about we just have to ask AI. AI gives the answer to everything we need and plus on that if we need an image that is different to any other images they make it for you. AI can create imagine for your liking and make decisions for you and whatever you need.
How does AL help us ?
How can AI be bad?
Ai has many abilities but it can also cause disasters. Ai can cause development issues with data privacy concerns, misplacements and cyber security risks. There are many issues with Ai and it's always good to be alert of them. If Ai itsn’t used the right way the data can be flawed, be impartial or even biased in any way, You’ll struggle with lack of creativity, you can lose your job and even increase lazzines with how much Ai is being used that maily nobody does work by hand.
What happens later on with AI?
Read and Annotate
Students should:
1. Highlight key terms and their definitions
2. Circle real-world examples
3. Underline specific actions they can take
4. Mark questions or unclear concepts with "?"
5. Put a star (*) next to information they find surprising
Warm Up
Warm Up:
The Moral Machine
A self driving car has had a brake malfunction/failure and cannot stop. Choose the lesser of two evils. As an outsider, you must judge which outcome is more acceptable.
When you have answered all 13 scenarios, do not leave the page. Scroll down for your results.
Use those results to answer the questions.
The Moral Machine
Now that you have analyzed your results, turn to your partner and discuss each others results. Answer the questions in the group discussion section of the worksheet together.
Exit Ticket(back of worksheet)
Choose one field (healthcare, education, environmental protection, etc.) and using the article from the previous class and your discussion from today, analyze how AI might transform your chosen field over the next decade.
Warm Up
Four Corners
Participation is key!
To receive full participation, you must speak at least TWICE.
AI tutors and virtual assistants will eventually replace human teachers in classrooms.
AI will ultimately replace human workers in most industries and professions.
AI will enhance human capabilities and lead to new opportunities and innovations.
AI should be used for surveillance and monitoring purposes to ensure public safety.
The benefits of AI will be distributed unequally, widening social and economic gaps.
AI will revolutionize the creative industries and produce works of art, music, and literature.
TEAR Paragraph
Write a TEAR paragraph why identifying our own biases and how it relates to artificial intelligence is important. Use the following article as a source.
https://hdsr.mitpress.mit.edu/pub/qh3dbdm9/release/2
Unit 4
Warm Up
We are now returning to programming with Python. Think back to print statements.
What's the difference between:
print("2 + 2")
print(2 + 2)
Mad Libs
Assignment
Warm Up
Once you have completed the warm up, go to Juicemind and go onto 4.2 Rock Paper Scissors.
DO NOT START THE ASSIGNMENT!!!
Boolean Operators
If statements
Nested if, elif, and else statements
Rock Paper Scissors
On Juicemind, a majority of the program is already created. You need to use if/else statements to code the outcomes. Write the code under the #comments for the potential outcomes of each choice.
Pay attention to indentation!
Warm Up
For Loops
Assignment
Create a for loop that does the following:
# Ask user for their age
# Print that many * symbols on one line
# Print "Happy Birthday!" below
# Example output for age 5:
# * * * * * # Happy Birthday!
Warm Up
Assignment
Create a 3 line code that outputs a multiplication table.
Use this code to help you.
Assignment
Once you have submitted your code, complete the check for understanding on the google classroom assignment; 4.4 For Loops
MAKE SURE TO TURN IN THE ASSIGNMENT AFTER COMPLETING
Warm Up
Lists in Python
Example of a list called Colors and one item printed
More about Lists…
For Loops and Lists
For this lesson, create 3 different lists of your choice:
Warm Up
TYPES OF LISTS
For this lesson, create 4 different lists (One for each type), and one where you mix elements of different types:
While Loops
Warm Up
TURTLE LIBRARY/MODULE
Using turtle in Python
To be able to draw/create graphics in python, we can use the turtle library.
Importing libraries allows us to do more than what the base code of python allows us to.
Assignment 4.8 - Replit
Warm Up
Assignment 4.9 - More Turtle Commands
Warm Up
Assignment 4.10 - Using Turtle Commands to Make a House
Warm Up
4.11 Olympic Rings
-Import turtle.
-Create the screen.
-Initialize our variable to draw.
-Use the penup,goto, and pendown functions to move drawings.
OR
4.11 Olympic Rings
Create the olympic rings in Juicemind.
Each ring should be a different color as shown in the photo.
Make Up Day
Most grades are now fully input. Check your grades. What are you missing? What do you need help with?
If you have completed everything, move around the room and check in with other students to see if you can help
Spring Semester
Semester Outline
Expectations
Questions?
Warm Up
Functions
A function is a block of code which only runs when it is called.
You can pass data, known as parameters, into a function.
A function can return data as a result.
Functions
Functions
Functions
Functions
Assignment
Complete the curse function. It accepts a weapon_damage parameter and returns two values:
A greater curse is more powerful than a lesser curse, so it reduces the damage more.
30% of 50 is 50 * 0.3
Warm Up
Warm Up
Login to Juicemind and go to the assignment named Pong
Pong
Warm Up
Warm Up
Unit 6
Warm Up
What did you do over the break?
Think about your phone or any other electronic device you own. How do you think it works? What do you think is happening inside the device for it to operate?
Electronics
Scientific Notation
Multiplying by 10, 100, or 1000 in the following problems just means to add the number of zeroes to the number being multiplied. This is because our number system is based on 10. The chart above shows the powers of 10 you are most likely to encounter in your science studies.
1. 35 x 10 → 35 + 0 → 350
2. 6 x 100 → 6 + 0 + 0 → 600
3. 925 x 10 → 925 + 0 → 9,250
4. 42 x 1000 → 42 + 0 + 0 + 0 → 42,000
5. 691 x 1000 → 691 + 0 + 0 + 0 → 691,000
Scientific Notation
Prefix(Symbol) | Power | Numeric Representation |
No prefix | 100 | 1 unit |
kilo(k) | 103 | 1 thousand |
mega(m) | 106 | 1 million |
giga(g) | 109 | 1 billion |
tera(T) | 1012 | 1 trillion |
Scientific Notation
Places to right of the decimal point are called decimal fractions. The negative exponents shown under the negative exponents shown under the Exponents column above tell you to divide by that number.
Examples:
10-1 = 1/10 = .1
10-2 = 1/102 = 1/100 = .01
10-3 = 1/103 = 1/1000 = .001
Scientific Notation
Prefix(symbol) | Power | Numeric Representation |
No prefix | 100 | 1 unit |
milli(m) | 10-3 | 1 thousandth |
micro(µ) | 10-6 | 1 millionth |
nano(n) | 10-9 | 1 billionth |
pico(p) | 10-12 | 1 trillionth |
Ohm’s Law
German Scientist Georg Ohm studied the amount of current and voltage flowing
through various conductors and discovered the mathematical relationship between
them. His findings became known as Ohm’s Law.
Ohm’s law is a mathematical equation that describes the relationship between
voltage, current, and resistance. This equation will help you understand how electric
circuits work. To understand Ohm’s law, you’ll need to look further at the concepts
of voltage, current, and resistance.
Ohm’s Law
Voltage is the pressure from an electrical circuit power source that pushes charged electrons (current) through a conducting loop. Voltage is measured in volts(V).
Electrical current is measured in amperes (A) or amps, for short, and it is the rate of flow of electrical charge past a given point in a circuit. In other words, it is the movement of electrons along a conductor.
The third concept in this equation is resistance, which is a measure of the opposition to current flow in a circuit. As electrons travel through a wire in a circuit, they encounter resistance. Resistance is measured in ohms, abbreviated by the Greek letter omega.
Ohm’s Law
To Find Voltage To Find Current To Find Resistance
Warm Up
Express #1 as scientific notation. I.e. # x 10x
1. 45,000 = __________
Express #2 as a standard form number.
2. 23 × 10⁵ = _________
Solve the word problem using ohm’s law.
3. A CD player with a resistance of 40 ohms has a current of
0.1 amps flowing through it. What is the voltage in volts?
Resistors
Annotation questions:
What does the gold band represent?
What does the first band represent?
What does the second band represent?
What does the third band represent?
Resistor Color Code Chart
Color | Black | Brown | Red | Orange | Yellow | Green | Blue | Purple | Grey | White |
Digit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Multiplier | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 |
Tolerance: Gold +/- 5% Silver +/- 10% none +/- 20%
Using the international color code above, give the value of the following resistors given the colors.
1. brown, black, orange _____________________________________________
2. blue, gray, brown _____________________________________________
Give the color code of the following resistors
1. 1,500 ohm _____________________________________________
2. 1,000,000 ohm _____________________________________________
Warm Up
A circuit has a voltage of 120V and a current of 0.8 amps. What is the resistance across a resistor?
What is the color code of the resistor?
Series circuits have only one path for the electricity to flow. If any part of a series circuit is broken, the circuit fails. If either light is unscrewed both lights will turn off.
Current
Current is moving electrons, moving charge.
Increasing current causes more electricity to move through a device.
Increasing electricity through a device causes it to work faster(like a motor) or brighter(in a lightbulb).
Voltage
Voltage is electrical potential: how much work a battery can do.
To increase voltage you could use a stronger battery OR add batteries.
More voltage is like a stronger pump, giving more force and more current.
Resistance
Resistance slows down current. Think of resistance like a dam holding back water.
Adding devices in a circuit increases resistance.
Component | Image | Symbol |
Battery | | |
Lightbulb | | |
Resistor | | |
Component | Image | Symbol |
Light Emitting Diode(LED) | | |
Lightbulb | | |
Ohm’s Law in a Circuit
Warm Up
What is a series circuit?
Draw the schematic symbol for a resistor.
Draw a simple series circuit with a battery and three resistors. Label the direction of current flow. What do you predict happens to the current as it flows through each resistor? What about the voltage?
What happens in a circuit?
Current in a series circuit
Key concept: In a series circuit, the current is the same at all points
Explanation: Since there's only one path for electrons to flow, the same number of electrons must pass through each component
Formula: I₁ = I₂ = I₃ = ... = Itotal
Real-world application: Like water flowing through a single pipe - the flow rate is constant throughout
What happens in a circuit?
Voltage in a series circuit
Key concept: In a series circuit, the total voltage is divided among the components
Explanation: Each resistor creates a voltage drop proportional to its resistance
Formula: Vtotal = V1 + V2 + V3 + …..
Real-world application: Holiday lights used to work in series (one bulb burns out, whole string goes dark)
What happens in a circuit?
Resistance in a series circuit
Key concept: In a series circuit, resistances add together
Explanation: Each resistor or component adds resistance to the circuit.
Formula: Rtotal = R1 + R2 + R3 + …..
Calculating Values with Ohm’s Law
A series circuit contains three resistors (10Ω, 15Ω, and 25Ω) connected to a 12V battery.
Calculate the total resistance
Calculate the current through the circuit
Calculate the voltage drop across each resistor
Warm Up
Circuit Position | Voltage(V) | Current(A) | Resistance(Ω) |
1 | | | 150Ω |
2 | | | 80Ω |
3 | | | 220Ω |
Total | 12V | | |
Resistor Color Code Chart
Color | Black | Brown | Red | Orange | Yellow | Green | Blue | Purple | Grey | White |
Digit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Multiplier | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 |
Warm Up
What is a Parallel Circuit
A parallel circuit is an electrical circuit that has multiple paths for electric current to flow. This allows each branch of the circuit to operate independently.
Parallel Circuits
Compare electric circuits to water pipes
Voltage in Parallel
The voltage is the same across all components in parallel.
Current in Parallel
The total current equals the sum of currents through each branch
Resistance in Parallel
The equivalent resistance is always less than the smallest individual resistance
Formulas in a Parallel Circuit
Example
Ohm's Law Application
For each component: I = V/R
Total current: I_total = I₁ + I₂ + I₃ + ...
Expanded form: I_total = V/R₁ + V/R₂ + V/R₃ + ...
Equivalent Resistance
Formula: 1/R_eq = 1/R₁ + 1/R₂ + 1/R₃ + ...
For two resistors only: R_eq = (R₁ × R₂)/(R₁ + R₂)
Note: The equivalent resistance is always less than the smallest individual resistance
Warm Up
Safety Concerns and Procedures
Safety Agreement
Read and Sign the Safety Agreement
Safety Check for Understanding
LED Polarity
Designing our First Circuit
Color | Black | Brown | Red | Orange | Yellow | Green | Blue | Purple | Grey | White |
Digit | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Multiplier | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 |
3/14 - Finish Lab Packet
If you are done, use this schematic and try to build the circuit.
Warm Up
List at least 5 electronic devices:
What is a capacitor?
A capacitor is a two-terminal, electrical component that can:
How Capacitors Work
When current flows into a capacitor, negative charges (electrons) build up on one plate, making it negatively charged. This causes the other plate to become positively charged. This separation of charge creates an electric potential (voltage).
Units and Ratings
The standard unit of capacitance is the farad, abbreviated as F.
Most capacitors you'll encounter have values in the range of:
Why is the voltage rating important for a capacitor?
Basic Structure of a Capacitor
Label the parts of this capacitor diagram and schematic:
Reflection Questions
Exit Ticket
Warm Up
What can happen to capacitors if the voltage rating is exceeded?
What is a Transistor
A transistor is a fundamental electronic component, a semiconductor device, that amplifies or switches electronic signals and electrical power, acting as a tiny switch or amplifier.
Transistors
Base
Collector
Emitter
The emitter and collector can change places. The emitter is the end with the arrow
Base
Emitter
Collector
Transistors
Exit Ticket
Building a Capacitor - Warm Up
Read the first page of the packet
Warm Up
Reading and Annotation Questions
Read the article. When you are done, answer the questions on the last page.
Tesla Demo
What do you see?
What do you hear?
What do you smell?
Check for Understanding
Answer the questions on the last page.
Warm Up
Reading and Annotation
Annotation Questions
Cesar Cipher
Cesar Cipher
The Caesar cipher is one of the simplest and most widely known encryption techniques. It works by shifting each letter right in the plaintext by a fixed number of positions down the alphabet. For example, with a shift of 3, A becomes D, B becomes E, and so on.
Encode - To encode each message, shift each letter to the right of the alphabet by the number it says to encode.
Shift 1
Plaintext: Computer Science is Fun
Ciphertext:
Decode - To decode each message, we go backwards. Shift each letter the number of shifts to the left of the alphabet.
Shift 3:
Ciphertext: PRUQLQJ URXWLQH
Plaintext:
Cesar Cipher
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
Pigpen Cipher
The cipher works by arranging the alphabet in grids:
Ciphertext:
Plaintext:
Pigpen Cipher
Exit Ticket
Pick one of the ciphers we practiced today. Write the plaintext version and the encrypted version of it. The code should be at least two words or 10 characters long.
Warm Up
Atbash Cipher
Atbash cipher is a substitution cipher with just one specific key where all the letters are reversed that is A to Z and Z to A. It was originally used to encode the Hebrew alphabets but it can be modified to encode any alphabet.
Plaintext: Capacitor
Ciphertext:
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
Morse Code
Morse code is a telecommunications method which encodes text characters as standardized sequences of two different signal durations, called dots and dashes, or dits and dahs. When writing out morse code, you can place a line or | in between letters.
Plaintext: Pizza
Ciphertext:
SIT WITH YOUR GROUP MEMBERS.
Fill out your paper with
the group members names
and group number
MAKE-UP DAY
Complete any past due assignments.
Work with classmates if you need help.
Check Google classroom for what you are missing.
Welcome Back!
Go to Figuro.io and make an account(DO NOT SIGN IN WITH GOOGLE)
The link is on google classroom.
You can use your student email but remember, your password will not change if you change your student account password. It is a separate account.
What is Next?
You will need your LAPTOP AND CHARGER EVERYDAY!
Project Format
POP QUIZ
GO TO THIS LINK
Make an account
app.sketchup.com/app
bphscs.com
Warm Up
What is a Website?
Websites are made of code that tells your browser what to show
Two main languages create most of what you see online:
Think of a website like a house:
What Makes A Website
HyperText Markup Language
Uses "tags" to organize content on a webpage
Tells the browser what each piece of content is
Tags look like this: <tag>content</tag>
Select “Start Coding”
Type in HTML to the language
HTML Syntax
<!DOCTYPE html>
<html>
<head>
<h1>My First Webpage</h1>
</head>
<body>
My name is Mr. Brummer and I like to make things.
</body>
</html>
Common HTML Tags
<h1>Heading 1</h1> - Main heading
<h2>Heading 2</h2> - Subheading
<p>This is a paragraph.</p> - Paragraph of text
<ul><li>Item 1</li><li>Item 2</li></ul> - Bullet list
<a href="https://example.com">Link</a> - Hyperlink
<img src="photo.jpg" alt="Description"> - Image
HTML Practice
Create an "About Me" page with:
Remember to save your file with the .html extension!
Warm Up
Login to JDoodle(link on classroom)
Complete your About Me website assigned yesterday.
What is CSS?
Cascading Style Sheets
Controls how HTML elements look
Changes colors, sizes, fonts, spacing, and more
Makes websites visually appealing
Example
<!DOCTYPE html>
<html>
<head>
<style>
CSS PROPERTIES
</style>
<h1>My First Webpage</h1>
</head>
<body>
My name is Mr. Brummer and I like to make things.
</body>
</html>
How CSS Works
CSS uses a simple pattern:
css
selector {
property: value;
}
Example:
css
p {
color: blue;
}
Ways to Add CSS
Inline CSS (directly in a tag):� html�<p style="color: blue;">Blue text</p>�
Internal CSS (in the head section):� html�<head>
<style>
p { color: blue; }
</style>
</head>
Basic CSS Properties
color: red; - Text color
background-color: yellow; - Background color
font-size: 20px; - Text size
font-family: Arial, sans-serif; - Font type
text-align: center; - Text alignment
border: 2px solid black; - Add a border
Add style to your "About Me" page
Divider
Each item(paragraph, h1, list) will have a div class.
<div class = “color”>
<li>item 1 </li>
<li>item 2 </li>
<li>item 3 </li>
</div>
5/19 - Check-Ins
Go onto JDoodle and pull up progress on Computer Scientist website.
I will be meeting with each student individually to see progress and help.