Coding

Not a Learning.com customer? Learn More

Type:Lesson

Estimated Time:90 minutes

Score Type:Auto Score

This lesson automatically provides a score to your gradebook

Available Language: English


Vocabulary: coding, debugging, if statement, programming, python, test statement, test value, test variable


Objectives:

  • Students will learn to generate random numbers.
  • Students will learn to compare user input to computer generated numbers to determine an outcome.
  • Students will learn to explore all possible outcomes for combined events.
  • Students will learn to test outcomes for logic errors.
  • Students will learn to fix any errors so that the correct outcome is displayed.

Subjects:

Algorithm Development 

Information Technology > Programming > Algorithm Development 

Algorithms, Random for Simulations 

Information Technology > Programming > Algorithms, Random for Simulations 

Algorithms 

Information Technology > Programming > Algorithms 

Basic Techniques 

Information Technology > Programming > Basic Techniques 

Data Structures and Syntax 

Information Technology > Programming > Data Structures and Syntax 

Debugging and Testing Process 

Information Technology > Programming > Debugging and Testing Process 

Event-based 

Information Technology > Programming > Event-based 

Experimentation

Information Technology > Technology Use In Society > Design Process > Experimentation

Game Types i.e. Tiles 

Media Production > Game Design > Game Types i.e. Tiles 

General / Basic Concepts of 

Information Technology > Programming > General / Basic Concepts of 

Input / Output Procedures 

Information Technology > Programming > Input / Output Procedures 

Keyboard Use / Input, Output Devices / Proficiency of use

Science > History / Technology / Social Perspectives > Computer Science > Computer skills > Keyboard Use / Input, Output Devices / Proficiency of use

Libraries (Code) 

Information Technology > Programming > Libraries (Code) 

Program Execution 

Information Technology > Programming > Program Execution 

Programming / Code Development: Game Events 

Media Production > Game Design > Programming / Code Development: Game Events 

Programming / Code Development 

Media Production > Game Design > Programming / Code Development 

Python

Information Technology > Programming > Programming Languages > Python

Random Numbers, Use of 

Information Technology > Programming > Random Numbers, Use of 

Vocabulary 

Information Technology > Programming > Vocabulary 
Show More

Standards:

S.4.d Students exhibit a tolerance for ambiguity, perseverance and the capacity to work with open-ended problems.
S.5.a Students formulate problem definitions suited for technology-assisted methods such as data analysis, abstract models and algorithmic thinking in exploring and finding solutions.
S.5.b Students collect data or identify relevant data sets, use digital tools to analyze them, and represent data in various ways to facilitate problem-solving and decision-making.
S.5.c Students break problems into component parts, extract key information, and develop descriptive models to understand complex systems or facilitate problem-solving.
S.5.d Students understand how automation works and use algorithmic thinking to develop a sequence of steps to create and test automated solutions.
2-AP-10 Use flowcharts and/or pseudocode to address complex problems as algorithms. (P4.4, P4.1)
2-AP-16 Incorporate existing code, media, and libraries into original programs, and give attribution. (P4.2, P5.2, P7.3)
2-AP-17 Systematically test and refine programs using a range of test cases. (P6.1)
3A-AP-13 Create prototypes that use algorithms to solve computational problems by leveraging prior student knowledge and personal interests. (P5.2)
Feedback