Programming I
Programming logic, in plain language, before the syntax.
The essence of a computer program is the logic that turns your instructions, human control inputs, and sensor inputs into robot motions. That logic needs to be coded in a particular syntax called a programming language in order for the computer to understand it. In this introductory Tech Crest you will learn about programming and programming logic — it is important to understand this logic before trying to write real code.
What you'll do
Some requirements are independent; others you'll do with your trainer. Check off items as you go — your progress is saved in this browser.
Foundations
-
1. Discuss prevention for the types of injuries that could occur during programming activities, including repetitive stress injuries and eyestrain.
-
2. Give a brief history of programming, including at least three milestones related to the advancement or development of programming.
-
3. Explain programming languages:
-
3a. Explain in your own words: What is a programming language?
-
3b. Create a list of 3 popular programming languages in use today and describe what makes each language unique.
Program Elements
-
4. Explain data types in programming. Identify 3 data types that a program might store and give 2 examples of values for each.
-
5. In your own words, define the following programming terms and explain scenarios when you would use each of them: variable, comment, print statement, if statement, loop.
Pseudocode
For the following exercises, write pseudocode — a plain English description of program logic that can be translated into the specific syntax of a programming language.
-
6. Write pseudocode to define two variables, num1 and num2, and assign them any integer values. Then print the sum of the two variables.
-
7. Write pseudocode to print the even numbers from 1 to 100.
-
8. Write pseudocode to print the numbers from 1 to 100. For multiples of three print "Fizz" instead of the number; for multiples of five print "Buzz"; for multiples of both three and five print "FizzBuzz".
Find your trainer. Make a plan.
A trainer is a coach, mentor, or more experienced student with content-area expertise and your coach's approval. Ask your coach to help identify an eligible trainer for Programming I.
- 1 Identify your trainer with help from your coach
- 2 Meet to discuss your plan of work and timeline
- 3 Complete requirements; check in periodically
- 4 Present yourself for review at completion
- 5 Trainer submits the Tech Crest completion form