HIGH-LEVEL LANGUAGE PROGRAMMING PARADIGMS. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.

Slides:



Advertisements
Similar presentations
Programming Languages By Stefan Kyriacou. Procedural Language Procedural (also known as imperative language) language is a programming language that works.
Advertisements

Chapter 10- Instruction set architectures
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Overview of Programming Paradigms
Algorithms and Problem Solving. Learn about problem solving skills Explore the algorithmic approach for problem solving Learn about algorithm development.
CS 104 Introduction to Computer Science and Graphics Problems Software and Programming Language (2) Programming Languages 09/26/2008 Yang Song (Prepared.
Source Code Basics. Code For a computer to execute instructions, it needs to be in binary Each instruction is given a number Known as “operation code”
1 CS101 Introduction to Computing Lecture 19 Programming Languages.
Software design and development Marcus Hunt. Application and limits of procedural programming Procedural programming is a powerful language, typically.
1 Chapter-01 Introduction to Computers and C++ Programming.
Software Development Concepts ITEC Software Development Software Development refers to all that is involved between the conception of the desired.
CHAPTER 4: INTRODUCTION TO COMPUTER ORGANIZATION AND PROGRAMMING DESIGN Lec. Ghader Kurdi.
CW-V1 SDD 0201 Principals of Software Design and Development Introduction to Programming Languages.
Introduction and Overview of the Course CS 480/680 – Comparative Languages.
Chapter 1: Introduction to Visual Basic.NET: Background and Perspective Visual Basic.NET Programming: From Problem Analysis to Program Design.
Introduction to Computer Programming itc-314
OOP- OBJECT OBJECT PROGRAMMING By KRATI SHARMA 02 XI-B ✏✏✏✏ ☺☻☺☻☺☻☺ ✏✏✏✏
Course Introduction C++ An Introduction to Computing.
Binary There are only 10 types of people in the world, those who understand binary and those who don't.
There are only 10 types of people in the world, those who understand binary and those who don't.
GENERAL CONCEPTS OF OOPS INTRODUCTION With rapidly changing world and highly competitive and versatile nature of industry, the operations are becoming.
Programming languages Prepared for : Yasmeen al bobo Done by Abdallah Abu Afash ID:
Programming Paradigms
BIT 1003 – Presentation 7. Contents GENERATIONS OF LANGUAGES COMPILERS AND INTERPRETERS VIRTUAL MACHINES OBJECT-ORIENTED PROGRAMMING SCRIPTING LANGUAGES.
Introduction CS 104: Applied C++ What is Programming? For some given problem: __________ a solution for it -- identify, organize & store the problem's.
Programming Language Rico Yu. Levels of Programming Languages 1.Low level languages 2.High level languages.
CS 330 Programming Languages 09 / 04 / 2008 Instructor: Michael Eckmann.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
National Diploma Unit 4 Introduction to Software Development Introduction to Programming Languages.
PROGRAMMING LANGUAGES
Spring 2012 CS 214 Programming Languages. Details Moodle! REQUIRED text: Sebesta, Programming Language Concepts, 9ed. Important dates: February 17: Project.
Introduction 1 (Read Chap. 1) What is Programming? For some given problem: design a solution for it -- identify, organize & store the problem's data --
Chapter 4 Software. Chapter 4: Software Generations of Languages Each computer is wired to perform certain operations in response to an instruction. An.
Compilers and Interpreters. HARDWARE Machine LanguageAssembly Language High Level Language C++ Visual Basic JAVA Humans.
The Instruction Set Architecture. Hardware – Software boundary Java Program C Program Ada Program Compiler Instruction Set Architecture Microcode Hardware.
Introduction to OOP CPS235: Introduction.
Getting ready. Why C? Design Features – Efficiency (C programs tend to be compact and to run quickly.) – Portability (C programs written on one system.
The Functions and Purposes of Translators Translators, Interpreters and Compilers - High Level Languages.
Compilers and Interpreters
Skill Area 311 Part B. Lecture Overview Assembly Code Assembler Format of Assembly Code Advantages Assembly Code Disadvantages Assembly Code High-Level.
Representation of Data - Instructions Start of the lesson: Open this PowerPoint from the A451 page – Representation of Data/ Instructions How confident.
Welcome to OBJECT ORIENTED PROGRAMMING Prepared By Prepared By : VINAY ALEXANDER PGT(CS) KV jhagrakhand.
Chapter 7: Low-Level Programming Languages Chapter 7 Low-Level Programming Languages Page 66 In order to execute instructions on a CPU, those instructions.
Programming Languages Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
High-level language programming paradigms. Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other.
F453 Module 8: Low Level Languages 8.1: Use of Computer Architecture.
Chapter 1: Introducing C Copyright © 2008 W. W. Norton & Company. All rights reserved. 1 Chapter 1 Introducing C.
A LECTURE NOTE. Introduction to Programming languages.
Computer Basics.
Computer Systems Nat 5 Computing Science
Introduction to Computing Science and Programming I
The language focusses on ease of use
Component 1.6.
GCSE COMPUTER SCIENCE Computers 1.5 Assembly Language.
Unit 2 Technology Systems
Object-Orientated Programming
Basic 1960s It was designed to emphasize ease of use. Became widespread on microcomputers It is relatively simple. Will make it easier for people with.
High and low level languages
Computer Systems Nat 5 Computing Science
Microprocessor and Assembly Language
Introducing C Chapter 1 Copyright © 2008 W. W. Norton & Company.
A Closer Look at Instruction Set Architectures
Teaching Computing to GCSE
TRANSLATORS AND IDEs Key Revision Points.
Teaching Computing to GCSE
Introducing C Chapter 1 Copyright © 2008 W. W. Norton & Company.
Algorithms and Problem Solving
Object oriented vs procedural vs event driven programming
What is Programming Language
1.3.7 High- and low-level languages and their translators
Presentation transcript:

HIGH-LEVEL LANGUAGE PROGRAMMING PARADIGMS

Programming languages come in many forms or 'paradigms'. Each form of language offers advantages over other types and each one of course has some limitations as well. You need to know the main classes of programming and why you would use one type over another. The main classes of programming languages are low level languages procedural object-orientated languages

Low Level Languages What are Mnemonics? A Mnemonic is an abbreviation of operation They are used to program, with code such as ADD or MOV Features of Low Level Languages They are CPU specific, and make direct use of internal registers, as well as using mnemonics and many different memory modes. An example would be Little Man Computer Pros Low Level Languages have close control of the CPU, and can be very efficient due to the easy optimisation of code Cons Difficult to use as programming commands can be hard to understand, and the programmer needs to know a lot of detail about the CPU. They are also the least portable code.

Procedural Languages Features of a Procedural Language A procedural language gives instructions step by step. The program will ‘do this, then this, then this’. An example would be Python Pros They are good for general purpose programming, allow for a good level of control with little knowledge of the CPU, and are portable. Cons Some problems however is that there is no room for error in the code and they aren’t as efficient as other programming languages

Object Orientated Languages What is a class? A class is a set template of methods and variables in a particular kind of object. An object is a specific instance of class, and contains real values instead of variables Properties and Methods A Property is a field of objects or classes that have set getter or setter routines. Methods belong to objects or classes and usually express the verbs of the object or class. Languages Java, Python, C++, Visual Basic and Ruby are all examples of OO languages Pros Makes it easier to provide working code, other coders do not need to know how the class works internally, code can be re-used, and its portable. Cons Complex, can take time and skill to make a efficient and flexible class. They also aren’t as compact and efficient as writing code into a low level language

Summary