Wednesday, October 20, 2010

handshake problem

There are 20 people in a room. Every person must shake hands with every person in the room. How many hand shakes have taken place?
use algorithim
(n-1)+(n-2)+(n-3)...
20-1=19 people
19 + 18 + 17 + 16 + 15 + 14 + 13 + 12 + 11 + 10 + 9 + 8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 190 handshakes

Tuesday, October 19, 2010

How to solve a problem?

To solve a problem, we first need to what the problem is. In other words, what is causing the problem?
A problem can be completely solved if the source of the problem is eliminated.
If a problem doesn't have a source that can be get rid of, then the problem must be solved using your ability.
However, if the problem can't be resolved with your ability, then you need to find something or someone that has the ability to solve the problem.

Friday, October 15, 2010

How can you be sure that there is an actual person at the other end of the chat line?

With today's high technology, it's really hard to tell if you are chatting with a computer or a real person.
However, it is distinguishable. You can tell that you are chatting with a computer if one or more of these thing are happening.
1) repetition of same phrases
2) quick reply
3) irrelevant answer to a question
4) random irrelevant phrases

Thursday, October 14, 2010

What is a computer program?

A computer program is a set of information or command written to perform a specific task for a computer.
It's written by computer programmer by using a set of programming language.
An example of a computer program is
#include <stdio.h>

int main()
{
printf("Hello world!\n");
return 0;
}

Wednesday, October 13, 2010

Google & Stumble

How are Google and Stumble similar?
They are similar in that they both are search engines. They both have a grand amount of diverse websites for users to search for. Also, they are both one of the most popular and used websites by people.

How are they different?
They are different in that the Google offers the users a list of websites related to the searched word, while the Stumble offers the users a specific website related to the searched word. Also the Google lets the users
choose the website they want, while stumble just choose specific website for the users.

To effectively use both sites, I would use Google to search for a specific information I want or when I am doing a project for a specific subject. For the stumble, I would use it when I have a lot of spare time and have nothing to do. It would offer me random websites related to subjects I am interested in and would entertain me for a while.


Wednesday, October 6, 2010

What criteria would you use to evaluate the authenticity and credibility of the information in a web site?

To evaluate the authenticity and credibility of the information in a web site, first thing I would do is look at who wrote the information. If someone credible, like a college professor, wrote the information, I would believe the information online and assume it's true. However, if someone like an elementary student wrote the information, I would assume it's not true and go to a different web site. Second thing I would do is compare the information with 2 to 3 more web sites. If all the web sites says the same thing, I would trust the information in the web site. But if one of the web site says something different, I would go to more web sites and find out which one is ture. Lastly, I would look at the comments made by other readers or used of the web site. If the comments are positive and the reviews are high, I would trust it. If the comments are negative and the reviews are low, I wouldn't believe it and go to different web site.

Tuesday, October 5, 2010

Can you believe everything you see or read on the internet? How can you tell truth from misinformation?

Is everything people say true?
No, people tend to lie and doesn't know everything.
This is same for information on the internet because all the information are written by people.People can post online whatever they want, thus, most of the information online are opinions, not fact.Therefore, we should not believe everything we see or read on the internet. For example, most of the teacher do not recommend the usage of www.wikipedia.org because it tends to contain lot of information that are wrong. 



But how can we tell truth from the lies or facts from the opinions?
Well, all the websites ending with .gov, and .edu,. are trustable websites. So, by going to websites such as www.example.edu, you'll be able to find information that can be trusted. However, the sites ending with .com or .net contains trustable information, too. The best way to tell truth from misinformation is by comparing information from multiple source and websites.

Monday, October 4, 2010

How do search engines like Google work? How do they find the web page you want to view?

What are search engines? It's a special web site designed to help people find information stored on other sites.
So how do they work? Search engines like Google are Crawler-Based Search Engines.


These search engines hold an index of a few hundred thousand pages and documents, and received maybe one or two thousand inquiries each day. Today, a top search engine will index hundreds of millions of pages, and respond to tens of millions of queries per day. The search engines "crawl" or "spider" through these web sites and find and list all the web sites including the keyword  the user typed into the search engines.