Want to know updated CodeHS Answers for the year 2021? If YES, no look further, check out below for the revised topic you are looking for.
NOTE: All key answers to CodeHS are checked twice before publishing them to you. So, please share if it helps you.
CodeHS Answers – Quiz Keys To Units Covered
We will be covering all quiz answer keys for CodeHS below. So go through one by one properly.
In case anything is missing kindly let us know through the comment box below.
Q. In the following code snippet, how many times is the turnRight function called and how many times is it defined?
Ans: Called 3 times, defined 1 time
Q. What is the purpose of using a for loop in code?
Ans: To repeat something a fixed number of times
Q. Why should a programmer indent their code?
Ans:
*Helps show the structure of the code
*Easier for other people to understand
*Indenting is a key part of a good programming style
Q. What is a function?
Ans: using known terms to create new ones
Q. How many times should the start function be defined in a program?
Ans: 1
Q. How many times should the start function be called in a program?
Ans: 0
Q. The first thing you should write when creating a script
Ans: function start(){ script }
Q. What is top-down design?
Ans: Top-down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.
Q. Why do we use if statements in JavaScript?
Ans: To do something only if a condition is true
Q. What is top-down design?
Ans: Top-down design is a way of designing your program by starting with the biggest problem and breaking it down into smaller and smaller pieces that are easier to solve.
Q. How is a general if statement definition was written correctly?
Ans:
if(condition) {
//code
}
Q. What does an if/else statement look like in JavaScript?
Ans:
if (condition) {
//code
} else {
//code
}
Q. Why do we use if/else statements in JavaScript?
Ans: To either do something if a condition is true or do something else
Q. Why do we use while loops in JavaScript?
Ans: To repeat some code while a condition is true
Q. Which general while loop definition is written correctly?
Ans:
while (condition) {
//code
}
Q. What do we use control structures for in JavaScript?
Ans: Control the flow of the program; how the commands execute.
Q. What is a code comment?
Ans: A way to give notes to the reader to explain what your code is doing
SOLVED ASSIGNMENT PROBLEMS
Q. 2.4.7 Building a Shelter Code
Ans:
turnLeft();
makeSide();
function turnRight(){
turnLeft();
turnLeft();
turnLeft();}
turnRight();
makeSide();function makeSide(){
move();
putBall();
move();
putBall();
move();
putBall();
}goHome();
function goHome(){
turnRight();
move();
putBall();
move();
putBall();
move();
putBall();
turnLeft();
turnLeft();
turnLeft();
move();
move();
move();
turnLeft();
turnLeft();
}
Q. 2.2.3: Build a Tent
Ans:
// Turns right
function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
// Turns around
function turnAround(){
turnLeft();
turnLeft();
}
// Makes the left side of the tent
function makeLeftSide(){
putBall();
move();
turnLeft();
move();
turnRight();putBall();
move();
turnLeft();
move();
turnRight();putBall();
move();
turnLeft();
move();
turnRight();}
// Makes the right side of the tent
function makeRightSide(){
putBall();
turnRight();
move();
turnLeft();
move();
putBall();
turnRight();
move();
turnLeft();
move();
putBall();
turnRight();
move();
turnLeft();
move();
putBall();
}
// Build the tent
makeLeftSide();
makeRightSide();
// Goes back to the starting position
function goHome(){
turnAround();
move();
move();
move();
move();
move();
move();
turnAround();
}
turnLeft();
turnLeft();
move();
move();
move();
move();
move();
move();
turnRight();
turnRight();
Q. 2.1.4: Pancakes
Ans:
move();
makePancakes();
function makePancakes(){
putBall();
putBall();
putBall();
}
moveTwice();
function moveTwice(){
move();
move();
}
makePancakes();
moveTwice();
makePancakes();
move();
Q. 2.5.4: Pancakes with Start
Ans:
function start(){
move();
makePancakes();
move();
move();
makePancakes();
move();
move();
makePancakes();
move();
}
function makePancakes(){
putBall();
putBall();
putBall();
}
Q. 2.6.4: The Two Towers
Ans:
function start(){
move();
turnLeft();
makeTower();
move();
turnRight();
move();
move();
turnRight();
move();
makeTower();
turnLeft();
turnLeft();
move();
move();
move();
turnRight();
}
function makeTower(){
putBall();
move();
putBall();
move();
putBall();
}
function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
2.18.3: Tower Builder
Ans:
//starts the tower
function start(){
buildTower();
while(frontIsClear()){
move();
safeMove();
}
}
function buildTower(){
turnLeft();
putBall();
move();
putBall();
move();
putBall();
turnAround();
move();
move();
turnLeft();
}
function safeMove(){
if(frontIsClear()){
move();
buildTower();
}
}
Q. 2.6.5: Make a ‘Z’
Ans:
function start(){
putBallsInRow();
makeDiagonal();
move();
turnAround();
putBallsInRow();
}// Puts down four balls in a row
function putBallsInRow(){
move();
putBall();
move();
putBall();
move();
putBall();
move();
putBall();
}function makeDiagonal(){
turnRight();
move();
turnRight();
move();
putBall();turnLeft();
move();
turnRight();
move();
putBall();turnLeft();
move();
turnRight();
move();
}function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}function turnAround(){
turnLeft();
turnLeft();
}
Q. 2.10.5: Take ’em All
Ans:
function run(){
move();
for(var i = 0; i < 100; i++){
takeBall();
}
move();
}
function start(){
run();
}
Q. 2.10.7: For Loop Square
Ans:
function run(){
for(var i = 0; i < 4; i++){
putBall();
move();
turnLeft();
}
}
function start(){
run();
}
Q. 2.10.8: Lots of Hurdles
Ans:
function jumpHurdle(){
for(var i = 0; i < 5; i++){
move();
move();
turnLeft();
move();
turnRight();
move();
turnRight();
move();
turnLeft();
}
}
function start(){
jumpHurdle();
}
Q. 2.1.3: Turn Around
Ans:
move();
turnAround();
function turnAround(){
turnLeft();
turnLeft();
}
Q. 2.11.5: Is There a Ball?
Ans:
function start(){
safeTakeBall();
putBall();
move();
}function safeTakeBall(){
if(ballsPresent()){
takeBall();
}
}
Q. 2.12.5: Right Side Up
Ans:
function start(){
if(facingSouth()){
turnLeft();
}else{
turnRight();
turnRight();
}
}
Q. 2.1.5: Backflip
Ans:
function moveTwice() {
move();
move();
}
moveTwice();
function backflip() {
move();
turnLeft();
move();
turnLeft();
move();
turnLeft();
move();
turnLeft();
move();
}
backflip();
backflip();
Q. 2.13.4: Follow The Yellow Ball Road
Ans:
function start() {
while (ballsPresent()) {
move();
}
}
Q. 2.13.5: Lay Row of Tennis Balls
Ans:
function start(){
while (frontIsClear()) {
putBall();
move();
}
putBall();
}
Q. 2.18.5: Double Tennis Balls
Ans:
//Have 5 functions 1 start
function start(){
move();
putTwoBalls();
moveBack();
}
function putTwoBalls(){
while(ballsPresent()){
takeBall();
putTwoMoreBallsNextAve();
}
moveBallsNextDoorBack();
}
function putTwoMoreBallsNextAve(){
move();
putBall();
putBall();
moveBack();
}
function moveBallsNextDoorBack(){
move();
while(ballsPresent()){
moveOneBallBack();
}
moveBack();
}
function moveOneBallBack(){
takeBall();
moveBack();
putBall();
move();
}
function moveBack(){
turnAround();
move();
turnAround();
}
Q. 2.15.6: Decorate the Fence
Ans:
function start(){
while(frontIsClear()){
move();
}
turnLeft();while(frontIsClear()){if(rightIsBlocked()){
putBall();
move();
while(rightIsClear()){
move();
}}
if(frontIsBlocked()){
putBall();
}
}
}
Q. 2.16.5: Staircase
Ans:
/* This program creates a staircase from the first spot all the
* way across the world for any sized world.
* This program works, but its indentation is completely wrong.
*
* Run the program first, so you know what it does and don’t break it.
*/
function start(){
putBall();
while(frontIsClear()){
turnLeft();
while (ballsPresent()) {
move();
}turnRight();
move();
createStep();
}
}
function createStep() {
turnRight();
putBall();
while (frontIsClear()) {move();
putBall();
}
turnLeft();
}
Q. 2.17.5: Invert Colors
Ans:
start();
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
move();
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
move();
}
}
if(colorIs(Color.blue)){
paint(Color.red);
if(frontIsClear());
}else{
if(colorIs(Color.red)){
paint(Color.blue);
if(frontIsClear());
}
}
function start(){
}
Q. 5.2.3: Time Capsule
goToWall();
placePile();
turnAround();
goToWall();
turnAround();
}
// Puts down a pile of 15 balls
function placePile(){
for(var i = 0; i < 15; i++){
putBall();
}
}
// Goes to the wall
function goToWall(){
while(frontIsClear()){
move();
}
}
Karel Code HS & SOLVED PROBLEMS
Q. Which function will teach Karel how to spin in a circle one time?
Ans: B
Q. Which is a valid Karel command?
Ans: move();
Q. What is a street in a Karel world?
Ans: Row
Q.What is an avenue in a Karel world?
Ans: Column
Q. How many times should Karel turn left in order to turn right?
Ans: 3
Q. If Karel starts at Street 1 and Avenue 3 facing East, what street (row) and avenue (column) will Karel be on after this code runs?
Ans: Street 2 Avenue 6
Q. If Karel is facing North and the code runs; which direction is Karel facing now?
Ans: South
Q. How many times should Karel turn left in order to turn right?
Ans: 3
Q. What can be used to teach Karel to turn right?
Ans: Functions
Q. What is the best way for Karel to move 10 times?
Ans:
for (var i = 0; i < 10; i++) {
move();
}
Q. Which function will teach Karel how to spin in a circle one time?
Ans:
function spin() {
turnLeft();
turnLeft();
turnLeft();
turnLeft();
}
Q. What makes the following command an invalid Karel command? turnLeft();
Ans: The l should be a capital L
Q.What commands does SuperKarel know that regular Karel does not?
Ans: turnAround(); and turnRight();
Q. Say you want to write a program to have Karel put down 300 tennis balls. Which control structure would you use?
Ans: For loop
Q. 2.10.6: Dizzy Karel
Ans:
function run(){
for(var i = 0; i < 32; i++){
turnLeft();
}
}
Q. 2.4.6 Digging Karel
Ans:
buryBall();
move();
buryBall();
move();
buryBall();
move();function buryBall(){
move();
move();
turnLeft();
turnLeft();
turnLeft();
move();
move();
move();
turnLeft();
putBall();
turnLeft();
move();
move();
move();
turnLeft();
turnLeft();
turnLeft();
}
Q. 2.16.4: Diagonal
Ans:
//This program has karel lay a diagonal row of tennis balls. However, the indenting is all wrong.
function start(){
while(frontIsClear()){
putBall();
move();
turnLeft();
move();
for(var i = 0; i < 3; i++){
turnLeft();
}
}
putBall();
}
Q. 2.5.5: Digging Karel with Start
Ans:
function start(){
move();
buryBall();
move();
buryBall();
move();
buryBall();
}function turnRight() {
turnLeft();
turnLeft();
turnLeft();
}
function buryBall() {
move();
turnRight();
move();
move();
move();
putBall();
turnLeft();
turnLeft();
move();
move();
move();
turnRight();
move();
}
Q. 2.17.6 Checkboard Karel
Ans:
start();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnLeft();
move();
turnLeft();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnRight();
move();
turnRight();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnLeft();
move();
turnLeft();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnRight();
move();
turnRight();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnLeft();
move();
turnLeft();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnRight();
move();
turnRight();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
turnLeft();
move();
turnLeft();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.black);
move();
paint(Color.red);
LEEF();function start(){
}function LEEF(){
turnLeft();
move();
move();
move();
move();
move();
move();
move();
turnLeft();
}
Q. 2.14.4: Random Hurdles
Ans:
function start() {
//This makes Karel move to all the hurdles
for (var i = 0; i < 13; i++) {
if (frontIsBlocked()) {
jumpHurdle();
} else {
move();
}
}
}function jumpHurdle() {
//This makes Karel jump over the hurdles
turnLeft();
move();
turnRight();
move();
turnRight();
move();
turnLeft();
}
Q. 2.20.3: Planning
Ans:
//This is going to be the function that decipher/tells Karel what to do
function start(){
move();
turnLeft();
makeTower();
move();
turnRight();
move();
move();
turnRight();
move();
makeTower();
turnLeft();
turnLeft();
move();
move();
move();
turnRight();
}//This will make tower build a tower when said.
function makeTower(){
putBall();
move();
putBall();
move();
putBall();
}//Not using Ultra Karel or SuperKarel this is what you should do.
function turnRight(){
turnLeft();
turnLeft();
turnLeft();
}
Q. 2.18.1: Fetch
Ans:
function start() {
turnLeft();
move4();
turnRight();
move2();
takeBall();
move();
turnRight();
move4();
turnLeft();
move3();
gP();
move3();
move3();
gP();
putBall();
}
//allow move karel 4 times
function move4(){
move();
move();
move();
move();
}function move2(){
move();
move();
}function gP(){
turnLeft();
turnLeft();
}function move3(){
move();
move();
move();
}
Q. 2.18.2: Racing Karel
Ans:
// This program will have Karel run around the racetrack 8 times.
function start(){
for(var i = 0; i < 32; i++){
setBall();
runToWall();
turnLeft();
}
}
function setBall(){
putBall();
}
function runToWall(){
while (frontIsClear()){
move();
}
}
Q.2.18.4: Super Cleanup Karel
Ans:
//3 functions made 1 start
function start(){
ballsTaken();
while(leftIsClear()){
endUpFacingEast();
ballsTaken();
if(rightIsClear()){
endUpFacingWest();
ballsTaken();
}else{
turnAround();
}
}
}
function ballsTaken(){
if(ballsPresent()){
takeBall();
}
while(frontIsClear()){
move();
if(ballsPresent()){
takeBall();
}
}
}
function endUpFacingEast(){
turnLeft();
move();
turnLeft();
}
function endUpFacingWest(){
turnRight();
move();
turnRight();
}
Q. 2.13.6: Big Tower
Ans:
function start(){
faceNorth();
buildTower();
putBall();
}//This function make Karel face north is Karel is facing west.
function faceNorth(){
if(facingWest()){
turnRight();
}
if(facingEast()){
turnLeft();
}if(facingSouth()){
turnLeft();
turnLeft();
}
}
//This function makes Karel put the tennis balls up to the top of the “world”.function buildTower(){
while(frontIsClear()){
putBall();
move();
}
}
Q. 2.9.4: The Two Towers + SuperKarel
Ans:
function start(){
//Karel will build two towers
move();
turnLeft();
makeTower();
move();
turnRight();
move();
move();
turnRight();
move();
makeTower();
turnLeft();
turnLeft();
move();
move();
move();
turnRight();
}
//This function will be used whenever Karel is supposed to build a tower
function makeTower() {
putBall();
move();
putBall();
move();
putBall();
}
Q. 2.20.4: Pseudocode
Ans:
//Don’t copy this MAKE your own
Milestone 1:
First to build a tower:
Turn left
Then place a for loop:
putBall();
move();
putBall();
move();
putBall();
}
Milestone 2:
To come down:
Turn right //Because I am using “basic” Karel I have to make a function for that.
repeat 3 times
move
Turn left
}
Milestone 3:
Make function for make tower
//which is what the loop will be
putBall();
move();
putBall();
move();
putBall();
}
Milestone 4:
Make another function for basic Karel to turn Right
turnLeft();
turnLeft();
turnLeft();
}
Milestone 5:
Debug and run
Q. 2.20.5: Create your UltraKarel…
Ans:
function Twenty(){
paint(Color.red);
move();
paint(Color.orange);
move();
paint(Color.yellow);
move();
paint(Color.green);
move();
paint(Color.cyan);
move();
paint(Color.blue);
move();
paint(Color.purple);
move();
paint(Color.gray);
move();
paint(Color.white);
move();
paint(Color.black);
move();
paint(Color.red);
move();
paint(Color.orange);
move();
paint(Color.yellow);
move();
paint(Color.green);
move();
paint(Color.cyan);
move();
paint(Color.blue);
move();
paint(Color.purple);
move();
paint(Color.gray);
move();
paint(Color.white);
move();
paint(Color.black);
}function start(){
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
turnRight();
move();
turnRight();
Twenty();
turnLeft();
move();
turnLeft();
Twenty();
}
CodeHS Study Guide
Characteristics of a command
*No spaces in commands
*Need to match the exact capitalization
*Every command ends in ( ) ;
Function
Allows us to break down our program into smaller parts, and makes the program easier to understand.
Rules for defining a function
*Name should start with a letter, and cannot have any spaces
*The name should describe what this function does
*The code in the function goes between the { and the } character, and this is called the “function body.”
Start function
All of our programs start with
We use functions to
*Break down our program into smaller parts
*Avoid repeated code
*Make our program more readable
Comments
Notes that you leave in your code so others can know what your code is doing
For loops
Repeats a section of code a fixed number of times
Conditions
is a function that returns a true/false answer
If statements
a programming conditional statement that, if proved true, performs a function or displays information.
if-else statements
it executes a block of code if is true. If it’s false, another block of code can be executed.
While loops
allows us to repeat a section of code as long as some condition is true.
Computer
is a computing machine that performs calculations according to precise instructions.
Uses for computers
*To keep counts
*Marketplace
*Calculate astronomical positions
*Solves math problems
*Military and business use
Hardware
Physical components
Software
Programs that run on the computer
System software
Programs that run on the computer that helps the computer perform tasks.
Binary
Is a number system with only 0’s and 1’s.
Byte
Unit of digital data.
Digital Information
Information stored as numerical digits.
Data Abstraction
The process of simplifying complicated data into manageable chunks.
Decimal Number System
A system with 10 numeric values, 0 through 9.
ASCII
American Standard Code for Information Interchange.
Pixels
The building blocks of digital images.
Hexadecimal Number System
a base-16 system, consisting of the 16 symbols 0 through 9 and A through F.
RGB Color Scheme
allows us to encode colors as numeric data.
R = Math.min (R + 50, 255);
G = Math.min (G + 50, 255);
B = Math.min (B + 50, 255);
Brightness Filter
R = Math.max (R – 50, 0);
G = Math.max (G -50, 0);
B = Math.max (B – 50, 0);
Darkness Filter
Internet
A global network connecting millions of computers, making it possible to exchange information.
Networks
A group of 2 or more computer systems linked together.
Bandwidth
The capacity of data transfer in a system and it’s measured by bitrate.
Latency
The time it takes for a bit to travel from its sender to its receiver.
The Internet Protocol
A protocol that defines the layout of an Internet address.
DNS
The service that translates URLs to IP addresses.
Routing
the process of deciding which path to take on a network. This is determined by the type of network and the software used to transmit data.
Packets
Small chunks of information that have been carefully formed from larger chunks of information.
Cybersecurity
The protection of computer systems, networks, and data from digital attacks.
CIA Triad
Confidentiality, Integrity, Availability
Confidentiality
The protection of information from people who are not authorized to view it.
Integrity
Aims at ensuring that information is protected from unauthorized or unintentional alteration.
Availability
The assurance that systems and data are accessible by authorized users when and where needed.
Digital Footprint
All of the information about a person can be found online due to their activity.
Cyberbullying
The use of electronic communication to bully a person, typically by sending messages of an intimidating or threatening nature.
Privacy
The appropriate use of your data.
Copyright
A form of protection for intellectual property, usually applying to artistic work.
Hacker
a person who uses computers to gain unauthorized access to data on the internet.
White hat hackers
ethical hackers that break into the systems for non-malicious reasons such as to test the system security vulnerabilities or to expose undisclosed weaknesses
Black hat hackers
break into other people’s computer systems and may just look around or may steal and destroy information
Grey hat hackers
A cross between black and white—they will often illegally break into systems merely to flaunt their expertise to the administrator of the system they penetrated or to attempt to sell their services in repairing security breaches.
Cryptography
The study and use of techniques for securing communication.
Encrypt
Scramble
Decrypt
Unscramble
Cryptanalysis
The process of decrypting a message without knowing the cipher or key used to encrypt it.
Cryptology
The study of solving and writing encryptions.
Symmetric Encryption
the same key is used to encode and decode
Asymmetric Encryption
two keys are used; one key encodes the message, and the other key decodes the message
Hashing
Changing a message into an unreadable string of numbers.
CodeHS All Lesson Answer Keys [Watch Video]
About CodeHS
Powered by passion and inspired by innovation, CodeHS is a digital platform designed with an intention to deliver well-versed and in-depth knowledge of coding. They intend to bridge the gap between teachers and students by providing limitless learning opportunities and possibilities around the world.
When it comes to exploring avenues in the field of computer sciences, They took a unique approach to empower students, teachers, and society with professional skills that transcend cultural boundaries. A perfect blend of excellence and brilliance.
The ambition to offer everyone the same basic principles, curriculum, and learning environment about computer knowledge is reaping fruits through growth, potential, and talent. The interactive display makes it all fun and entertaining to use the platform while giving a wide range of modern techniques and tools to transform your hunger into professional success.
The seamless integration of all the major programming languages and other modules in one place makes CodeHS the finest medium for online learning for every aspirant. From learning to advancing your skills and talent, CodeHS is your one-stop solution that answers your every problem.