Please enable JavaScript to use CodeHS

Hawaii EXS0100 Intro to Computer Science A

Description

In this lesson, students are introduced to coding with turtle graphics. Students will begin to recognize programs as sequences and groups of commands. Students will learn a few basic commands and then apply them right away by writing their first program.

Objective

Students will be able to:

  • Define programming/coding
  • Use basic Tracy commands
  • Write their first program
Description

In this lesson, students will be introduced to the layout of Tracy’s grid world and will learn how to use coordinate pairs to locate Tracy on the coordinate plane. They will add to the list of commands they know and can use to create Tracy graphics.

Objective

Students will be able to:

  • Locate Tracy on the coordinate plane
  • Use the penup(), pendown(), and backward() commands in their programs
Description

In this lesson, students will learn how to use the left and right commands in order to move Tracy to more locations on the canvas. They will now have many commands that can be used to have Tracy create more complex graphics.

Objective

Students will be able to:

  • Use the left and right commands in order to move Tracy around her grid world
Description

In this lesson, students are introduced to for loops. They learn how for loops simplify the process of making small changes to a program and help avoid repeating code. For loops are written like this:

for i in range (4):
    // Code to be repeated 4 times
Objective

Students will be able to:

  • Create for loops to repeat code a fixed number of times
  • Explain when a for loop would be a useful tool
  • Utilize for loops to write programs that would be difficult / impossible without loops
Description

In this lesson, students are introduced to the ability to turn Tracy at any angle. With this feature, Tracy can now draw diagonal lines which opens up the possibility to draw multiple shapes that weren?t previously available.

Objective

Students will be able to:

  • Use angles inside turning commands
  • Turn Tracy at angles in conjunction with for loops
Description

In this lesson, students learn how to use comments to describe their programs. Comments are helpful because they allow programmers to leave notes about the programs they are writing. Students will also learn about the different types of comments that can be used and the benefits of using them.

Objective

Students will be able to:

  • Use comments throughout their program
  • Describe why comments are helpful for both themselves and anyone else looking at their code
Description

In this short lesson, students will be introduced to the rules for naming elements in their code. Variables and functions that are used inside their programs will be named by students, so the following guidelines should be obeyed to be sure that the programs written are readable and successful.

Objective

Students will be able to:

  • Name elements of their code by following specific guidelines and rules in order to create readable and working programs
Description

In this lesson, students are introduced to functions. They start with the basics of defining a function and why we need them and will revisit a program they coded earlier in the unit to rewrite it using functions.

Objective

Students will be able to:

  • Define a function
  • Call a function
  • Explain why functions are used
Description

In this lesson, students are able to add some flair to their turtle graphics programs by controlling color, pensize, and fill. These new commands are added to the list of commands that have been already practiced in order to allow for more creativity in student programs.

Objective

Students will be able to:

  • Use the extended circle() command to draw different shapes
  • Use the color(), pensize(), begin_fill(), and end_fill() commands to add more creativity to their programs
Description

In this lesson, students are introduced to the concept of Top Down Design. Top Down Design is the process of breaking down a program into functions or smaller parts to avoid repeated code and to make our programs more readable.

Objective

Students will be able to:

  • Break a large problem down into smaller pieces
  • Write functions to solve each smaller problem
  • Solve a complicated problem using Top Down Design
Description

In this lesson, students will learn about a fundamental aspect of every programming language: Variables. A variable is something that stores information in a program that can be used later.

Objective

Students will be able to:

  • Describe what variables are
  • Discuss why variables are used in our programs
Description

In this lesson, students will learn how to incorporate user input into their programs. Students will learn how to request user input as both strings and integers, where the input is stored, and how to convert strings and integers.

Objective

Students will be able to:

  • Incorporate user input into their code in order to customize their programs
Description

In this lesson, students will dive deeper into the concept of functions by exploring how to use parameters to customize their code.

Objective

Students will be able to:

  • Incorporate parameters into their functions in order to adapt their functions to multiple situations
Description

In this lesson, students will expand their knowledge of for loops. They are aware that for loops execute the same lines of code a given number of times but will learn that i is actually a variable that can be used to control commands inside the loop as it is running.

Objective

Students will be able to:

  • Use i as a variable inside their for loop to control different commands
Description

In this lesson, students will learn the extended parameters that can be used to control the value of i in for loops. They will then be able to use the variable i to control much more of their code by setting specific values.

Objective

Students will be able to:

  • Control the value of i using extended parameters
Description

In this lesson, students will learn how to use If Statements which will allow them to use conditions to determine how their code should run.

Objective

Students will be able to:

  • Use if statements in order to tell Tracy how to make decisions
Description

In this lesson, students will learn how to expand on If Statements by including a way to have Tracy make decisions between multiple scenarios.

Objective

Students will be able to:

  • Use if/else statements in order to have Tracy make decisions between multiple scenarios
Description

In this lesson, students will learn that while loops allow code to be executed repeatedly based on a condition. They will also be warned that infinite loops are created if the exit condition of the while loop is never met, causing the code inside the while loop to repeat continuously which causes the program to crash.

Objective

Students will be able to:

  • Effectively use while loops in their programs
  • Identify infinite loops
Description

In this lesson, students will put together all the concepts they?ve learned thus far. They will be able to use top down design and to write programs that will solve complex problems.

Objective

Students will be able to:

  • Identify the different control structures we can use to modify the flow of control through a program
  • Combine control structures to solve complicated problems
  • Choose the proper control structure for a given problem
Description

In this lesson, students learn about game mechanics and the importance of collecting user data to refine a game?s mechanics. Students go through the data collection and analysis process as they add game mechanics to their Guess a Number 2.0 program.

Objective

Students will be able to:

  • Define game mechanics
  • Collect and analyze data to determine the effectiveness of a game?s mechanics
  • Combine control structures to solve complex problems
  • Choose the proper control structure for a given problem
Description

In this lesson, students review content with a 25 question End-of-Unit Quiz.

Objective

Students will be able to:

  • Prove their knowledge of control structures and coding concepts through a multiple choice quiz
Description

When was the first computer made? What did it look like, and what was it used for? In this lesson, students will explore the creation and evolution of computing machines that now permeate our day-to-day life.

Note: This course was updated on October 7, 2020. You can find the original material in the Supplemental Module titled “Original Material: What is Computing?”

Objective

Students will be able to:

  • Identify important historical events in the development of modern computers
  • Explore individual’s contributions to the development of the computer and discuss who gets to be included in the computer innovators group
Description

How are computers organized? What are the main components of a computer?

In this lesson, we will explore how different organizational structures of computers interact with each other to make computers functional.

Objective

Students will be able to:

  • Understand the main parts of a computer
  • Differentiate the difference between hardware and software
  • Identify input and output devices
  • Learn different types of networks
Description

What kinds of software do computers use and need?

In this lesson, the topic of software is broken down into types of software, how they interact, and the specific functions of the different types of software.

Objective

Students will be able to:

  • Understand and identify different types of software and their functions
Description

What is hardware? How does hardware work?

In this lesson, hardware is broken down into the different physical components of computers and how they contribute to the function of the computer as a whole.

Objective

Students will be able to:

  • Understand and identify the physical components of a computer & their roles in computer functionality
Description

Where is computing headed? What is Artificial Intelligence and what are the potential impacts that this might have on our world?

In this lesson, students learn about Artificial Intelligence and how the landscape of computing might change in the future. Students will discuss how these future developments might impact our society.

Objective

Students will be able to:

  • Discuss the future of technology and computers in the world
Description

In this lesson, students learn about troubleshooting methodology and go through the process of solving an issue with a printer.

Objective

Students will be able to:

  • Systematically troubleshoot an issue with a computing device
Description

In this first lesson, students will be introduced to their micro:bit device and the MakeCode editor, where they will build and test programs throughout the course. They will also be guided through the process to download programs from the editor to their device and will learn a few basic commands to get started writing micro:bit programs.

Objective

Students will be able to:

  • Articulate what physical computing is
  • Download and run programs on their micro:bit device in order to physically view programs as they create them throughout the course
  • Use the showNumber and showString commands in micro:bit programs
Description

In this lesson, students will take a deeper look at developing, testing, and running programs on the micro:bit simulator and on their devices. They will learn how the 5x5 grid system is laid out and will utilize more commands to light specific LEDs on the screen.

Objective

Students will be able to:

  • Develop, test, and run programs both on the micro:bit simulator and on physical devices
  • Use the MakeCode grid numbering system to light specific LEDs on the 5x5 LED screen
  • Use the led.plot, led.unplot, and basic.pause commands in micro:bit programs
Description

In this lesson, students will learn about comments and pseudocode, why they are important, and how they help organize and plan programs. They will also learn the basic difference between analog and digital components and how to use the plotBrightness and clearScreen commands in their programs.

Objective

Students will be able to:

  • Use comments to write more readable programs
  • Develop pseudocode in order to properly plan and organize their programs
  • Use the plotBrightness and clearScreen commands in micro:bit programs
Description

In this lesson, students will build their first physical circuit using their micro:bit devices. They will learn to use variables to control components, along with the analogWritePin and digitalWritePin commands.

Objective

Students will be able to:

  • Articulate what a variable is and why they are used
  • Assign and utilize variable in their programs
  • Create a simple circuit using micro:bit pins
  • Control an external LED by using the analogWritePin and digitalWritePin commands in micro:bit programs
Description

In this lesson, students review content with a 15 question Unit Quiz.

Objective

Students will be able to:

  • Prove their knowledge of basic coding concepts through a multiple choice quiz
Description

In this lesson, students understand how they can control and protect their footprint. As students use the Internet, they are building their digital footprint. This includes social media posts, emails, picture and video uploads amongst other online activities.

Objective

Students will be able to:

  • Understand how their online activity contributes to a permanent and public digital footprint
  • Articulate their own social media guidelines to protect their digital footprint
Description

In this lesson, students will learn about and discuss cyberbullying. Cyberbullying is the use of electronic communication to harass or target someone. Cyberbullying includes sending, posting, or sharing negative, harmful, false, or mean content about someone else.

Objective

Students will be able to:

  • Understand the impact of cyberbullying, and identify unacceptable bullying behavior
  • Identify proper actions to take if they are victims of cyberbullying or if they observe someone being cyberbullied
Description

In this lesson, students will learn to recognize online predatory behavior and strategies on how to avoid and respond to it. The Internet is a great place to socialize, but it is important to be aware of risks. Common sense and following safety guidelines can help students stay safe online.

Objective

Students will be able to:

  • Identify predatory behavior and how to respond to it online
Description

In this lesson, students will discuss and examine policies regarding privacy and security. Using best practices like setting strong passwords, reading privacy policies, and using https can help in staying safe online.

Objective

Students will be able to:

  • Use best practices in personal privacy and security, including strong passwords, using https, and reading privacy policies
Description

Now that students have learned about digital citizenship and cyber hygiene, they will take what they have learned and create a PSA to inform members in the community about a topic!

Objective

Students will be able to:

  • Create a public service announcement for members of their community about a topic in digital citizenship or cyber hygiene
  • Use google sheets to store and analyze data, and create a data visualization.
Description

In this lesson, students complete a summative assessment of the unit’s learning objectives.

Objective

Students will be able to:

  • Prove their knowledge of digital citizenship and cyber hygiene concepts through a multiple choice quiz
Description

In this lesson, students will learn how basic encryption and decryption works. There is a need for secrecy when sending and receiving personal information. Encryption and decryption are used to protect personal information.

Objective

Students will be able to:

  • Define cryptography, cryptology, and cryptanalysis
  • Explain the need for encryption and how basic encryption and decryption works
  • Relate encyption with how it affects the CIA Triad
Description

In this lesson, students will learn the history of cryptography. Humans have always had reasons to hide information, and throughout history they have used crypto systems of varying complexity to keep information safe.

Objective

Students will be able to:

  • Explain the purpose of cryptography and how different crypto systems have been used throughout history
Description

In this lesson, students will learn and practice using the Caesar Cipher. The Caesar Cipher is an encryption method that predates computers in which each letter of the message is shifted by a certain amount, called the key.

Objective

Students will be able to:

  • Encrypt and decrypt messages using the Caesar Cipher
Description

In this lesson, students will practice using brute force and letter frequency to crack the Caesar Cipher. The Caesar Cipher is an encryption method in which each letter of the message is shifted by a certain amount, called the key. Cracking the Caesar Cipher with brute force (trying every combination) is a trivial matter for modern computers.

Objective

Students will be able to:

  • Explain why the Caesar Cipher is so easy for a computer to crack
  • Use basic letter distribution analysis to decrypt a simple message
Description

In this lesson, students will learn and use the Vigenère Cipher. The Vigenère Cipher consists of several Caesar ciphers in sequence with different shift values based on a keyword, so brute force and letter frequency analysis do not work.

Objective

Students will be able to:

  • Explain how the Vigenère Cipher works and why it is not as easy to crack as the Caesar Cipher