星期四, 9月 30, 2010

體能活動的健康益處

任何年齡的人士要促進健康,其中一種最好的方法就是多做運動。

兒童及青少年


科學證據的強度健康益處
非常有力
  • 改善心肺耐力及肌力
  • 較理想的身體成分(脂肪百分比)
  • 改善骨骼健康
  • 改善心血管及新陳代謝健康的生物性指標
中等強度
  • 減少焦慮及抑鬱徵狀

成年人及長者


科學證據的強度健康益處
非常有力
  • 降低早逝的風險
  • 降低患上心臟病的風險
  • 降低中風的風險
  • 降低患上二型糖尿病的風險
  • 降低患上高血壓的風險
  • 降低出現不理想血脂譜的風險
  • 降低患上代謝綜合症的風險
  • 降低患上結腸癌的風險
  • 降低患上乳癌的風險(女性)
  • 預防體重上升或促進體重減輕(須配合適當的飲食)
  • 改善心肺功能及肌力
  • 預防跌倒
  • 減低抑鬱情緒
  • 較佳的認知能力(長者)
中等強度至非常有力
  • 較佳的身體功能(長者)
  • 減少中央肥胖
中等強度
  • 在減重後維持體重
  • 降低髖骨骨折的風險
  • 增加骨質密度
  • 改善睡眠質素
  • 降低患上肺癌的風險
  • 降低患上子宮內膜癌的風險(女性)

星期三, 9月 29, 2010

batch file script - check folder / file size

@echo off

fc c:\ABC\abc.txt
c:\DEF\abc.txt > nul
if errorlevel 2 goto err2
if errorlevel 1 goto err1
if errorlevel 0 goto err0

goto exit

:err0
echo. is same
goto exit

:err1
echo. is different
goto exit

:err2
echo. file is lost
goto exit

:exit

-----------------

rem:
//這段編碼是用來比較檔案或資料夾的大小是否相同。


@echo off 
rem://
關閉指令行自身的顯示

fc c:\ABC\abc.txt
c:\DEF\abc.txt > nul
rem:// fc.exe 是用來比較兩個檔案或兩組檔案並且顯示其中的不同之處。(一般在 c:\windows\system32\)
rem:// 如要比較兩個資料夾,可以變為:( fc c:\ABC\*.* c:\DEF\*.* > nul )
rem:// 如路徑有空格,應變為:( fc "c:\AB C\*.*" "c:\DE F\*.*" > nul )
rem:// 假若不加 >nul ,cpu會飆到100。>nul 用於屏蔽標準輸出在屏幕上的顯示。

if errorlevel 2 goto err2
rem://表示兩個檔案中,有一個以上是不存在
if errorlevel 1 goto err1

rem:
//表示兩個檔案不同
if errorlevel 0 goto err0
rem://表示兩個檔案相同

goto exit
rem://以上皆不是時直接跳到「:exit」行

:err0
rem://兩個檔案相同時執行此行
echo. They are same
goto exit

rem://直接跳到「:exit」行

:err1
echo.
They are different
goto exit

:err2
echo. Some file(s) is lost
goto exit

:exit

rem://完結


星期二, 9月 28, 2010

Security responsibilities and responses: A user's view

1. Which of the following actions would help users to keep information safe?

Choose more than one option.

Keep important information stored separately in hard copy form
Have a strong password
Be careful about leaving your computer unattended
Report anything suspicious



2. Which of the following should be part of the effort to reduce the level of threat to security posed by an organization's own employees?

Choose more than one option.

Keep employees motivated
Ensure that employees' skills are updated on an ongoing basis
Monitor employee activity
Install appropriate technical barriers



3. Which of the following are key considerations for an information security program?

Choose more than one option.

Confidentiality
Availability
Communication
Integrity



4. Which of the following are criteria for a good password?

Choose more than one option.

It is almost impossible for others to guess
It has personal significance
You don't have to write it down
It evokes a pleasant, thus memorable, image



Topic title: Security responsibilities and responses: A user's view


Which of the following are considered potential security threats?

Computer viruses
Internet privilege
Loss of data
Unauthorized access

星期一, 9月 27, 2010

Introduction to security policies

1. Security ___________ define which of a company's resources are to be protected, whereas security _________ define how to protect them.

To fill the first blank, select one of the options below. The other option will automatically appear in the second blank.

procedures
policies



Security policies define which of a company's resources are to be protected, whereas security procedures define how to protect them.




2. Which of the following should be the first step in developing a security policy?

Choose an option.

Assigning risk factors
Prioritizing resources
Classifying resources
Defining acceptable and unacceptable activities



3. Which of the following statements best describes a company's information protection policy?

Choose an option.

It defines methods of remotely connecting to the main network
It provides guidelines on how users should process, store, and transmit sensitive information
It provides guidelines for reporting and managing virus infections
It defines the appropriate use of computing resources

星期日, 9月 26, 2010

Identifying Internet security measures

1. Which of the following involves users submitting their usernames and passwords in encrypted form?

Choose an option.

Anonymous access
Basic authentication
Secure authentication
Digital certificates


2. You use your ________ to decrypt messages you receive.

You send your _________ to the people from whom you expect to receive an encrypted message.

To fill the first blank, select one of the options below. The other option will automatically appear in the second blank.

private key
public key


You use your private key to decrypt messages you receive.

You send your public key to the people from whom you expect to receive an encrypted message.


3. A digital certificate contains which of the following?

Choose more than one option.

A certificate serial number
A certificate expiration date
Your private key
The certificate authority's digital signature

星期六, 9月 25, 2010

Threats to data on networked computers

1. A _________ is a simple destructive miniature program that infiltrates its way into computer systems.

Choose an option below to fill in the blank.

VPN
hacker
IP address
virus



2. Which of the following statements regarding hackers are true?

Choose more than one option.

They always gain access to system resources from outside
They use Internet message boards to gain information on system security holes
They impersonate authorized users to gain access to systems
They all aim to defraud the companies whose systems they penetrate



3. What do ethical hackers do?

Choose an option.

Try to break into systems so as to defraud companies
Test a system's security to see where malicious hackers could gain access
Create antivirus software
Impersonate authorized users using a spoof IP address in order to breach system security

星期五, 9月 24, 2010

Threats and security risks on the Web

1. Which web browser setting controls how a web browser receives information that is automatically saved to your hard disk?

Cookies
Security
Proxy
Mail server


2. A macro virus will typically affect the file currently open on your computer.

A boot-sector virus infects a portion of your hard disk.

To fill the first blank, select one of the options below. The other option will automatically appear in the second blank.

macro
boot-sector


3. Which of the following terms describes information about a user that is stored on a client machine by a web browser?

Choose an option.

A cookie
A cache
A MIME
A certificate


4. Why is it important to frequently update the virus definition files on your virus protection software?

Choose an option.

To prevent hacking attempts
To keep abreast of the newest viruses
To prevent viruses from infecting your CD-ROMs
To automatically patch your word-processing software

推薦此文