วันพฤหัสบดีที่ 16 กันยายน พ.ศ. 2553

What are the three basic programming control structures?

Answer: 1) Conditional structure: If and Else statement is used in the programming for conditional structures. This statement uses a specific condition check. If this condition is true the code following the If statement will be executed otherwise the Else portion will be executed. The Else part of the If state is optional. The syntax of this condition structure varies language to language. 

2) Iteration structure: Iteration structure or loops are used to repeat the instructions. There are mainly three types of loops available. For
Loop, While Loop, do while loop. These loops repeat the instruction until a specific condition is true.

3) Jump statements: These statements include Break, Continue and Goto instructions. These instruction jumps from one portion of the program to another portion of the program. The function calling can also be included in this category. 
http://sites.google.com/site/watcharawittayaepcomputer/1st-semester/mathayom-4/student-journal

วันศุกร์ที่ 27 สิงหาคม พ.ศ. 2553

Homework2

What is a computer network?
Answer: A computer network, often simply referred to as a network, is a collection of computers and devices connected by communications channels that facilitates communications among users and allows users to share resources with other users. Networks may be classified according to a wide variety of characteristics.

Homework1

What are the type of network?
Answer: There are two types of networks: 
Client/Server Networks 
Client/server networks consist of two kinds of computer. The clients are usually computer workstations sitting on the desks of employees in an organisation. The servers are usually more powerful computers and are held in a central location or locations within an organisation. 
Peer-to-peer Networks 
Peer-to-peer networks have workstations connected to each other but do not have servers.Files can be shared between workstations, and a printer connected to one workstation can be accessed by another workstation.Peer-to peer networks are often much simpler to set up than client/server networks. However, they lack some of the advantages normally associated with networks such as centrally managed security and ease of backing up files.Peer-to-peer networks would really only be set up among a few computers within an office or single room.
What is Intranet?
An intranet is a private network that is contained within an enterprise. It may consist of many interlinked local area networks and also use leased lines in the wide area network. Typically, an intranet includes connections through one or more gateway computers to the outside Internet. The main purpose of an intranet is to share company information and computing resources among employees. An intranet can also be used to facilitate working in groups and for teleconferences.