State

Taber Andrew Bain on Flickr

State is an important concept in computer science as well as our everyday lives.

What state do you live in? Sometimes states where people live are called provinces. In computer science, however, state is not a place you live. It’s something very different. State is stored information in a computer system at one instant in time. A computer that stores state is called a stateful system.

Your brain maintains state: what’s your name? where do you live? This type of information is stored in your brain to be remembered when needed. But what happens when you don’t remember? Computers have to solve the same problem.

If you have a laptop computer and close the lid, your laptop stores data about any software applications you have open. When you open your computer later, the past state of your laptop is retrieved and recreated by starting up any software you had open.

 

Become a subscriber and get access to the rest of this article. Plus all our magazine articles.

Stories also include numerous links to help parents, kids, and teachers learn more. Get access today at just $15 per year!

Subscribe Today!

Also In The April 2017 Issue

Building and creating your tools with the Minecraft toolbox helps you survive the game.

Sensors give robots the senses humans have.

30+ ideas for all age holiday gifts, from books to apps to board games to VR and more.

There might be a reason that too-real robot and video game character creeps you out.

This programming language uses colors instead of text and punctuation to add and perform other tasks.

Knowing how passwords are cracked can help you create better passwords.

There are a number of strategies teachers (plus parents and students) can take to learn programming.

This project uses conductive thread to create a glove to activates your phone.

Software programming does neat things with language, in this case, mixing capital letters.

This Scratch game has lots of ways you can customize the game play. No cats were harmed in the making of this article either.

Links from the bottom of all the October 2017 articles, collected in one place for you to print, share, or bookmark.

Interesting stories about computer science, software programming, and technology for October 2017.