STEM Corner: Surrounded by Code

STEM Corner: Surrounded by Code

  • By Ryan Stanley
  • Tuesday, October 24, 2017 6:15am
  • News

There is code all around us: tiny instructions that tell machines how to do what they do. Boats, planes, cars, appliances and buildings all contain little computer devices that run code. Some code, like in stoplights, is basic and simple-minded. Other code, like in computers and phones, is expansive and includes millions of lines.

Electronic machines are dumb. They can only understand two things: On or Off where a “1” is on and a “0” is off. Code allows us to compile our human desires into a binary language that machines can understand. A simple example, for a stoplight, is the literal translation of the word “go” in binary: “01100111 01101111”.

Once upon a time, code had a different name: math. “Computer” was the job title given to the people who did the math. In the 1940s and ‘50s machines evolved enough to take those math jobs, and the human computers became programmers. Today many of us carry around computers in our pockets that 70 years ago would have taken up the same amount of space as Fred Meyer plus Costco plus the Nugget Mall.

Tomorrow, computers will continue to shrink and code will surround us: in shoes, light bulbs, tires, desks, chairs, pens, thermostats, eye glasses, drinking glasses, doorknobs and pacemakers (to name a few). The building of useful gadgets will happen less in hardware and more in code. The question is, who will be writing that code and when will they learn how to do it?

Each year, schools are expected to do more with less, and while budgets get cut, there is one thing that isn’t cut and is rarely changed: “core.”

With technology growing at a breakneck pace, our schools struggle to maintain relevance. There is no mention of computer science in the Alaska State Education Standards and the same is true if you thumb through either of Juneau’s high school course catalogs. Nationally, the story is only slightly improved, with only 40 percent of schools having computer science as part of their core curriculum (source: “https://code.org/promote/stats”).

Many students are mastering the use of technology to interact and create documents and media, but few are learning how to create technology. Modern students who learn programming outside of college do so largely of their own volition, either as an elective or on their own time.

And so, until our schools catch up, what can we as parents do to prepare our kids for a future they haven’t yet invented? Plenty. Here’s a start:

First: encourage JSD to make computer science part of core and to adopt curriculum in science, math and creative arts that employs the use of coding.

Second: encourage your teachers and school to integrate coding into lessons, even if only in the form of spreadsheet formulas or offline activities.

Lastly: practice at home. Following are some resources.

For younger kids, there’s a wealth of paper-and-pencil games and activities you can download from the internet to build coding skills. Go to “pinterest.com” and search for “coding unplugged.”

For slightly older beginners with an online computer, the website “code.org/learn” hosts a number of game-like activities which will have kids coding in not time.

Older learners can get free access to “lynda.com” through the Juneau public library. Also “khanacademy.org” and “freecodecamp.org” are excellent sources. For those with a little coin to spend, “tinyurl.com/jstem-code-pay” and “tinyurl.com/jstem-code-pay2” list online courses for discount or pay-as-you-can.

STEM Activity: Follow the Sequence

Coding is writing instructions, then running them to see how they do, then adjusting them and rerunning. This is a potentially hilarious activity where the kid is the programmer and the adult the computer.

1) Programmer: Write the precise steps for making a peanut butter & jelly sandwich.

2) Computer: Follow the steps literally and only the steps, with no deviation or interpretation. If you don’t understand or can’t do a step, say “ERROR!”

3) Programmer: Re-write and re-run the instructions through your computer until you get a tasty sandwich.

If you want to see how this activity went over for another family, here’s a video: “tinyurl.com/jstemfollow-video.”

The Colossus was the first functional digital computer, used to decode German messages during World War II. It was credited with ending the war and possesses a fraction of the computing power most of us carry around today in our pockets.


• Ryan Stanley is the Technology Director at SERRC. Thanks to Dan Strong for contributing some links to this article. STEM Corner is a monthly column about Science Technology Engineering and Math, written by a rotating group of Juneau STEM Coalition members.


 

More in News

(Juneau Empire file photo)
Aurora forecast through the week of Nov. 17

These forecasts are courtesy of the University of Alaska Fairbanks’ Geophysical Institute… Continue reading

Juneau Police Department cars are parked outside the downtown branch station on Thursday. (Mark Sabbatini / Juneau Empire)
JPD’s daily incident reports getting thinner and vaguer. Why and does it matter?

Average of 5.12 daily incidents in October down from 10.74 a decade ago; details also far fewer.

(Michael Penn / Juneau Empire file photo)
Police calls for Monday, Nov. 18, 2024

This report contains public information from law enforcement and public safety agencies.

The Douglas Island Breeze In on Wednesday. (Mark Sabbatini / Juneau Empire)
New owner seeks to transfer Douglas Island Breeze In’s retail alcohol license to Foodland IGA

Transfer would allow company to take over space next to supermarket occupied by Kenny’s Liquor Market.

A butter clam. Butter clams are found from the Aleutian Islands to the California coast. They are known to retain algal toxins longer than other species of shellfish. (Photo provided by the Washington Department of Fish and Wildlife)
Among butter clams, which pose toxin dangers to Alaska harvesters, size matters, study indicates

Higher concentrations found in bigger specimens, UAS researchers find of clams on beaches near Juneau.

An aerial view of people standing near destroyed and damaged buildings in the aftermath of Hurricane Helene flooding on Oct. 8, 2024 in Bat Cave, North Carolina. (Mario Tama/Getty Images)
Members of U.S. Senate back disaster aid request amid increasing storm severity

WASHINGTON — The Biden administration’s request for nearly $100 billion in natural… Continue reading

Media members and other observers gather at the Alaska Division of Elections office on Wednesday evening as the results of all ballots, including ranked choice tabulations, were announced. (Mark Sabbatini / Juneau Empire)
Ranked choice voting repeal fails by 0.2%, Begich defeats Peltola 51.3%-48.7% on final day of counting

Tally released Wednesday night remains unofficial until Nov. 30 certification.

Looking through the dining room and reception area to the front door. The table will be covered with holiday treats during the afternoon open house. The Stickley slide table, when several extensions are added, provides comfortable seating for 22 dinner guests. (Laurie Craig / Juneau Empire)
The Governor’s House: Welcoming Alaskans for more than 100 years

Mansion has seen many updates to please occupants, but piano bought with first funds still playable.

The language of Ballot Measure 2 appears on Alaska’s 2024 absentee ballots. The measure would repeal the states open primary and ranked choice voting system. (Andrew Kitchenman/Alaska Beacon)
Count tightens to 45-vote margin for repealing Alaska’s ranked choice system going into final day

State Division of Elections scheduled to conduct final tally at 5 p.m. Wednesday.

Most Read