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

Coding Vs Programming

Uploaded by

Lim Sze Jing
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)
25 views

Coding Vs Programming

Uploaded by

Lim Sze Jing
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/ 1

Powered by AI

Copilot

Certainly! Let’s explore the difference between coding and programming:

1. Coding:

Definition: Coding refers to the task of writing code or specifically defined technical language so
that a computer or system can understand it.
Process: Coders translate instructions from human language into a language that machines can
comprehend. This code tells the computer how to behave and what actions to perform.
Example: Here’s a simple Python code snippet that converts any PDF into an audiobook:
import PyPDF2
import pyttsx3
from tkinter.filedialog import *

book = askopenfilename()
pdfReader = PyPDF2.PdfFileReader(book)
pages = pdfReader.numPages

for num in range(0, pages):


page = pdfReader.getPage(num)
text = page.extractText()

speak = pyttsx3.init()
speak.say(text)
speak.runAndWait()

Languages: Coding involves using programming languages like Python, Java, Go, PHP, or
JavaScript.

2. Programming:

Definition: Programming is the process of creating instructions that tell the computer how to
perform specific tasks. It’s like providing a set of rules for the computer to follow.
Analogy: Think of programming as being similar to a remote control for your TV. You press
different buttons to give instructions (e.g., changing channels, adjusting volume). Similarly,
programmers instruct computers to perform various tasks.
Versatility: With programming, you can do almost anything, from programming robots to self-
driving cars like Tesla.
Languages: Programming also involves using programming languages like Python, Java, C++,
and others.

In summary, coding forms the foundation for computer programs, while programming uses code to solve
specific problems. If coding is like writing in a different language, programming is having a greater mastery of
that language and understanding how to use it effectively . So, both coding and programming are essential
skills in software development. Feel free to ask if you’d like more information or have any other questions! 😊

You might also like