Computer Programming 简明教程

Computer Programming - Basics

我们假设您很了解英语,英语是一种众所周知的 Human Interface Language 。英语有预定义的语法,需要遵循此语法才能正确地书写英语陈述。同样,大多数人机交互语言(印地语、英语、西班牙语、法语等)由多个元素组成,例如动词、名词、形容词、副词、介词、连词等。

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 −

  1. Programming Environment

  2. Basic Syntax

  3. Data Types

  4. Variables

  5. Keywords

  6. Basic Operators

  7. Decision Making

  8. Loops

  9. Numbers

  10. Characters

  11. Arrays

  12. Strings

  13. Functions

  14. 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 −

  1. C Programming

  2. Java Programming

  3. Python Programming

本教程的主要部分已通过将 C 作为编程语言进行了解释,然后我们展示了 Java 和 Python 中相似概念的工作方式。因此,在本教程完成后,您将非常熟悉这些流行的编程语言。

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.