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
Valtan Gate 1 Legion Raid Guide - Lost Ark Maxroll.gg
Advantages and Disadvantages of Virtual Payments
Woodward Avenue (M-1) - Automotive Heritage Trail - National Scenic Byway Foundation
Golden Abyss - Chapter 5 - Lunar_Angel
Exam With A Social Studies Section Crossword
San Diego Terminal 2 Parking Promo Code
Notary Ups Hours
Gameplay Clarkston
Okatee River Farms
Noaa Weather Philadelphia
123 Movies Black Adam
Midway Antique Mall Consignor Access
Goldsboro Daily News Obituaries
Guardians Of The Galaxy Vol 3 Full Movie 123Movies
Ree Marie Centerfold
WEB.DE Apps zum mailen auf dem SmartPhone, für Ihren Browser und Computer.
ELT Concourse Delta: preparing for Module Two
Caledonia - a simple love song to Scotland
Gopher Hockey Forum
Leccion 4 Lesson Test
Halo Worth Animal Jam
Ein Blutbad wie kein anderes: Evil Dead Rise ist der Horrorfilm des Jahres
Sulfur - Element information, properties and uses
Puretalkusa.com/Amac
Sandals Travel Agent Login
15 Primewire Alternatives for Viewing Free Streams (2024)
Wrights Camper & Auto Sales Llc
Everything You Need to Know About Ñ in Spanish | FluentU Spanish Blog
Promatch Parts
Gus Floribama Shore Drugs
Craigslist Cars And Trucks Mcallen
Siskiyou Co Craigslist
Martin Village Stm 16 & Imax
RFK Jr., in Glendale, says he's under investigation for 'collecting a whale specimen'
De beste uitvaartdiensten die goede rituele diensten aanbieden voor de laatste rituelen
Unlock The Secrets Of "Skip The Game" Greensboro North Carolina
How Much Is Mink V3
Muziq Najm
7543460065
Pensacola Cars Craigslist
Koninklijk Theater Tuschinski
Is The Nun Based On a True Story?
This 85-year-old mom co-signed her daughter's student loan years ago. Now she fears the lender may take her house
Ukraine-Krieg - Militärexperte: "Momentum bei den Russen"
Atom Tickets – Buy Movie Tickets, Invite Friends, Skip Lines
Rocky Bfb Asset
Grand Valley State University Library Hours
Sandra Sancc
Automatic Vehicle Accident Detection and Messageing System – IJERT
Compete My Workforce
Subdomain Finer
Inloggen bij AH Sam - E-Overheid
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.