Search This Blog

Friday, March 25, 2016

ඉතාලියේ වාසය කරන ඔබට අලූත උපන් දරුවෙකු සදහා නව ගමන් බලපත්‍රයක් ලබා ගැනීම

අලූත උපන් දරුවෙකු සදහා නව ගමන් බලපත්‍රයක් ලබා ගැනීමේදී අවශ්‍ය කරන ලියකියවිලි .


ලූත උපන් දරු



Thursday, March 24, 2016

ඉතාලියේ වාසය කරන ඔබට අලූත උපන් දරුවෙකු සදහා උප්පැන්න සහතිකය

අලූත උපන් දරුවෙකු සදහා උප්පැන්න සහතිකය හා පුරවැසි සහතිකය ලබා ගැනීම සදහා අවශ්‍ය කරන ලියකියවිලි  හා අයදුම් පත්‍ර . 























ඉතාලියේ වාසය කරන ඔබට ඇවුරුදු 3 ට අඩු දරුවාට යුරෝ 40 ක්

කාර්තා අක්විස්ති යනු වයස ඇවුරුදු 3 ට අඩු දරුවන් සදහා ඉතාලි 
රජය විසින් දෙනු ලබන දීමනාවකි. මෙහිදී ඔබට මුදල් නොදෙන අතර 
දරුවා වෙනුවෙන් මාසිකව යුරෝ 40 ක් මාස 2 කට වරක් ඔබේ කාර්ඩ් 
පතට බැර කරයි.එය විශේෂිත ස්ථාන වලින් මිලදී ගැනීම් සදහා 
පමණක් පාවිච්චි කල හැක.එනම් ආහාර ද්‍රව්‍ය ,ගෑස් හා විදුලි බිල් ,
බෙහෙත් ද්‍රව්‍ය යනාදිය සදහා.ඒ වගේම මෙය ISSE 6781.76 ට වඩා අඩු 
අයට පමණක් දෙනු ලබයි.තවද වයස අවුරුදු 65 ට වඩා වැඩි දෙමාපියන් 
ඇති අයටද මේ සදහා ඉල්ලුම් කල හැක.වැඩි විස්තර මෙම වෙබ් 
අඩවියෙන් දැනගත හැක.

http://www.poste.it/carta_acquisti/a_chi.shtml


ඇප්ලිකේෂන් ලබා ගැනීමට මෙම ලින්ක් එකට ගොස් අවශ්‍ය එක 
තෝරා ගන්න.

http://www.poste.it/carta_acquisti/come_richiederla.shtml


Wednesday, March 23, 2016

PTC Sites

What is a PTC site?
A PTC (Paid to Click) site is a website which allows its members to earn money by clicking advertisement links displayed in the site and viewing the ads for few seconds. To earn money you need to become a member by Signing Up into the site.

Tuesday, March 22, 2016

Lesson 1 - The First Few steps in Pascal Programming


Programming Basics
In a program, you must always obey the rules of the language, in our case, the Pascal language. A natural language has its own grammar rules, spelling and sentence construction. The Pascal programming language is a high level language that has its own syntax rules and grammar rules. As you go along with the lessons, you must note what you can do and what you cannot do in writing a Pascal program. A very simple program is shown below: 
Program Lesson1_Program1;   
Begin    
 Write('Hello World. Prepare to learn PASCAL!!');
 Readln;   
End.
The program is written only to display the message : 'Hello World. Prepare to learn PASCAL!!' - an introductory message that is displayed to you whenever you are going to learn a new programming language. This is simply shown on the screen. So, to display any message on the screen, you should use 'write' (or 'writeln'). The 'readln' statement, here is used as to 'stop' the program and wait until the user presses enter. If the 'readln' statement is missing in this program, then the message is displayed on the screen without giving any chance for the user to read it and obviously halts! Try running this program with and without the 'readln' statement and notice the difference. I suggest you see it!! Now, look at this:
Program Lesson1_Program2;begin 
Write('Hello World. Prepare to learn PASCAL!!');Readln;End.
This program also runs perfectly as the previous one. The only difference is: neatness andfriendliness. 
This first program is, what is commonly referred to in programming, as 'indented'. Indentation is a must in writing programs as it aids in the way the code is written ie. neater. Indentation also helps with debugging and code presentation. You will note how I indent programs.


A program in Pascal always starts by the reserved word 'Program' following the title of the program. There are various restrictions on how to write this statement. Below is a simple example of a small program. (Remember: you can copy and paste the program in a text file, save the text file as filename.pas and open it with Turbo Pascal. The .pas extension is required.)
In the following program, the computer must prompt the user to enter a number, then the latter is added to the second number input by the user.
Program Lesson1_Program3;
Var       
    Num1, Num2, Sum : Integer;

Begin {no semicolon}
 Write('Input number 1:'); 
 Readln(Num1);
 Writeln('Input number 2:');
 Readln(Num2);
 Sum := Num1 + Num2; {addition} 
 Writeln(Sum);
 Readln;
End.
Now we must take a look at the program. A program in Pascal starts with the reserved word 'Program' (although it is not explicitly required) and ends with 'End', following a full stop (this is required though). A full-stop is never used within the program, except when dealing with records (later topics) and at the end of the program as seen in the example above.
The 'Var' statement, is used to introduce any suitable variables which will be used later in the program. These variables are non-constant terms so that they are used in the program for storing values. The terms 'Num1', 'Num2' and 'Sum' in the program are the variables which store any numbers, except those which are real (in fact, during the execution of the program, a runtime error may occur if a decimal number is input). As you can see in the example above, these variables are assigned to as integers. The term 'integer' means any whole number, i.e. a number which is not a decimal number but a positive or negative number. The integer type ranges from -32768 to 32767. So values which are not within the specified range cannot be stored by an integer type. There are other types which are wider in range, but for now the integer type is enough to hold up our values. The variables 'Num1', 'Num2' and 'Sum' are terms which are not reserved words, but can be used as variables in the program to store data in them. They could be changed more than once. Moreover, I could have used 'number1', 'number2' and 'totalsum' (note that there must be no spaces within the variables), instead of 'Num1', 'Num2' and 'Sum', respectively. As you can see, it is much better to shorten the variables than writing long words, such as 'variable_number1'.
After declaring all the variables which are required to be used later in the program, the main program always starts with the reserved word 'Begin'. Without this word, the compiler will display a diagnostic (error message). In the program above, both of the two types of 'write' are used. These are 'write' and 'writeln'. Both has the same function, except that the 'write' function, does not proceed to the following line when writing a statement. If you run this program, you will notice the difference between them. When using these two terms, any message that will be typed in between the brackets and the inverted commas '(' ')', is displayed on the screen. However, if a variable is used instead of a message, without using the inverted commas, the CPU will display the stored variable in the memory, on the screen. In line 9, the CPU will not display 'Sum' on the screen, but the stored number in the memory. Another important thing which must be noticed is the semi-colon (;). The semicolon is used after each statement in the program, except those that you will learn later. However, in the example above, there isn't a semicolon after a 'begin' statement. This is because the flow of the program has just started and must not be stopped by a ';'.
The messages in between the braces ({ }) are called comments or in-line documentation. I guess you consider the comments to be 'extra'. Very long programs which include thousands of lines, have already been felt in need of describing certain functions or even complicated functions. In my experiences, I have already met many problems, when refusing to write a program for a long time, and then resuming again writing it! I've made a long time trying to understand what I have done. You must keep it into your mind that comments within the braces are not read or compiled by the compiler/interpreter.
The 'readln' statement is another reserved word for input purposes, which enables the user to input a number or text only i.e.: using the keyboard. But in our case the 'readln' statement is used to input numbers only (letters are accepted but will cause a run-time error because it is not the input we want) and store them in the variables 'Num1' and 'Num2'. This is because both variables are assigned to as integers, and integer variables do not store strings. A run-time error is detected by the OS (Operating System; ex. Windows or Linux) if something goes wrong with the input. Later in the course, you will also learn how to control input and output exceptions - unexpected runtime errors. One last thing on errors is this: there are 2 major error types which are - Runtime Errors and Compilation Errors. Runtime errors are those which occur unexpectedly during the execution of the program, whereas a Compilation error is one which is detected during the compilation process. Note that a decimal number is also considered as a wrong input; a decimal number must not be input, since it is a real number (more on this later).
After the prompts and inputs by the user, follows the addition. i.e. 
Sum := Num1 + Num2;
The result of the above statement is the addition of the values stored in variables 'Num1' and 'Num2'. The important thing that you should know is that one cannot make the same statement as follows:
Num1 + Num2 := Sum;

This is another syntax error. It is the fact that transfer of information is from left to right and not from right to left. So, mind not to make this error. The ':=' is called the assignment statement, and should be discussed later on.

Friday, March 4, 2016

Area of Countries



Area compares the sum of all land and water areas delimited by international boundaries and/or coastlines.

RANK
COUNTRY
(SQ KM)
DATE OF INFORMATION
1
17,098,242
2
9,984,670
3
9,826,675
4
9,596,960
5
8,514,877
6
7,741,220
7
3,287,263
8
2,780,400
9
2,724,900
10
2,381,741
11
2,344,858
12
2,166,086
13
2,149,690
14
1,964,375
15
1,904,569
16
1,861,484
17
1,759,540
18
1,648,195
19
1,564,116
20
1,285,216
21
1,284,000
22
1,267,000
23
1,246,700
24
1,240,192
25
1,219,090
26
1,138,910
27
1,104,300
28
1,098,581
29
1,030,700
30
1,001,450
31
947,300
32
923,768
33
912,050
34
824,292
35
799,380
36
796,095
37
783,562
38
756,102
39
752,618
40
676,578
41
652,230
42
644,329
43
643,801
44
637,657
45
622,984
46
603,550
47
587,041
48
581,730
49
580,367
50
527,968
51
513,120
52
505,370
53
488,100
54
475,440
55
462,840
56
450,295
57
447,400
58
446,550
59
438,317
60
406,752
61
390,757
62
377,915
63
357,022
64
342,000
65
338,145
66
331,210
67
329,847
68
323,802
69
322,463
70
312,685
71
309,500
72
301,340
73
300,000
74
283,561
75
274,200
76
267,710
77
267,667
78
266,000
79
245,857
80
243,610
81
241,038
82
238,533
83
238,391
84
236,800
85
214,969
86
207,600
87
199,951
88
196,722
89
185,180
90
181,035
91
176,215
92
163,820
93
163,610
94
147,181
95
143,998
96
143,100
97
131,957
98
130,370
99
120,538
100
118,484
101
117,600
102
112,622
103
112,090
104
111,369
105
110,879
106
110,860
107
108,889
108
103,000
109
99,720
110
93,028
111
92,090
112
89,342
113
86,600
114
83,871
115
83,600
116
78,867
117
77,474
118
75,420
119
71,740
120
70,273
121
69,700
122
65,610
123
65,300
124
64,589
125
62,045
126
56,785
127
56,594
128
54,400
129
51,197
130
51,100
131
49,035
132
48,670
133
45,228
134
43,094
135
41,543
136
41,277
137
38,394
138
36,125
139
35,980
140
33,851
141
30,528
142
30,355
143
29,743
144
28,896
145
28,748
146
28,051
147
27,830
148
27,750
149
26,338
150
25,713
151
23,200
152
22,966
153
21,041
154
20,770
155
20,273
156
18,575
157
18,274
158
17,818
159
17,364
160
14,874
161
13,880
162
13,812
163
13,790
164
12,189
165
12,173
166
11,586
167
11,295
168
10,991
169
10,887
170
10,400
171
9,251
172
5,860
173
5,765
174
5,128
175
4,167
176
4,033
177
3,903
178
2,831
179
2,586
180
2,235
181
2,040
182
1,910
183
1,393
184
1,108
185
964
186
948
187
811
188
760
189
751
190
747
191
702
192
697
193
616
194
572
195
544
196
468
197
464
198
459
199
455
200
444
201
443
202
430
203
412
204
389
205
377
206
360
207
344
208
316
209
308
210
298
211
264
212
261
213
260
214
242
215
236
216
199
217
181
218
180
219
160
220
151
221
142
222
135
223
131
224
123
225
116
226
102
227
91
228
78
229
61
230
55
231
54
232
54
233
49
234
47
235
36
236
34
237
28
238
26
239
22
240
21
241
14
242
12
243
12
244
7
245
7
246
6
247
6
248
5
249
5
250
5
251
5
252
3
253
3
254
2
255
2
256
1
257
0