Lesson on Serial searching

…Or specifically Linear Searching. The simplest search.

When we are searching for something we tend to start with one item and then the search goes through other items until a match is found.

A requirement is needed before you start searching. “Find the address to Mr. K Rees” – This requirement will allow a match to be found within the system, if no records or items are found, the process will return to an appropriate message.

Serial searching algorithm
1. Set up the search criteria
2. Examine your first item in the data set
3. If the item is found then it will print a message saying “Match found”
4. If the item isn’t found then it will continue to the next item – until it is.
5. If the item isn’t found at all, then it will print a message saying “No match found”

~ Good performance over short to medium lists of items.
~ The list of items does not need to be in order, it should sort through each item until your match is found.
~ It is not affect by adding items in or deleting them.

~ It can be slow if you have a large list of items

What is pseudo code?

Pseudo code is short, simple and structured English used to to explain specific tasks within a program’s algorithm which include certain words for certain commands. Pseudo code is basically a sequence of steps to solve problems.

Several keywords are often used to indicate common input, output, and processing operations.
Output: PRINT, DISPLAY, SHOW
Compute: COMPUTE, CALCULATE, DETERMINE
Initialize: SET, INIT

Here is an example of Pseudo code :

If student’s grade is greater than or equal to 120

Print “You have passed with flying colours”
else
Print “You have unfortunately failed, sorry”

What computing means to me…

Computing to me, is learning how computers work. What makes them tick, and for me that is the most interesting part of computing.

I’ve always been interested in how a computer works, the ‘magic’ behind it all. I may not be whizz at computers but I am a fast learner and I am (as strange as it sounds) interested in learning about computers.

Computers are constantly evolving and it is getting more high-tech and we will be the future generation that will be incharge of it. We will be inventing new things, games/data/etc. The internet is a vast place and constantly changing, with more social networking sites and communication sites.

I chose this course because it looked interesting, and I always go on the computer and I’ve always thought “How does it do that?” And by doing this course it should give me a better understanding to how and why computers do certain things.

For me what goes on behind the scenes is what is interesting. Also having a basic understanding to how computers work is amusing.

Introduction to what a blog is…

What is a blog?

According to – dictionary.com – a blog is…

“A Web site containing the writer’s or group of writers’ own experiences, observations,                                        opinions, etc., and often havingimages and links to other Web sites.”

Some people write about their own personal experiences, and a blog can be about anything. Someone may start up a blog about food, art, literature…the list goes on. It’s really up to them what they want to write, like the definition says a writers ‘observations’ and ‘opinions.’

Sometimes it may be one person blogging, or a small group of people contributing to one blog. A blog comes in different variations. Some can be about art (Art blogs) and photographs (Photo blogs) and maybe even video blogs (or otherwise known as ‘vlogs’) Some people do podcasts which is basically the audio version for a text based blog.