Computer Programming
Lecturer: Ali Ershad
Usman Ahmed
BMC121344950
Contents
Introduction 3
Why different types of programming languages have been developed 4
Benefits of different data types 7
Performance: 7
Time/money: 7
Filtering down 7
Error handling 7
String 7
Double 7
Boolean 8
Char 8
Integer 8
Float 8
Table of data types available for C# programming language 9
References 10
Introduction
Programming is a skill that is widely specialised in the growing technological environment/market. There are many programming languages available to the programmer to use. Some of these are event driven programming and oriented programming language. Within the programming there are also data types available to the developer which benefits them and the end user.
This report will embrace why different programming languages have been developed. It will also compare and contrast event driven programming and object oriented programming languages. Furthermore it will explain the benefit of having data type’s available to the programmer.
Why different types of programming languages have been developed
Different programming languages have been developed for many different reasons. A "programming language" is a language designed to designate a set of actions to be executed by a computer. A programming language is therefore a practical way of giving instructions to a computer to operate. Programs are created to control the behavior of a machine.
There
Data objects can model relational data or advanced data types such as graphics, movies, and audio. Smalltalk, C++, Java, and others are objects used in object-oriented data. The object-relational is a combination of relational and object-oriented databases. Traditional and advanced data types can be used to construct database management systems. These systems can connect to a company’s website and update records as needed. Database Approach The main purpose of a database is data storage that can be stored and retrieved when needed. A popular common language called structured query language (SQL) is used to store and retrieve data in relational database. This language enables the systems to run a report or modify data or remove the data from the database. A database management system (DBMS) controls all aspects of a database, this is not limited to the creation, maintenance, and use of database. The DBMS ensures proper applications are able to access the database. An important purpose of a DBMS is to maintain the data definitions (data dictionary) for all the data elements in the database. It also enforces data integrity and security measures. Data Models Data models provide a contextual framework and graphical representation that aid in the definition of data elements. In a relational database, the data model lays the foundation for the database and identifies important entities,
P1 - Identify the key features of event driven programming such as events, event loops and event handlers
First let us take a look at computer programming. This element takes on different program designs created by engineers and uses one of several different programming languages to write executable code that computers can read. Programming is the source for
In this presentation I will be looking at data types and how they can be used and represented.
Event driven programs are also used in non-graphical applications as well such as real life objects like DVD Player, Microwaves Oven and washing machine also in operating systems such as CMD, PowerShell and
P4- Outline the benefits of having a variety of data types available to the programmer
Unit 3: the computer programming code writing systems which is very fascinated topic programming come up with a great and focused based on three important computer programming code writing overview.
As demands keep on changing and new technologies arrive, the knowledge of vast numbers of platforms and programming languages is also required. With adequate knowledge I will be able to give new ideas on which programming platform and programming language to use so as to provide improved IT systems and solutions.
was to give efficient and flexible performance making it a versatile language that has found its place in a
Event Driven Programming consists of a programming paradigm, a programming paradigm is a basic style for computer programming. It serves as a way for building structure for a computer program. A paradigm in its simplest form is a typical example or pattern of something, a pattern or model.
Each programming language uses a piece of software, called a compiler or an interpreter, to translate your program code into machine language. Machine language is also called binary language, and is represented as a series of 0s and 1s. The compiler or interpreter that translates your code tells you if any programming language component has been used incorrectly. Syntax errors are relatively easy to locate and correct because the compiler or interpreter you use highlights every syntax error. If you write a computer program using a language such as C++ but spell one of its words incorrectly or reverse the proper order of two words, the software lets you know that it found a mistake by displaying an error message as soon as you try to translate the program.
Programming languages are vast and diverse in their numbers. These different languages use fundamental styles of programming called programming paradigms. These programming paradigms layout the particular design approach that a program will use to solve a problem or achieve an objective. Of the many different types of programming paradigms, some of the more distinguished ones are procedural, functional, logical, and object orientated programming. Recently the object orientated languages have been rising in popularity due to their ability to easily implement large programs. There are many different object orientated programming languages (OOPLs), among them are C#, Java, Ruby, and Python. This essay will compare and contrast two of these languages: Python and Java.
Smalltalk became the prototype of object-oriented languages. It still is one of the most successful OOP languages. Smalltalk usually slow transformation. Although newer Smalltalk systems do generate machine code, message dispatching is still interpretative. Furthermore, Smalltalk does not allow static type checking. This limits its suitability for larger software
Object-oriented programming is a programming paradigm based on the concept of objects rather than algorithms, this may contain data in the form of fields. it aims to incorporate the advantages of modularity and
A program is aaa collection of instructions written in any programming language. They tell a computer how to perform a some task. It is just like a recipe which tells us how to prepare a particular dish and also describes all its ingredients and the steps to follow. Programming is also very similar in concept.