0% found this document useful (0 votes)
0 views

3-Computer Programming - Basics

The document provides an introduction to the basics of computer programming, comparing it to human languages with defined grammar and elements. It outlines key components such as programming environment, syntax, data types, and more, which will be explained in detail using examples from popular languages like C, Java, and Python. The tutorial aims to familiarize readers with these programming concepts and languages.

Uploaded by

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

3-Computer Programming - Basics

The document provides an introduction to the basics of computer programming, comparing it to human languages with defined grammar and elements. It outlines key components such as programming environment, syntax, data types, and more, which will be explained in detail using examples from popular languages like C, Java, and Python. The tutorial aims to familiarize readers with these programming concepts and languages.

Uploaded by

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

7/29/24, 3:12 AM Computer Programming - Basics

Computer Programming - Basics


We assume you are well aware of English Language, which is a well-known Human
Interface Language. English has a predefined grammar, which needs to be followed to
write English statements in a correct way. Likewise, most of the Human Interface
Languages (Hindi, English, Spanish, French, etc.) are made of several elements like verbs,
nouns, adjectives, adverbs, propositions, and conjunctions, etc.

Similar to Human Interface Languages, Computer Programming Languages are also made
of several elements. We will take you through the basics of those elements and make you
comfortable to use them in various programming languages. These basic elements include

Programming Environment

Basic Syntax

Data Types

Variables
Keywords

Basic Operators

Decision Making

Loops

Numbers

Characters

Arrays

Strings

Functions

File I/O

We will explain all these elements in subsequent chapters with examples using different
programming languages. First, we will try to understand the meaning of all these terms in
general and then, we will see how these terms can be used in different programming
languages.

This tutorial has been designed to give you an idea about the following most popular
programming languages −

C Programming

https://www.tutorialspoint.com/computer_programming/computer_programming_basics.htm 1/2
7/29/24, 3:12 AM Computer Programming - Basics

Java Programming

Python Programming

A major part of the tutorial has been explained by taking C as programming language and
then we have shown how similar concepts work in Java and Python. So after completion of
this tutorial, you will be quite familiar with these popular programming languages.

https://www.tutorialspoint.com/computer_programming/computer_programming_basics.htm 2/2

You might also like