SlideShare a Scribd company logo
REPUBLIC OF THE PHILIPPINES
PHILIPPINE STATE COLLEGE OF AERONAUTICS
PICCIO GARDEN, VILLAMOR AIR BASE PASAY CITY
ASSIGNMENT NO.1
IN
IT-212 PROGRAMMING 2
SUBMITTED BY:
MONINA MIRASOL R. ABADILLA
AAIT 2-2
SUBMITTED TO:
MRS.RUTH JENNETH LACANARIA-CACHO
JUNE 5,2013
 WHAT IS COMPUTER PROGRAMMING LANGUAGE?
A programming language is an artificial language designed to communicate instructions to a
machine, particularly a computer. Programming languages can be used to create programs that
control the behavior of a machine and/or to express algorithms precisely.
 Function and target: A computer programming language is a language used to write
computer programs, which involve a computer performing some kind of computation or
algorithm and possibly control external devices such as printers, disk drives, robots,]
and
so on. For example PostScript programs are frequently created by another program to
control a computer printer or display. More generally, a programming language may
describe computation on some, possibly abstract, machine. It is generally accepted that
a complete specification for a programming language includes a description, possibly
idealized, of a machine or processor for that language.[5]
In most practical contexts, a
programming language involves a computer; consequently, programming languages are
usually defined and studied this way.[6]
Programming languages differ from natural
languages in that natural languages are only used for interaction between people, while
programming languages also allow humans to communicate instructions to machines.
 Abstractions: Programming languages usually contain abstractions for defining and
manipulating data structures or controlling the flow of execution. The practical necessity
that a programming language support adequate abstractions is expressed by the
abstraction principle;[7]
this principle is sometimes formulated as recommendation to
the programmer to make proper use of such abstractions.
 Expressive power: The theory of computation classifies languages by the computations
they are capable of expressing. All Turing complete languages can implement the same
set of algorithms. ANSI/ISO SQL-92 and Charity are examples of languages that are not
Turing complete, yet often called programming languages.
 TWO SAMPLE PROBLEM OF C PROGRAMMING LANGUAGE
 C Program to Store Information(name, roll and marks) of a Student Using Structure
In this program, a structure(student) is created which contains name, roll and marks as
its data member. Then, a structure variable( s ) is created. Then, data (name, roll and
marks) is taken from user and stored in data members of structure variable s. Finally,
the data entered by user is displayed.
#include <stdio.h>
struct student{
char name[50];
int roll;
float marks;
};
int main(){
struct student s;
printf("Enter information of students:nn");
printf("Enter name: ");
scanf("%s",s.name);
printf("Enter roll number: ");
scanf("%d",&s.roll);
printf("Enter marks: ");
scanf("%f",&s.marks);
printf("nDisplaying Informationn");
printf("Name: %sn",s.name);
printf("Roll: %dn",s.roll);
printf("Marks: %.2fn",s.marks);
return 0;
output:
 HISTORY OF C PROGRAMMING LANGUAGE
BEFORE 1940’S
The Jacquard loom, invented in 1801, used holes in punched cards to represent sewing loom
arm movements in order to generate decorative patterns automatically.
During a nine-month period in 1842-1843, Ada Lovelace translated the memoir of Italian
mathematician Luigi Menabrea about Charles Babbage's newest proposed machine, the
Analytical Engine. With the article, she appended a set of notes which specified in complete
detail a method for calculating Bernoulli numbers with the Engine, recognized by some
historians as the world's first computer program.[1]
Herman Hollerith realized that he could encode information on punch cards when he observed
that train conductors encode the appearance of the ticket holders on the train tickets using the
position of punched holes on the tickets. Hollerith then encoded the 1890 census data on
punch cards.
The first computer codes were specialized for their applications. In the first decades of the 20th
century, numerical calculations were based on decimal numbers. Eventually it was realized that
logic could be represented with numbers, not only with words. For example, Alonzo Church was
able to express the lambda calculus in a formulaic way. The Turing machine was an abstraction
of the operation of a tape-marking machine, for example, in use at the telephone companies.
Turing machines set the basis for storage of programs as data in the von Neumann architecture
of computers by representing a machine through a finite number. However, unlike the lambda
calculus, Turing's code does not serve well as a basis for higher-level languages—its principal
use is in rigorous analyses of algorithmic complexity.
Like many "firsts" in history, the first modern programming language is hard to identify. From
the start, the restrictions of the hardware defined the language. Punch cards allowed 80
columns, but some of the columns had to be used for a sorting number on each card. FORTRAN
included some keywords which were the same as English words, such as "IF", "GOTO" (go to)
and "CONTINUE". The use of a magnetic drum for memory meant that computer programs also
had to be interleaved with the rotations of the drum. Thus the programs were more hardware-
dependent.
To some people, what was the first modern programming language depends on how much
power and human-readability is required before the status of "programming language" is
granted. Jacquard looms and Charles Babbage's Difference Engine both had simple, extremely
limited languages for describing the actions that these machines should perform. One can even
regard the punch holes on a player piano scroll as a limited domain-specific language, albeit not
designed for human consumption.
The 1940s
In the 1940s, the first recognizably modern electrically powered computers were created. The
limited speed and memory capacity forced programmers to write hand tuned assembly
language programs. It was eventually realized that programming in assembly language required
a great deal of intellectual effort and was error-prone.
In 1948, Konrad Zuse published a paper about his programming language Plankalkül. However,
it was not implemented in his lifetime and his original contributions were isolated from other
developments.
Some important languages that were developed in this period include:
1943 - Plankalkül (Konrad Zuse), designed, but unimplemented for a half-century
1943 - ENIAC, Electric Numerical Integrator And Computer, machine-specific codeset
appearing in 1948.[2]
1949 - 1954 — a series of machine-specific mnemonic instruction sets, like ENIAC's,
beginning in 1949 with C-10 for BINAC (which later evolved into UNIVAC).[3]
Each
codeset, or instruction set, was tailored to a specific manufacturer.
The 1950s and 1960s
in the 1950s, the first three modern programming languages whose descendants are still in
widespread use today were designed:
FORTRAN (1955), the "FORmula TRANslator", invented by John Backus et al.;
LISP (1958), the "LISt Processor", invented by John McCarthy et al.;
COBOL (1959), the COmmon Business Oriented Language, created by the Short Range
Committee, heavily influenced by Grace Hopper.
Another milestone in the late 1950s was the publication, by a committee of American and
European computer scientists, of "a new language for algorithms"; the ALGOL 60 Report (the
"ALGOrithmic Language"). This report consolidated many ideas circulating at the time and
featured two key language innovations.

More Related Content

What's hot

Program & language generation
Program & language generationProgram & language generation
Program & language generation
Buxoo Abdullah
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
Mohammad Shakirul islam
 
Unit 12 section 1 - computer programming
Unit 12   section 1 - computer programmingUnit 12   section 1 - computer programming
Unit 12 section 1 - computer programming
dlwadsworth
 
Welcome to my presentation
Welcome to my presentationWelcome to my presentation
Welcome to my presentation
Rafsun Rafat
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
py7rjs
 
Programing
Programing Programing
Programing
Ahmed Alkoudah
 
01 introduction
01 introduction01 introduction
01 introduction
TRK2012
 
Machine language to artificial intelligence
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligence
Suneel Dogra
 
Programming
ProgrammingProgramming
Programming
Alawi Alradhi
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
Richa Pant
 
Programming languages
Programming languagesProgramming languages
Programming languages
Akash Varaiya
 
Types Of Coding Languages: A Complete Guide To Master Programming
Types Of Coding Languages: A Complete Guide To Master ProgrammingTypes Of Coding Languages: A Complete Guide To Master Programming
Types Of Coding Languages: A Complete Guide To Master Programming
calltutors
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
lakshmi kumari neelapu
 
Fundamentals of programming and problem solving
Fundamentals of programming and problem solvingFundamentals of programming and problem solving
Fundamentals of programming and problem solving
Justine Dela Serna
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language
.AIR UNIVERSITY ISLAMABAD
 
Programming
ProgrammingProgramming
Programming
Jobin Jobin
 
Introduction to compiler development
Introduction to compiler developmentIntroduction to compiler development
Introduction to compiler development
DeepOad
 
Computer programming languages19 09-2007
Computer programming languages19 09-2007Computer programming languages19 09-2007
Computer programming languages19 09-2007
Prem Chandrakar
 
Programming language
Programming languageProgramming language
Programming language
Ayesha Waheed
 
computer languages
computer languagescomputer languages
computer languages
gulpari2
 

What's hot (20)

Program & language generation
Program & language generationProgram & language generation
Program & language generation
 
Presentation on Programming Languages.
Presentation on Programming Languages.Presentation on Programming Languages.
Presentation on Programming Languages.
 
Unit 12 section 1 - computer programming
Unit 12   section 1 - computer programmingUnit 12   section 1 - computer programming
Unit 12 section 1 - computer programming
 
Welcome to my presentation
Welcome to my presentationWelcome to my presentation
Welcome to my presentation
 
Generations Of Programming Languages
Generations Of Programming LanguagesGenerations Of Programming Languages
Generations Of Programming Languages
 
Programing
Programing Programing
Programing
 
01 introduction
01 introduction01 introduction
01 introduction
 
Machine language to artificial intelligence
Machine language to artificial intelligenceMachine language to artificial intelligence
Machine language to artificial intelligence
 
Programming
ProgrammingProgramming
Programming
 
Presentation on generation of languages
Presentation on generation of languagesPresentation on generation of languages
Presentation on generation of languages
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Types Of Coding Languages: A Complete Guide To Master Programming
Types Of Coding Languages: A Complete Guide To Master ProgrammingTypes Of Coding Languages: A Complete Guide To Master Programming
Types Of Coding Languages: A Complete Guide To Master Programming
 
Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1Generations of programming_language.kum_ari11-1-1-1
Generations of programming_language.kum_ari11-1-1-1
 
Fundamentals of programming and problem solving
Fundamentals of programming and problem solvingFundamentals of programming and problem solving
Fundamentals of programming and problem solving
 
Interfacing With High Level Programming Language
Interfacing With High Level Programming Language Interfacing With High Level Programming Language
Interfacing With High Level Programming Language
 
Programming
ProgrammingProgramming
Programming
 
Introduction to compiler development
Introduction to compiler developmentIntroduction to compiler development
Introduction to compiler development
 
Computer programming languages19 09-2007
Computer programming languages19 09-2007Computer programming languages19 09-2007
Computer programming languages19 09-2007
 
Programming language
Programming languageProgramming language
Programming language
 
computer languages
computer languagescomputer languages
computer languages
 

Viewers also liked

Marlyn villegas guia#2..
Marlyn villegas guia#2..Marlyn villegas guia#2..
Marlyn villegas guia#2..
marlynvillegas
 
Presentacion matematicas sesion_1
Presentacion matematicas sesion_1Presentacion matematicas sesion_1
Presentacion matematicas sesion_1
Oto Miguel
 
MBAI mauw annual mtng
MBAI mauw annual mtngMBAI mauw annual mtng
MBAI mauw annual mtng
eluchenbill
 
Generasi computer
Generasi computerGenerasi computer
Generasi computer
Septian Muna Barakati
 
Pitufos histo
Pitufos histoPitufos histo
Pitufos histo
Estrellita Bebe
 
Botiquin
BotiquinBotiquin
Botiquin
El del Alma
 
Reception lisa joe
Reception lisa joeReception lisa joe
Reception lisa joe
polaselm
 
Genre theorists
Genre theoristsGenre theorists
Genre theorists
anniesadowski
 
Realidad adolescentes ecuatorianos
Realidad adolescentes ecuatorianosRealidad adolescentes ecuatorianos
Realidad adolescentes ecuatorianos
veronicadelgadolopez
 

Viewers also liked (9)

Marlyn villegas guia#2..
Marlyn villegas guia#2..Marlyn villegas guia#2..
Marlyn villegas guia#2..
 
Presentacion matematicas sesion_1
Presentacion matematicas sesion_1Presentacion matematicas sesion_1
Presentacion matematicas sesion_1
 
MBAI mauw annual mtng
MBAI mauw annual mtngMBAI mauw annual mtng
MBAI mauw annual mtng
 
Generasi computer
Generasi computerGenerasi computer
Generasi computer
 
Pitufos histo
Pitufos histoPitufos histo
Pitufos histo
 
Botiquin
BotiquinBotiquin
Botiquin
 
Reception lisa joe
Reception lisa joeReception lisa joe
Reception lisa joe
 
Genre theorists
Genre theoristsGenre theorists
Genre theorists
 
Realidad adolescentes ecuatorianos
Realidad adolescentes ecuatorianosRealidad adolescentes ecuatorianos
Realidad adolescentes ecuatorianos
 

Similar to #Ems the second year

What is a computer
What is a computerWhat is a computer
What is a computer
Jagan Mohan
 
computerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptxcomputerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptx
Subramanian Mani
 
introduction of computer.pdf
introduction of computer.pdfintroduction of computer.pdf
introduction of computer.pdf
ssuserbfae20
 
Presentation1 c o-mprog
Presentation1   c o-mprogPresentation1   c o-mprog
Presentation1 c o-mprog
Ulyses Tafalla
 
Presentation2
Presentation2Presentation2
Presentation2
mohammed khalid
 
History of Computer Programming Languages.pptx
History of Computer Programming Languages.pptxHistory of Computer Programming Languages.pptx
History of Computer Programming Languages.pptx
AliAbbas906043
 
The History of Programming.pptx
The History of Programming.pptxThe History of Programming.pptx
The History of Programming.pptx
sheillakontor
 
rlanguage-201216152504.pptx
rlanguage-201216152504.pptxrlanguage-201216152504.pptx
rlanguage-201216152504.pptx
Subramanian Mani
 
R language
R languageR language
Programming languages
Programming languagesProgramming languages
Programming languages
Fatima Abdul Rahman
 
A Short Communication On Computer Programming Languages In Modern Era
A Short Communication On Computer Programming Languages In Modern EraA Short Communication On Computer Programming Languages In Modern Era
A Short Communication On Computer Programming Languages In Modern Era
Katie Naple
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
Hussain Buksh
 
Programming with \'C\'
Programming with \'C\'Programming with \'C\'
Programming with \'C\'
bdmsts
 
Ayushi
AyushiAyushi
Programming
ProgrammingProgramming
Programming
WaleedAljarman
 
FINAL.ppt
FINAL.pptFINAL.ppt
FINAL.ppt
DeveshKatiyar5
 
Can programming be liberated from the von neumman style
Can programming be liberated from the von neumman styleCan programming be liberated from the von neumman style
Can programming be liberated from the von neumman style
shady_10
 
software History
software Historysoftware History
software History
Avinash Avi
 
Programing paradigm &amp; implementation
Programing paradigm &amp; implementationPrograming paradigm &amp; implementation
Programing paradigm &amp; implementation
Bilal Maqbool ツ
 
Architecture presentation
Architecture presentationArchitecture presentation
Architecture presentation
Md. Touhidur Rahman
 

Similar to #Ems the second year (20)

What is a computer
What is a computerWhat is a computer
What is a computer
 
computerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptxcomputerprogramminglanguages-201216152310.pptx
computerprogramminglanguages-201216152310.pptx
 
introduction of computer.pdf
introduction of computer.pdfintroduction of computer.pdf
introduction of computer.pdf
 
Presentation1 c o-mprog
Presentation1   c o-mprogPresentation1   c o-mprog
Presentation1 c o-mprog
 
Presentation2
Presentation2Presentation2
Presentation2
 
History of Computer Programming Languages.pptx
History of Computer Programming Languages.pptxHistory of Computer Programming Languages.pptx
History of Computer Programming Languages.pptx
 
The History of Programming.pptx
The History of Programming.pptxThe History of Programming.pptx
The History of Programming.pptx
 
rlanguage-201216152504.pptx
rlanguage-201216152504.pptxrlanguage-201216152504.pptx
rlanguage-201216152504.pptx
 
R language
R languageR language
R language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
A Short Communication On Computer Programming Languages In Modern Era
A Short Communication On Computer Programming Languages In Modern EraA Short Communication On Computer Programming Languages In Modern Era
A Short Communication On Computer Programming Languages In Modern Era
 
Introduction To Computer Programming
Introduction To Computer ProgrammingIntroduction To Computer Programming
Introduction To Computer Programming
 
Programming with \'C\'
Programming with \'C\'Programming with \'C\'
Programming with \'C\'
 
Ayushi
AyushiAyushi
Ayushi
 
Programming
ProgrammingProgramming
Programming
 
FINAL.ppt
FINAL.pptFINAL.ppt
FINAL.ppt
 
Can programming be liberated from the von neumman style
Can programming be liberated from the von neumman styleCan programming be liberated from the von neumman style
Can programming be liberated from the von neumman style
 
software History
software Historysoftware History
software History
 
Programing paradigm &amp; implementation
Programing paradigm &amp; implementationPrograming paradigm &amp; implementation
Programing paradigm &amp; implementation
 
Architecture presentation
Architecture presentationArchitecture presentation
Architecture presentation
 

Recently uploaded

Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
Jason Packer
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
Mariano Tinti
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
Tatiana Kojar
 

Recently uploaded (20)

Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024Columbus Data & Analytics Wednesdays - June 2024
Columbus Data & Analytics Wednesdays - June 2024
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Mariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceXMariano G Tinti - Decoding SpaceX
Mariano G Tinti - Decoding SpaceX
 
WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Skybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoptionSkybuffer SAM4U tool for SAP license adoption
Skybuffer SAM4U tool for SAP license adoption
 

#Ems the second year

  • 1. REPUBLIC OF THE PHILIPPINES PHILIPPINE STATE COLLEGE OF AERONAUTICS PICCIO GARDEN, VILLAMOR AIR BASE PASAY CITY ASSIGNMENT NO.1 IN IT-212 PROGRAMMING 2 SUBMITTED BY: MONINA MIRASOL R. ABADILLA AAIT 2-2 SUBMITTED TO: MRS.RUTH JENNETH LACANARIA-CACHO JUNE 5,2013
  • 2.  WHAT IS COMPUTER PROGRAMMING LANGUAGE? A programming language is an artificial language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.  Function and target: A computer programming language is a language used to write computer programs, which involve a computer performing some kind of computation or algorithm and possibly control external devices such as printers, disk drives, robots,] and so on. For example PostScript programs are frequently created by another program to control a computer printer or display. More generally, a programming language may describe computation on some, possibly abstract, machine. It is generally accepted that a complete specification for a programming language includes a description, possibly idealized, of a machine or processor for that language.[5] In most practical contexts, a programming language involves a computer; consequently, programming languages are usually defined and studied this way.[6] Programming languages differ from natural languages in that natural languages are only used for interaction between people, while programming languages also allow humans to communicate instructions to machines.  Abstractions: Programming languages usually contain abstractions for defining and manipulating data structures or controlling the flow of execution. The practical necessity that a programming language support adequate abstractions is expressed by the abstraction principle;[7] this principle is sometimes formulated as recommendation to the programmer to make proper use of such abstractions.  Expressive power: The theory of computation classifies languages by the computations they are capable of expressing. All Turing complete languages can implement the same set of algorithms. ANSI/ISO SQL-92 and Charity are examples of languages that are not Turing complete, yet often called programming languages.
  • 3.  TWO SAMPLE PROBLEM OF C PROGRAMMING LANGUAGE  C Program to Store Information(name, roll and marks) of a Student Using Structure In this program, a structure(student) is created which contains name, roll and marks as its data member. Then, a structure variable( s ) is created. Then, data (name, roll and marks) is taken from user and stored in data members of structure variable s. Finally, the data entered by user is displayed. #include <stdio.h> struct student{ char name[50]; int roll; float marks; }; int main(){ struct student s; printf("Enter information of students:nn"); printf("Enter name: "); scanf("%s",s.name); printf("Enter roll number: "); scanf("%d",&s.roll); printf("Enter marks: "); scanf("%f",&s.marks); printf("nDisplaying Informationn"); printf("Name: %sn",s.name); printf("Roll: %dn",s.roll); printf("Marks: %.2fn",s.marks); return 0; output:
  • 4.  HISTORY OF C PROGRAMMING LANGUAGE BEFORE 1940’S The Jacquard loom, invented in 1801, used holes in punched cards to represent sewing loom arm movements in order to generate decorative patterns automatically. During a nine-month period in 1842-1843, Ada Lovelace translated the memoir of Italian mathematician Luigi Menabrea about Charles Babbage's newest proposed machine, the Analytical Engine. With the article, she appended a set of notes which specified in complete detail a method for calculating Bernoulli numbers with the Engine, recognized by some historians as the world's first computer program.[1] Herman Hollerith realized that he could encode information on punch cards when he observed that train conductors encode the appearance of the ticket holders on the train tickets using the position of punched holes on the tickets. Hollerith then encoded the 1890 census data on punch cards. The first computer codes were specialized for their applications. In the first decades of the 20th century, numerical calculations were based on decimal numbers. Eventually it was realized that logic could be represented with numbers, not only with words. For example, Alonzo Church was able to express the lambda calculus in a formulaic way. The Turing machine was an abstraction of the operation of a tape-marking machine, for example, in use at the telephone companies. Turing machines set the basis for storage of programs as data in the von Neumann architecture of computers by representing a machine through a finite number. However, unlike the lambda calculus, Turing's code does not serve well as a basis for higher-level languages—its principal use is in rigorous analyses of algorithmic complexity. Like many "firsts" in history, the first modern programming language is hard to identify. From the start, the restrictions of the hardware defined the language. Punch cards allowed 80 columns, but some of the columns had to be used for a sorting number on each card. FORTRAN included some keywords which were the same as English words, such as "IF", "GOTO" (go to) and "CONTINUE". The use of a magnetic drum for memory meant that computer programs also had to be interleaved with the rotations of the drum. Thus the programs were more hardware- dependent. To some people, what was the first modern programming language depends on how much power and human-readability is required before the status of "programming language" is granted. Jacquard looms and Charles Babbage's Difference Engine both had simple, extremely limited languages for describing the actions that these machines should perform. One can even regard the punch holes on a player piano scroll as a limited domain-specific language, albeit not designed for human consumption.
  • 5. The 1940s In the 1940s, the first recognizably modern electrically powered computers were created. The limited speed and memory capacity forced programmers to write hand tuned assembly language programs. It was eventually realized that programming in assembly language required a great deal of intellectual effort and was error-prone. In 1948, Konrad Zuse published a paper about his programming language Plankalkül. However, it was not implemented in his lifetime and his original contributions were isolated from other developments. Some important languages that were developed in this period include: 1943 - Plankalkül (Konrad Zuse), designed, but unimplemented for a half-century 1943 - ENIAC, Electric Numerical Integrator And Computer, machine-specific codeset appearing in 1948.[2] 1949 - 1954 — a series of machine-specific mnemonic instruction sets, like ENIAC's, beginning in 1949 with C-10 for BINAC (which later evolved into UNIVAC).[3] Each codeset, or instruction set, was tailored to a specific manufacturer. The 1950s and 1960s in the 1950s, the first three modern programming languages whose descendants are still in widespread use today were designed: FORTRAN (1955), the "FORmula TRANslator", invented by John Backus et al.; LISP (1958), the "LISt Processor", invented by John McCarthy et al.; COBOL (1959), the COmmon Business Oriented Language, created by the Short Range Committee, heavily influenced by Grace Hopper. Another milestone in the late 1950s was the publication, by a committee of American and European computer scientists, of "a new language for algorithms"; the ALGOL 60 Report (the "ALGOrithmic Language"). This report consolidated many ideas circulating at the time and featured two key language innovations.