Wikijunior:Programming for Kids/What is Programming? - Wikibooks, open books for an open world (2024)

Wikijunior:Programming for Kids
What is Programming?Knowing Your Problem

How do computers work?

[edit | edit source]

Wikijunior:Programming for Kids/What is Programming? - Wikibooks, open books for an open world (1)

A computer is a machine that receives some data which it then processes and outputs. You have your own computer called a brain. When a teacher asks you to calculate 4 x 4 this is known as data. At some stage you will have been taught to process this data by adding 4 + 4 + 4 + 4 together. The answer you give is the output of your calculation.

In order to process data, a computer must receive instructions or commands. However, it would be unfeasible to make the user input commands for everything. Even something as simple as saving a document or opening a browser takes thousands or even millions of lines of code. In response to this problem, stored programs have been invented.

Wikijunior:Programming for Kids/What is Programming? - Wikibooks, open books for an open world (2)

A stored program is a series of instructions stored in a computer's memory. When the program is used, the computer will then fetch each instruction from the stored program and execute it. This process was imagined by mathematician Charles Babbage and later implemented by Ada Lovelace, who was Lord Byron's daughter.

Wikijunior:Programming for Kids/What is Programming? - Wikibooks, open books for an open world (3)

What are high-level and low-level programming languages?

[edit | edit source]

A low-level programming language is one that is made to be easily understood by the computer. They include machine code and assembly language, both of which instruct computer hardware components to carry out instructions directly. However, low-level programming languages are difficult to learn and time-consuming to code.

A high-level programming language is made to help human programmers communicate easily to the computer. These languages can have gentler learning curves and be very powerful. Good examples of high-level programming languages include C, Java, LISP, Smalltalk, PASCAL, LOGO, Visual Basic and Python. These languages are usually compiled, or converted into low-level programming languages so that they can be executed directly. The person who invented the concept of a compiler was Grace Hopper, sometimes called "Amazing Grace".

However, some programming languages are designed to be interpreted by another computer application, such as JavaScript, which is interpreted by web browsers, and PHP, which is interpreted by web servers.

In principle, it's also possible to build a computer to directly understand a high-level programming language, so that in a sense that language is the "assembly language" of the computer. In practice, though, this is more difficult for the computer, so it's still considered a high-level language — the language is made for the human programmer and the computer has to try to catch up.

Some high-level programming languages are designed for a specific purpose. JavaScript is for creating dynamic web pages, while ActionScript is responsible for Flash applications. Others are designed for general purpose. For example, Java can create a large number of programs ranging from games to physics simulations, from simple console programs to large-scale commercial software.

What is programming really like?

[edit | edit source]

Programming is a form of problem-solving. It involves locating your problem, analysing it, designing a framework for the solution, writing the actual code for it, testing your algorithm, and, finally, writing a documentation for it. In this book, we will go through the process one by one. Let's start!

Wikijunior:Programming for Kids/What is Programming? - Wikibooks, open books for an open world (2024)
Top Articles
So you want to play (online) Japanese crane games
3 Inbox Mistakes You Might Be Making
Craigslist Livingston Montana
Where To Go After Howling Pit Code Vein
San Angelo, Texas: eine Oase für Kunstliebhaber
Poe T4 Aisling
Encore Atlanta Cheer Competition
English Bulldog Puppies For Sale Under 1000 In Florida
Bin Stores in Wisconsin
Flixtor The Meg
Women's Beauty Parlour Near Me
P2P4U Net Soccer
Ncaaf Reference
fltimes.com | Finger Lakes Times
DIN 41612 - FCI - PDF Catalogs | Technical Documentation
2021 Lexus IS for sale - Richardson, TX - craigslist
Uc Santa Cruz Events
Highland Park, Los Angeles, Neighborhood Guide
Virginia New Year's Millionaire Raffle 2022
Fraction Button On Ti-84 Plus Ce
Missouri Highway Patrol Crash
Bella Bodhi [Model] - Bio, Height, Body Stats, Family, Career and Net Worth 
Walmart Near South Lake Tahoe Ca
Great Clips Grandview Station Marion Reviews
How To Tighten Lug Nuts Properly (Torque Specs) | TireGrades
Vivaciousveteran
Masterbuilt Gravity Fan Not Working
How To Improve Your Pilates C-Curve
Busch Gardens Wait Times
Babydepot Registry
N.J. Hogenkamp Sons Funeral Home | Saint Henry, Ohio
Bt33Nhn
Adecco Check Stubs
Dr Adj Redist Cadv Prin Amex Charge
Game8 Silver Wolf
Frcp 47
Kazwire
craigslist | michigan
Blackwolf Run Pro Shop
Leena Snoubar Net Worth
Tyler Perry Marriage Counselor Play 123Movies
LumiSpa iO Activating Cleanser kaufen | 19% Rabatt | NuSkin
Atu Bookstore Ozark
Az Unblocked Games: Complete with ease | airSlate SignNow
Squalicum Family Medicine
Cult Collectibles - True Crime, Cults, and Murderabilia
Marcel Boom X
Okta Login Nordstrom
How to Do a Photoshoot in BitLife - Playbite
Craigslist Indpls Free
Psalm 46 New International Version
Fetllife Com
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 5839

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.