0% found this document useful (0 votes)
19 views15 pages

Lecture 8 Implementation Phase

The document discusses source code, coding, and how to write source code. Source code is written using programming languages and contains instructions for computers. Writing code is important because software and technology rely on coded instructions. Code must be written clearly, organized, and handle errors to program computers effectively.

Uploaded by

sameen khan
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)
19 views15 pages

Lecture 8 Implementation Phase

The document discusses source code, coding, and how to write source code. Source code is written using programming languages and contains instructions for computers. Writing code is important because software and technology rely on coded instructions. Code must be written clearly, organized, and handle errors to program computers effectively.

Uploaded by

sameen khan
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/ 15

Implementation

discipline
Implementation Discipline
• Translating design in to Source Code is implementation
stage.
• Source code is any collection of computer instructions
written using some human-readable computer language.
• A computer program is a sequence of instructions,
written to perform a specified task with a computer.
• The source code of a program is specially designed to
facilitate the work of computer programmers, who
specify the actions to be performed by a computer
mostly by writing source code.
What is Source Code

• The source code is often transformed by a


compiler program into low-level machine code
understood by the computer.
• The machine code might then be stored for
execution at a later time.
What is Coding
• Source code tells a computer what you want it to do, which
involves typing in step-by-step commands for the computer to
follow.
• Code is the list of instructions given to any computer in order
for it to perform the desired actions.
• There are many different coding languages, each one
designed with certain things in mind.
Why is it Important to Code
 We live in a world that is becoming more reliant on
technology every single day.
 Your bank transactions all exist on powerful servers
(specialized computers designed to reliably provide a service
to other computers), businesses rely on email to quickly and
cheaply communicate, most of us now have smart phones
providing us not only with the ability to contact each other,
but to check the weather, find a decent restaurant and even
as satellite navigation in our cars.
 Just take a moment to think about how many conveniences
owning a computer or a smart phone offers you today; can
you imagine life without them now?
Translation of source code to lower level
Why is it Important to Code
• Quite simply, the world runs on code.
• Every time you switch on a PC, a mobile phone, a calculator,
even a microwave, code is being run
• Computers are not clever things, however they are very
obedient.
• They will do exactly what you want them to do, so long as
you tell them how to do it correctly.
• Without programmers, computers would be incapable of
even the most basic tasks.
• Without somebody writing that code, that set of instructions,
the computer would simply sit there doing nothing, incapable
of thoughts, decision making .
Why is it Important to Code

– Computers understand only machine code or machine


language,
– Even though it is possible to write programs directly in
numerical machine code, but it is tedious and error prone to
manage individual bits and calculate numerical addresses
and constants manually.
– Thus rarely done today, except for situations that require
extreme optimization or debugging.
– Almost all practical programs today are written in higher-
level languages through coding.
Why is it Important to Code

 Software applications are in great numbers actively


running across the world to fulfill specific requirements in
different domains.
 These projects need to be maintained and customized (if
required), from time to time.
How can We Write Source Code

• All software are written in some kind of coding language.


• And every coding language is unique, designed with a certain
operating system, platform, coding style and intended use in
mind.
• All such languages are unlike our languages – there are no
vocabularies or alphabets.
• They’re more like codes – special commands, abbreviations
and ways of arranging text.
– For example: A student’s CMS number is a code, similarly for every
course in the university there is a course code.
How can We Write Source Code

• Source code is what makes it possible for us to create


computer software, applications and websites.
– Your browser, your OS, the applications on your phone, Facebook,
and power point software– they’re all made with code.
How is code written
• Computer source code is typically written by computer
programmers in programming languages.
• Source code may be converted into an executable file
(sometimes called an executable program or a binary) by a
compiler and later executed by a central processing unit.
• Different languages are designed to be used for different
purposes – some are useful for web development, others
useful for writing desktop software, others useful for solving
scientific and numeric problems, and so on.
How is code written
The following considerations apply to the software construction
coding activity:
1. Techniques for creating understandable source code, including naming
and source code conventions.
2. Use of classes, enumerated types, variables, named constants, control
structures and other similar entities.
3. Handling of error conditions—both planned errors and exceptions (input
of bad data, for example).
4. Prevention of code-level security breaches (buffer overruns or array index
overflows, for example).
5. Resource usage via use of exclusion mechanisms and discipline in
accessing serially reusable resources (including threads or database locks).
How is code written
1. Source code organization (into statements, routines, classes, packages, or
other structures).
2. Code documentation
3. Code tuning
• Examples of Coding Languages are:
JavaScript
PHP
C
C++
C Sharp
Visual Basic
Java
Perl
Q&A

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