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

Programming for Beginners Computer Programming

The document provides an overview of computer programming, defining it as the process of creating instructions for computers using programming languages. It traces the history of programming from early mechanical methods to modern high-level languages and concepts like object-oriented programming. Additionally, it explains key programming concepts such as compilers, interpreters, and integrated development environments (IDEs).

Uploaded by

venom34545
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)
4 views

Programming for Beginners Computer Programming

The document provides an overview of computer programming, defining it as the process of creating instructions for computers using programming languages. It traces the history of programming from early mechanical methods to modern high-level languages and concepts like object-oriented programming. Additionally, it explains key programming concepts such as compilers, interpreters, and integrated development environments (IDEs).

Uploaded by

venom34545
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/ 9

Programming for

Beginners
CBC2 – PROGRAMMING FOR
BEGINNERS
What is a computer
program?
A set of language-based instructions that direct a computer
what to do is known as a computer program. Simple math
can be used as an example, or it might be more
complicated, like using a web browser. To complete tasks or
find solutions, the computer meticulously follows these
instructions.
What is computer
programming?
The process of creating, developing, testing, and
maintaining instructions or code that a computer can use to
carry out specific tasks or address specific issues is known as
computer programming. Programming languages, which
are a set of rules and terminology for interacting with
computers, are used to write these instructions.
Brief history of programming
- The development of computer programming has a long history. Punch cards were
used in the early days of mechanical engineering to perform automatic
computations. In the middle of the 20th century, when electronic computers first
appeared, programmers used low-level assembly languages, where instructions were
expressed as numeric codes.
- Programming became more approachable in the late 1950s and early 1960s with
the advent of high-level languages like FORTRAN and COBOL, particularly for
business and scientific applications. Programming languages like ALGOL, BASIC, and C
proliferated in the years that followed, each one created to solve a particular need
and improve the readability and efficiency of code.
- In the 1980s and 1990s, the idea of object-oriented programming (OOP) gained
popularity, giving rise to languages like C++ and Java.
Brief history of programming
- Web programming languages like HTML, JavaScript, and PHP developed
with the development of the World Wide Web in the 1990s, enabling the
development of interactive websites and web apps. Furthermore,
community-driven development and the open-source movement have
significantly influenced contemporary programming techniques.
- Python, JavaScript, and Ruby are three popular programming languages
used today across many industries, from data science and web development
to artificial intelligence and mobile app development. The evolution of
computer programming throughout history has been fueled by new
technology developments and the expanding uses of computing in our
digital age.
Programming Language
A formal and structured set of commands used to connect with a
computer is known as a programming language. It gives
programmers the ability to create code that specifies how a machine
should carry out particular activities or resolve issues. The syntax
and semantics of programming languages define how computer
code is written and executed. Example of programming languages
are Python, Java, C++, and JavaScript.
Concepts in computer
programming
High-Level Language: high-level programming languages are intended to be easier
for programmers to understand and read. Code can be written and understood
more easily because high-level languages use abstracted commands and natural
language structures that are closer to human language. Python, Java, C++, and
JavaScript are a few examples. Compared to low-level languages, high-level
languages are more portable but may execute programs more slowly.
Low-Level Language: Programming languages that are written at a low level are
more akin to the binary machine code that computers can interpret. They are less
legible and user-friendly than high-level languages and are made up of
straightforward, hardware-specific commands. A low-level language is one like
assembly language. Although they take more work to program in, low-level
languages provide you more control over the hardware.
Concepts in computer
programming
Compiler: A compiler is a software application that converts high-level
source code created by a programmer into low-level machine code that a
computer can execute immediately. This translation is completed all at
once, and an executable file is created. Compilers are frequently used with
languages like C and C++ and are renowned for their effectiveness.
Interpreter: interpreter runs code in real time, line by line. One statement
at a time, it reads a high-level program and translates it to machine code.
Many languages are interpretive, including Python and JavaScript.
Although interpreted languages tend to be slower than compiled
languages, they have benefits like portability and simplicity in debugging.
Concepts in computer
programming
Object Oriented Programming (OOP) - Programming using objects as the
main building blocks is known as "object-oriented programming," or OOP.
Code management and organization are made simpler by the
encapsulation of data and behavior in objects. OOP is supported by
languages like Java, C++, and Python.
Integrated Development Environment(IDE) - are software tools used by
programmers to create software. It offers a complete environment with
debugging tools, compilers or interpreters, and code editors all built into a
single user interface. By streamlining and improving the coding and
debugging process, this integration increases developer productivity and
efficiency.

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