Saturday 30 November 2013

C++ Data Types

Data Types
The kind of data that the used variables can hold in a programming language is known as the data type.
Basic data types are as follows:
1. Numeric Data Type
2. Non-Numeric Data Type
3. Integer Data Type
4. Real Data Type
5. Logical Data Type
6. Enumerated Data Type

1)Numeric Data Type: Totally deals with the numbers. These numbers can be of integer (int) data type or real (float) data type
2)Non-Numeric Data Type : Totally deals with characters. Any character or group of characters enclosed within quotes will be considered as non-numeric or character data type.
3) Integer Data Type : Deals with integers or whole numbers. All arithmetic operations can be achieved through this data type and the results are again integers.
4) Real Data Type : deals with real numbers or the numeric data, which includes fractions. All arithmetic operations can be achieved through this data type and the results can be real data type.
 5) Logical or Boolean Data Type : can hold only either of the two values TRUE or FALSE at a time. In computer, a 1 (one) is stored for TRUE and a 0 (zero) is stored for FALSE.
6) Enumerated Data Type : Includes the unstructured data grouped together to lead to a new type. This data type is not standard and us usually defined by user.
Example.
Week_days = { oesun•, oemon•, oetue•, oewed•, oethu•, oefri•, oesat• };
Directions = {•North•, oeEast•, oeWest•, oeSouth• };

Learning C++ Programing Language



Welcome to Seratpedia.blogspot.com!
Seratpedia is a totally free website devoted to teaching you to program in C++. Whether you’ve had any prior experience programming or not, the tutorials on this site will walk you through all the steps you’ll need to know in order to create and compile your programs. Becoming an expert programmer won’t happen overnight, but with a little patience, you’ll get there. And Seratpedia.blogspot will show you the way.

Friday 29 November 2013

Carbohydrates

Carbohydrates is word which shows the combination of words Carbon and Hydrate. Before we discuss the topic Carbohydrates. what is a Carbon? and what is Hydrate? we should understand theses two words because these two words format of the Carbohydrates.
Carbon:
Carbon is chemical element. The word carbon comes from latin word Carbo which mean burnt wood (coal). 
                                                                








Thursday 24 October 2013

WHAT IS DATA?



Definition:      “Raw facts, figures, events and transactions are called data”

Explanation:
·         Researchers who conduct market research survey might ask member of the public to complete questionnaires about a product or a service. These completed questionnaires are data.
·         NADRA prepared CNIC of Pakistanis by collecting data of people who belongs to Pakistan.
·         Some candidates want to take admission in university they will fill admission forms.
Above all are unprocessed and unprepared which is needed to process and work more.