Selection

This is a list of all of the articles relating to the concept of selection.

Lesson Plan for If and Else

Published on: Sun, Apr 19, 2015
Section: Lesson Plans  

Lesson Objective

To learn how to use if else statements to make alternative decisions

Lesson Plan for If Only

Published on: Sat, Apr 18, 2015
Section: Lesson Plans  

Lesson Objective

To learn how to use if statements to make decisions

If and Else

Published on: Sat, Apr 4, 2015
Section: Teacher Notes  

Objective

To extend the pupil’s knowledge of if selection statements by introducing the closely related if else statement.

The lesson also introduces the concepts of boolean, negation and not equals to.

The class will learn the pattern for an if else statement in Go.

The class will practice using an if else statement and see the effect with the timesquestion program.

Creating these program will require the class to use the text editor (either Atom or LiteIDE) to create and save the source code file and the terminal/command line to run their program.

Selection

Published on: Fri, Apr 3, 2015
Section: Teacher Notes  

Objective

To learn what selection statements are and how to use them.

The class will learn that selection statements are how computer programs make decisions.

The class will learn the pattern for an if statement in Go.

The class will practice using an if statement and see the effect with the worldtemperature program.

Creating these program will require the class to use the text editor (either Atom or LiteIDE) to create and save the source code file and the terminal/command line to run their program.

More Selection

Published on: Thu, Apr 2, 2015
Section: Lessons  

What You are Going to Learn

In the last lesson we introduced the concept of selection. Selection is how a computer program makes a decision.

In this lesson we want to extend the concept to selection to show you how a computer program can make a choice between two or more alternatives.

Selection

Published on: Wed, Apr 1, 2015
Section: Lessons  

What You are Going to Learn

In the last lesson we introduced the concept of keyboard input and showed you how the input can be stored in a variable.

But what if you wanted the computer to make a decision, based on what you had typed? How do you do this?

In this lesson we are going to show you how you can tell a computer program to make a decision. We will introduce the pattern for if statements as selection is more commonly known.

Search

Featured Lesson

Start here...

Hello and welcome

Hello and welcome to GopherCoders.com.

Do you want to learn to program a computer? If you answered YES you have come to the right website. Follow along with us and let us introduce you to the world of computer programming.