Develop Computer Program-1
Develop Computer Program-1
A computer is essentially an electronic device that can process information. It can take data,
perform calculations or follow instructions on that data, and then provide some kind of output.
Program- is a set of instructions that tells a computer how to perform a specific task. These
instructions are written in a programming language, which is a language that computers can
understand.
computer program is like a recipe for a computer. It's a set of instructions, written in a specific
language that a computer can understand, that tells the computer what to do step-by-step to
achieve a particular task
Programming, -also sometimes called coding, is the process of giving a computer a set of
instructions to follow.
TYPES OF PROGRAMMING LANGUAGES
1. Object-oriented programming (OOP) languages: These languages organize code around objects,
which are self-contained entities with data (attributes) and functionalities (methods).. Examples
include Java, C++, and Python.
2.Scripting languages: These are often interpreted languages, meaning the code is translated line by
line during execution.. Examples include JavaScript, Python (also used for general-purpose
programming), and PHP.
3.Functional programming languages: These languages focus on functions, which are blocks of code
that take inputs and produce outputs.. Examples include Haskell and Scala.
.4.Imperative programming languages: are like giving orders to your computer. You tell it exactly
what steps to take to solve a problem, one by one. This is different from declarative programming,
where you just tell the computer what you want the outcome to be, and it figures out how to
Imperative languages focus on the "how" - they lay out step-by-step instructions for the computer to
follow. Examples include C++, Java, and Python,fotran,BASIC
5.Declarative programming languages: are distinct from imperative languages in their approach to
achieving a desired outcome.Declarative languages, on the other hand, focus on the "what" - they
describe the desired result without dictating the specific steps to get there. The underlying system
figures out the most efficient way to achieve the goal.
6.Web development languages: These languages are used to create the front-end (user interface)
and back-end (server-side logic) of websites and web applications. Examples include HTML, CSS,
JavaScript (front-end), and Python, Java, PHP (back-end).
7.Mobile development languages: These languages are used to create applications for smartphones
and tablets. Examples include Java (Android), Swift (iOS), and Kotlin (Android).
8.Data science languages: These languages are used for data analysis, manipulation, and machine
learning. Examples include Python, R,JULIA
High-level languages: These languages are more human-readable and abstract, meaning they use
concepts closer to our natural language. They are easier to learn and write code in but may require
additional processing by the computer. Examples include Python, Java, and C++.
QUESTIONS
1.what is a program ? .