Assignment on Computer Programming Languages

University / Undergraduate
Modified: 17th Aug 2021
Wordcount: 7757 words

Disclaimer: This is an example of a student written assignment. Click here for sample essays written by our professional writers.
Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of UKEssays.ae.

Cite This

Contents

P1 – Describe the application and limits of procedural, object oriented Programming and event driven programming paradigms

Scenario

Introduction

Event driven programming paradigms

Event driven Programming Application

Limitations of Event Driven Programming

Procedural

Procedural Application

Limitations of Procedural

Object oriented Programming

Object Oriented Programming Application

Limitations of Object Oriented Programming

Encapsulation

Polymorphism

Inheritance

Supporting Tools and Environments – IDE/CASE

Conclusion

P2- Describe the variables influencing the choice of programming language

Introduction

Programming language

Organisational Policy

Suitability in Terms of Available Features and Tools

Availability of Trained Staff

Reliability

Development and maintenance costs

Expandability

Conclusion

P3 explain sequence, selection and iteration as used in computer programming

Introduction

Global and local:

Programming construct

Code Structure

Sequence

Selection

Iteration

Loops

Logical Operators

AND

OR

NOT

SELECT CASE

Mathematical operators

Conclusion

P4 outline the benefits of having a variety of data types available to the programmer [EP6]

Introduction

Benefits of data types

Conclusion

Bibliography

P1 – Describe the application and limits of procedural, object oriented Programming and event driven programming paradigms

Scenario

You have been granted an interview for a job as junior programmer at eBSolutions who specialise in providing organisations in the local area with bespoke systems. Part of your interview involves a practical demonstration of your current knowledge.

Introduction

In this criteria I will firstly describe what each programming languages are event driven programming, object oriented and Procedural; Furthermore describing the applications and limitations of them providing with image and a conclusion at last.

Event driven programming paradigms

Event driven programming is the outline for particularly for window application that include client intelligent. There are a variety of highlights that make Event driven that makes the application substantially quicker and simple. There are a few highlights, for example, simplified question the frame. There are some basic control, for example, catch, name, picture and other. Operating system could be for instance an example of an Event Driven Language.

Get Help With Your Assignment

If you need assistance with writing your assignment, our professional assignment writing service is here to help!

Assignment Writing Service

The event are utilised with highlights, for example, Event Triggers, Event Handlers, Event Loops, Sensors in which this Programming application can be utilised inside designer’s every day survives Event Handlers (e.g. clicking a mouse button is an event handler). Event Driven Programming has a noteworthy decent Ease of Use and any designer can without much of a stretch take in this Programming application and can begin planning and creating projects upon as it gives you insights and blunders inside the lines of Visual Basic code to settle the code, so the task is working completely without any mistakes.

Event driven Programming Application

Event driven Programming computer programs is a way that enables the program to react to a wide range of information sources or events. This is a paradigm in which the flow of the program is controlled by the many events. The events can be from any source, for example, clocks and sensors. A case of an event driven situation would resemble a wake up timer set for a specific time to do a specific assignment like ring and communicate something specific saying “Wake Up!”.

Limitations of Event Driven Programming

Limitations of event driven programming would be that it doesn’t naturally enable you to enter event loops and requires the client to physically enter loops. Moreover, it additionally requires a lot of preparing power because of the need of ceaselessly dynamic event loops. Other limitations of Event Driven Programming is that the Program doesn’t naturally enable you to adjust and apply Event Loops and triggers which requires the client to physically enter for the circles. In addition, this empowers the Application to utilise huge measure of handling force and CPU inside the undertaking/application because of the need of nonstop dynamic running of Event Loops occurring when the application/project is being tried/utilised.

Procedural

Procedural language is the separating a program errand into various methodology. Every method does a particular undertaking. There are three procedural languages which are FORTRAN, C and Pascal. Researchers utilise procedural languages since it is anything but difficult to compose. Logical require completing to numerical estimations, for example, building and climate conjecture. Some favourable position of procedural is that it is a speedier procedure at that point Object-oriented and it permits faster accomplishment. The negative is that writing program are not adaptable it.

Procedural Application

Procedural language application rush to take in this language. This programming language is useful for starters to learn in light of the fact that it is straightforward and compose. Procedural language regards use for high application to run quick. E.g. for when Procedural Programming would be for instance, when a client enters specific details into an application shape for enrolment zones, for example, joining to sites , the enlistment is prepared to the following stage in which they are required to login with the points of interest they enrolled with to have the capacity to affirm the enrolment is finished this technique requires Procedural Programming, Procedural Programming likewise includes capacities, for example, capacity to issue tackle computations for logical utilise.

Limitations of Procedural

The limitations of procedural are that there is an absence of reusable and huge of hard program may utilise thousands of line of code. In the event that the company has a similar reason in future at that point there can duplicate from that point leaving project and change it yet that is the troublesome errand. The lines of code in a program are difficult to see however before you change the program then you ought to see all the piece of it. The Limitations of this would be that Procedural Programming can be tedious to compose and can’t be identified with genuine events. Procedural Programming is utilised to teach the Computer to perform basic programmed directions. This Programming language can be hard to control points of interest into once it has been coded onto the projects design highlights and so on. Additionally, when performing huge undertakings on Procedural based projects, the restrictions of his future the application transforms these huge tasks coded onto the application into something many refer to as “Spaghetti-Code. This is the point at which a considerable measure of code is altered that the new software engineer going onto the projects needs 2 months to get ready and comprehend what is occurring inside the undertaking as it’s extremely convoluted to see straight away.

Object oriented Programming

OOP which also stands for Object-oriented Programming paradigms is a program that has been generally be utilised business and companies. There are some case of Object-arranged are JAVA, C++, C #, VB (2005), python, Ruby and many more. Object Oriented Programming is a Programming highlight used to separate a program into objects. Object Oriented programming contrasts from Procedural Programming as it acquires an alternate structure style to Procedural Programming. Protest Oriented Programming empowers the programmer oversee diverse multifaceted nature levels of cutting edge frameworks when Procedural Programming isn’t tended to as it indicates what troubles the framework faces. This Programming application interfaces with information and diverse functionalities joined to manufacture squares of Objects rather than Pure Code in Procedural Programming. Objects are utilised inside Object Oriented Programming to characterise classes inside the Programming structure of the program.

Object Oriented Programming Application

Program can utilise OO language since it is substantially faster and the software developments are much costly contrasted with the hardware price. OO programming language is utilising distinctive sorts of use, for example, financial application, order processing, and stock administration system and Manging data. They are likewise useful for all sorts of project that include cooperation. The benefits of Object Oriented Programming empowers the client to control the elements of the program to grow simple code which is put away in the Objected classes. Protest Oriented Programming can utilise Java Script C++, Microsoft Visual Basic which are one of the Development codes utilised for instance for this Programming application.

Limitations of Object Oriented Programming

The limitations of Object-oriented Programming are that it takes long to learn so you need to take in the hypothetical of OOP before you make it. This language is a slower execution contrasted with Procedural. It is higher complex PC condition that is required for this program language. Furthermore another limitation is the size of OOP itself;   other programs are much smaller although OOP store more size in your internal or external hard drive however now they take up less space than before. Other Limitations of Object Oriented Programming is that Object Oriented Programming has no additional instruments that build up the application which could be utilised as a part of Software Websites when endeavouring to utilise PHP coding as this lone uses programming like Adobe Dreamweaver and VB.net which have these devices to have the capacity to build up the application thus. In addition, another urgent confinement of Object Oriented Programming is the way that the improvement must be done physically so in the event that you acquire an expansive task with a vast record measure, the Programming application will have a broad measure of code inside Standard applications.

Encapsulation

Encapsulation is only securing anything which is inclined to change. Rational behind Encapsulations that if any usefulness which is all around Encapsulated in code i.e. kept up in only one place and not scattered around code is anything but difficult to change. This can be better clarified with a straightforward case of Encapsulated in Java. We as a whole realise that constructor is utilised to make protest in Java and constructor can acknowledge contention. Assume we have a class Loan has a constructor and then in different classes you have made occasion of credit by utilising this constructor. Presently prerequisites change and you have to incorporate period of borrower too while taking advance. Since this code isn’t all around exemplified i.e. not restricted in one place you have to change wherever you are calling this constructor i.e. for one change you have to alter a few document rather than only one record which is more blunder inclined and dreary.

Polymorphism

The word Polymorphism methods for some forms. In programming this word is intended to reuse the single code different circumstances. Clearly when we do legacy between two classes, every one of the techniques and properties of the top of the line are determined to alternate class with the goal that this turns into the type class which adobes all the usefulness of base class. It can likewise has its own different strategies.

In any case, there is a major issue in acquiring the below average to the top notch as it adobes every one of the strategies same as the base class has, which implies that after legacy both(base class& youngster class) have the techniques for same name and same body. Polymorphism is utilised to expel the issue which is appeared in the above code. It is done not by changing the name of the strategies for both base and inferred class. Infect it is finished by including the “virtual” watchword before the base class strategy, and the “override” catchphrase before the determined class technique.

Inheritance

Inheritance is particular to question situated programming, where another class is made from a current class. Inheritance (frequently alluded to as subclasses) originates from the way that the subclass (the recently made class) contains the traits and techniques for the parent class. The principle preferred standpoint of Inheritance is the capacity to characterise new characteristics and new strategies for the subclass which are then connected to the acquired qualities and techniques.

This can be utilised to make an exceptionally particular progressive class structure. The greatest favourable position is that there is no compelling reason to begin starting with no outside help when needing to practice a current class. Therefore, class libraries can be obtained, giving a base that would then be able to be specific freely (the organisation offering these classes has a tendency to ensure part information utilising epitome).

Supporting Tools and Environments – IDE/CASE

Supporting Tools and Environments is an IDE include utilised as a product application which gives instruments to the Programmers. IDE’s, for example, Eclipse and Net Beans are a case where they give Compiler to give indications and arrangements and an interpreter inside the application dissimilar to some other IDE’s. A wide range of IDEs acquire distinctive source code editors to have the capacity to enable programmers to create animation devices and troubleshooting devices. The mainstream IDEs now have new captivating code culmination includes in which discharge code can be naturally filled in.

CASE is another instrument utilised inside Computer Assisted strategies to compose and enable the engineer to have control and profundity inside the advancement of the product. CASE permits engineers, code journalists, analysers, debuggers to share extends through each procedure of improvement. A CASE instruments can demonstrate the procedure in a displayed arrange. At last, because of the way that the Development procedure empowers the clients to test and update the cost of adjusting the application delivers through a lifetime can diminish its expenses progressively. This shows CASE has an advantage in money related terms for Developers to consider while altering their tasks for Development.

Conclusion

To conclude it all  I have portrayed distinctive Programming applications, for example, Procedural, Object and Event Driven Programming  and I have talked about an overview of the usefulness of the application and a portion of the fundamental confinements the Programming application acquires for designers to know about when utilising these Software Development Programming Applications. I have likewise given a few correlations between the diverse Programming applications and I have depicted a portion of the Supporting Tools and Environments IDE/CASE highlights arranged inside the applications for application clients to consider when utilising the Software for Development.

P2- Describe the variables influencing the choice of programming language

Introduction

Throughout P2 I will be starting to describe the variables influencing the choice of programming language. In these variables I will talking about the variety of reasons on how it can have a big impact on to the EBsolutions. The following variables which influence the choice of programming language are as followed: organisational policy, Suitability in terms of features and tools, availability of trained staff, reliability, expandability and development and maintenance costs.

Programming language

Programming language is a tool used by programmers keeping in mind the end goal to correspondence with a PC system and assembling the software in an intelligible manner. There are many diverse programming languages, all of which change specifically ways, therefore a programmer or Company is probably going to settle on an educated and legitimate decision with regards to choosing what programming language they wish to create inside.

Organisational Policy

Bigger companies may have extremely specific rules determining what software and hardware might be utilised by workers inside the organisation. For instance, a company may have hit an arrangement with Microsoft, constraining them to machine with the Windows OS finally installed, along these lines, this company will be unable to create arrangements inside the quicker programming language. Furthermore, some insurance agencies may enormously constrained a company in this same way.

A company may have likewise characterised an arrangement of principles to keep arrangements reliable inside such company. Consistency inside programming may likewise help the different preparing involving routine programming upkeep and system extension.

Suitability in Terms of Available Features and Tools

With the quantity of programming languages accessible, it’s no big surprise that every one of them shift in either exceptionally unobtrusive or to a great degree monstrous ways.

Furthermore although many programming languages, for example, Ruby or Perl, are extremely versatile, being equipped for building a wide range of sorts of arrangements, a few languages are devoted to a specific reason. For instance, WebDNA is a programming language devoted to building and controlling databases inside a site, so a programmer is probably not going to fabricate any kind of programming application with it. An engineer or Company ought to make sure they consider the expected utilisation of a programming language before arranging an answer in conjunction with it

Availability of Trained Staff

Inside a Company, some staff are probably going to be professionals, implying that they are proficient in a solitary or couple of languages. With the wide exhibit of languages to look over, it is vital that a Company picks a language in of which a greater part of staff are capable with. This will guarantee that all staff are equipped for building up an answer without experiencing issues because of having a lack of experience.

The ‘irregularity’ of a programming language, or shortage of software programmers equipped for programming inside such language may impact a business choice. For instance, while it might be hard to discover a software engineer adroit with a programming language, for example, COBOL, it might be simpler to discover a developer fit for programming inside Python or C# since those languages are more typical

Reliability

Contrasts in programming languages may likewise direct how dependable a developer could consider such programming language. Reliable language is one that is hearty and fit for taking care of things, for example, smashing and pernicious programming, making arrangements made inside more appropriate for open utilise. A case of a language that is viewed as dependable is Ada, Ada has been portrayed as ‘solid because of its solid writing and other natural safe attributes’, along these lines making it an appropriate possibility for creating strong applications.

Development and maintenance costs

The motivation behind the lion’s share of Companies is to make benefit, it is hence a given that such Companies will attempt spare cash wherever conceivable. The two software programmers and time are required to build up an answer and after that keep on maintaining this arrangement later on. This procedure may cost a significant entirety of cash, in this way a Company should settle on an educated choice while picking a programming language to create inside.

A few variables that may impact the cost of improvement incorporate a software programmer’s understanding and how rare their gifts are, a Company ought to in this way be sure to pick a language that is genuinely normal and broadly utilised, for example, Python or C#.

Expandability

Once a Company has built up an answer, such arrangement is probably going to be extended later on. Extension of a system might be activated by development in a client base or a requirement for such system to offer extra usefulness. It is in this manner essential that an answer is customised in view of the possibility of extension. A few variables that may impact how proficient a programming language is of creating expandable arrangements incorporate its ideal models (A questioned situated worldview is normally the best for extension) or that it is so natural to sort out and control an answer.

Conclusion

To conclude it all I have depicted what the variables appreciate and examined quickly the significance to considering when utilising distinctive Programming Languages for certain projects. In addition, from P2 I have comprehended the distinctive elements that are required inside my decision of Event Driven Programming Language as I have portrayed the diverse segments that should be viewed as, for example, the Suitability in terms of available features and tools, availability of trained staff, reliability, Development and Maintenance costs and more.  For each of these parts, I have talked about the significance to while considering utilising inside various programming languages with examples.

P3 explain sequence, selection and iteration as used in computer programming

Introduction

In this area, I am will explain Sequence, Selection Statements, and Iteration Statements with given Code Examples utilised inside the Programming Language utilising Visual Basic. In addition, I will likewise examine about the distinctive Logical Operators utilised inside the Programming to consolidate diverse information together.

Global and local:

Programs are regularly part up into methodology or capacities, if a variable is proclaimed inside a system or capacity it is a local variable as it must be utilised as a part of that area. There are variables that can be gotten to in each area of the code – these are Global variables. Global variables are proclaimed in the before the principle body of the program; this enables the variable to be utilised as a part of any methodology or capacity. Utilising worldwide variables in a program can cause issues on the off chance that they are incidentally changed in one of the methods or capacities? Global variables can cause issues if a group of developers misconstrue about how the variables are to be utilised so they could be utilised diversely to how they were planned to be utilised.

Programming construct

Code Structure

There are three primary Basic Code Structures utilised inside any Programming Languages, which are utilised to fabricate a program utilising these three distinct structures which are as per the following are sequences the reason for the Sequence Code Structure is the point at which the program explanations are contributed towards each other. A case of this would be inside a count while tolerating the contribution of a client. Following on we have selections, the motivation behind Selection Code Structure is the point at which the program is created on a similar method towards the programming languages speaking to the ‘if’ explanations code structure. Lastly we have iteration in which the reason for Iteration Code Structure is depicted to be utilised as a part of repeated code for circles to be utilised. There are two distinct sorts of circles Fixed and Conditional Loops. When utilising such Structures, a structure outline can be utilised to recognise and speak to the methodology to demonstrate which sorts of structures are required.

Sequence

Sequence is that it is an arrangement of guidelines that are all together, one direction after the other, and once one direction has been executed, and it will take a couple of moments for it to be executed. These guidelines are made by what are “Software programmers”. Software programmers are individuals who composes PC programs.

Selection

Selection as stretching, is a technique for controlling the execution succession, you can make huge control pieces, utilising if explanations testing a condition, or switch articulations assessing a variable and so on to control and change the execution of the program contingent upon this condition and evolving variables. Below are some examples of some operators used in if statements with definitions to what they exactly mean when you use them.

Common Operators Definitions
< Less Than
<= Less than or equal to
>= Greater than or equal to
= Equal To
> Greater than
<> Not Equal To

A very common simple use for if statements is when you comprehend would be E.g. if you were to calculate the total price for the customer’s order and the extra charge with the purchasingtotal if it’s above £63 then below you use the “ >” to input in the if statement to state it’s more than.

If (Condition) then

    Statements to be executed if the condition is false

Else

    Statements to be executed if the condition is true

 

End If

If (Purchasingtotal > 63) then

    Purchasingtotal = Purchasingtotal + 8.5

End IF

Iteration

Ordinarily used to allude to accumulations and varieties of variables and information. Iteration intends to visit each thing in the accumulation, for the most part all together yet it might be in a sporadic request, however everything is gone to just once. Checking from 1 to 10, you are repeating over the initial 10 numbers. Pre check loop is used when you want the IF statement to fix the amount of precise value or s within a specific time frame, WHILE DO is when the iteration statements is utilised to perform constantly until, it meets its set conditions.

Find Out How UKEssays.com Can Help You!

Our academic experts are ready and waiting to assist with any writing project you may have. From simple essay plans, through to full dissertations, you can guarantee we have a service perfectly matched to your needs.

View our academic writing services

Loops

Pre check loop

For loops are a type of iterative loops that make running code more productive. It enables the developer to run one or different proclamations over and over until the point that the articulation is false. This loop is most can be utilised to yield the components in an exhibit or for applications where the measure of emphases required is known.

As you can see below this a pre check loop example within a statement as we can see the counter is set from 1 till 30 it will then show how the 10 times table is used within a for loop we then end it.

Dim result As Integer

Dim counter As Integer

For counter = 1 to 30

Result = 10 * counter

Console.WriteLine (” 10 times”) &

Counter & “is” & result)

Next

Console.ReadLine ()

Post check loop (WHILE) & fixed loops (DO)

Do loops and keeping in mind that loops are a type of interminable loop which executes one or numerous announcements more than once until the point when a predetermined condition is met. The do loop utilises props to structure the loop. Toward the finish of the do loop there is the while articulation which is utilised to rehash the loop – if this condition is met then the program will quit circling. A while loop is like a DO loop aside from the while condition is toward the start of the loop.

Do

Statements to be executed inside loop

Loop Until condition

Do Until condition

Statements to be executed inside loop

Loop

As shown above we have two statements in which shows the WHILE DO loop either way is fine when you input the condition, furthermore the difference between the pre check loop is that inside the loop is performed  least once. Utilising Pre check loop allows the client to preview if the condition is met or not at the start of the loop, wherein the code inside the loop will not be applied at all. So it really depends which loop you choose for the application program really.

Logical Operators

Utilised as a part of code to settle on a choice which is reliant on one or different conditions being met. The operands enable the program to assess a condition to be valid or false; to do this it utilises the consistent administrators AND, OR, and NOT. The estimation of the conditions are utilised to decide the general estimation of the condition to a genuine or false esteem which is then used to execute the following command sequences.

Operators Definition & examples

AND

Operators are used to ensure both sides of the results are true.

 

E.g. Age < 18 AND Gender = ‘F’. This would only form true if both of the results are true (under 18 and the Gender to be female) if one or both conditions don’t meet then it will be false.

OR

Operator ensures if the result is true on either side.

 

E.g. Age > 43 OR Gender = ‘M’. This would create a true statement if either the age is Over 43 or the gender is to be male.

NOT

Operator creates the Opposite result within the Operator Statement.

 

E.g. NOT (First Pattern = ‘C’) This would produce a true result if the user inputted Q in the First Pattern element. Otherwise if it was inputted as a letter C it would become false.

SELECT CASE

Utilised as a part of code mostly in if proclamations for setting single conditions. The administrators enable the program to assess the condition and execute the following order succession relying upon what whether the condition is valid or false; to do this it utilises the choice administrators <, >, ==, !=, >=, and <=.

Mathematical operators

Mathematical Operator & Functionality Example from visual basic
Addition “+”

 

Is to add two integers together to get a result from the total of both integers. This is the most commonly used Mathematical Operator when creating calculations within projects.

Result = No 1 + No2;

 

//Result = Value of First Number Plus Value of Second Number//

Console. Write (“Result of: “+”+”+No2+”=”+Result);

//Console Calculates total result of Number 1 and Number 2 to give the Result//

Console.ReadLine() ;

//Concludes the Calculations in the console//

Subtraction “-“

 

Is to subtract two integers together to get a subtracted result from the total of the two integers. This is alternative very common Mathematical Operator used when creating calculations.

Result = No 1 – No2;

 

//Result = Value of First Number Subtract Value of Second Number//

Console. Write (“Result of: -”-”-No2-” =”- Result);

//Console Calculates total result of Number 1 and Number 2 to give the Result//

Console.ReadLine() ;

//Concludes the Calculations in the console//

Multiplication “*”

 

Is utilised to multiply both operands commonly used when finding the multiplications of timetables within C#.

Result = No 1 * No2;

 

//Result = Value of First Number Times Value of Second Number//

Console. Write (“Result of: “*” *” *No2*” =” *Result);

//Console Calculates total multiplied result of Number 1 and Number 2 to give the Result//

Console.ReadLine() ;

//Concludes the Calculations in the console//

Division “/”

 

Allows the user to divide the result of both variables to gain a divided result at the end within the C# Command Line.

Result = No 1 / No2;

 

//Result = Value of First Number divided by Value of Second Number//

Console. Write (“Result of: “/”/”/No2/” =”/Result);

//Console Calculates total result of divided Number 1 and Number 2 to give the Result//

Console.ReadLine() ;

//Concludes the Calculations in the console//

Conclusion

In Conclusion, I have clarified the sequence statement, selection statement and the Iteration Statement with given examples, close by, and I have given representation and a couple of clarifications of what the codes speak to and its utilisation inside Visual Basic which is utilised inside Computer Programming. At long last, I have likewise given data on various normal Logical Operators utilised inside Computer Programming with examples. From P3, I have comprehended the diverse Sequence, Selection and Iteration strategies that can be utilised inside C# Programming Language as I have given clarification on each Code Structures of the distinctive Selection, Iteration, Logical, Mathematical Operators that are should have been utilised and considered when creating diverse undertakings utilising C# Programming language. For each Code example, I have additionally given clarification on what it demonstrates empowering me to comprehend my code all the more productively.

P4 outline the benefits of having a variety of data types available to the programmer [EP6]

Introduction

In this area, I am going to outline the advantages of having a wide range of information sorts accessible to the developer to utilise suitably. In addition, I will likewise talk about the advantages of the Data sorts. These information sorts include information sorts bolstered by Visual Basic®, for example, Boolean, Byte, and Integer and so on. I will talk about what regions the information sorts are utilised for and the range inside the qualities in a table. Close by, I will give short case of code inside C# Programming Language with Advantages and Disadvantages of every data type.

Benefits of data types

There are a wide range of Data Types one of the advantages of a Data Type of for e.g. String is that the reason for the String is to opening a different measure of characters to make a word, for example, “Heroes”. A string speaks to a content which is regularly spoken to inside words that stores a succession of various components. A string can incorporate numerical esteems and in addition characters inside the blend. Boolean, empowers the software programmers to either have genuine or false information which is normally utilised as a part of “If” statements as outlined in P3. This guarantees the Programmer can make inquiries to discover the aftereffect of the True or False result. Having a genuine outcome guarantees the conditions are met.

Data Type, example and size Description Advantages& disadvantages
Character

 

a,E,2,%

1 byte

Similar to a string a char data type hold characters however just a single, this is utilised when a string information sort isn’t required yet you have to hold a letter. The advantages of Char Data Type is that this Data Type can be extend to a String Data Type. This proposes the Char can be changed over to a String which is countered by “System.OverflowException” Error. In addition, Char Data Type takes up less storage room in contrast with the string information sort which goes through more space. The disadvantages of having Char Data Type is that the Char Data Type is an unsigned sort which implies it can’t make a difference number esteems inside its coding. Thusly, you can’t utilise Char Data Type on the off chance that you need to utilise Numeric Values inside your Programming.
String

 

adaEw2%

Depends on how much data it is storing.

This data type can hold different characters as a sentence or word like “We” and a string needs the quotes around the word with the goal that the program realises that that is the word to be utilised. The advantages of utilising String Data Type is that String information sort empowers the client to apply any kind of writings while inside the Integer Data Type you can just put Whole Numbers. The Disadvantage of utilising String Data Type is that String can’t speak to negative esteems. Hence, the Programmer can’t utilise String Data Type to attempt and increase numeric outcomes.
Integer

 

123,342,3,65

1bit

These are number data type, yet just entire numbers. These are utilised for a long time and different articles that will never have a decimal point. The advantages of utilising Integer Data Type would be that this data type doesn’t go through an excess of room contrasted with numbers and decimals. Additionally, Integers have an augmenting programming method empowering the designer to broaden the Long, Decimal, Single or Double Integers which can be changed over to any of these sorts without picking up framework blunders. The disadvantages of utilising Integer Data Type is that when you are attempting to set a variable of a fundamental sort to a number outside the scope of – 32,768 to + 32,767 a mistake can happen. In this way, to limit these mistakes adjusting must be taken in thought to the closest number esteem.
Boolean

 

True, false

1 bit

This data type that hold a genuine or false esteem, these are basically utilised as a part of if explanations in light of the fact that if and articulation can just wind up with a genuine or false esteem. On the off chance that announcements can be utilised as a part of projects like reviews or test’s with two conceivable answers on the grounds that on the off chance that one answer is chosen some specific code for that answer will be handled. The advantages of Boolean Data Type inside Programming is that it is utilised to locate the correct aftereffects of an inquiry you are asking inside two choices. Boolean Data sort is exact, and you can utilise characters that don’t consume much room. The disadvantages of having Boolean data types is that the diverse esteems inside this Data Type is deficient as the qualities are either spoken to as True or False and not in other kind of results.
Decimal

 

-3.345, 6.323

8 bytes

A decimal point number data type you would utilise this for numerical conditions like division since division issues are probably going to have a decimal point in the appropriate response. The advantages of utilising decimal Data Type is empowering the client to pick up computations and working out extensive outcomes this enables the information to be more precise and dependable when assembling the outcomes. The disadvantages of utilising decimal Data Type inside Programming is that the outcomes can’t be put away inside the storage room inside the application as this information sort has the slowest kind of numeric esteems which influences the execution of the PC.

Conclusion

In Conclusion, I have illustrated the diverse advantages of a few Data types which are normally utilised by Programmers inside their Developments. I have examined the advantages of the utilisation of the Data Types close by, I have made a Table speaking to every data Type with the Use inside Programming Languages and the Advantages and Disadvantages of every data Type. Moreover, In P4; I have comprehended the advantages of applying a scope of various Data Types that can be utilised inside C# Programming language applying the favourable circumstances and disservices of every data Type with give cases in territories where every data Type is depicted inside C# Programming Language. This has empowered me to comprehend the usefulness and significance of why diverse Data Types are utilised inside C# as I am ready to plot an assortment of Data Types which can be utilised by developers dependably.

Bibliography

https://sites.google.com/site/u6assignments/p4—outline-the-benefits-of-having-a-variety-of-data-types-available-to-the-programmer

https://cavanzyl.wordpress.com/2016/05/02/factors-influencing-the-choice-of-programming-languages/

http://declansprogrammingparadigms.blogspot.co.uk/

https://tharsanaa14.wikispaces.com/P1

https://chipkidz.wordpress.com/2009/08/07/procedural-programming/

https://www.cs.drexel.edu/~introcs/Fa12/notes/06.1_OOP/Disadvantages.html?CurrentSlide=2

 

Cite This Work

To export a reference to this article please select a referencing style below:

Give Yourself The Academic Edge Today

  • On-time delivery or your money back
  • A fully qualified writer in your subject
  • In-depth proofreading by our Quality Control Team
  • 100% confidentiality, the work is never re-sold or published
  • Standard 7-day amendment period
  • A paper written to the standard ordered
  • A detailed plagiarism report
  • A comprehensive quality report
Discover more about our
Assignment Writing Service

Essay Writing
Service

AED558.00

Approximate costs for Undergraduate 2:2

1000 words

7 day delivery

Order An Essay Today

Delivered on-time or your money back

Reviews.io logo

1842 reviews

Get Academic Help Today!

Encrypted with a 256-bit secure payment provider