Posts Tagged children’s books

STEM Tuesday– Coding– Writing Tips & Resources

http://www.basicbook.org, GPL <http://www.gnu.org/licenses/gpl.html>, via Wikimedia Commons

05 REM I used to think of coding (programming, as we called it back in the day.) and writing as two separate things. Polar opposites.

10 REM Now, I’ve come to realize the two are not as different as they may appear. 

20 PRINT “If you want to learn more about my coding past, press “Y”.”

30 INPUT (N)

40 IF N = “Y” THEN GOTO 150 ELSE 50

50 REM Writing code and writing stories both involve accomplishing a goal through a series of operations.

60 REM To achieve one’s goal with writing, one uses language and word operations to convey ideas.

70 IF (THIS HAPPENS) THEN… 

80 REM The story flows and the plot develops.

90 REM To achieve a goal in coding, one uses a programming language’s set of operations to implement ideas in a functional manner.

95 PRINT “On a scale of 1 to 10, enter your level of excitement for writing like a coder.”

100 INPUT (X)

110 IF X >=1, THEN GOTO 200 

150 REM After my sophomore year, a huge change happened at my high school. The computer programming class moved from punch card programming to actual work on computer stations connected to the school district’s mainframe. Game on!

Pete Birkinshaw from Manchester, UK, CC BY 2.0 <https://creativecommons.org/licenses/by/2.0>, via Wikimedia Commons

160 REM BASIC programming was the name of the game back in the day. For some reason, unlike most of my family and friends, coding came naturally to me. The logic, oh the logic, drew me in like a tractor beam. I was hooked. 

170 REM Several years later, probably around 1984, I scraped enough money ($100!) from odd jobs and such to walk proudly into our local Dolgins store and purchase a Texas Instruments 99. I hooked it up to a blue, plastic 13” black and white television we had sitting around in the basement. I was in heaven. 

Ron Reuter, CC BY-SA 3.0 DE <https://creativecommons.org/licenses/by-sa/3.0/de/deed.en>, via Wikimedia Commons

180 REM My parents and siblings worried about my sanity, a 19-year-old sitting in the dark basement for hours, writing a primitive electronic football game or a program to show an animated smiley face graphic saying “Hello” over the 2” speaker and scaring the crap out of my mother as she walked by. Heaven.

190 REM Sometimes, one gets run through the wringer by siblings and friends for buying a freaking computer instead of spending that money on a real video game console, like ATARI or INTELLIVISION, that ordinary people actually want to play. When this happens, one learns to code simple, low-graphic games to show aforementioned siblings and friends that coding can be fun. A football simulator, PONG(!), craps, blackjack, etc. were all in the output of my TI99 and me. My friends and siblings, however, were not as impressed as I was.

195 GO TO 50

200 REM Coding also runs in a similar vein to writing in the aspect of trial and error. One simple mistake, a glitch in syntax or in logic, can stop a program or a paragraph dead in its tracks. Writers and coders both run into walls, fall off cliffs, or get lost at times. That’s when the true creator’s heart and soul kick in. Analyze, problem-solve, take a step back, and then try again. Instead of getting stuck in a loop, a coder or writer changes the subroutine, reformats, and changes the inputs to get better outputs.

210 REM There is a difference between writing and coding, though. In coding, a programming language allows many creators to communicate the story through that single voice of the code. In writing, the opposite is true. The writer uses the tools of language and individual experiences (see Creative Braining) to create their unique voice.

220 REM Finally, a friend recently told me that throughout high school, their child was intent on majoring in computer programming. However, once the student spent a year in programming classes at college, they changed majors. The student figured out that writing code for games was not nearly as fun as playing games. I laughed and said that sounded like the 20+ years I wanted to be a writer before I accepted it was hard work and found the discipline to actually sit down and write.

230 PRINT “Thanks for reading!”

240 END

Ron Reuter, CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0>, via Wikimedia Commons

My apologies to you, dear reader, for putting you through a rusty and mistake-ridden use of a 1980s version of BASIC programming for this STEM Tuesday Writing Craft & Resources post. Memory fades, as does the free time to go online and review the proper syntax of BASIC.

On a positive note, writing this post did trigger a desire to jump into contemporary programming languages and learn Python or another modern coding language. It also made me dig into the storage boxes to find one of the greatest coding-themed computer games ever written, The Island of Dr. Brain. When my kids were young, we would play Dr. Brain for hours and they had little to no idea they were learning how to think and manage like coders. They probably still don’t since their main memory is probably of Dad hogging the family PC while playing Dr. Brain “with” them.

 

Mike Hays has worked hard from a young age to be a well-rounded individual. A well-rounded, equal-opportunity sports enthusiast, that is. If they keep a score, he’ll either watch it, play it, or coach it. A molecular microbiologist by day, middle-grade author, sports coach, and general good citizen by night, he blogs about sports/training-related topics at  www.coachhays.com and writer stuff at  www.mikehaysbooks.comTwo of his science essays, The Science of Jurassic Park and Zombie Microbiology 101, are included in the Putting the Science in Fiction collection from Writer’s Digest Books. He can be found roaming around the Twitter-sphere under the guise of @coachhays64 and on Instagram at @mikehays64.

 


The O.O.L.F Files

This month’s version of the O.O.L.F.(Out of Left Field) Files explores

Steve’s Old Computer Museum (Warning! This site is a rabbit hole for computer nerds, especially us who sport more than a few gray hairs. I need to go in and see how many of these I’ve had the pleasure of working on.)

The Texas Instruments TI-99

BASIC, how I loved thee!

FORTRAN was, and still is, the language of science and mathematics.

Bill Gates Just Revealed The Best Programming Language for 2023!

Dr.Brain!

 


 

STEM Tuesday– Coding– In the Classroom


Although I studied Electrical Engineering in college, I ended up spending most of my time as an engineer working with code. I love coding, and I’m happy to see so many great books about coding for young readers. Here are the books I read.

Coding Games in Scratch: A Step-by-Step Visual Guide to Building Your Own Computer Games
by Jon Woodcock

I love Scratch. It’s a block code, meaning you put the commands together rather like Legos. The code blocks are designed to help keep you from putting the code pieces together wrong. This book does a great job of walking you through the building of computer games in Scratch. If you want to learn basic coding concepts while making fun games, check out this book.

cover image of the book "Get Coding!" featuring two cartoon people, a computer, and a dog

Get Coding! Learn HTML, CSS & JavaScript and Build a Website, App, and Game
by Young Rewired State

This book is packed with information and activities for learning about coding and the web. It even has a related web site – https://getcodingkids.com – to help you through the missions.

 

Bonus Book: Hunting the Cyber Trail: Be a Computer Forensic Scientist
by Alix Wood

Follow a fictional computer forensic scientist as he searches computers for clues to the whereabouts of two missing kids. I love that this book gets into how information is formatted within computers, something I dealt with a lot when I was programming. This book also has lots of activities that are computer-related, but don’t require a computer to complete.

Now for some other activities you can try to get you into a programming frame of mind.

How-To

A computer program is basically a how-to for a computer. Programmers put together instructions that tell computers what they need to do.

A great activity as you start programming is to write a how-to. This could be a recipe, instructions for completing a craft, or instructions for something you do every day, like washing your hands. Once you’ve created your how-to, have someone try to follow your instructions. That’s when you find out if you forgot any instructions or if anything was unclear.

Flow-Charts

Flow-charts are really useful tools for programmers. They’re a graphical representation of a process or algorithm. Learn about flow-chart symbols and create a flow-chart for a process or algorithm. Here are some resources to help:
https://www.bbc.co.uk/bitesize/guides/z3bq7ty/revision/3
https://www.digitaltechnologieshub.edu.au/teach-and-assess/classroom-resources/lesson-ideas/have-fun-with-flowcharts
https://technovationchallenge.org/curriculum/coding-15-flowcharts

Explore ASCII

Remember me mentioning the formatting of information in computers? Well, one of those things is called ASCII – American Standard Code for Information Interexchange. It is a way to represent text characters using numbers. This is generally written in hexadecimal (base 16) numbers.

To learn about hexadecimal, read the beginning of this article: https://learn.sparkfun.com/tutorials/hexadecimal or this: https://www.codeproject.com/Articles/4069/Learning-Binary-and-Hexadecimal. You don’t have to get too deep into hexadecimal to work with ASCII.

Use an ASCII table (either from p. 24 of “Hunting the Cyber Trail” or here: https://www.sciencebuddies.org/science-fair-projects/references/ascii-table. (There are lots more versions out there if you want to find something different.)

Get the hang of ASCII by converting your name into hexadecimal ASCII code. Then, write a full message and give it to a friend. See if they can decode your message.

Explore More

There are lots of great resources out there that support programming. One of the biggest is Code.org. They have fabulous activities there, including a bunch that don’t require a computer: https://code.org/files/Hour-of-Code-Unplugged-Activities.pdf

—-

Janet Slingerland is the author of more than 20 books for young readers, including 3 books about coding. To find out more about Janet and her books, check out http://janetsbooks.com.

Banned Children’s Book Classics

Some of the most beloved, beautifully written, and highly awarded middle grade novels have ended up as banned children’s book classics, often for surprising reasons.

A FEW OF THE  BANNED CLASSICS

Newbery honor book Charlotte’s Web by E. B. White is about an unusual friendship between Charlotte, a spider, and Wilbur, a runt farm pig who is scheduled for slaughter. Charlotte spells out Wilbur’s redeeming qualities by weaving words into her web, then enlists the help of the farmer’s daughter, Fern, to save him. This beloved story of friendship and the power of language has been a classic for seven decades. Its opening line is one of the most powerful in literature.  ‘Where’s Papa going with that axe? ‘ said Fern to her mother as they were setting the table for breakfast.”

But a parent group in Kansas wanted the book banned from school libraries. Why?  Because it has death as a theme, and because talking animals are “unnatural “and blasphemous. Only humans can talk and write, they said. Imagine the world of children’s literature without talking animals.

When Harriet The Spy by Louis Fitzhugh was published, there had never before been a character quite like Harriet.  She really stirred things up! Harriet wants to be a writer and keeps a notebook on everyone around her, what she knows and exactly what she thinks about them. Then she loses the notebook. Her nemesis finds it, and soon everyone knows everything she said. Her task then is to take responsibility for her words and to find ways to mend friendships. The book’s challengers overlooked that part. Harriet the Spy was banned through most of the South for encouraging children to “talk back, spy on others, lie, and disrespect their parents.” It also modeled “improper behavior for a girl.” School Library Journal said, ”Harriet the Spy bursts with life.” It has sold over five million copies.

In Newbery Award winner Bridge to Terabithia, Jesse becomes best friends with Leslie, the new girl in school. Leslie drowns trying to reach Terabithia, the hideaway they have created, and Jesse struggles to deal with her loss. School Library Journal ranks this novel number ten of the all-time best books for children. But the book also ranks high on the American Library Association’s list of the most commonly challenged books in the United States.

Challengers have objected to death being part of the plot and to offensive language, including Jesse’s frequent use of the world “lord.” They’ve claimed that it promotes “secular humanism, New Age religion, occultism, and Satanism.” A Pennsylvania township removed it from 5th grade classrooms because of profanity, disrespect for adults, and an elaborate fantasy world that “might lead to confusion.”

The all-time favorite target for challenges, bans—even book-burnings—has to be Harry Potter, a series immensely popular and successful among adults and children worldwide. The New York Times  had to create a separate list for children’s books, because the Harry Potter volumes coming out were taking up a third of the spaces on the Times best-seller list.

The series has also landed on the American Library Association’s list of top 10 banned books as recently as 2019. It has been attacked for promoting Satanism and witchcraft, for including actual spells and curses, for violence, and for disrespecting family. (Should Harry have been more respectful and obedient to the abusive Dursleys?).

POETRY, TOO

Shel Silverstein’s  clever A Light in the Attic, was the first children’s book to make the NYT bestseller list. It stayed there for 182 weeks. But it was banned in a Florida school and later some other schools in Wisconsin and Texas because  some  adults thought it encouraged “disobedience, violence, suicide, Satanism and cannibalism.”

One poem that parents objected to was “How Not To Have To Dry The Dishes.” They thought it would give kids the idea of breaking the dishes to get out of assigned chores. Silverstein’s Where the Sidewalk Ends and his more serious story The Giving Tree faced similar challenges.

EVEN PICTURE BOOKS

In picture books for younger readers, the objections can be even more mystifying. Hop On Pop by Dr. Seuss has been challenged for encouraging violence against fathers! The Texas State

Board of Education banned Brown Bear, Brown Bear, What Do You See? for promotion of Marxism. When someone pointed out to them that they had confused the Brown Bear author, Bill Martin Jr.,with another Bill Martin, author of Ethical Marxism: The Categorical Imperative of Liberalism,  they withdrew the ban and said Brown Bear, Brown Bear was okay for kids.

REASON TO WORRY?

Should a father fear that a child to whom he reads Hop on Pop will attack him? No known cases. Will readers of the Harry Potter series lose their faith? Probably no more likely than that they will drop out of soccer to train for broomstick sports.  Or abandon their cell phones in favor of a personal messenger owl. Teachers, librarians, and most parents believe that reading stories encourages and expands the most positive natural qualities of children—imagination, curiosity and empathy.

ASK LIBRARIANS: THEY HAVE READ THE BOOKS

Librarians know their collections well. They are happy to help parents select books for their children that will not conflict with their particular family values and beliefs.

But book-banning groups want to decide which titles other people’s children in their communities will not be allowed to read. The number  of banned  children’s books has increased dramatically just in this last year. The main targets currently are books that focus on—or mention— such topics as slavery, racial  discrimination, gender identity, or climate change. Challengers claim that reading, knowing, and talking about these things will harm, even “traumatize” children. In some places the bans have become law, requiring libraries and librarians to comply by removing the books.

For librarians, a core principle is that free access to books and information is inseparable from freedom of speech. That means for all of us and all our kids, not just a few. Arrest librarians? Better to cherish and defend them.

Banned Books Week isn’t until the first week of October. The list will be especially long this year, though. Let’s  get an early start exercising ours and our kids’. . .