© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
K. WilsonThe Absolute Beginner's Guide to Python Programminghttps://doi.org/10.1007/978-1-4842-8716-3_1

1. Introduction to Computer Programming

Kevin Wilson1  
(1)
London, UK
 

What is a computer program? A computer is a device that processes instructions to achieve a task. This set of instructions is called a computer program.

A computer program usually takes some data such as a string or a number and performs calculations to produce results. We usually refer to the data as the program’s input and the results as the program’s output.

To write computer programs, we use a computer programming language. There are many different languages such as BASIC, C, C++, and ...

Get The Absolute Beginner's Guide to Python Programming: A Step-by-Step Guide with Examples and Lab Exercises now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.