0% found this document useful (0 votes)
2 views7 pages

Programming Basics

Programming is the creative process of writing instructions for computers, combining art, engineering, and science. It involves using programming languages to express ideas in a way that computers can execute, while also being understandable to humans. Learning programming fosters logical thinking and problem-solving skills, enabling the creation of various applications and enhancing computational thinking in multiple fields.

Uploaded by

Vidyashankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views7 pages

Programming Basics

Programming is the creative process of writing instructions for computers, combining art, engineering, and science. It involves using programming languages to express ideas in a way that computers can execute, while also being understandable to humans. Learning programming fosters logical thinking and problem-solving skills, enabling the creation of various applications and enhancing computational thinking in multiple fields.

Uploaded by

Vidyashankar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Programming

Fundamental
s
V.VIDYASHANKAR
2 N D JULY 2025
Programming – The What
The act of writing instructions that make a computer do something useful

It is a creative activity that involves art, engineering and science

Good programs are written to be executed efficiently by computer’s but also be read
and understood by humans

The best programs are delightful in ways similar to the best architecture, elegant in
both form and function
Programming – The How
Just as humans communicate with each other using natural language, humans
interact with computers using languages

Ideas are first expressed in pseudo code and then converted into actual programs
using programming languages ( Python, JavaScript, C++, Java etc )

Computers only understand binary ( the language of 0’s and 1’s ) so the code one
writes is translated ( or compiled / interpreted ) into machine language

Once translated, computers follow the instructions exactly as given, step by step

The computer, then, produces, the desired results like displaying a message,
calculating something or changing something in a webpage
Programming – The Why
It teaches logical thinking and problem solving

One can build mobile apps, make computer games, websites or even control robots

Computational thinking is generally perceived as a useful trait to have – aids in art,


science, business and in daily life
Example
Finding the maximum of two numbers

Human Thought Process – If the first number is greater than the second number,
then the maximum is the first number. Otherwise, the maximum is the second
number.

Finding the average of n numbers

Human Thought Process – Get the sum of the given set of numbers and divide it by
the size of the set.
Characteristics
Simplicity

Unambiguous

Readability

Precision

Portability

Efficiency

Modularity

Error Handling

Support for Algorithms


Compilers and Interpreters
A Compiler translates the entire program into machine code before it runs

It creates a separate executable file

Runs faster after compilation

Errors are shown after compiling ( Example – C/C++,Java )

An interpreter translates the program line by line as it is running

No separate file is created

Slower than compiled programs

Errors are shown immediately ( Example – Python, JavaScript, Ruby )

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy