Thursday, 25 July 2013

java

Inner Class


"An InnerClass is a NestedClass that is not explicitly or implicitly declared static." -- Java Language Specification, Second Edition [1]
An inner class, as used in JavaLanguage, is a class nested within another class:
class C {
    class D {
    }
  }
Like a C++ nested class, a Java inner class lives within the namespace of its enclosing outer class.
Unlike a C++ nested class, an instance of a Java inner class contains an implicit, hidden reference to an instance of the outer class. (Note that this reference is real for garbage collection purposes.) You can actually obtain this reference from within the inner class, with syntax "OuterClassName.this", though this is rarely necessary:
C.this



An instance of an inner class can only live attached to an instance of the outer class. Within instance methods of the outer class, you can simply use "new D()" to create it and it will implicitly take that current outer class instance as the enclosing instance. However, if you want to create an instance of the inner class from outside the outer class, or from within a static method, you need to explicitly give the enclosing instance reference:
C c = new C();
  C.D d = c.new D();
Because the inner class is considered part of the implementation of the outer class, it has access to all of the outer class's instance variables and methods.
When name conflicts arise (i.e., the inner class declares a variable with the same name as a variable in the outer class, or when using the this keyword), prefix the identifier with the name of the outer class for static variables, and prefix it with the name of the outer class plus .this. for non-static variables:

java

Inner Class


"An InnerClass is a NestedClass that is not explicitly or implicitly declared static." -- Java Language Specification, Second Edition [1]
An inner class, as used in JavaLanguage, is a class nested within another class:
class C {
    class D {
    }
  }
Like a C++ nested class, a Java inner class lives within the namespace of its enclosing outer class.
Unlike a C++ nested class, an instance of a Java inner class contains an implicit, hidden reference to an instance of the outer class. (Note that this reference is real for garbage collection purposes.) You can actually obtain this reference from within the inner class, with syntax "OuterClassName.this", though this is rarely necessary:
C.this



An instance of an inner class can only live attached to an instance of the outer class. Within instance methods of the outer class, you can simply use "new D()" to create it and it will implicitly take that current outer class instance as the enclosing instance. However, if you want to create an instance of the inner class from outside the outer class, or from within a static method, you need to explicitly give the enclosing instance reference:
C c = new C();
  C.D d = c.new D();
Because the inner class is considered part of the implementation of the outer class, it has access to all of the outer class's instance variables and methods.
When name conflicts arise (i.e., the inner class declares a variable with the same name as a variable in the outer class, or when using the this keyword), prefix the identifier with the name of the outer class for static variables, and prefix it with the name of the outer class plus .this. for non-static variables:

Saturday, 20 July 2013

speck in english

Getting the Basics Down

  1. 1
    Start simple. Very few people are true beginners when it comes to English. "Hello," "hi," "How are you?" and numerals have infiltrated most societies. Odds are you know more English than you think.

    • Take what you know. For example, "How are you?" That uses the verb "to be." What are other questions just like this? Take what you know and expand it!
      • How is she?

        How is your father?

        How are your children?

        How is the weather?
    • Start memorizing verbs. The top ten most common verbs in English are the following: "be," "have," "do," "say," "get," "make," "go," "know," "take," and "see."[1] Just knowing these verbs can get you through a lot of basic conversations.
    • English is subject-verb-object, in that order. Your subject pronouns are: "I," "you," "he"/"she"/"it," "us," "you," "them." Object pronouns in English are: "me," "you," "him"/"her"/"it," "we," "you," "they." With those verbs and knowing English is SVO, what sentences can you come up with?
      • I know her.

        She makes it.

        He takes us.
  2. 2
    Practice conversations. Once you have basic subject and object pronouns down and a handful of verbs, you can start asking questions.
    • Questions often open with "who," "what," "when," "where," "why," and "how." "Who" indicates a person; "what" indicates a thing; "when" indicates a time; "where" indicates a place; "why" indicates a reason; "how" indicates a manner.
    • Say you know the subjects, some basic nouns, those ten verbs, and these question starters. What are some things you could ask an English speaker?
      • What is your name?

        What do you do?

        When is your birthday?

        Where is she?

        Why do you have it?

        How do you know?

Getting Familiar with the Grammar

  1. 1
    Start with the present tenses. Let's start with present simple and present continuous:
    • Present simple is used for facts and habits. If you are describing something that is true or something that happens often, opt for the present simple.
      • I go to work every day.

        She eats breakfast at 7.

        China is a big country.
    • Present continuous is used for things that are happening right now. There are two verbs: a helper and a main verb. The helper is "am"/"is"/"are" (depending on the subject) and the main verb is any verb with -ing:
      • You are reading.

        I am typing.

        He is watching TV.
  2. 2
    Move to the past and future tenses. Once you've mastered the present, get started on the past and future tenses. We're just going to go over the basic ones now:
    • Use the past simple for any event that happened in the past at a specific time.
      • I saw that movie last year.

        She died on a plane.

        We went to the bank yesterday.
    • For the future, let's keep it simple. Add a future time marker, and just use the present continuous! It can double as a future tense, too.
      • They are making a cake tomorrow.

        You are leaving in May.

        I am going at 6 pm.
  3. 3
    Put your adjectives before nouns. Always, always, always put the adjective (the word that describes) before the noun. Always! In fact, there's even an order within adjectives:
    • There are eight basic types of adjectives: opinion, size, age, shape, color, origin, material, and purpose. If you have more than one, they go in that order[2]. So, it's a "huge, round, metal bowl" or a "small, red sleeping bag."

Maintaining Progress

  1. 1
    Label everything. Take the objects in your house and label them with their English equivalent. The goal is to get your mind thinking in English. When it's right there, it'll be unignorable.
    • When you've labeled everything and find yourself thinking, "Where is my blanket?" try to think of the word (or sentence) in English. When you find your blanket, were you right?
    • Don't write on the objects--grab a slip of paper and tape it on sturdily.
  2. 2
    Keep an eye on your pronunciation. It's very easy to get caught up in memorizing words when pronunciation can be just as important. Unfortunately, English has exceptions to most rules. But there are still some general guidelines you can abide by:
    • Always say the last sounds in the word. Certain Asian dialects find this rather difficult. If you know you're guilty of this, keep it in mind. "Streets" is not pronounced stree. The "ts" is very important in retaining meaning.
    • Take the sentence "I project the project will end soon." Confusing, huh? Isn't English SVO? Yes, and this sentence is too. The first "project" (verb) is pronounced pro-JECT; the second (noun) is pronounced PRO-ject. The same is true for all verb-noun pairs: nouns stress the first syllable, verbs the second.
    • Though there are definite exceptions, most nouns in English have the first syllable stressed. Think of the nouns in your house: "BED-room," "BATH-room," "KITCH-en," "TA-ble," "WIN-dow," "SO-fa," "WA-ter," "JACK-et," "TOI-let," etc.
  3. 3
    Pick a dialect. There are meaningful differences between American, British, and Australian English. Before you go about increasing your vocabulary, which one appeals to you?
    • Sometimes it's very important to know who you're speaking to. If you tell an American you're not wearing pants, they might wonder if you're wearing shorts, a skirt, or just in your underwear. If you tell a Brit you're not wearing pants, you're going commando!
    • In addition to vocabulary differences, the pronunciation differences are huge. Know these variations exist before you get confused with multiple correct pronunciations.
      • Certain dictionaries use British English and certain dictionaries prefer American. Choose the one that's best for you.

Using Your Resources

  1. 1
    Get a good dictionary. If you need to, get several. A dictionary to translate between your first language and English is best, in addition to a dictionary in English only.
    • Get a pocket-sized version for when you're on the go and that pesky word you keep forgetting comes up.
  2. 2
    Speak in English with native speakers. Though it may be tempting to speak with your other friends who are learning too, you'll see the quickest results if you converse mainly with native speakers.
    • Hire a tutor or private teacher. Make sure they're native and have the accent you want. Choose someone with teaching experience--just because you can speak a language does not mean you can teach it.
      • If a teacher isn't up your alley, get a penpal!
  3. 3
    Use the internet. There are literally hundreds upon hundreds of sites you can use to your benefit. Anything to make grammar more exciting is welcome--there are games and videos galore.
    • Such resources can be found at Simple English Wikipedia[3], the British Council[4], and English Club[5], among many others.
    • YouTube doesn't have to be about funny cats and Rihanna. Tap into its educational resources as well.
  4. 4
    Watch TV, listen to songs, and read books. Though your goal is to speak English, you have to be able to understand it, too! Even when you're alone and not stuck in a grammar exercise you can keep your mind primed.
    .
    • Start with children's books and TV shows. The language is simpler and will go slower. Eventually, move to channels catered to your interests. If you enjoy cooking, graduate to the Food Network and see what you can pick up on. Try not to turn on the captions!
      • If you have a DVR, record the shows. That way you can go back and work through the dialogue and conversations at your own pace.
      • Listen to English music! Ballads go quite slowly and the refrains can be rather repetitive. Your vocabulary will naturally expand, too.
  5. 5
    Think in English. If you find yourself thinking something simple in you native tongue, what would its equivalent be in English? Make a habit of this for maintenance and memory.
    • Think out loud if helps. Explain to your roommates or family what you're trying to do; maybe they'll want to catch on, too! Eventually, simple phrases will become par for the course.

Friday, 19 July 2013

How to gain weight

20 ways to gain weight fast

Health Me Up Feb 15, 2013, 12.00AM IST
(How to gain weight: 20 Ways…)
How to gain weight is as difficult as losing weight. Okay, that might be a slight exaggeration; but we all know someone who is skinny as a stick and does not shy away from food. Most of us are envious that they never put on weight, but they too wish to have a lean well toned, even curvy or muscular look.
How to gain weight: People may be underweight due to various reasons
Inadequate feeding habits, prolonged meal time gaps, poor selection of foods, increased physical activity without increasing the food intake can lead to energy deficit, are a few of the major reasons for being underweight. Other reasons can be malabsorption due to prolonged illness, diseases such as tuberculosis, cancer, hormonal imbalances (hyperthyroidism) and eating disorders such as anorexia nervosa or bulimia.
How to gain weight: Healthy weight gain
Gradual weight gain is always advisable. An increase in 500 kcal per day can result in increasing the body weight by 0.5 kgs per week. Objective should be to restore a desirable weight/ ideal body weight according to one's age, gender and height. To rebuild body tissues, to maintain a good nutritional status and to maintain ideal body weight are a few reasons why healthy weight gain is important.
How to gain weight: Exercise
If you're indulging where food's concerned, beware of the inevitable skinny person's paunch. No matter what your skinny status, as you grow older, you will develop an unsightly paunch. To avoid this, you must endeavour to maintain a toned body. For this, exercise is essential. Participate in a balanced mix of cardio, weight training, and flexibility exercises every day.
How to gain weight: Lift weights for lean mass
If you haven't figured it out already, you're going to be doing some heavy lifting in order to put on lean mass. The foundation of your routine should be the big compound lifts: Squats, deadlifts, presses (bench and overhead), pull-ups, rows, dips, snatches, power cleans, clean and jerks. These engage multiple muscles while triggering your hormonal response systems.
How to gain weight: Exercises for beginners
A
Squat 5x5
Pull-ups 5xFailure (add weight if "Failure" is becoming more than 12 reps)
Overhead Press 5x5
B
Squat 5x5
Deadlift 1/2/3x5 (your choice; deadlifts can be incredibly taxing, and with exhaustion comes poor form, so be careful; sometimes it's better to do a really heavy load for a single set)
Bench Press 5x5
C
Squat 5x5
Pull-ups 5xFailure
Overhead Press 5x5
Do this sequence every week (maybe Monday, Wednesday, Friday) and steadily increase the weight each session. Once you're making progress, feel free to add in other exercises like dips or more Olympic lifts.
How to gain weight: Healthy diet
You may take dietary supplement, but you need a balanced diet more. You need the right amount of protein, carbs and fats. Help yourself to nuts and dairy products. Protein is the key for muscle building; this will help you gain weight.
How to gain weight: Healthy heart and weight gain diet
Add pistachios or roasted channa to your diet. Make them your evening munchies, as they help you lower risk of heart disease. Other snack ideas include whole wheat or multi grain bread/ soy sticks with hummus or peanut butter. Opt for salsa dips and chutneys as they are high on fibre and very healthy. How to Gain Weight: Increase liquid intake

How to gain weight

How to gain weight: People may be underweight due to various reasons
Inadequate feeding habits, prolonged meal time gaps, poor selection of foods, increased physical activity without increasing the food intake can lead to energy deficit, are a few of the major reasons for being underweight. Other reasons can be malabsorption due to prolonged illness, diseases such as tuberculosis, cancer, hormonal imbalances (hyperthyroidism) and eating disorders such as anorexia nervosa or bulimia.
How to gain weight: Healthy weight gain
Gradual weight gain is always advisable. An increase in 500 kcal per day can result in increasing the body weight by 0.5 kgs per week. Objective should be to restore a desirable weight/ ideal body weight according to one's age, gender and height. To rebuild body tissues, to maintain a good nutritional status and to maintain ideal body weight are a few reasons why healthy weight gain is important.
How to gain weight: Exercise
If you're indulging where food's concerned, beware of the inevitable skinny person's paunch. No matter what your skinny status, as you grow older, you will develop an unsightly paunch. To avoid this, you must endeavour to maintain a toned body. For this, exercise is essential. Participate in a balanced mix of cardio, weight training, and flexibility exercises every day.
How to gain weight: Lift weights for lean mass
If you haven't figured it out already, you're going to be doing some heavy lifting in order to put on lean mass. The foundation of your routine should be the big compound lifts: Squats, deadlifts, presses (bench and overhead), pull-ups, rows, dips, snatches, power cleans, clean and jerks. These engage multiple muscles while triggering your hormonal response systems.
How to gain weight: Exercises for beginners
A
Squat 5x5
Pull-ups 5xFailure (add weight if "Failure" is becoming more than 12 reps)
Overhead Press 5x5
B
Squat 5x5
Deadlift 1/2/3x5 (your choice; deadlifts can be incredibly taxing, and with exhaustion comes poor form, so be careful; sometimes it's better to do a really heavy load for a single set)
Bench Press 5x5
C
Squat 5x5
Pull-ups 5xFailure
Overhead Press 5x5
Do this sequence every week (maybe Monday, Wednesday, Friday) and steadily increase the weight each session. Once you're making progress, feel free to add in other exercises like dips or more Olympic lifts.
How to gain weight: Healthy diet
You may take dietary supplement, but you need a balanced diet more. You need the right amount of protein, carbs and fats. Help yourself to nuts and dairy products. Protein is the key for muscle building; this will help you gain weight.
How to gain weight: Healthy heart and weight gain diet
Add pistachios or roasted channa to your diet. Make them your evening munchies, as they help you lower risk of heart disease. Other snack ideas include whole wheat or multi grain bread/ soy sticks with hummus or peanut butter. Opt for salsa dips and chutneys as they are high on fibre and very healthy. How to Gain Weight: Increase liquid intake
If you want to gain weight, you need to build an appetite; and while this might be a tad non-traditional, you can rely on wine as a hunger stimulant. A small glass of wine before your evening meal will help you appreciate your food a whole lot more. Also, avoid drinking water before meals and in between meals, you don't want to ruin your appetite.
How to gain weight: Eat less
If you eat in between meals, cut it out. They say you should eat three large meals or five to six small meals in a day. Eating less is more. Choose food with nutritional calories and increase intake of starchy foods like potatoes. Remember, the more junk food you eat, the more you deprive your body of healthy nutrients. A thin person who gorges on junk food will suffer the same unhealthy consequences as an obese person with poor eating habits.
How to gain weight: Indulge the right way
Often times, well meaning folks will tell you to eat cakes and other sugar-heavy desserts in order to help you gain weight. While normally this strategy works perfectly for some, for others it could just lead to visceral fat - a state of being skinny fat. Skinny fat essentially means that a person appears skinny on the outside, but has fat accumulated in the wrong places (around vital organs) on the inside. Besides, sugar-heavy foods deplete your body of whatever little nutrients it might be getting from other foods.
How to gain weight: Eat lots and lots of healthy vegetables and meat

Sunday, 14 July 2013

Idioms and Phrases Section I

Bored to death


"I have nothing to do. I'm bored to death."
"I hate it when I'm bored to death."
"Would you rather be super busy or bored to death?"

A: "Hey Seth, what are you doing?"
B: "I'm reading a book. What are you doing?"
A: "I'm bored to death. Let's do something."
B: "Sure. Come over and we can play some games."

Other Common Sentences

"I'm so bored, I could die."
"I'm dying of boredom."

You've got to be kidding


A: "Hey Jared. Mom told me to tell you that you shouldn't stay out too late."
B: "You've got to be kidding me. I'm 30 years old."

A: "Patrick won the school election by two votes."
B: "He's not that popular how did this happen?"
A: "Nobody voted because they expected Jason to win."
B: "You've got to be kidding me."

Other Common Sentences

"I really hope you're wrong."
"Please tell me it ain't so."

Sick and Tired


"I'm sick and tired of eating the same thing for lunch everyday."
"I'm getting sick and tired of this song. They play it way too often at this club."
"I'm sick and tired of listening to him nag all the time."

A: "Where are you going for lunch today?"
B: "I don't know... how about a burger?"
A: "No. I eat that almost everyday. I'm getting sick and tired of them."
B: "Let's go eat teriyaki then."

Other Common Sentences

"I'm getting sick of this phone. I think I'll buy a new one."
"I'm tired of the same routine. I need to find something new and different."

Call it a day


"Let's call it a day. I'm too tired to continue working."
"We can't continue working without Mike, so let's call it a day."
"It's already nine o'clock. Let's call it a day."

A: "How much more work do we have for tonight?"
B: "I think we finished everything for the day."
A: "Good. Let's call it a day then."

Other Common Sentences

"Let's turn in for the night."
"I think we should pick it up from the morning."
pick it up = continue

Saturday, 13 July 2013

daily news01: 5 Speaking Rules you need to know!

daily news01: 5 Speaking Rules you need to know!: 5 Speaking Rules you need to know! 1. Don't study grammar too much This rule might sound strange to many ESL students, but...

5 Speaking Rules you need to know!


1. Don't study grammar too much

This rule might sound strange to many ESL students, but it is one of the most important rules. If you want to pass examinations, then study grammar. However, if you want to become fluent in English, then you should try to learn English without studying the grammar.

Studying grammar will only slow you down and confuse you. You will think about the rules when creating sentences instead of naturally saying a sentence like a native. Remember that only a small fraction of English speakers know more than 20% of all the grammar rules. Many ESL students know more grammar than native speakers. I can confidently say this with experience. I am a native English speaker, majored in English Literature, and have been teaching English for more than 10 years. However, many of my students know more details about English grammar than I do. I can easily look up the definition and apply it, but I don't know it off the top of my head.

I often ask my native English friends some grammar questions, and only a few of them know the correct answer. However, they are fluent in English and can read, speak, listen, and communicate effectively.

Do you want to be able to recite the definition of a causative verb, or do you want to be able to speak English fluently?




2. Learn and study phrases

Many students learn vocabulary and try to put many words together to create a proper sentence. It amazes me how many words some of my students know, but they cannot create a proper sentence. The reason is because they didn't study phrases. When children learn a language, they learn both words and phrases together. Likewise, you need to study and learn phrases.

If you know 1000 words, you might not be able to say one correct sentence. But if you know 1 phrase, you can make hundreds of correct sentences. If you know 100 phrases, you will be surprised at how many correct sentences you will be able to say. Finally, when you know only a 1000 phrases, you will be almost a fluent English speaker.

The English Speaking Basics section is a great example of making numerous sentences with a single phrase. So don't spend hours and hours learning many different words. Use that time to study phrases instead and you will be closer to English fluency.

Don't translate

When you want to create an English sentence, do not translate the words from your Mother tongue. The order of words is probably completely different and you will be both slow and incorrect by doing this. Instead, learn phrases and sentences so you don't have to think about the words you are saying. It should be automatic.

Another problem with translating is that you will be trying to incorporate grammar rules that you have learned. Translating and thinking about the grammar to create English sentences is incorrect and should be avoided.


3. Reading and Listening is NOT enough. Practice Speaking what you hear!

Reading, listening, and speaking are the most important aspects of any language. The same is true for English. However, speaking is the only requirement to be fluent. It is normal for babies and children to learn speaking first, become fluent, then start reading, then writing. So the natural order is listening, speaking, reading, then writing.

First Problem
Isn't it strange that schools across the world teach reading first, then writing, then listening, and finally speaking? Although it is different, the main reason is because when you learn a second language, you need to read material to understand and learn it. So even though the natural order is listening, speaking, reading, then writing, the order for ESL students is reading, listening, speaking, then writing.

Second Problem
The reason many people can read and listen is because that's all they practice. But in order to speak English fluently, you need to practice speaking. Don't stop at the listening portion, and when you study, don't just listen. Speak out loud the material you are listening to and practice what you hear. Practice speaking out loud until your mouth and brain can do it without any effort. By doing so, you will be able to speak English fluently.


4. Submerge yourself

Being able to speak a language is not related to how smart you are. Anyone can learn how to speak any language. This is a proven fact by everyone in the world. Everyone can speak at least one language. Whether you are intelligent, or lacking some brain power, you are able to speak one language.

This was achieved by being around that language at all times. In your country, you hear and speak your language constantly. You will notice that many people who are good English speakers are the ones who studied in an English speaking school. They can speak English not because they went to an English speaking school, but because they had an environment where they can be around English speaking people constantly.

There are also some people who study abroad and learn very little. That is because they went to an English speaking school, but found friends from their own country and didn't practice English.

You don't have to go anywhere to become a fluent English speaker. You only need to surround yourself with English. You can do this by making rules with your existing friends that you will only speak English. You can also carry around an iPod and constantly listen to English sentences. As you can see, you can achieve results by changing what your surroundings are. Submerge yourself in English and you will learn several times faster.

TalkEnglish Offline Version is now ready for download. In this package, you can utilize over 8000 audio files to completely surround yourself in English. There are over 13.5 hours of audio files that are not available in the web form. All conversations and all sentences are included, so even if you don't have many English speaking friends, you can constantly surround yourself in English using your MP3 player. This package is available at the English Download page. Take advantage of this opportunity and start learning English faster. Click on the link or go to http://www.talkenglish.com/english-download.aspx.


5. Study correct material

A common phrase that is incorrect is, "Practice makes perfect." This is far from the truth. Practice only makes what you are practicing permanent. If you practice the incorrect sentence, you will have perfected saying the sentence incorrectly. Therefore, it is important that you study material that is commonly used by most people.

Another problem I see is that many students study the news. However, the language they speak is more formal and the content they use is more political and not used in regular life. It is important to understand what they are saying, but this is more of an advanced lesson that should be studied after learning the fundamental basics of English.

Studying English with a friend who is not a native English speaker is both good and bad. You should be aware of the pros and cons of speaking with a non native speaking friend. Practicing with a non native person will give you practice. You can also motivate each other and point out basic mistakes. But you might pick up bad habits from one another if you are not sure about what are correct and incorrect sentences. So use these practice times as a time period to practice the correct material you studied. Not to learn how to say a sentence.

In short, study English material that you can trust, that is commonly used, and that is correct.

     

daily news01: learning speak in english

daily news01: learning speak in english: I'm good at Again, 'I'm' is used here as 'I am.' 'Good at' informs someone what you excel at and are com...

learning speak in english

I'm good at

Again, 'I'm' is used here as 'I am.' 'Good at' informs someone what you excel at and are comfortable doing.

Here are some examples:

"I'm good at drawing."
"I'm good at video games."
"I'm good at swimming."
"I'm good at driving."
"I'm good at reading."
"I'm good at sports."
"I'm good at writing."
"I'm good at math."
"I'm good at dancing."
"I'm good at chess."

I'm in/at/on

Describes an action you are doing.

Most commonly, you would use the word 'in' when entering a physical location such as a room or a building.

Here are some examples:

"I'm in the shower."
"I'm in the lobby."
"I'm in a car."
"I'm in a house."
"I'm in a school."

Using the word 'at' helps tell someone where you currently are. The difference between 'at' and 'in' is that the physical location is general.

Here are some examples:

"I'm at the grocery."
"I'm at the mall."
"I'm at the doctor's office."
"I'm at the park."
"I'm at the airport."

However, in some cases you can use 'at' and 'in' interchangeably.

Here are some examples:

"I'm at the mall."
"I'm in the mall."
"I'm at the park."
"I'm in the park."
"I'm at the grocery."
"I'm in the grocery."

Using the word 'on' is referring to a non physical location such as your time being utilized by something else.

Here are some examples:

"I'm on the phone."
"I'm on my computer."
"I'm on a bus."

daily news01: Microprocessor & a Microcontroller

daily news01: Microprocessor & a Microcontroller: What is the Difference Between a Microprocessor & a Microcontroller? All microcomputers contain microprocessors. They are the ...

daily news01: THE MOTHERBOARD

daily news01: THE MOTHERBOARD: THE MOTHERBOARD THE BASICS THE BIOS (ROM) The BIOS chip contains all the basic instructions t...

THE MOTHERBOARD


THE MOTHERBOARD

THE BASICS



THE BIOS (ROM)
The BIOS chip contains all the basic instructions that manages the computer when it is switched on. Read Only Memory is permanent memory. When the computer is turned on the PROCESSOR looks for basic data/information in the ROM (BIOS). The processor needs to know how much memory is present, if a hard drive is connected and other vital pieces of information. Without this basic information the computer will not work. The processor searches for this information automatically.
ROMs are ‘read only’, you cannot save your work to it.
 
 
DIMM SOCKETS (RAM)
 
The computers memory is Random-Access Memory and it is pushed into the dimm sockets. This is temporary memory and is used to store data while the computer is on. If the computer is turned off all the data is lost. RAM holds data that the computer has to constantly check in order for the software you are using to work properly. Files that are in constant use are held in the RAM.
 
 
EPROM
 
EPROM or Erasable, Programmable, Read Only, Memory. It is possible to write to and read from this type of memory. Usually this is found in small hand-held computers. Often it can be removed from the computer in the form of a ‘cassette’. It works a little like a floppy diskette. The motherboard shown above does not have EPROM memory.
 
 
THE CHIPSET
The chipset directs the data moving around the computer to the right places.
 
 
SLOTS
There are usually two types of slots on the motherboard. AGP slots are for graphics cards whilst PCI slots are for devices such as modems, network cards and sound cards etc...
 
 
 
 
ONBOARD SOUND
Many motherboards do not require a separate sound card as they have onboard sound capabilities. Onboard sound is normally quite basic and an extra sound card is only needed if the computer system is to be used for serious sound/audio work.
 
 
PORTS
All computers have ports. These include PS/2 ports for keyboard and mouse connections, a parallel port for a printer and scanner, serial ports for external modems and possibly a mouse, a number of USB ports for connecting devices such as digital cameras and finally firewire connectors for digital camcorders.
 
 
FLOPPY CONNECTOR
The computer's floppy drive (also known as the 'A' drive) is connected here.
 
 
IDE CONNECTOR
The hard disk, CD and DVD are connected to these. It is usually possible to connect up to two devices to each IDE connector.
 
 
THE PROCESSOR
The processor is inserted into the processor socket. This carries out most of the work controlling most functions of the computer. A processor may look a little like a black square but internally it is a highly complex piece of electronic engineering. Companies such as INTEL and AMD make processors.

Microprocessor & a Microcontroller


What is the Difference Between a Microprocessor & a Microcontroller?

All microcomputers contain microprocessors. They are the core of any microcomputer system. Microcontrollers are special-purpose computer systems, usually programmed to perform a single task. As they are computers in and of themselves, microcontrollers will have a microprocessor as part of their system hardware. Have a question? Get an answer from Online Tech Support now!

1.   Microprocessors

o    A microprocessor is often also called the CPU, or Central Processing Unit, of a microcomputer. It is, in essence, the heart of a computer system. It is tasked to perform a wide variety of functions.

2.   Self-contained Systems

o    Microcontrollers are small, task-specific computers. They will have a microprocessor on board to handle logic and instruction processing. Yet, they still must have all the essential elements of any computer system.

Essentials

o    Microcontroller units and full computer systems will have basic infrastructure in common. Essential to any computer system is input, output, storage, instruction processing, and memory.

Differences

o    The main difference between the microcontroller and a typical computer is a matter of scale. Usually, a microcontroller is programmed for a specific task and left alone to do it without further human input. However, a general computer system can be tasked with a wide variety of jobs.