Вы находитесь на странице: 1из 5

Programming Language Review

Computer programming is a process that leads from an


original formulation of a computing problem to executable
programs. It involves activities such as analysis, understanding,
and generically solving such problems resulting in an algorithm.
A programming language is an artificial language designed
to

communicate instructions to

a computer,

to

create

a machine,

computer

program.

particularly
Different

programming languages support different styles of programming.


Choosing the language to

be use is subjected to many

considerations, such as company policy, suitability to task,


availability of third-party packages, or individual preference.
Ideally, the programming language best suited for the task at
hand will be selected. In the software ReCoDe, we used the C#
(pronounced as C sharp). C# is a programming language that is
designed for building a variety of applications that run on the
.NET Framework. C# is simple, powerful, type-safe, and objectoriented.

In making the design software ReCoDe, we used the


Microsoft Visual Studio Express 2012. Microsoft Visual Studio
supports Visual C# with a full-featured code editor, compiler,
project templates, designers, code wizards, a powerful and easyto-use debugger, and other tools. Microsoft Visual C# is a
programming environment used to produce computer applications
for the Microsoft Windows family of operating systems. It
combines the C# language and the .NET Framework. The .NET
Framework class library gives access to many operating system
services and other useful, well-designed classes that speed up the
development cycle significantly.
Basic Elements of Visual C#
Variables
A single piece of data is known as a datum. A datum and the
label that defines it are together known as a variable. A variables
label is called its name, and a variables datum is called its value.
Variable stores or contains its value.
Operators

All operators link phrases of code together, manipulating


those phrases in the process. Whether the phrases are text,
numbers or some other data type, an operator nearly always
performs some kind of transformation. Very commonly, operators
combine two things together, as the plus operator does.
Arguments
This is basically a datum sent to a command (also called
parameters). Supplying an argument to a command is known as
passing the argument.
Conditionals and Loops
Conditionals are used to add logic to the program, and loops
to perform repetitive tasks. Conditionals allow a specification of
terms under which a section of code should or should not be
executed. To perform highly repetitive tasks, a loop is used. This is
a statement that allows a block of code to be repeated an
arbitrary number of times.
Functions
A function is a packaged series of statements. In practice,
functions mostly serve as reusable blocks of code. It allows a clear

way of managing code, especially when it becomes too large &


cumbersome. After a function is created, the code it contains may
be run from anywhere in the program by using its name.
Object- Oriented
Object-oriented

programming (OOP)

is

a programming

paradigm that represents concepts as "objects" that have data


fields and associated procedures known as methods. Objects,
which are usually instances of classes, are used to interact with
one another to design applications and computer programs.
Classes
A class is

an

extensible

template

for

creating objects,

providing initial values for state and implementations of behavior.


The

terms class and object are

sometimes

used

interchangeably, but in fact, classes describe the type of objects,


while objects are usable instances of classes. So, the act of
creating an object is called instantiation. Using the blueprint
analogy, a class is a blueprint, and an object is a building made
from that blueprint.

Вам также может понравиться