Global warming is caused by the greenhouse effect, where gases like carbon dioxide trap heat in the atmosphere, causing average air temperatures near the Earth's surface to increase over the past two centuries. If carbon dioxide emissions continue, global temperatures could rise 5-10 degrees Fahrenheit by 2100, melting Arctic ice and raising sea levels by 2 meters. This would flood coastal lands and disrupt rainfall patterns, causing both droughts and floods while destroying habitats and threatening many species with extinction. Solutions are needed to address the problems caused by the rising temperatures associated with global warming.
The document describes various XHTML elements and attributes used to structure and format web page content. It covers common elements like <head>, <title>, <body>, and <p> as well as line break elements <br> and <hr>. It also discusses adding attributes to elements to specify properties like width. Finally, it covers heading, list, and other structural elements like <h1>-<h6>, <ul>, and <ol>.
The anchor element <a> is used to create three types of links: external links to other websites, internal links to other pages on the same website, and bookmarks to different sections within the same page. The href attribute specifies the link target, and the target attribute can open it in a new tab. For external links, the full URL is used. For internal links, the file name is used. Bookmarks use #name links between two <a> elements with matching name attributes.
The document discusses various types of social media and how they can be used for public relations purposes. It provides statistics on how social media has changed PR and notes that Facebook has over 799 million users between the US and EU. Twitter is described as facilitating quick communication and accessibility to brands. The document then gives tips on how to use Twitter for PR like developing relationships with reporters and bloggers. It also outlines different types of tweets and best practices for using LinkedIn and measuring social media effectiveness.
Global warming is caused by the greenhouse effect, where gases like carbon dioxide trap heat in the atmosphere, causing average air temperatures near the Earth's surface to increase over the past two centuries. If carbon dioxide emissions continue, global temperatures could rise 5-10 degrees Fahrenheit by 2100, melting Arctic ice and raising sea levels by 2 meters. This would flood coastal lands and disrupt rainfall patterns, causing both droughts and floods while destroying habitats and threatening many species with extinction. Solutions are needed to address the problems caused by the rising temperatures associated with global warming.
The document describes various XHTML elements and attributes used to structure and format web page content. It covers common elements like <head>, <title>, <body>, and <p> as well as line break elements <br> and <hr>. It also discusses adding attributes to elements to specify properties like width. Finally, it covers heading, list, and other structural elements like <h1>-<h6>, <ul>, and <ol>.
The anchor element <a> is used to create three types of links: external links to other websites, internal links to other pages on the same website, and bookmarks to different sections within the same page. The href attribute specifies the link target, and the target attribute can open it in a new tab. For external links, the full URL is used. For internal links, the file name is used. Bookmarks use #name links between two <a> elements with matching name attributes.
The document discusses various types of social media and how they can be used for public relations purposes. It provides statistics on how social media has changed PR and notes that Facebook has over 799 million users between the US and EU. Twitter is described as facilitating quick communication and accessibility to brands. The document then gives tips on how to use Twitter for PR like developing relationships with reporters and bloggers. It also outlines different types of tweets and best practices for using LinkedIn and measuring social media effectiveness.
A man is using a power drill in an image from Clipart Guide.com. The image illustrates the expression "drill it into your head", which means repeatedly telling someone something in order to help them remember it, as they often have trouble remembering. The image shows a literal translation of the expression.
This document contains the results of a questionnaire given to students and teachers. It asks questions about inclusion at the school. For most questions, a majority of teachers definitely agree or agree to some extent, while students have a more mixed level of agreement. Overall, it finds that while teachers feel the school is generally inclusive, there is room for improvement according to some student responses.
This document contains information about squirrels and activities related to squirrels. It includes descriptions of different types of trees that squirrels live in and eat from, such as oak, maple, birch, and nut trees. It discusses squirrel behaviors like gathering nuts and leaves. The document outlines crafts and games that involve matching tree parts to different trees, making squirrel masks, and making a musical instrument out of nuts. Recipes for squirrel nut salami are provided. Evaluation forms are included to have participants rate the activities.
Validation checks web pages for syntax and rules compliance. It helps ensure consistent display and is done prior to publishing pages and after major changes. Pages using the XHTML 1.0 Transitional doctype are validated at the W3C validator site by either uploading files or entering URLs. The validator checks for errors and provides line numbers to aid corrections until the page is error-free.
XHTML comments can be added to web pages to provide notes and reminders to website designers about page elements and setup. Comments are not visible to users viewing the page but can be seen by examining the page source code. Comments use syntax of <!-- comment text --> and anything between those tags will be ignored by browsers but can span multiple lines. Comments should be used carefully as anyone can view the source code of a page.
The document discusses adding images to webpages using the <img> tag in XHTML. It covers specifying the src and alt attributes, as well as the height and width attributes. Resizing images while maintaining the correct aspect ratio is also covered. Common image formats for websites like JPG, PNG, and GIF are described along with their advantages.
This document discusses factors that affect website positioning and search engine optimization (SEO). It lists both positive and ignored factors for SEO, including keyword density, backlinks, anchor text, and meta keywords. Sources are provided from Yahoo, SEO Book, and other SEO websites on the differences between optimizing for Google, Yahoo, and Bing.
Solar cells convert sunlight directly into electricity through the photovoltaic effect. They are made up of multiple solar cells that directly convert solar energy into electricity. The document discusses how solar panels work, provides examples of their use, and argues that solar energy should be used more widely in Latvia.
A man is using a power drill in an image from Clipart Guide.com. The image illustrates the expression "drill it into your head", which means repeatedly telling someone something in order to help them remember it, as they often have trouble remembering. The image shows a literal translation of the expression.
This document contains the results of a questionnaire given to students and teachers. It asks questions about inclusion at the school. For most questions, a majority of teachers definitely agree or agree to some extent, while students have a more mixed level of agreement. Overall, it finds that while teachers feel the school is generally inclusive, there is room for improvement according to some student responses.
This document contains information about squirrels and activities related to squirrels. It includes descriptions of different types of trees that squirrels live in and eat from, such as oak, maple, birch, and nut trees. It discusses squirrel behaviors like gathering nuts and leaves. The document outlines crafts and games that involve matching tree parts to different trees, making squirrel masks, and making a musical instrument out of nuts. Recipes for squirrel nut salami are provided. Evaluation forms are included to have participants rate the activities.
Validation checks web pages for syntax and rules compliance. It helps ensure consistent display and is done prior to publishing pages and after major changes. Pages using the XHTML 1.0 Transitional doctype are validated at the W3C validator site by either uploading files or entering URLs. The validator checks for errors and provides line numbers to aid corrections until the page is error-free.
XHTML comments can be added to web pages to provide notes and reminders to website designers about page elements and setup. Comments are not visible to users viewing the page but can be seen by examining the page source code. Comments use syntax of <!-- comment text --> and anything between those tags will be ignored by browsers but can span multiple lines. Comments should be used carefully as anyone can view the source code of a page.
The document discusses adding images to webpages using the <img> tag in XHTML. It covers specifying the src and alt attributes, as well as the height and width attributes. Resizing images while maintaining the correct aspect ratio is also covered. Common image formats for websites like JPG, PNG, and GIF are described along with their advantages.
This document discusses factors that affect website positioning and search engine optimization (SEO). It lists both positive and ignored factors for SEO, including keyword density, backlinks, anchor text, and meta keywords. Sources are provided from Yahoo, SEO Book, and other SEO websites on the differences between optimizing for Google, Yahoo, and Bing.
Solar cells convert sunlight directly into electricity through the photovoltaic effect. They are made up of multiple solar cells that directly convert solar energy into electricity. The document discusses how solar panels work, provides examples of their use, and argues that solar energy should be used more widely in Latvia.
2. Əsas anlayışlar
JDK-Java Development kit,içərisində java proqramlarının
işləməsi üçün xususi proqramlar və kitabxanalar daşıyan
paket.
Javac.exe- Java Compile java kodlarının byte koda çevirən
kompliyator.
JRE-Java Runtime Environment Hazır java proqramlarını
işlətmək üçün istifadə olunur.Əgər java proqramı yazmaq
yox sadəcə işlətmək istəyirsinizsə onda JRE sizə kifayət eliyir.
JVM-Java Virtual Machine javac ilə çevirlən byte kodları
işlətmək üçün istifadə olunur.
3. Niyə Java ?
Sadədir-Java proqramçılar üçün öyrənilməsi və istifadəsi
sadə bir dildir.Çünkü sitaksini C++ dilindən götürşüdür.OOP
anlayışı olan bir üçün daha da rahatdır.
OOP-Object Oriented Programmin-Obyekt yönlü
proqramlaşdırma.Java tamamilə obyekt yönlü
proqramlaşdırmadır.Javada hər şey ya obyektdır yada
obyektın bir hissəsi.
Multiplatform-Java platformadan aslı olmayaraq JVM olan
hər yerdə java proqramını işlətmək olar.
4. Niyə Java ?
Paralel proqramlaşdırma-Javada eyni zamanda bir
neçə proqram işləyə bilər.
Şəbəkə proqramlaşdırma
Dinamiklik-Java dinamik bir dildir
5. Java versiyaları
Java 1.0 – Javanın ik versiyasıdır.Bu versiya ilə java bazara
çıxdı
Java 1.1- Java 1.0 versiyası üstündən uzun vaxt keçmədən
çıxdı.Bu versiyada yeni kitabxanalar əlavə olundu əvvəlki
versiyada olan bəzi xususiyyətləri çıxarıldı.
Java 2-Javanın 1.2 versiyasını bu şəkildə adlandırdılar.Bu
versiya ilə Sun şirkəti javanı Java 2SE paketdi altında bazara
çıxdı.Swing ve Collection əlavə olundu.
6. Java Versiyaları
Java 1.3-Bu versiyada əvvəlkinə nisbətən daha az
dəyişikliklər ilə bazara çıxdı.
Java 1.4-assert,zincir istisna hallar və IO bəzi
xüsusiyytələr əlavə olundu.
Java 1.5-Bu versiyada çox böyük dəyişiklər əlavə
olundu.Generic,Boxing,for-each,varargs,static,Threat
əlavə funskiyalar.
Java SE 6-Əvvəlki versiyadakı bir xüsusiyyətlərin
çoxunu yenilənmiş olaraq gəldi.
7. Şərhlər
Kod yazarkən öz kamentariyalarımız qeyd eləmək
üçün istifadə olunur.İki növ şərh sətri mövcuddur
Bir sətir -//
Çox sətir /* */
8. İlk Sadə proqram
public class example{
public static void main(String[] args){
System.out.println(“Salam Dunya”);
}
}
9. Dəyişənlər və Tiplər
Javada kompyuterin yaddaşında saxlanan dəyləri
dəyişənlər vasitəsi ilə ifadə olunur.
Dəyişənlər RAMda saxlanılır və qalıcı deyillər.
Dəyişənlərin hansı növ dəyər saxladığını tiplər ilə
müyyən olunur.Məsələn bu dəyişən Tam qiymətlidir
yoxsa simvol
10. Dəyişənlərin adlandırılması
Dəyişənləri könlümüzdən keçən kimi adlandıra
bilmərik.Aşağdakı qaydalara riayət eləməliyil yoxsa
proqramımız işləməyəcəkdir.
A-Z,a-z və 1-9 kimi istifaə etmək olar.
Dəyişənlərin adlarında boşluq ola bilməz.
Rəqəm ola bilər ancaq rəqəm ilə başlaya bilməz
$ və _ simvolarını istifadə eləmək olar
Java Case sensitive-dir
11. Dəyişənlərin növləri
Dəyişənlər iki yerə ayrılır
1. Primitvlər
2. Referanslar
Primitvlər yaddaşdan daha az istifadə edər.Ancaq əlavə
funksiya və metodları yoxdur.Referanslar isə Daha çox
yer tutar əvəzində isə bir necə funksiya malikdir.
12. Primitv tiplər
Tam ədədlər tipi
byte-8 bit (-128 to +127)
short – 16 bit (-32768 to +32767)
int- 32 bit(-2 147 483 648 to 2 147 483 647)
long- 64 bit (daha böyük qiymətlər üçün)
13. Primitv tiplər
Həqiqi ədəd tipiləri
float-4 byte
double-8byte
Simvol tipi
char- bir simvoldan ibarət unicode(ANSII deyil)
Məntiqi tip
boolean-true/false
14. Referans Tiplər
Tam ədəd tipləri Həqiqi ədə
•Byte tipləri
•Short •Float
•Long •Double
•Integer
Simvol Məntiqi
•Character •Boolean
15. String
String mətn şəklində (ardıcıl simvolları) saxlamaq üçün
istifadə olunur.Referans tipdir ancaq pimitiv tip kimidə
davranır
16. Dəyişənlərin elanı
Dəyişənləri elan edərkən ilk əvvəl onun hansı tipdə
dəyər saxlaycağını sonra isə ona verəcəyimiz adı qeyd
etməliyik.(Qeyd sonda ; simvolu qoyulur.Bu simvol
sətrin bitdiyini göstərir)
Nümünə
int a;
double heqiqi_tipli_deyisen;
char simvol;
17. Dəyişənləri elan etmə
Dəyişəni elan etdikdən sonra onu istifadə etmək üçün
ona qiymət verilməlidir.
Məsələn
int a; //a adina bir deyisen elan etdik
a=5; // yaddasda tutguun deyerin 5 oldugunu dedik
Həmçinin elan olunan sətirdə də dəyişənin qiymətini
verə bilərdik.
int a=5;
18. Dəyişənlərin elanı
Eyni tipdən bir necə deyişən elan edəcəyiksə onları
eyni sətirdəd elan edə bilərik.Vergul ile bir birden
ayirirq.Meselen
Int a=8,b=9,tt=78;
Qeyd:long tipində dəyişən elan etdiyimizdə sonun l
hərfi qoymalıyıq əks halda java bunu int tip dəyişən kimi
qəbul edəcək.
19. Refeans tiplərin elanı
Referans tiplər iki çür elan olunur.
Primitv tiplərdə olduğu kimi
Integer a=8;
new açar sözünün köməyi ilə
Integer a=new Integer(8)
20. Char və String elanı
Bu tiplərin elanı bir daha fərqlidir.Char simvol tipində
dəyişən elan etdiyimizdə ona verdiyimiz dəyəri tək
dıraq arasına yazırıq.
Char simvolumuz=‘%’;
String tipdə bir dəyişənə dəyər verdiyimizdə isə iki
dıraq arasına yazırıq
String ad=“Murad”;
21. Məntiqi tip
Məntiqi tip iki dəyər qəbul edir true(doğru) və
false(yanlış) dəyərlərini qəbul edir.
Məsələn
Boolean a=true
Bəzi dillərdə true əvəzinə 1 false əvəzinə 0 yazmaq ilə
dəyərlər qəbul edilir ancaq bu javada ödənmir
22. Tip çevirmə-Casting
Bir tipidə elan olunan dəyişəni digər tipə çevirmək üçün
qabağında mötərizə ilə çevirəcəyimiz tipin adı
yazılır.Buna casting deyilir.
doubel a=45.6;
int b=(int)a;