SlideShare a Scribd company logo
Computer Languages
Dr.VMS
Computer programming language
Programming languages are used for expressing a
set of detailed instructions for a digital computer.
Such instructions can be executed directly when
they are in the computer manufacturer-specific
numerical form known as machine language, after a
simple substitution process when expressed in a
corresponding assembly language, or after
translation from some “higher-level” language.
Assembly language
Assembly language is one level
above machine language. It uses
short mnemonic codes for instructions and allows
the programmer to introduce names for blocks of
memory that hold data. One might thus write “add
pay, total” instead of “0110101100101000” for an
instruction that adds two numbers.
Machine language
 The numeric codes for the operations that a particular computer can
execute directly. The codes are strings of 0s and 1s, or binary
digits (“bits”), which are frequently converted both from and to
hexadecimal (base 16) for human viewing and modification. Machine
language instructions typically use some bits to represent operations,
such as addition, and some to represent operands, or perhaps the
location of the next instruction. Machine language is difficult to read
and write, since it does not resemble conventional mathematical
notation or human language, and its codes vary from computer to
computer.
High level languages
 High level languages are written in a form that is close to our
human language, enabling to programmer to just focus on the
problem being solved.
 No particular knowledge of the hardware is needed as high level
languages create programs that are portable and not tied to a
particular computer or microchip.
 Examples include: C++, Java, Pascal, Python, Visual Basic.
Low level languages
Low level languages are used to write programs that
relate to the specific architecture and hardware of a
particular type of computer.
They are closer to the native language of a computer
(binary), making them harder for programmers to
understand.
Examples of low level language:
Assembly Language, Machine Code
High Level Language Low Level Language
1. It is programmer friendly language. It is a machine friendly language.
2.
High level language is less memory
efficient. Low level language is high memory efficient.
3. It is easy to understand. It is tough to understand.
4. It is simple to debug. It is complex to debug comparatively.
5. It is simple to maintain. It is complex to maintain comparatively.
6. It is portable. It is non-portable.
COBOL
 COBOL (COmmon Business Oriented Language) was developed in the late
1950s by computer manufacturers, the U.S. government and industrial computer
users. COBOL is used for commercial applications that require precise and
efficient manipulation of large amounts of data. Much business software is still
programmed in COBOL.
FORTRAN
 The first important algorithmic language was FORTRAN (formula
translation), designed in 1957 by an IBM team led by John Backus. It
was intended for scientific computations with real numbers and
collections of them organized as one- or multidimensional arrays. Its
control structures included conditional IF statements, repetitive loops
(so-called DO loops), and a GOTO statement that allowed
nonsequential execution of program code. FORTRAN made it
convenient to have subprograms for common mathematical
operations, and built libraries of them.
 FORTRAN was also designed to translate into efficient machine
language. It was immediately successful and continues to evolve.
BASIC
 BASIC (beginner’s all-purpose symbolic instruction code) was
designed at Dartmouth College in the mid-1960s by John Kemeny and
Thomas Kurtz. It was intended to be easy to learn by novices,
particularly non-computer science majors, and to run well on a time-
sharing computer with many users. It had simple data structures and
notation and it was interpreted: a BASIC program was translated line-
by-line and executed as it was translated, which made it easy to locate
programming errors.
 Its small size and simplicity also made BASIC a popular language for
early personal computers. Its recent forms have adopted many of the
data and control structures of other contemporary languages, which
makes it more powerful but less convenient for beginners.
Java
 In the early 1990s, Java was designed by Sun Microsystems, Inc., as a
programming language for the World Wide Web (WWW). Although it
resembled C++ in appearance, it was fully object-oriented. In
particular, Java dispensed with lower-level features, including the
ability to manipulate data addresses, a capability that is neither
desirable nor useful in programs for distributed systems. In order to be
portable, Java programs are translated by a Java Virtual Machine
specific to each computer platform, which then executes the Java
program. In addition to adding interactive capabilities to the Internet
through Web “applets,” Java has been widely used for programming
small and portable devices, such as mobile telephones.
C
 C, computer programming language developed in the early 1970s by
American computer scientist Dennis M. Ritchie at Bell Laboratories (formerly
AT&T Bell Laboratories).
 C was designed as a minimalist language to be used in writing operating
systems for minicomputers, such as the DEC PDP 7, which had very limited
memories compared with the mainframe computers of the period.
 The language was devised during 1969–73, alongside the early development
of the UNIX operating system. It was based on CPL (Combined Programming
Language), which had been first condensed into the B programming
language—a stripped-down computer programming language—created in
1969–70 by Ken Thompson, an American computer scientist and a colleague
of Ritchie. Ritchie subsequently rewrote and restored features from CPL to
create C, eventually rewriting the UNIX operating system in the new
language.
Variables
 Variables are used to store information to be referenced and manipulated in a computer program.
They also provide a way of labeling data with a descriptive name, so our programs can be understood
more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold
information. Their sole purpose is to label and store data in memory. This data can then be used
throughout your program.
 For example, assume you want to store two values 10 and 20 in your program and at a later stage,
you want to use these two values. Let's see how you will do it. Here are the following three simple
steps −
 Create variables with appropriate names.
 Store your values in those two variables.
 Retrieve and use the stored values from the variables.
 Creating variables
 Creating variables is also called declaring variables in C programming. Different programming
languages have different ways of creating variables inside a program. For example, C programming
has the following simple way of creating variables −
Variables
 #include <stdio.h>
 int main() {
 int a;
 int b;
 The above program creates two variables to reserve two memory
locations with names a and b. We created these variables
using int keyword to specify variable data type which means we want
to store integer values in these two variables.
Character
Every letter, digit, and punctuation mark is
a character. There are also many characters
that are invisible on screen, such as
the space, tab, and carriage-return characters.
Strings
The technical description of a String is: an
array of characters. The informal view of a
string is a sentence. Strings are almost always
written in code as a quoted sequence of
characters, i.e., "this is a string".
String
Most programming languages have a data type called a string,
which is used for data values that are made up of ordered
sequences of characters, such as "hello world". A string can
contain any sequence of characters, visible or invisible, and
characters may be repeated. The number of characters in the
string is called its length, and "hello world" has length 11 - made
up of 10 letters and 1 space. There is usually a restriction on the
maximum length of a string. There is also such a thing as
an empty string, which contains no characters - length 0.
A string can be a constant or variable. If it is a constant, it is
usually written as a sequence of characters enclosed in single or
double quotation marks, ie 'hello' or "hello".
Statement
 Most programming languages have the concept of a statement.
A statement is a command that the programmer gives to the computer. For
example:
 print "Hello, world!"
 This command has a verb (“print”) and other details (what to print). In this
case, the command print means “show on the screen,” not “print on the
printer.” The programmer either gives the statement directly to the computer
(by typing it while launching a special program), or creates a text file with the
command in it. You could create a file called “hi.txt” using a program like
Notepad, put the above command in it, and give the file to the computer.
Statement
 An instruction written in a high-level language. A statement directs the
computer to perform a specified action. A single statement in a high-
level language can represent several machine-language instructions.
Programs consist of statements and expressions. An expression is a
group of symbols that represent a value.
Operators and operands
 Operators are special symbols that represent computations like addition and multiplication.
The values the operator uses are called operands.
 The following are all legal Python expressions whose meaning is more or less clear:
 20+32 hour-1 hour*60+minute minute/60 5**2 (5+9)*(15-7)
 The symbols +, -, and /, and the use of parenthesis for grouping, mean in Python what they
mean in mathematics. The asterisk (*) is the symbol for multiplication, and ** is the symbol for
exponentiation.
 When a variable name appears in the place of an operand, it is replaced with its value before
the operation is performed.
Computer programming languages

More Related Content

What's hot

Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs
 
Computer Language
Computer LanguageComputer Language
Computer Language
Deepak Yadav
 
Programming languages
Programming languagesProgramming languages
Programming languagesAkash Varaiya
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
Project Student
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming conceptssalmankhan570
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
Richa Pant
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languageskitturashmikittu
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programmingNSU-Biliran Campus
 
Programming languages
Programming languagesProgramming languages
Programming languages
www.myassignmenthelp.net
 
Programming language
Programming languageProgramming language
Programming language
RajThakuri
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
Juhi Bhoyar
 
Computer memory
Computer memoryComputer memory
Computer memory
arunavasava
 
Presentation on different kinds of software
Presentation on different kinds of softwarePresentation on different kinds of software
Presentation on different kinds of softwareNitish Xavier Tirkey
 
Programming Language
Programming LanguageProgramming Language
Programming Language
Madhushree Shettigar
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
Mohammad Shakirul islam
 
Computer Languages
Computer Languages Computer Languages
Computer Languages
Anjana Mohanan
 
Software and its types
Software and its typesSoftware and its types
Software and its types
Ahmad Hussain
 
System software and Application software
System software and Application softwareSystem software and Application software
System software and Application software
baabtra.com - No. 1 supplier of quality freshers
 

What's hot (20)

Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Computer Language
Computer LanguageComputer Language
Computer Language
 
Rajesh ppt
Rajesh pptRajesh ppt
Rajesh ppt
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Classification of Programming Languages
Classification of Programming LanguagesClassification of Programming Languages
Classification of Programming Languages
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
 
Generation of computer languages
Generation of computer languagesGeneration of computer languages
Generation of computer languages
 
Introduction to computer programming
Introduction to computer programmingIntroduction to computer programming
Introduction to computer programming
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Programming language
Programming languageProgramming language
Programming language
 
Types of Programming Languages
Types of Programming LanguagesTypes of Programming Languages
Types of Programming Languages
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Translators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreterTranslators(Compiler, Assembler) and interpreter
Translators(Compiler, Assembler) and interpreter
 
Presentation on different kinds of software
Presentation on different kinds of softwarePresentation on different kinds of software
Presentation on different kinds of software
 
Programming Language
Programming LanguageProgramming Language
Programming Language
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Computer Languages
Computer Languages Computer Languages
Computer Languages
 
Software and its types
Software and its typesSoftware and its types
Software and its types
 
System software and Application software
System software and Application softwareSystem software and Application software
System software and Application software
 

Similar to Computer programming languages

Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
Guru buying house , Main branch ,Barishal.
 
2 Programming Language.pdf
2 Programming Language.pdf2 Programming Language.pdf
2 Programming Language.pdf
KINGZzofYouTube
 
What is a computer
What is a computerWhat is a computer
What is a computer
Jagan Mohan
 
Ayushi
AyushiAyushi
Introduction to compiler development
Introduction to compiler developmentIntroduction to compiler development
Introduction to compiler development
DeepOad
 
Unit 1
Unit 1Unit 1
Unit 1
TPLatchoumi
 
Programming with \'C\'
Programming with \'C\'Programming with \'C\'
Programming with \'C\'
bdmsts
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
hamza239523
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
REHAN IJAZ
 
Programming languages
Programming languagesProgramming languages
Programming languages
Fatima Abdul Rahman
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
Hepsijeba
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
Sweta Kumari Barnwal
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
Munawar Bukhari
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
Hussain Buksh
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
MahamaHaruna
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
Chewe Lulembo
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYRajeshkumar Reddy
 
Fundamentals of programming and problem solving
Fundamentals of programming and problem solvingFundamentals of programming and problem solving
Fundamentals of programming and problem solvingJustine Dela Serna
 
Computer programming
Computer programmingComputer programming
Computer programmingSuneel Dogra
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
Prof. Dr. K. Adisesha
 

Similar to Computer programming languages (20)

Assignment on basic programming language
Assignment on  basic programming languageAssignment on  basic programming language
Assignment on basic programming language
 
2 Programming Language.pdf
2 Programming Language.pdf2 Programming Language.pdf
2 Programming Language.pdf
 
What is a computer
What is a computerWhat is a computer
What is a computer
 
Ayushi
AyushiAyushi
Ayushi
 
Introduction to compiler development
Introduction to compiler developmentIntroduction to compiler development
Introduction to compiler development
 
Unit 1
Unit 1Unit 1
Unit 1
 
Programming with \'C\'
Programming with \'C\'Programming with \'C\'
Programming with \'C\'
 
all languages in computer programming
all languages in computer programmingall languages in computer programming
all languages in computer programming
 
Programming Fundamentals lecture 2
Programming Fundamentals lecture 2Programming Fundamentals lecture 2
Programming Fundamentals lecture 2
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Unit i (part2) b.sc
Unit i (part2)   b.scUnit i (part2)   b.sc
Unit i (part2) b.sc
 
Computer program, computer languages, computer software
Computer program, computer languages, computer softwareComputer program, computer languages, computer software
Computer program, computer languages, computer software
 
Computer languages and generation
Computer languages and generationComputer languages and generation
Computer languages and generation
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Introduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptxIntroduction Programming and Application Lecture 1.pptx
Introduction Programming and Application Lecture 1.pptx
 
Lecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptxLecture_1_Introduction_to_Programming.pptx
Lecture_1_Introduction_to_Programming.pptx
 
C Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDYC Unit 1 notes PREPARED BY MVB REDDY
C Unit 1 notes PREPARED BY MVB REDDY
 
Fundamentals of programming and problem solving
Fundamentals of programming and problem solvingFundamentals of programming and problem solving
Fundamentals of programming and problem solving
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Software Concepts Notes
Software Concepts NotesSoftware Concepts Notes
Software Concepts Notes
 

More from SubramanianMuthusamy3

Call and calt
Call and caltCall and calt
Call and calt
SubramanianMuthusamy3
 
Lfg and gpsg
Lfg and gpsgLfg and gpsg
Lfg and gpsg
SubramanianMuthusamy3
 
Group discussion
Group discussionGroup discussion
Group discussion
SubramanianMuthusamy3
 
Word sense, notions
Word sense, notionsWord sense, notions
Word sense, notions
SubramanianMuthusamy3
 
Rewrite systems
Rewrite systemsRewrite systems
Rewrite systems
SubramanianMuthusamy3
 
Phrase structure grammar
Phrase structure grammarPhrase structure grammar
Phrase structure grammar
SubramanianMuthusamy3
 
Head Movement and verb movement
Head Movement and verb movementHead Movement and verb movement
Head Movement and verb movement
SubramanianMuthusamy3
 
Text editing, analysis, processing, bibliography
Text editing, analysis, processing, bibliographyText editing, analysis, processing, bibliography
Text editing, analysis, processing, bibliography
SubramanianMuthusamy3
 
R language
R languageR language
Nlp (1)
Nlp (1)Nlp (1)
Computer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_pptComputer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_ppt
SubramanianMuthusamy3
 
Applications of computers in linguistics
Applications of computers in linguisticsApplications of computers in linguistics
Applications of computers in linguistics
SubramanianMuthusamy3
 
Scope of translation technologies in indusstry 5.0
Scope of translation technologies in indusstry 5.0Scope of translation technologies in indusstry 5.0
Scope of translation technologies in indusstry 5.0
SubramanianMuthusamy3
 
Stylistics in computational perspective
Stylistics in computational perspectiveStylistics in computational perspective
Stylistics in computational perspective
SubramanianMuthusamy3
 
Presentation skills
Presentation skillsPresentation skills
Presentation skills
SubramanianMuthusamy3
 
Creativity and strategic thinking
Creativity and strategic thinkingCreativity and strategic thinking
Creativity and strategic thinking
SubramanianMuthusamy3
 
Building rapport soft skills
Building rapport soft skillsBuilding rapport soft skills
Building rapport soft skills
SubramanianMuthusamy3
 
Types of computers[6999]
Types of computers[6999]Types of computers[6999]
Types of computers[6999]
SubramanianMuthusamy3
 
Principles of Language Assessment
Principles of Language AssessmentPrinciples of Language Assessment
Principles of Language Assessment
SubramanianMuthusamy3
 

More from SubramanianMuthusamy3 (19)

Call and calt
Call and caltCall and calt
Call and calt
 
Lfg and gpsg
Lfg and gpsgLfg and gpsg
Lfg and gpsg
 
Group discussion
Group discussionGroup discussion
Group discussion
 
Word sense, notions
Word sense, notionsWord sense, notions
Word sense, notions
 
Rewrite systems
Rewrite systemsRewrite systems
Rewrite systems
 
Phrase structure grammar
Phrase structure grammarPhrase structure grammar
Phrase structure grammar
 
Head Movement and verb movement
Head Movement and verb movementHead Movement and verb movement
Head Movement and verb movement
 
Text editing, analysis, processing, bibliography
Text editing, analysis, processing, bibliographyText editing, analysis, processing, bibliography
Text editing, analysis, processing, bibliography
 
R language
R languageR language
R language
 
Nlp (1)
Nlp (1)Nlp (1)
Nlp (1)
 
Computer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_pptComputer dictionaries and_parsing_ppt
Computer dictionaries and_parsing_ppt
 
Applications of computers in linguistics
Applications of computers in linguisticsApplications of computers in linguistics
Applications of computers in linguistics
 
Scope of translation technologies in indusstry 5.0
Scope of translation technologies in indusstry 5.0Scope of translation technologies in indusstry 5.0
Scope of translation technologies in indusstry 5.0
 
Stylistics in computational perspective
Stylistics in computational perspectiveStylistics in computational perspective
Stylistics in computational perspective
 
Presentation skills
Presentation skillsPresentation skills
Presentation skills
 
Creativity and strategic thinking
Creativity and strategic thinkingCreativity and strategic thinking
Creativity and strategic thinking
 
Building rapport soft skills
Building rapport soft skillsBuilding rapport soft skills
Building rapport soft skills
 
Types of computers[6999]
Types of computers[6999]Types of computers[6999]
Types of computers[6999]
 
Principles of Language Assessment
Principles of Language AssessmentPrinciples of Language Assessment
Principles of Language Assessment
 

Recently uploaded

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
Jheel Barad
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
timhan337
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 

Recently uploaded (20)

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Instructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptxInstructions for Submissions thorugh G- Classroom.pptx
Instructions for Submissions thorugh G- Classroom.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Honest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptxHonest Reviews of Tim Han LMA Course Program.pptx
Honest Reviews of Tim Han LMA Course Program.pptx
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 

Computer programming languages

  • 2. Computer programming language Programming languages are used for expressing a set of detailed instructions for a digital computer. Such instructions can be executed directly when they are in the computer manufacturer-specific numerical form known as machine language, after a simple substitution process when expressed in a corresponding assembly language, or after translation from some “higher-level” language.
  • 3.
  • 4. Assembly language Assembly language is one level above machine language. It uses short mnemonic codes for instructions and allows the programmer to introduce names for blocks of memory that hold data. One might thus write “add pay, total” instead of “0110101100101000” for an instruction that adds two numbers.
  • 5. Machine language  The numeric codes for the operations that a particular computer can execute directly. The codes are strings of 0s and 1s, or binary digits (“bits”), which are frequently converted both from and to hexadecimal (base 16) for human viewing and modification. Machine language instructions typically use some bits to represent operations, such as addition, and some to represent operands, or perhaps the location of the next instruction. Machine language is difficult to read and write, since it does not resemble conventional mathematical notation or human language, and its codes vary from computer to computer.
  • 6. High level languages  High level languages are written in a form that is close to our human language, enabling to programmer to just focus on the problem being solved.  No particular knowledge of the hardware is needed as high level languages create programs that are portable and not tied to a particular computer or microchip.  Examples include: C++, Java, Pascal, Python, Visual Basic.
  • 7. Low level languages Low level languages are used to write programs that relate to the specific architecture and hardware of a particular type of computer. They are closer to the native language of a computer (binary), making them harder for programmers to understand. Examples of low level language: Assembly Language, Machine Code
  • 8. High Level Language Low Level Language 1. It is programmer friendly language. It is a machine friendly language. 2. High level language is less memory efficient. Low level language is high memory efficient. 3. It is easy to understand. It is tough to understand. 4. It is simple to debug. It is complex to debug comparatively. 5. It is simple to maintain. It is complex to maintain comparatively. 6. It is portable. It is non-portable.
  • 9. COBOL  COBOL (COmmon Business Oriented Language) was developed in the late 1950s by computer manufacturers, the U.S. government and industrial computer users. COBOL is used for commercial applications that require precise and efficient manipulation of large amounts of data. Much business software is still programmed in COBOL.
  • 10. FORTRAN  The first important algorithmic language was FORTRAN (formula translation), designed in 1957 by an IBM team led by John Backus. It was intended for scientific computations with real numbers and collections of them organized as one- or multidimensional arrays. Its control structures included conditional IF statements, repetitive loops (so-called DO loops), and a GOTO statement that allowed nonsequential execution of program code. FORTRAN made it convenient to have subprograms for common mathematical operations, and built libraries of them.  FORTRAN was also designed to translate into efficient machine language. It was immediately successful and continues to evolve.
  • 11. BASIC  BASIC (beginner’s all-purpose symbolic instruction code) was designed at Dartmouth College in the mid-1960s by John Kemeny and Thomas Kurtz. It was intended to be easy to learn by novices, particularly non-computer science majors, and to run well on a time- sharing computer with many users. It had simple data structures and notation and it was interpreted: a BASIC program was translated line- by-line and executed as it was translated, which made it easy to locate programming errors.  Its small size and simplicity also made BASIC a popular language for early personal computers. Its recent forms have adopted many of the data and control structures of other contemporary languages, which makes it more powerful but less convenient for beginners.
  • 12. Java  In the early 1990s, Java was designed by Sun Microsystems, Inc., as a programming language for the World Wide Web (WWW). Although it resembled C++ in appearance, it was fully object-oriented. In particular, Java dispensed with lower-level features, including the ability to manipulate data addresses, a capability that is neither desirable nor useful in programs for distributed systems. In order to be portable, Java programs are translated by a Java Virtual Machine specific to each computer platform, which then executes the Java program. In addition to adding interactive capabilities to the Internet through Web “applets,” Java has been widely used for programming small and portable devices, such as mobile telephones.
  • 13. C  C, computer programming language developed in the early 1970s by American computer scientist Dennis M. Ritchie at Bell Laboratories (formerly AT&T Bell Laboratories).  C was designed as a minimalist language to be used in writing operating systems for minicomputers, such as the DEC PDP 7, which had very limited memories compared with the mainframe computers of the period.  The language was devised during 1969–73, alongside the early development of the UNIX operating system. It was based on CPL (Combined Programming Language), which had been first condensed into the B programming language—a stripped-down computer programming language—created in 1969–70 by Ken Thompson, an American computer scientist and a colleague of Ritchie. Ritchie subsequently rewrote and restored features from CPL to create C, eventually rewriting the UNIX operating system in the new language.
  • 14. Variables  Variables are used to store information to be referenced and manipulated in a computer program. They also provide a way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves. It is helpful to think of variables as containers that hold information. Their sole purpose is to label and store data in memory. This data can then be used throughout your program.  For example, assume you want to store two values 10 and 20 in your program and at a later stage, you want to use these two values. Let's see how you will do it. Here are the following three simple steps −  Create variables with appropriate names.  Store your values in those two variables.  Retrieve and use the stored values from the variables.  Creating variables  Creating variables is also called declaring variables in C programming. Different programming languages have different ways of creating variables inside a program. For example, C programming has the following simple way of creating variables −
  • 15. Variables  #include <stdio.h>  int main() {  int a;  int b;  The above program creates two variables to reserve two memory locations with names a and b. We created these variables using int keyword to specify variable data type which means we want to store integer values in these two variables.
  • 16. Character Every letter, digit, and punctuation mark is a character. There are also many characters that are invisible on screen, such as the space, tab, and carriage-return characters.
  • 17. Strings The technical description of a String is: an array of characters. The informal view of a string is a sentence. Strings are almost always written in code as a quoted sequence of characters, i.e., "this is a string".
  • 18. String Most programming languages have a data type called a string, which is used for data values that are made up of ordered sequences of characters, such as "hello world". A string can contain any sequence of characters, visible or invisible, and characters may be repeated. The number of characters in the string is called its length, and "hello world" has length 11 - made up of 10 letters and 1 space. There is usually a restriction on the maximum length of a string. There is also such a thing as an empty string, which contains no characters - length 0. A string can be a constant or variable. If it is a constant, it is usually written as a sequence of characters enclosed in single or double quotation marks, ie 'hello' or "hello".
  • 19. Statement  Most programming languages have the concept of a statement. A statement is a command that the programmer gives to the computer. For example:  print "Hello, world!"  This command has a verb (“print”) and other details (what to print). In this case, the command print means “show on the screen,” not “print on the printer.” The programmer either gives the statement directly to the computer (by typing it while launching a special program), or creates a text file with the command in it. You could create a file called “hi.txt” using a program like Notepad, put the above command in it, and give the file to the computer.
  • 20. Statement  An instruction written in a high-level language. A statement directs the computer to perform a specified action. A single statement in a high- level language can represent several machine-language instructions. Programs consist of statements and expressions. An expression is a group of symbols that represent a value.
  • 21. Operators and operands  Operators are special symbols that represent computations like addition and multiplication. The values the operator uses are called operands.  The following are all legal Python expressions whose meaning is more or less clear:  20+32 hour-1 hour*60+minute minute/60 5**2 (5+9)*(15-7)  The symbols +, -, and /, and the use of parenthesis for grouping, mean in Python what they mean in mathematics. The asterisk (*) is the symbol for multiplication, and ** is the symbol for exponentiation.  When a variable name appears in the place of an operand, it is replaced with its value before the operation is performed.