Follow Us :
Course Content
What is a Code? How Coding works What is Programming and how it works Coding and Programming Ethical practice in coding
Basic Coding Concepts
1. Variables 2. Data Structures 3. Control Structures 4. Syntax 5. Tools
Introduction to Coding
About Lesson

1.0 What is a Code?

A code refers to a set of instructions that tells a computer what to do. Computers don’t understand human language, so over time, humans have created languages that computers can understand. And developers speak to them through those languages.

Coding, sometimes called computer programming, is how we communicate with computers.

1.1 How Coding Works

Coding is a process of establishing successful communication between a software program and computer hardware. The compilers translate the program into assembly language. The coding process converts the assembly language to Binary Coded Signals.

Computer systems are electronic devices that rely on binary-coded signals for communication and functioning. The two types of binary coded signals are o’s and 1’s. These signals are generated using switches and transistors. In the process of coding the high-level language and the assembly-level languages are translated into binary codes and the communication between the computer hardware and software application is established.

1.3 Types of Programming Languages

1.Machine language,

2.Assembly language, and

3.High-level language.

1.3.1 Machine Language

  • The fundamental language of the computer’s processor is also called Low-Level Language.
  • All programs are converted into machine language before they can be executed.
  • Consists of a combination of 0’s and 1’s that represent high and low electrical voltage.

Below is an example of machine language (binary) for the text “Hello World.”

01001000 01100101 01101100 01101100 01101111 00100000 01010111 01101111 01110010 01101100 01100100

1.3.2 Assembly language

  • A low level language that is similar to machine language.
  • Uses symbolic operation code to represent the machine operation code.
  • In assembly language allows a software developer to code using words and expressions that can be easier to understand and interpret than the binary or hexadecimal data the computer stores and reads. Assembly languages often serve as intermediaries, allowing for developing more complex programming languages, which can offer further efficiency to a developer.

MOV EAX, [EBX]      ; Move the 4 bytes in memory at the address contained in EBX into EAX

MOV [ESI+EAX], CL   ; Move the contents of CL into the byte at address ESI+EAX

MOV DS, DX          ; Move the contents of DX into segment register DS

1.3.3 High-level language

  • Computer (programming) languages that are easier to learn.
  • Uses English like statements

Examples are;






Visual Basic




1.4 Relationship between High-level, Assembly and Machine Language

High-level Language —– Assembly Language —– Machine Language

1.5 What is Programming?

Programming is passing the instructions and information to the computer that describes how a program should be carried out. Programming helps computers to perform certain actions. Various types of programming languages available in the market, like C, C++, Java, Python, etc., help develop new and creative technology.

1.6 How Programming Works

Programming is a complex task. Unlike coding, programming is carried out in Stages. Following are the stages of programming a software application.

  • Problem Statement
  • Designing Algorithms and Flowcharts
  • Software Development
  • Software Testing
  • Software Documentation
  • Software Maintenance

1.7 How Programming Works

In recent times technology has changed the world differently. All the growth and the technology have improved much faster than you think. All these changes are because of the development of software. When you think about all that software, the coding and programming come into the picture. With the help of coding and programming, everything was improving in a better way.

These coding and programming skills are having a huge impact on one’s career. They have proved that they can easily change anything. These are not only helping software, and in everyday life, these are helping in every sector and showing great results.

These are a few reasons why one should learn coding and programming. Now, understand the few differences between coding and programming in this tutorial on “Coding Vs Programming.”

1.8 Coding Vs. Programming

There is a lot of difference between coding and programming. Let’s look at them in detail through a table format.



Coding is a part of programming that deals with writing codes that a machine can understand.

Programming is a process that creates programs that involve the ratification of codes.

Coding requires basic knowledge of programming skills without any software tools.

Coding knowledge helps to work with simple projects.

Coding requires simple tools and simple syntax.

It follows the trial-and-error method and needs no previous preparations.

Programming requires a good knowledge of programming skills and good software development tools to manage them in a better way.

Programming knowledge helps to work with big projects and manage the projects.

Programming requires a large number of tools and syntax.

Programming needs a piece of detailed information and a detailed approach.

1.9 Ethical Practices in Coding

1. Be honest and trustworthy

2. As you keep building software of your own, ensure you provide full disclosure of all software capabilities, constraints, and possible problems

3. Do not provide misleading claims about the capabilities of the software

4. Always be honest about your qualifications and competence to perform a task.

5. Try your best to adhere to commitments you have made

6. Give proper credit to another person’s work

7. As you grow as a software developer, you will be utilizing code developed by other persons as well. It is essential to provide disclosure to all such work. Never take credit for another person’s work

8. Do not claim ownership of work that others have shared as public resources

Exercise Files
Introduction to Coding.pdf
Size: 1.51 MB