An introduction to the diversity of life along the Murray River. This presentation focuses on identifying relationships, habitat and change over time. It aims to draw out what students already know, encouraging them to share and to promote discussion and further learning.
An introduction to the diversity of life along the Murray River. This presentation focuses on identifying relationships, habitat and change over time. It aims to draw out what students already know, encouraging them to share and to promote discussion and further learning.
This booklet is designed to act as a resource booklet for a field trip into the Gunbower forest, however, it should also be useful for schools studying environmental watering and wetlands in other areas. I have also uploaded a second booklet, a field work booklet, which contains student tasks. Not working properly? Try this link: https://drive.google.com/file/d/0B11DeM9q7KJCLTdJT18ydTZhZkU/edit?usp=sharing
VCE Environmental Science Unit 3: Biodiversity and conservation management.Peter Phillips M.Ed.
Learning intentions:
To understand how biodiversity is identified and managed in Australia.
Success Criteria:
Be able to apply categories of conservation status and describe how degree of threat is determined.
Know the three biodiversity categories and how they relate to each other.
Be able to explain how remnant vegetation, corridors and conservation reserves can be used to support biodiversity.
Describe Global, Australian and Victorian legislation and conventions and a current biodiversity issue which refers to each.
This booklet is designed to act as a resource booklet for a field trip into the Gunbower forest, however, it should also be useful for schools studying environmental watering and wetlands in other areas. I have also uploaded a second booklet, a field work booklet, which contains student tasks. Not working properly? Try this link: https://drive.google.com/file/d/0B11DeM9q7KJCaF9mMDFwWUF2NTg/edit?usp=sharing
This slide show examines salinity as a pollutant using an environmental science scaffold, where every pollutant needs to be understood in terms of….
CHARACTERISTICS
SOURCE
TRANSPORT
EFFECTS
PERSISTENCE
SINKS
2. ! 34
•! ตัวอยางโปรแกรม test_if1.cpp แสดงการรับขอมูลจํานวนเต็ม 2 จานวน และเปรียบเทียบ
ํ
กันโดยใช if แบบประโยค(statement) เดยว
ี
/*Program : test_if1.cpp
Process : copare 2 integer
*/
#include <iostream.h>
#include <conio.h>
void main()
{ int x,y;
int result = 100;
//start statement
clrscr();
cout<< "Please enter integer number : n";
cout<< "Finst number : ";
cin>>x;
cout<< "nSecond number : ";
cin>>y;
//condition of if
if (x>y) //condition
cout<<"nFirst number is greater than second numberan";
if (x+y>result) //condition
cout<<"nFirst number + Seconde number is greater than an"<<result;
getch();
}
•! โปรแกรม test_if2.cpp แสดงการเปรยบเทยบจํานวนตัวเลข 2 จานวน และใช if แบบ
ี ี ํ
หลาย ประโยค(Compound statement)
/*Program : test_if2.cpp
Process : copare 2 integer*/
#include <iostream.h>
#include <conio.h>
void main()
{ int x,y;
int result = 100;
//start statement
clrscr();
cout<< "Please enter integer number : n";
cout<< "Finst number : ";
cin>>x;
cout<< "nSecond number : ";
cin>>y;
//condition of if
ศิริชัย นามบุรี การเลือกทํา
3. ! 35
if (x>y)
{ clrscr();
cout<<"nFirst number is : "<<x;
cout<<"nSecond number is : "<<y;
cout<<"nFirst number is greater than second numberan";
}
if (x+y<=result)
{ clrscr();
cout<<"nFirst number is : "<<x;
cout<<"nSecond number is : "<<y;
cout<<"nFirst number + Seconde number <= an"<<result;
}
getch();
}
♦! ารเลอกทําแบบ if…else
ก ื
การเลือกทําแบบ if …else มีหลักการทางาน คอเรมดวยการทดสอบเงอนไขทกําหนดไว ถาผล
ํ ื ่ิ ่ื ่ี
การตรวจสอบเงอนไข เปนดงน้ี
่ื ั
- เปนจริง statement ที่อยูตอจาก if จะถูกทํางาน
- เปนเท็จ statement ที่อยูตอจาก else จะถูกทํางาน
รปแบบท่ี 1 if…else แบบ statement เดียว มีรูปแบบ ดังนี้
ู
if(เงือนไขการเปรียบเทียบ)
่
statement;
else
statement;
รปแบบท่ี 2 if…else แบบหลาย statement มีรูปแบบ ดังนี้
ู
if(เงือนไขการเปรียบเทียบ)
่
{ statement;
statement;
statement;
}
else
{ statement;
statement;
! }
ศิริชัย นามบุรี การเลือกทํา
4. ! 36
•! ตัวอยางโปรแกรม test_if3.cpp แสดงการใช if…else แบบ statement เดยว
ี
/*Program : test_if3.cpp
Process : copare 2 integer and use if...else one statement
*/
#include <iostream.h>
#include <conio.h>
void main()
{ int x,y;
//start statement
clrscr();
cout<< "Please enter integer number : n";
cout<< "Finst number : ";
cin>>x;
cout<< "nSecond number : ";
cin>>y;
if (x>y) //condition of if
cout<<"nFirst number is greater than second numberan";
else
cout<<"nSecond number is greater than or equal first numberan";
getch();
}
•! ตัวอยางโปรแกรม test_if4.cpp แสดงการใช if…else แบบหลาย statement
/*Program : test_if3.cpp
Process : copare 2 integer and use if...else
*/
#include <iostream.h>
#include <conio.h>
void main()
{ int x,y;
//start statement
clrscr();
cout<< "Please enter integer number : n";
cout<< "Finst number : ";
cin>>x;
cout<< "nSecond number : ";
cin>>y;
//condition of if
if (x>y)
ศิริชัย นามบุรี การเลือกทํา
5. ! 37
{ clrscr();
cout<<"You enter 2 number :";
cout<<"nFirst number is : "<<x;
cout<<"nSecond number is : "<<y;
cout<<"nFirst number is greater than second numberan";
getch();
}
else
{ clrscr();
cout<<"You enter 2 number :";
cout<<"nFirst number is : "<<x;
cout<<"nSecond number is : "<<y;
cout<<"nSecond number is greater than or equal first numberan";
}
getch();
}
♦! ารเลอกทําแบบ if ซอนกน (nested if)
ก ื ั
เราสามารถใช if…else if ซอนกัน เพอตรวจสอบเงอนไขในโปรแกรมใหมทางเลอกหลาย ๆ
่ื ่ื ี ื
ทางได มรปแบบดงน้ี
ีู ั
if (เงือนไขที่ 1)
่
! { statement;
statement;
}
else if (เงือนไขที่ 2)
่
{ statement;
statement;
! }
! else if (เงือนไขที่ 3)
่
! { statement;
! statement;
! }
! else
! { statement;
•! ตัวอยางโปรแกรม grade1.cpp แสดงการคํานวณเกรด โดยการกรอกคะแนนรวมทาง
! statement;
คียบอรด โดยมีเงื่อนไขการตัดเกรดจากคะแนนรวม ดังนี้
! }
ศิริชัย นามบุรี การเลือกทํา
6. ! 38
คะแนนรวม 0-49 ไดเกรด F
คะแนนรวม 50-59 ไดเกรด D
คะแนนรวม 60-69 ไดเกรด C
คะแนนรวม 70-79 ไดเกรด B
คะแนนรวม 80-100 ไดเกรด A
คะแนนอน ๆ (ไมถูกตอง)
่ื ไดเกรด *
โดยแสดงการใช if…else…if แบบ statement เดยว ดังนี้
ี
/*Program: grade1.cpp
Process: calculate grade from total score*/
#include <iostream.h>
#include <conio.h>
void main()
{ int score;
char grade;
//begin statement
clrscr();
cout<< "Program calculate grade";
cout<< "nnPlease enter your score : ";
cin>>score; //input score
if (score<0) //calculate grade use if...else if..
grade='*';
else if (score<=49)
grade='F';
else if(score<=59)
grade='D';
else if(score<=69)
grade='C';
else if(score<=79)
grade='B';
else if(score<=100)
grade='A';
else
grade='*';
cout<< "You get grade : a"<<grade<<'n'; //show get grade
if (grade=='*')
cout<< "Your score = "<<score<< " is error range !!!n"; getch();
}
ศิริชัย นามบุรี การเลือกทํา
7. ! 39
•! ตัวอยางโปรแกรม grade2.cpp แสดงการคํานวณการตัดเกรดโดยใช Logical Operator ได
แก || (OR) && (AND) มาใชในการกําหนดเงอนไข ซงมผลลพธการทํางานเหมือน
่ื ่ึ ี ั
โปรแกรม grade1.cpp
/*Program: grade2.cpp
Process: calculate grade from total score
*/
#include <iostream.h>
#include <conio.h>
void main()
{ int score;
char grade;
//begin statement
clrscr();
cout<< "Program calculate grade";
cout<< "nnPlease enter your score : ";
cin>>score; //input score
//calculate grade use if...else if..
if (score<0 || score>100) //check enter error score
grade='*';
else if (score>=0 && score<=49)
grade='F';
else if(score>=50 && score<=59)
grade='D';
else if(score>=60 && score<=69)
grade='C';
else if(score>=70 && score<=79)
grade='B';
else
grade='A'; // end of if command
cout<< "You get grade : a"<<grade<<'n'; //show get grade
if (grade=='*')
cout<< "Your score = "<<score<< " is error range !!!n";
getch();
}
ศิริชัย นามบุรี การเลือกทํา