SlideShare a Scribd company logo
INTRODUCTION TOCOMPUTER SCIENCE
CSC 1302
LECTURE 4
Department of Maths and Computer-
Science
Faculty of Natural and Applied Science
BY
UMAR DANJUMA MAIWADA
PROGRAMMING
 Programming is all about designing and coding
algorithm for solving problems.
 Computers are not very intelligent, the instruction they
receive must be extraordinary special.
 We write computer instructions in programming
languages, which are more constrained and exact than
human languages are.
 It must follow a series of algorithm.
2
MACHINE LANGUAGES
 Instructions written in these language
correspond directly to the hardware
operations of a particular machine.
 It deals directly with the computers physical
component.
 They are represented in binary.
3
ASSEMBLY LANGUAGE
 It allows the use of words rather than binary
number.
 The words corresponds to operations performed by
the computers physical components.
4
HIGH LEVEL LANGUAGE
 It is use to solve complex problems which is quick
and reliable and it relates to the way human thinks.
 It provides natural frame work through which problem
is solved.
 It include abstraction
5
INTERPRETERS AND COMPILERS
 The interpretation approach relies on a program
known as an interpreter to translate and execute
the statement in high level language program.
 Interpreter reads the statement one at a time,
translating and executing each statement before
processing the next one.
 Compilation approach relies on a program known
as a compiler to translate the entire high level
language program into its equivalent machine
language instructions.
6
THE DIFFERENCE BETWEEN COMPILER AND
INTERPRETER
 Compilation is more faster than translation because
compilation is done once and for all, the interpreter
and the source code are needed every time the
program runs
 Compilation is a one shot translation, once a
program is compiled, it may be run over and over
again without further need for the compiler or the
source code.
7
EXAMPLE OF PROGRAMMING LANGUAGES
 JAVA
 Python
 C++
 C
 Pascal
 COBOL (common business oriented language)
 FORTRAN (formula translator)
Good programming practices
•Your code may be used by somebody else
•The code may be long
•Should be easy to understand for you and for others
•Saves lot of errors and makes debugging easier
•Speeds up program development
9
QUESTIONS???
THANK YOU FOR YOUR ATTENTION
10

More Related Content

What's hot

Language translation system p
Language translation system pLanguage translation system p
Language translation system panassatti5
 
Computer programming
Computer programmingComputer programming
Computer programmingwesleycatcher
 
Planning to computer program(southeast university)
Planning to computer program(southeast university)Planning to computer program(southeast university)
Planning to computer program(southeast university)Arup deb nath
 
Language Translator ( Compiler)
Language Translator ( Compiler)Language Translator ( Compiler)
Language Translator ( Compiler)Nazmul Hyder
 
Language translator
Language translatorLanguage translator
Language translatorSumitSumit26
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming ivEyelean xilef
 
Programming language
Programming languageProgramming language
Programming languageRajThakuri
 
Programming languages
Programming languagesProgramming languages
Programming languagesgaurav jain
 
Computer programming project 15sec
Computer programming project 15secComputer programming project 15sec
Computer programming project 15secJenny Brown
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / TranslatorsProject Student
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language conceptAfiq Sajuri
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language adnan usmani
 
Comso c++
Comso c++Comso c++
Comso c++Mi L
 

What's hot (19)

Language translation system p
Language translation system pLanguage translation system p
Language translation system p
 
10 lesson7
10 lesson710 lesson7
10 lesson7
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Planning to computer program(southeast university)
Planning to computer program(southeast university)Planning to computer program(southeast university)
Planning to computer program(southeast university)
 
Language Translator ( Compiler)
Language Translator ( Compiler)Language Translator ( Compiler)
Language Translator ( Compiler)
 
Language translator
Language translatorLanguage translator
Language translator
 
Concept of computer programming iv
Concept of computer programming ivConcept of computer programming iv
Concept of computer programming iv
 
Programming language
Programming languageProgramming language
Programming language
 
Programming languages
Programming languagesProgramming languages
Programming languages
 
Computer programming project 15sec
Computer programming project 15secComputer programming project 15sec
Computer programming project 15sec
 
Programming Languages / Translators
Programming Languages / TranslatorsProgramming Languages / Translators
Programming Languages / Translators
 
Compilation v. interpretation
Compilation v. interpretationCompilation v. interpretation
Compilation v. interpretation
 
Computer programming language concept
Computer programming language conceptComputer programming language concept
Computer programming language concept
 
High level and Low level Language
High level and Low level Language High level and Low level Language
High level and Low level Language
 
compiler vs interpreter
compiler vs interpretercompiler vs interpreter
compiler vs interpreter
 
La5 programming
La5  programmingLa5  programming
La5 programming
 
Computer language
Computer languageComputer language
Computer language
 
Comso c++
Comso c++Comso c++
Comso c++
 
COMPUTER PROGRAMMING
COMPUTER PROGRAMMINGCOMPUTER PROGRAMMING
COMPUTER PROGRAMMING
 

Similar to Introduction to computer science

Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & LanguagesGaditek
 
Programming language
Programming languageProgramming language
Programming languageShuja Qais
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programmingGwyneth Calica
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdfRakibRahman19
 
High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)Maliha Jahan
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming VanessaBuensalida
 
computer languages
computer languagescomputer languages
computer languagesYasirali328
 
Form5 cd1
Form5 cd1Form5 cd1
Form5 cd1smktsj2
 
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.pptxMahamaHaruna
 

Similar to Introduction to computer science (20)

Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Programming Paradigm & Languages
Programming Paradigm & LanguagesProgramming Paradigm & Languages
Programming Paradigm & Languages
 
Languages in computer
Languages in computerLanguages in computer
Languages in computer
 
Programming language
Programming languageProgramming language
Programming language
 
Programming Part 01
Programming Part 01Programming Part 01
Programming Part 01
 
Notacd07
Notacd07Notacd07
Notacd07
 
Nota programming
Nota programmingNota programming
Nota programming
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Notacd071
Notacd071Notacd071
Notacd071
 
Language processing system.pdf
Language processing system.pdfLanguage processing system.pdf
Language processing system.pdf
 
High Level Language (HLL)
High Level Language (HLL)High Level Language (HLL)
High Level Language (HLL)
 
sege.pdf
sege.pdfsege.pdf
sege.pdf
 
Introduction to computer programming
Introduction to computer programming Introduction to computer programming
Introduction to computer programming
 
programming.pptx
programming.pptxprogramming.pptx
programming.pptx
 
computer languages
computer languagescomputer languages
computer languages
 
Form5 cd1
Form5 cd1Form5 cd1
Form5 cd1
 
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
 
Computer language
Computer languageComputer language
Computer language
 
Ict topic 5
Ict topic 5Ict topic 5
Ict topic 5
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 

More from umardanjumamaiwada (20)

Seminar Information Protection & Computer Security (Cryptography).pptx
Seminar Information Protection & Computer Security  (Cryptography).pptxSeminar Information Protection & Computer Security  (Cryptography).pptx
Seminar Information Protection & Computer Security (Cryptography).pptx
 
Oop using JAVA
Oop using JAVAOop using JAVA
Oop using JAVA
 
C++
C++ C++
C++
 
Computer hardware
Computer hardware Computer hardware
Computer hardware
 
2javascript web programming with JAVA script
2javascript web programming with JAVA script2javascript web programming with JAVA script
2javascript web programming with JAVA script
 
1 web programming
1 web programming1 web programming
1 web programming
 
0 csc 3311 slide internet programming
0 csc 3311 slide internet programming0 csc 3311 slide internet programming
0 csc 3311 slide internet programming
 
0 lecture 6 wp wireless protocol
0 lecture 6 wp wireless protocol0 lecture 6 wp wireless protocol
0 lecture 6 wp wireless protocol
 
0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol0 lecture 5 wp wireless protocol
0 lecture 5 wp wireless protocol
 
0 lecture 4 wp wireless protocol
0 lecture 4 wp wireless protocol0 lecture 4 wp wireless protocol
0 lecture 4 wp wireless protocol
 
0 lecture 3 wp wireless protocol
0 lecture 3 wp wireless protocol0 lecture 3 wp wireless protocol
0 lecture 3 wp wireless protocol
 
0 lecture 2 wp wireless protocol
0 lecture 2 wp wireless protocol0 lecture 2 wp wireless protocol
0 lecture 2 wp wireless protocol
 
0 lecture 1 wp wireless protocol
0 lecture 1 wp wireless protocol0 lecture 1 wp wireless protocol
0 lecture 1 wp wireless protocol
 
lecture 5
 lecture 5 lecture 5
lecture 5
 
lecture 4
 lecture 4 lecture 4
lecture 4
 
lecture 3
 lecture 3  lecture 3
lecture 3
 
lecture 2
 lecture 2 lecture 2
lecture 2
 
lecture 1
 lecture 1 lecture 1
lecture 1
 
lecture 6
 lecture 6 lecture 6
lecture 6
 
lecture 5
 lecture 5 lecture 5
lecture 5
 

Recently uploaded

How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxGal Baras
 
Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxabhinandnam9997
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEHimani415946
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shoplaozhuseo02
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesSanjeev Rampal
 
The Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case StudyThe Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case StudyDamar Juniarto
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...JeyaPerumal1
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxlaozhuseo02
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理aagad
 
The AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdfThe AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdfSiskaFitrianingrum
 

Recently uploaded (12)

How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Article writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptxArticle writing on excessive use of internet.pptx
Article writing on excessive use of internet.pptx
 
ER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAEER(Entity Relationship) Diagram for online shopping - TAE
ER(Entity Relationship) Diagram for online shopping - TAE
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and GuidelinesMulti-cluster Kubernetes Networking- Patterns, Projects and Guidelines
Multi-cluster Kubernetes Networking- Patterns, Projects and Guidelines
 
The Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case StudyThe Use of AI in Indonesia Election 2024: A Case Study
The Use of AI in Indonesia Election 2024: A Case Study
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
Stay Ahead with 2024's Top Web Design Trends
Stay Ahead with 2024's Top Web Design TrendsStay Ahead with 2024's Top Web Design Trends
Stay Ahead with 2024's Top Web Design Trends
 
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
一比一原版UTS毕业证悉尼科技大学毕业证成绩单如何办理
 
The AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdfThe AI Powered Organization-Intro to AI-LAN.pdf
The AI Powered Organization-Intro to AI-LAN.pdf
 
The Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI StudioThe Best AI Powered Software - Intellivid AI Studio
The Best AI Powered Software - Intellivid AI Studio
 

Introduction to computer science

  • 1. INTRODUCTION TOCOMPUTER SCIENCE CSC 1302 LECTURE 4 Department of Maths and Computer- Science Faculty of Natural and Applied Science BY UMAR DANJUMA MAIWADA
  • 2. PROGRAMMING  Programming is all about designing and coding algorithm for solving problems.  Computers are not very intelligent, the instruction they receive must be extraordinary special.  We write computer instructions in programming languages, which are more constrained and exact than human languages are.  It must follow a series of algorithm. 2
  • 3. MACHINE LANGUAGES  Instructions written in these language correspond directly to the hardware operations of a particular machine.  It deals directly with the computers physical component.  They are represented in binary. 3
  • 4. ASSEMBLY LANGUAGE  It allows the use of words rather than binary number.  The words corresponds to operations performed by the computers physical components. 4
  • 5. HIGH LEVEL LANGUAGE  It is use to solve complex problems which is quick and reliable and it relates to the way human thinks.  It provides natural frame work through which problem is solved.  It include abstraction 5
  • 6. INTERPRETERS AND COMPILERS  The interpretation approach relies on a program known as an interpreter to translate and execute the statement in high level language program.  Interpreter reads the statement one at a time, translating and executing each statement before processing the next one.  Compilation approach relies on a program known as a compiler to translate the entire high level language program into its equivalent machine language instructions. 6
  • 7. THE DIFFERENCE BETWEEN COMPILER AND INTERPRETER  Compilation is more faster than translation because compilation is done once and for all, the interpreter and the source code are needed every time the program runs  Compilation is a one shot translation, once a program is compiled, it may be run over and over again without further need for the compiler or the source code. 7
  • 8. EXAMPLE OF PROGRAMMING LANGUAGES  JAVA  Python  C++  C  Pascal  COBOL (common business oriented language)  FORTRAN (formula translator)
  • 9. Good programming practices •Your code may be used by somebody else •The code may be long •Should be easy to understand for you and for others •Saves lot of errors and makes debugging easier •Speeds up program development 9
  • 10. QUESTIONS??? THANK YOU FOR YOUR ATTENTION 10

Editor's Notes

  1. Scalability of handover framework to handle increased handovers without compromising latency performance Flexibility to support various 4G deployments