Communication Skills
What communication is, why it matters, the elements, the 7 C's, public speaking, non-verbal and visual communication, and assertiveness — every answer reproduced in full.
1What is communication?
The word ‘communication’ comes from the Latin word commūnicāre, meaning ‘to share’. Communication is the ‘sharing’ of information between two or more individuals or within the group to reach a common understanding.
2What is the importance of communication?
Communication helps to improve physical, social and good relationships between family and friends.
Communication occupies a central place in our everyday working and personal life. The three uses below are the ones an employer looks for first.
🗣️ Inform
We give facts or information to someone in our daily life.
🧲 Influence
Sometimes we are required to influence or change someone in an indirect but usually important way.
❤️ Express feelings
If you are expressing your views or feelings to others, it is a healthy way to express them.
3What are the elements of communication?
Communication means giving and receiving, which is a two-way exchange of information.
Giving information is an example of speaking and writing, whereas receiving information is an example of reading and listening.
4What are perspectives in communication?
Perspectives are ideas, views, or fixed ways of thinking. These sometimes affect our communication. For example, if you have a fixed idea that your teacher or father is strict, even when they are being friendly, you may think they are scolding you.
In the same way, others may also have fixed ideas about you, which affects whatever you say to them.
5Factors affecting perspectives in communication
Sometimes, we are not able to communicate clearly because of barriers that stop us from sharing and understanding messages.
6What is effective communication? (The 7 C's)
There are 7 C’s of effective communication which are applicable for both written as well as oral communication. These are as follows —
Always say clearly what you want to say.
Always use simple language and say only what is required.
Always use proper words and phrases in the sentences.
Always use correct spelling and grammar in the sentences.
Your words should be related to the main topic and your words should make sense.
Your message should be complete and have all the needed information.
Be honest, respectful and friendly with others.
✅ Advantages of Verbal communication
- Time Saving – We can express our thoughts easily and quickly and it is an easier form of communication.
- Quick Feedback – We can get a quick response from the listener.
⛔ Disadvantages of Verbal communication
- Cultural Difference – The cultural difference is the main disadvantage of verbal communication.
- Language barriers – Difficult to share thoughts or ideas in different languages.
9What is public speaking?
Speaking face-to-face to a live audience or in front of a large group is known as public speaking. You can use the 3Ps method to get over your fears and become a confident speaker.
📌 Note: The 3Ps method is used to overcome stage fear — first you prepare your content, then you practice it (aloud, in front of a mirror or a friend), and finally you perform it before the audience.
10What is non-verbal communication?
Without using words, if you are sending some information to others it is known as non-verbal communication. Some of the non-verbal communication is —
11Importance of non-verbal communication?
In our daily life it is observed that most of the communication is done using body movements and voice control.
- In non-verbal communication you can make your message stronger as compared to written communication.
- Helps overcome cultural barriers.
- With the right gestures while speaking makes our message more effective.
- Using the right gestures and postures helps us to be professional at work.
- The message is delivered and communicated more effectively than verbal communication.
- In the time of public speech you can understand the audience’s reaction easily and adjust our behaviour or communication accordingly.
12Types of non-verbal communication
We communicate non-verbally in many ways —
The movement and changes of the face are the facial expressions. Many times facial expressions show the feelings of a person. For example, expressing your thoughts using a smile — when we are happy, or when we are sad.
Posture means body positions. Posture shows how confident you are and your emotional feelings. For example, a straight body posture means confidence.
Gestures mean if you are sharing any idea or meaning with the help of your hands or head. For example, pointing, waving and using our hands when speaking.
Sometimes we communicate using touch; we also share messages with others through it, for example handshaking and patting on the back.
When two people are communicating you will find some space between these two people depending on the closeness or intimacy between them.
Maintaining eye contact is very important when you are talking about interest, whereas looking at any other side can make the other person feel ignored.
The tone of our voice, speed and volume that makes a difference in the meaning is a paralanguage.
13What is visual communication?
In daily life we are using visual communication. Sometimes we are getting messages from images or pictures. The main advantage of visual communication is that you do not need to know any particular language.
🚻 Example 1
Sign for ladies and gents toilet
🚦 Example 2
Traffic symbol
🔥 Example 3
Sign for flammable substance
14What is assertive communication?
Being assertive is a better way to communicate. It involves —
- expressing your thoughts without hurting others or yourself,
- respecting others,
- expressing yourself and your goals in a clear and concise manner,
- being receptive to other people’s opinions, and
- finding a balance between your needs and the needs of others.
📌 Remember: the original notes print this line as “Being aggressive is a better way to communicate”, but the five points that follow describe assertive behaviour — expressing yourself without hurting anyone. Aggressive = hurting others · Passive = hurting yourself · Assertive = respecting both.
Self-Management Skills
Strengths & weaknesses, interests vs abilities, grooming, hygiene, teamwork, networking, motivation, SMART goals and time management — plus all 15 multiple-choice questions.
Strength and Weakness Analysis
Q. Self-management skills — strengths and weaknesses?
💪 Strengths
- Think that you are always good at.
- Think about what you do well.
- Think about what others appreciate about you.
🔧 Weaknesses
- Identify the areas where you struggle and what you find difficult to do.
- Accept the feedback you receive from others.
- Be positive with feedback and try to improve yourself.
Difference between interests and abilities
Q. Difference between interests and abilities?
Interests are the things that we enjoy doing.
An ability is an acquired or natural capacity that enables an individual to perform a particular task with considerable proficiency.
Interest may include —
- Activities you like most to do at school or at home that make you happy.
- Even if no one asks you to do the activity, you want to do it.
- Activities that you like to learn or do in the future.
What is the importance of Grooming?
The act of putting on clothes is known as dressing.
Grooming is the act of making oneself appear neat, orderly and smart.
Benefits of dressing and grooming in daily life —
1️⃣ Look smart
We look smart and presentable.
2️⃣ Good impression
Make a good impression of ourselves on others.
3️⃣ Confidence
Feel confident about ourselves.
What is the importance of personal hygiene?
Personal hygiene is very important in our daily life because it helps us —
- Create a good image of ourselves.
- Stay healthy.
- Avoid feeling ashamed in public due to our bad breath, body odour, etc.
What are the benefits of Teamwork?
Q. What are the benefits of Teamwork?
The benefits of teamwork skill education courses are —
- In a team, everyone has a role to play, so the pressure to succeed does not fall only on one person.
- It is beneficial to have a support system since all team members help in the correction of any mistake done by one team member.
- When the team succeeds, it gives you a nice feeling and boosts your confidence.
- The work gets done faster.
📌 A team is a group of people working together towards achieving a common goal (see MCQ 15).
Networking Skills — benefits and how to build them
Q. What are the benefits of Networking Skills?
Networking supports you in making dependable and trustworthy individuals with whom you can share your life.
- Share expertise and skills.
- Seek and provide support in difficult times.
- Keep up to date on fresh opportunities by informing and being informed.
Q. How to build Networking Skills?
There are six steps to develop networking skills —
- Converse – Give a smile and look at the person with confidence.
- Open up – Show interest in getting to know them.
- Network smartly – Talk to them about things that are common between the two.
- Engage – Share useful information.
- Communicate regularly – Stay in touch with others.
- Tell – Share information on events or activities.
Motivation — types, qualities and how to build it
Q. Types of Motivation?
There are two types of motivation:
🔥 Internal Motivation
Many things we do which make us happy, feel good and healthy.
🏅 External Motivation
If you are working for recognition, respect and appreciation.
Q. What are the qualities of self-motivated people?
- Know what they want from life
- Are focused
- Know what is important
- Are dedicated to fulfil their dreams
Q. How to build Self-Motivation?
There are four steps to build self-motivation —
- Find out your strength
- Set and focus on your goals
- Develop a plan to achieve your goals
- Stay loyal to your goals
How to set goals in Self-Management Skills? S · M · A · R · T
We can use different techniques to set goals.
Always set your clear and specific goals.
A measurable goal answers the questions “How much?”, “How many?” and “How do I know that I have achieved results?”
Breaking down big goals into smaller parts will make the goal achievable.
A realistic goal would be something that we want to achieve and can work towards.
A goal should have a timeframe by when the goal needs to be achieved.
What is time management and how can you manage your time?
The ability to organize and control how you spend the hours of your day so that you may achieve what you desire, is known as time management.
To manage effective time management, the following points are used —
- Any planned action should not be delayed or postponed.
- Organize your room and school desk.
- Create a ‘NO DISTURBANCE ZONE’ where you may sit and finish important tasks without being disturbed.
- Use waiting time productively.
- Prepare a ‘to-do’ list.
- Prioritize.
- Replace useless activities with productive activities.
Multiple Choice Questions · 15 questions · tap “👁 Answers” in the top bar to reveal the model answers
- Identifying strengths
- aTake time off to think about what you do well
- bThink of anything that you are always good at
- cThink about what others appreciate about you
- dAll of the above
✔ Answer: (d) All of the above
- Identifying weaknesses
- aPoint out the areas where you struggle and what you find difficult to do
- bLook at the feedback you receive from others
- cBe open to feedback and accept your weaknesses
- dAll of the above
✔ Answer: (d) All of the above
- If you are aware of your own values, likes, dislikes, strengths, and shortcomings as an individual, it denotes the fact that you are ____________.
- aSelf-Confident
- bSelf-Control
- cSelf Motivated
- dSelf-Aware
✔ Answer: (d) Self-Aware
- A person’s _____________ is an acquired or natural ability that allows them to execute a specific job or task with a high level of proficiency.
- aWeaknesses
- bStrength
- cInterest
- dAbilities
✔ Answer: (d) Abilities
- Which one is not a good example of strength?
- aI am good at understanding other people
- bDealing with strangers, I am confident
- cI don’t know how to play chess
- dI help my parents in household chores
✔ Answer: (c) “I don’t know how to play chess” — this is a weakness, not a strength
- ________, often known as ‘areas for improvement’, refers to the things we don’t do well or aren’t very good at.
- aWeaknesses
- bStrength
- cInterest
- dAbilities
✔ Answer: (a) Weaknesses
- _________ is beneficial to our health and well-being.
- aCleanliness
- bRegular School
- cWork at home
- dNone of these
✔ Answer: (a) Cleanliness
- Personal Hygiene is essential because it helps us in our daily lives.
- aStay healthy
- bCreate a good image of ourselves
- cAvoid feeling ashamed in public due to our bad breath, body odour
- dAll of the above
✔ Answer: (d) All of the above
- The process of making yourself look neat, tidy and smart is known as ___________.
- aGrooming
- bExercise
- cWatching T.V.
- dPlaying Video Games
✔ Answer: (a) Grooming
- Personal Grooming is a term used to describe the act of _____________.
- aMaintaining personal hygiene for a pleasing personality
- bBrushing teeth
- cTrimming nails
- dNone of these
✔ Answer: (a) Maintaining personal hygiene for a pleasing personality
- Dressing and grooming are vital since they assist us in our daily activities.
- aLook smart
- bFeel confident about ourselves
- cMake a good impression of ourselves
- dAll of the above
✔ Answer: (d) All of the above
- It is very important to dress and groom properly, because they help us to look _____________.
- aSmart
- bUntidy
- cShabby
- dAll of the above
✔ Answer: (a) Smart
- Do you think individuals who live in hill stations can go several days without bathing?
- aNo, bathing should be done on a regular basis regardless of the weather
- bYes, for persons who live in frigid climates, going without a bath for several days is okay
- cYes, as long as they clean themselves down with a damp cloth
- dNone of the above
✔ Answer: (a) No — bathing should be done on a regular basis regardless of the weather
- Radha uses a lot of hair oil in order to grow her hair. She does not wash her hair for days at a time, and it often stinks. What would you advise her to do?
- aShe can keep the oil in her hair since it promotes hair growth
- bShe can wear it at night and wash her hair before leaving the house every day
- cShe shouldn’t use any of the oil
- dTo lessen the odour, she might apply the oil and a little water to her hair before leaving the house
✔ Answer: (b) Apply oil at night and wash her hair before leaving the house every day
- A ___________ is a group of people working together towards achieving a common goal.
- aTeam
- bBatch
- cGroup
- dNone of the above
✔ Answer: (a) Team
Computer Organization, Software & Troubleshooting
Definition and characteristics of a computer, IPO cycle, input/output units, CPU, memory hierarchy, secondary storage, motherboard and bus, all software types, plus troubleshooting and utilities with the full Q&A set.
Terms to remember
Data refers to raw facts or figures.
Processed data is called Information.
A set of instructions provided to the computer for doing a task is called a program.
Speed of processors is usually measured in megahertz (MHz) – millions of instructions per second; and gigahertz (GHz) – billions of instructions per second, is indicative of its power.
It is a common unit of measurement. It refers to the speed of communication over a data channel (or the speed with which information can be sent to and from a computer).
Definition · Hardware & Software · IPO Cycle
💡 A computer is an electronic device that accepts input, processes it, and displays output.
Hardware & Software: Computers work in combination with hardware and software.
🔩 Hardware
The physical electronic component of a computer is called Hardware.
Examples: Keyboard, Monitor, Speakers, Mouse, Motherboard
💿 Software
The recorded instruction/program present inside the computer is called Software.
Examples: MS-Office, Windows
IPO Cycle: Any instruction given to the computer is executed in the form of an IPO cycle.
- Input is the process of feeding data inside the computer.
- Processing is the process of converting input to output based on the instructions given by the user.
- Output is the process of displaying results to the user.
Characteristics of a Computer
It is the ability of the computer to process data and instructions at very high speed. A typical high-speed computer performs 3 to 4 million instructions per second.
It is the ability of the computer to perform multiple tasks at the same time.
It performs 100% error-free calculations. The errors, if any, found in the output are either due to wrong entry of values or wrong instructions for computation. This phenomenon is often referred to as GIGO (Garbage In, Garbage Out).
It is the ability to perform tasks with the same speed and accuracy and does not suffer from human traits of tiredness and boredom.
It is the ability to store information for processing/future purposes.
Computers were merely dumb machines programmed to perform certain tasks. With the advent of artificial intelligence techniques, we now have machines that mimic human traits of decision making.
Components of a Computer — Input Unit
Input unit accepts input and is formed by the input devices attached to the computer.
A device that helps the user to feed data, digits, commands etc.
A pointing device that helps the user to click and choose.
Microphone accepts sound in the form of analog signals, converts it to digital signals so that the computer can understand.
A scanner is an input device that scans documents such as photographs and pages of text. It creates an electronic version of the scanned document.
A barcode reader is an optical scanner that can read printed barcodes, decode the data contained in the barcode and send the data to a computer. The barcode uses lasers to identify the position and thickness of the bars.
A light-sensitive input device shaped like a pen allows the user to point to displayed objects or draw on the computer screen.
Output Unit & the CPU
Output unit displays output and is formed by the output devices attached to the computer.
It displays the output to the user. The picture on a monitor is made up of thousands of tiny coloured dots called pixels.
The output is obtained as a hard copy, printed as characters/pictures on paper.
It converts the digital signals to analog form, in a format audible to the user.
The CPU: The Central Processing Unit is also called the brain of the computer. It converts input into output based on the instructions given by the user.
🧮 Arithmetic Logic Unit (ALU)
It performs arithmetic calculations and logical operations on the given data.
🎛️ Control Unit (CU)
Control Unit acts as a supervisor as it controls and guides the interpretation, flow and manipulation of data and information. Another important function of CU is program execution.
Memory Unit — classification tree
The memory unit holds the data and instructions during the processing.
| Primary Memory | Secondary Memory | |
|---|---|---|
| RAM ├ Dynamic (DRAM) └ Static (SRAM) | ROM ├ PROM ├ EPROM └ EEPROM | Hard disk · CD · DVD · Flash · Blue-ray disk |
Primary Memory is the main memory of the computer that holds data and instructions during processing. It can be divided into two parts: RAM and ROM.
🟦 Random Access Memory (RAM)
- It is volatile in nature — the contents of RAM get erased when the power is switched off.
- In RAM, Read/Write operations can be performed.
- RAM holds information of the currently opened applications.
- Normally PCs have around 8–32 GB RAM.
🟥 Read Only Memory (ROM)
- It is non-volatile in nature — the contents remain as such even when the power is switched off.
- In ROM, only Read operation can be performed.
- ROM holds instructions to load the Operating System. ROM holds instructions essential for the basic input/output system (BIOS), boot up.
RAM is of two types:
Dynamic RAM (DRAM)
- Consists of a transistor and capacitor that store binary information.
- It is used in main memory.
- Inexpensive.
- Uses less power.
Static RAM (SRAM)
- Consists of flip-flops that store binary information.
- It is used in cache memory.
- Expensive.
- Consumes more power than DRAM.
Types of ROM:
Programmable read-only memory (PROM), or one-time programmable ROM (OTP), can be written or programmed via a special device called a PROM programmer. Once the chip has been programmed, the recorded information cannot be changed.
Erasable programmable read-only memory (EPROM) can be erased by exposure to strong ultraviolet light (typically for 10 minutes or longer) and can be reprogrammed to record different information using a special PROM program facility.
Electrically Erasable programmable read-only memory (EEPROM) is a type of ROM that can be programmed and erased by electrical signals. One of the new applications is the use of EEPROM as a backup to RAM memory whose contents are lost in a power failure. When power is returned, EEPROM memory can be used to replace the lost contents of the RAM memory and continue to work.
🧠 Points to remember: More the RAM, more will be the space for the programs leading to faster execution.
Cache Memory & Secondary Storage
Cache memory: Cache memory is a high-speed memory that acts as a buffer between RAM and the CPU. It holds frequently requested data and instructions so that they are immediately available to the CPU when needed. Cache memory is used to reduce the average time to access data from the main memory.
Secondary storage: A secondary storage device is non-volatile in nature — the contents remain as such even when the power is switched off. It is permanent memory that stores data which can be retrieved for future use.
Hard disk stores information on one or more circular platters (disks) coated with magnetic material. The disks are stacked with space between them. Information is recorded on the surface of rotating disks by a magnetic head as tiny magnetic spots. Storage capacity is measured in gigabytes to terabytes.
The Compact Disc is an optical media, in which the information is stored and retrieved with the help of light. Storage capacity is up to 700 MB of data.
DVD is an optical storage device and can hold 4.7 GB (single layer, single-sided) up to 17 GB (dual layer, double-sided) of data. It is otherwise called Super Density Disc.
A pen drive is a portable storage device with solid-state memory, i.e. it has no moving parts unlike magnetic/optical media. It can be accessed by inserting it in the USB (Universal Serial Bus) port. Storage capacity goes up to 128 GB and beyond.
A Solid-State Drive (SSD) is a new generation storage device used in place of hard disks. There are no moving parts present in the SSD and it keeps the data safe.
Advantages: The SSD is lighter than a HDD and is resistant to shock and temperature changes · SSD produces less noise/heat because it uses computer chips and not moving parts · A solid-state drive consumes less power when compared to an HDD.
It is an optical storage device that stores huge amounts of data/high-definition video. The read/write operation is performed with a blue-violet laser. The storage capacity goes up to 128 GB of data.
Advantage of BD over CD/DVD: The BD uses a blue-violet laser (405 nm) that has a shorter wavelength compared to the red laser (650 nm) used in CD/DVD. Hence in BD it is possible to focus the laser spot with even greater precision, and it allows data to be packed more tightly in less space.
Memory Capacity — units of storage
Every bit of information in a computer is stored in terms of Bits (Binary Digits), i.e. 0s and 1s.
| Relation | Equals |
|---|---|
| 1 nibble | = 4 bits |
| 1 byte | = 8 bits |
| 1024 bytes | = 1 Kilobyte (KB) |
| 1024 KB | = 1 Megabyte (MB) |
| 1024 MB | = 1 Gigabyte (GB) |
| 1024 GB | = 1 Terabyte (TB) |
| 1024 TB | = 1 Petabyte (PB) |
| 1024 PB | = 1 Exabyte (EB) |
| 1024 EB | = 1 Zettabyte (ZB) |
| 1024 ZB | = 1 Yottabyte (YB) |
Motherboard, System Bus, PSU & other devices
This is the main circuit board which holds together various components like CPU, memory, connectors for the hard drive and optical drives, expansion cards to control the video and audio, and connections in the form of various ports (such as USB ports). It provides connection to every component of the computer.
System bus is an electronic pathway of connecting cables that transmits data and instructions to the major components of a computer system.
Power Supply Unit converts alternate current power supply received by homes or offices to the low voltage direct current required by the machine.
It is an input device that captures data in the form of video/image.
📐 Plotter
A plotter is a large printer-like device that is used to take print of large maps and architectural designs. A plotter produces output size that varies from 11 to 42 inches.
📽️ Projector
A projector is an output device that displays an enlarged view of the output on a large screen.
Software · System Software · Operating System
The recorded instruction/program present inside the computer is called Software. Types of software: (a) System Software (b) Application Software.
a. System Software — The software that controls/coordinates internal computer operations (reading data from input devices, transmitting processed information to the output devices, checking system components, converting data/instructions to computer readable form) is called System Software. It can be classified into: Operating System, Language Processor, Device Driver and Utilities.
Operating System (OS): It acts as an interface between the user and the computer and plays a major role in program execution.
Manages the communication needs of the system with the peripheral devices or the internet using special programs called drivers, which enable recognition of these devices and their properties.
The operating system handles the allocation of resources (memory, CPU time, files, secondary storage, input/output devices etc.) to the various processes to get an optimum performance from the system.
A process is a program currently getting executed in the memory or waiting for the CPU. The OS controls and manages multiple processes being executed in the computer.
The memory management component allocates Random Access Memory to the processes in a dynamic manner, that is, allocated on demand and released when not needed.
Operating system takes care of all the files and folders (directories) maintained on the computer disk. All the files stored in a computer system can be located through the file system.
Two main types of file system are:
FAT — File Allocation Table
Various FAT systems are named based on the number of bits used to store the data of FAT. For example: FAT16 uses 16 bits to store data, FAT32 uses 32 bits.
NTFS — New Technology File System
The file system used by modern Windows systems; supports large volumes, security permissions and journaling.
Types of Operating System — operating systems can be classified in different ways, depending on various parameters:
A single-task OS allows execution of only a single program at any given instant. A multi-tasking OS can execute more than one program simultaneously; the processor time, in this case, is divided amongst various processes.
Single-user operating systems allow only one user to use the system. Desktop systems can be classified as typical single-user systems. Multi-user operating systems allow many users to access the system by maintaining an account of all the registered users.
They are intended for applications where data needs to be processed quickly, without any significant delays. For example, an anti-aircraft missile system must fire as soon as it receives a signal from the enemy aircraft.
In a batch processing system, similar jobs are clubbed together and submitted as a block to the processor for execution. User intervention is minimal in such systems. The jobs are picked up one by one and executed.
Language Processors, Device Drivers, Utilities & Application Software
Language Processor — it is a system software that translates the source code into an object code and vice-versa.
- A Source Code refers to the program-code written in a high-level programming language (English-like words) such as C, Java, C++.
- An Object Code is a code in machine language (0’s and 1’s) that can be understood by the computer.
Language processor can be of three types:
🔤 Assembler
Assembler converts a program written in Assembly Language (codes and mnemonics) to Machine Language and vice-versa.
🛠️ Compiler
Compiler translates and executes a program written in High Level Language to Machine Language at once, in one go and vice-versa.
▶️ Interpreter
Interpreter translates and executes a program written in High Level Language to Machine Language line by line, unit by unit and vice-versa.
Device Driver — Device drivers are programs that store instructions to drive and use different hardware devices.
Utilities — Utilities are the programs that assist the computer by performing housekeeping functions and thereby ensure the smooth functioning of the computer. Some of the common utilities include:
These tools help to manage data on disks for increased performance. It includes:
• Disk defragmenter – arranges files in contiguous memory locations and free space is consolidated to one contiguous block. It speeds up disk access and consolidates free space.
• Disk Cleanup – removes unwanted temporary files from the computer. It increases disk space and speed.
• Backup utility – helps to duplicate the disk information that can be used in case of data damage/loss.
It is used to compress large data files so that they take up less storage space. When needed, these compressed files can be exploded (extracted) back to the original form. Eg: WinRAR, PeaZip.
It scans the computer system for viruses (malicious program that disrupts normal functioning of the computer) and removes them. Eg: Kaspersky Antivirus.
b. Application Software — Application Software is software that performs a specific task. Eg: MS-Word, MS-Excel.
Troubleshooting — meaning and common steps
Troubleshooting is a systematic approach to identify and solve hardware and software issues in a computer system.
Common troubleshooting steps: The system boots and all the peripheral devices get successfully detected when you turn on the computer. If any connected device (such as monitor, keyboard, mouse and printer) does not switch on, try the following:
- Check the cable/Power supply of the specific computer hardware which is not working. For instance, check if the wireless devices are turned on and the batteries are charged. A laptop’s battery may not be charged — plug the AC adapter into the electric socket, wait a few minutes, and then try to turn on the laptop.
- Use Help by pressing the F1 key (if available). This window helps to find a solution to the problem.
- Record Error Messages for future reference (if displayed).
- Restart the computer/peripheral device — shut down the computer and start it again.
Troubleshooting Hardware Problems:
• The system is in Sleep mode — click the mouse or press any key on the keyboard to wake it up.
• Check connection/power supply.
• Check connection of the mouse to the computer.
• Check for any damage (mouse/cable) – get it repaired or replaced.
• Clean the mouse.
• Check batteries in case of a wireless mouse.
• Check connection of the keyboard to the computer.
• Check for any damage – get it repaired or replaced.
• Clean the keyboard if the keys are stuck.
• Check batteries in case of a wireless keyboard.
• Check the cable connection.
• Check the volume level of the speakers. Click the Audio button in the Task Bar to make sure the sound is turned on and that the volume is up.
• Check audio player controls – many audio and video players have their own separate audio controls. Ensure that the sound is turned on and that the volume is set large enough to be heard.
Printer not responding:
• Printer is not connected properly or not switched on — Wired connection: check the cable connected to the printer; Wireless connection: check if the IP address configured on your computer matches the Dynamic IP address allocated to the printer.
• Printer is out of paper.
• Printer paper jam (paper is caught in the printer).
• Ink cartridge of the printer is empty.
• Update/Install printer driver.
When the computer becomes totally unresponsive — force a system restart. Press and hold the power button for 5–10 seconds to force the computer to shut down. Now switch on the computer again.
• Check for network connectivity.
• The Network card / Fly lead is not working properly.
• Run Windows Network Diagnostics – a troubleshooting application to diagnose and repair network problems (option available in Control Panel → Network and Sharing Centre).
“Write steps to perform the following task” — full list
• Open the Disk Cleanup app: Search → Disk Clean up
• Select the files to be deleted. Press OK.
• Open Network Sharing Center: Start button → Control Panel → Network and Sharing Centre
• The red cross (if found) between the USER-PC and Internet shows that the computer is not connected to the Internet.
• If not connected, the user can choose the required network and select connect.
• Open Command Prompt (type cmd in search).
• Type ping 127.0.0.1 and press Enter. If you get a reply, the network card is working.
• Open Command Prompt.
• Type IPCONFIG and press Enter. The result displays the Connection-specific IP Address if the system is connected to the internet, else Media State: Media disconnected.
The fly lead is the cable that connects the network card in your computer to a network point (usually on the wall). Check the cable if it is faulty or damaged by replacing it with a working cable.
• Open Network Sharing Center: Start → Control Panel → Network and Sharing Centre.
• Select Connect to a network option to view the available connections. Or click on the network icon on the Task bar to view available network connections.
• Open Printers & Scanners: Start → Control Panel → Printers & Scanners. It displays all the available printers.
• Choose the required printer to view the IP address.
• Click Start → All programs → Startups. It displays all the startup programs.
• Disable applications that are not required.
• Open Network Sharing Center: Start → Control Panel → Network and Sharing Centre.
• On the bottom-left corner of this screen, click the link Internet Options. This opens the Internet Properties dialog box.
• Select the General tab. Under Browsing History, check the Delete browsing history on exit checkbox, and then click the Delete button. This deletes the browsing history. Click OK to exit.
Reduce the printing quality by using Fast Draft / Fast Printing.
Short Answer Questions (Troubleshooting & Utilities)
How do we remove temporary files?
Answer – To delete temporary files from the computer do the following –
Step 1: Click on Search
Step 2: Write %temp% and press enter
Step 3: Delete all files and folders
What could be the possible cause for all the applications to be running slow?
Answer – The possible causes for all the applications running slow are –
a. Viruses are affected in the computer
b. Free space on the hard drive – there should be at least 200–500 MB of free hard drive space on your system. Non-availability of free space slows the functioning of the computer.
c. Run a Disk Cleanup application
d. Delete unused files and programs
e. Empty your recycle bin
f. Remove temporary files
Describe the procedure to check whether the network card is working properly.
Answer – A working network card lights must be flashing or lit up. If there are no lights, it indicates either the network card is broken or there is no network to connect to. A broken network card needs repair or replacement.
How can we achieve disk defragmentation?
Answer –
• Open the Windows Explorer application and click on My Computer.
• Highlight the C drive and right click to get a pop-up menu.
• Select the Properties option from this popup menu.
• The dialog box showing the properties of the local disk (C:) is displayed.
What steps do you need to take to change the default printer?
Answer – To change the default printer, open the Devices and Printers dialog box. Choose the required printer and set it as the default printer.
What could be the reasons for the print jobs being sent to the wrong printer?
Answer – When there are multiple printers on a network, a possible problem could be that a print job is being sent to the wrong printer. This is because your system has set the default printer as Printer A, but you had wanted the print job to go to Printer B. You could either change the default printer to Printer B or choose Printer B for the current job.
Networking & Internet — Networks, Media, Devices, Types
ARPANET to NSFNET, the communication model, simplex/half-duplex/full-duplex, guided and unguided media, all seven network devices, and PAN → LAN → MAN → WAN.
Terms & the meaning of a Computer Network
ARPANET (Advanced Research Projects Agency Network) – the US Department of Defense (DoD) developed ARPANET in 1969 to connect geographically separated research computers together to form a network.
NSFNET (National Science Foundation Network) was developed in 1984 by NSF, U.S. for research and education purposes.
Internet Engineering Task Force.
Internet Corporation for Assigned Names and Numbers.
Internet Service Providers — they provide Internet connectivity for a fee.
A collection of interconnected nodes which communicate by means of some channel form a computer network.
One-way Communication System
A simple one-way communication system comprises of the following components:
The node that is responsible for sending the data.
The node that is responsible for receiving the data.
Message is the information or meaningful data that is being communicated in a structured form.
Channel is the communication medium through which the message is transmitted.
Three categories of communication in a computer network
➡️ Simplex mode
In simplex mode, information can be transferred only in one direction. This mode is termed unidirectional.
Eg: a household microwave oven, broadcast radio/TV transmission — data flows only one way.
🔁 Half-duplex mode
Half-duplex mode is a bidirectional communication between the two nodes in which only one node can transmit data at a time.
Eg: Walkie-talkie.
⇄ Full-duplex mode
Full-duplex mode is a bidirectional communication between the two nodes in which both the nodes can send and receive data at the same time.
Eg: NIC (Network Interface Card) on the systems for networking supports full-duplex mode.
🧪 Quick trick: Simplex = one lane, one direction (📻) · Half-duplex = one-lane bridge, alternate (📟) · Full-duplex = two-way road with a divider (📞).
Uses of Computer Networks
🖨️ 1. Resource Sharing
Connecting computers through networking allows us to share hardware and software resources.
Examples of hardware resources: peripherals (for example, printers and scanners), CPU, and memory.
Examples of software resources: system and application software, and files that may include text, audio, and video content.
💬 2. Communication
Connecting computers through a network facilitates exchange of information amongst the nodes in the network.
Example: sending & receiving messages, mails, accessing information etc.
Transmission Medium
A transmission medium refers to the channel of transmission through which data can be transmitted from one node to another in the form of a signal. A signal encodes the data in a form suitable for transmission on the medium.
Common methods of Internet access by users include dial-up with a computer modem via telephone circuits, broadband over coaxial cable, fiber optics or copper wires, Wi-Fi, satellite, and cellular telephone technology (e.g. 3G, 4G).
🧵 1. Guided Medium
It refers to physical conductors such as twisted pairs, coaxial cable, and fiber optics. In twisted pair and coaxial cable, the signal travels as a voltage and current signal, whereas in optical fibre the signal is in the form of light.
📶 2. Unguided Medium
It does not require a physical conductor and it uses electro-magnetic waves. Examples of unguided medium include microwave, radio wave and infrared.
Network Devices
There are various network devices, each of which plays a specific role in the network.
A repeater is a network device which is used to restore (reshape and amplify) the input signal to its original form so that it can travel a larger distance. It is also known as a digital generator. It is placed between two cable segments.
A hub is a central connection networking device that connects single nodes to form a network. It transmits data in the form of binary bits to all the other nodes in the network.
A switch is a central connection networking device that connects single node/segments of LAN to form a network. It transmits data in the form of frames only to the destination node in the network.
Similarity between Hub and Switch: all the nodes connected through a hub/switch form only one LAN.
The word "modem" stands for modulator-demodulator. A modem is used to send digital data over the phone line. It is an electronic device that converts Digital to analog signals (Modulation by the sending modem) and analog to Digital signals (Demodulation by the receiving modem) to transmit information over the network.
A bridge is a multiport device used for connecting two or more local area networks (LAN), possibly operating at different speeds. Thus, a bridge may be used to produce a bigger LAN by combining smaller LANs.
Routers are used for connecting various networks (LAN or WAN) with each other. A router maintains a routing table of various networks. It transmits data in the form of packets from an incoming network to the destination address in another network.
A gateway connects networks based on different protocol technologies to communicate with each other. Data coming from one network operating on one protocol is converted according to the protocol of the outgoing network, and then forwarded. A gateway is like a router equipped with software for protocol conversion.
| Device | Data unit it handles | Key point |
|---|---|---|
| Hub | Binary bits | Broadcasts to every node |
| Switch | Frames | Sends only to the destination node |
| Router | Packets | Connects different networks; uses a routing table |
| Gateway | Packets + protocol conversion | Router + protocol conversion software |
| Bridge | Frames | Joins two or more LANs (may differ in speed) |
| Repeater | Raw signal | Reshapes & amplifies; extends distance |
| Modem | Analog ↔ Digital | Modulation / Demodulation over phone line |
Types of Network (on the basis of geographical span)
| Network | What it connects | Span | Ownership / management | Example |
|---|---|---|---|---|
| PAN Personal Area Network | Devices within an individual person's workspace | Radius up to 10 m | Generally managed and controlled by an individual | A network of devices such as Computer, Phone, MP3/MP4 Player, Camera, etc. |
| LAN Local Area Network | Devices within an organization or campus | Radius up to 1 km | Generally owned and managed by an individual or organization | School/office computer lab network |
| MAN Metropolitan Area Network | Devices / segments of LAN within a city | Radius up to 50 km | May be owned by a single organization or by many individuals or organizations | Cable television network |
| WAN Wide Area Network | Computers across countries and continents; connects various LANs and MANs | Typically spans a segment of about 1000 km | May be owned and managed by several organizations | Internet |
A Personal Area Network is a computer network that connects devices within an individual person's workspace. It is generally managed and controlled by an individual. PAN generally spans across a radius up to 10 metres.
A Local Area Network is a computer network that connects devices within an organization or campus. It is generally owned and managed by an individual or organization. LAN generally spans across a radius up to 1 km.
A Metropolitan Area Network is a computer network that connects devices/segments of LAN within a city. It may be owned by a single organization or by many individuals or organizations. MAN generally spans across a radius up to 50 km.
A Wide Area Network connects computers across countries and continents. Typically a WAN spans a segment of about 1000 km. They are used for long distance communication and are well suited for connecting remote areas. A WAN may be owned and managed by several organizations. It connects various local and metropolitan area networks.
📏 Radius memory rhyme: 10 metres for your gadgets, 1 km for your campus, 50 km for your city, 1000 km for your world.
Network Topologies
The geometric arrangement of nodes — Bus, Star, Ring, Tree and Mesh — with the exact advantages and the “Limitation” lines the exam asks for.
Topology & Bus Topology
Topology: The geometric arrangement (also called layout) of nodes in a network is called network topology.
Bus topology: In bus topology, there is a long cable, called a backbone cable (or simply backbone), that connects various nodes through a connector called a tap. In bus topology, a message sent by one is received by all devices connected to the backbone cable. This topology requires less cabling and is easy to install and extend the network laid using it. A terminator is a device that is used at the end of the backbone cable to absorb signals to avoid signal reflection.
✅ Advantages
- Requires less cabling.
- Easy to install and to extend.
⛔ Limitation
- Backbone cable failure leads to disruption of the entire network.
- Fault detection and isolation is difficult.
Star Topology
In star topology, all the devices are connected to the central controller called hub/switch through which the communication takes place.
- If a hub is used, the messages are relayed to all the nodes in the network.
- If a switch is used, the messages are sent only to the destination node.
A star network can be easily installed and configured. Fault detection and isolation is easy.
✅ Advantages
- Easy to install and configure.
- Fault detection and isolation is easy.
⛔ Limitations
- It requires more cabling as compared to bus and ring topology.
- Hub/Switch failure will lead to network failure.
Ring Topology
In ring topology, all the devices are attached through a cable in the form of a ring. The message to be communicated is transmitted in one direction, thereby relaying the message to the intended recipient. Addition/deletion of devices, fault detection and isolation is easy.
✅ Advantages
- Addition/deletion of devices is easy.
- Fault detection and isolation is easy.
⛔ Limitation
- Single point failure leads to disruption of the entire network.
Tree Topology
Tree topology is a hybrid topology using a combination of star and bus topology. The backbone cable of a bus topology acts like the stem of the tree, and individual nodes/star networks are connected to the main backbone cable like the branches of a tree. Damage to a segment of a network laid using tree topology will not affect other segments.
✅ Advantage
- Damage to one segment of the network does not affect the other segments.
⛔ Limitations
- Installation and configuration are difficult as compared to other topologies.
- Also, if the backbone cable is damaged, the entire network communication is disrupted.
Mesh Topology
In mesh topology, every node is connected to every other node in the network. Because of the dedicated point-to-point connection between every possible pair of nodes, the topology provides secure data transfer without any traffic problem.
✅ Advantages
- Dedicated point-to-point links between every pair of nodes.
- Secure data transfer without any traffic problem.
⛔ Limitation
- It requires a large number of connections to be established in the topology. This leads to difficulty in installation as the number of nodes increases.
🧮 Useful for numericals: for n nodes, a full mesh needs n(n−1)/2 direct links and n(n−1) ports. So 5 nodes → 10 links, 6 nodes → 15 links.
All five topologies side by side
| Topology | How it is laid out | Strength | Limitation |
|---|---|---|---|
| Bus | One long backbone cable; nodes join through taps; terminator at each end absorbs signals | Less cabling; easy to install & extend | Backbone failure kills the whole network; fault detection/isolation difficult |
| Star | All devices connect to a central hub/switch | Easy install & configure; easy fault detection and isolation | More cabling than bus/ring; hub or switch failure = network failure |
| Ring | Devices joined in a closed ring; message travels one direction and is relayed | Add/delete devices and fault detection easy | Single point failure disrupts the entire network |
| Tree | Hybrid of star + bus; backbone = stem, star networks = branches | Damage to one segment doesn't affect other segments | Difficult installation/configuration; backbone damage disrupts everything |
| Mesh | Every node connected to every other node | Secure dedicated point-to-point transfer, no traffic problem | Huge number of connections; installation gets harder as nodes increase |
Addressing, Domain Names, Web Terms, Internet Services & Cyber Safety
MAC vs IP addresses, blocking a PC, ipconfig/all, domain names and DNS resolution, protocols and the World Wide Web, e-mail/FTP/Telnet, malware in every flavour, cyber crime, security tools and the full list of protective measures.
To identify computers and users over the network
It is possible to identify computers and users over the network using MAC and IP address.
A MAC (Media Access Control) address or Physical address is a unique 12-digit hexadecimal number assigned to each NIC by the manufacturer. The MAC address of an NIC is permanent and does not change.
By convention, MAC addresses are usually written in one of the following two formats:
MM:MM:MM:SS:SS:SS OR MM-MM-MM-SS-SS-SS
The first half (MM:MM:MM) of a MAC address contains the ID number of the adapter (NIC) manufacturer. The second half (SS:SS:SS) of a MAC address represents the serial number assigned to the adapter (NIC) by its manufacturer.
Eg: 00:A0:C9:14:C8:35 — 00:A0:C9 = ID number of the NIC manufacturer · 14:C8:35 = serial number assigned to the NIC by its manufacturer.
An IP address is a group of four bytes (or 32 bits) number, each of which can be a number from 0 to 255.
Eg: 59.177.134.72
IP addresses are normally expressed in decimal format as a "dotted decimal number". IP protocol identifies a machine with its IP address to route the packets in a network. The IP address assigned to the PC may change when it connects to the network next time.
IP address vs MAC address · blocking a PC · finding your addresses
| IP address | MAC address |
|---|---|
| IP address is a unique 4 bytes (32 bit) number assigned to each node on a network. | A MAC (Media Access Control) address is a unique 12-digit hexadecimal number assigned to each NIC by the manufacturer. |
| IP address is assigned by the network administrator or ISP and can be changed by the user. | MAC address is assigned by the manufacturer. |
| With an IP address, it is possible to track the tentative location of the computer. | With a MAC address, it is not possible to identify the location of the computer. |
| IP address gets changed if a computer is transferred from one network to another. | MAC address remains the same irrespective of the network or the location. |
🚫 Which address is used to block a specific PC from a network?
MAC address is used to block a specific PC from the network permanently. IP address, if used, blocks the PC from the network temporarily, as the address may change when it connects to the network next time.
💻 Command to display IP & MAC address
Type ipconfig/all in the command prompt to locate the IP & MAC address of the node.
Domain names, DNS and Domain Name Resolution
Domain names are human readable names associated with a resource on the internet. Eg: cbse.nic.in, khoj.com
Here cbse.nic represents the address or the domain name. The last three characters represent the domain indicator. The domain indicator gives information about the type of organization it belongs to, or indicates the country name where it is located.
🏷️ Generic Domain Name indicators
- com – commercial business
- edu – Educational institutions
- gov – Government agencies
- mil – Military
- net – Network organizations
- org – Organizations (non-profit)
🌍 Country Specific Domain Name indicators
- in – India
- au – Australia
- ca – Canada
- ch – China
- nz – New Zealand
- pk – Pakistan
- jp – Japan
- us – United States of America
DNS — Domain Name System: DNS maintains a database of domain names and their corresponding IP addresses.
Domain Name Resolution: Domain Name Resolution is the process of getting the corresponding IP address from a domain name. It happens as follows: suppose you mention a URL in the web-browser to visit a website. The browser retrieves the IP address of the corresponding Domain Name (embedded in the URL). Then, with the help of this address, the corresponding server is contacted and then the website opens in your browser.
Protocol, URL and Web terminology · Digital Literacy
A network protocol defines the rules and conventions of communication that must be followed when two devices interact with each other. It specifies what should be communicated, and how and when communication should take place.
Each resource on the internet has a unique address called URL (Uniform Resource Locator). URL is the address (location) of a website on a net server. e.g., http://www.microsoft.com
It is a collection of interrelated web pages hosted in a web server.
It is an electronic document that contains any type of information such as text, image, video, or sound in Web.
A software/program that helps us to navigate/view web pages.
A web server is a server that stores web documents and responds mainly to HTTP requests made by a web browser.
Digital literacy refers to raising knowledge and awareness about technology such as desktop computers, smartphones, tablets, and other electronic gadgets. It also includes familiarity with software tools and the internet.
Internet Services — E-mail, FTP, Telnet, Internet vs WWW
Electronic mail or E-mail is a facility that allows users to send and receive messages across the Internet in a fast and secure manner. It allows us to attach files of other formats along with textual content.
To use the email facility, an email account is created with one of the mail servers (gmail, Yahoo mail, hotmail). Mail servers are computers that are dedicated to process and direct email.
E-mail addresses commonly take the form: username@hostname — an email address has two parts separated by the '@' ("at") symbol:
(i) Username – on the left side of the @ separator is the user name. A user name cannot have blanks.
(ii) Domain name – the portion to the right of @ indicates the host server / email service provider.
Eg. [email protected]
Email users: a sender is a person who sends the e-mail message and a receiver/recipient is a person who receives the message.
File Transfer Protocol is based on client-server architecture. Using FTP, local hosts (clients) can download or upload files to and from remote hosts (server).
Telnet stands for terminal network. It is a client-server-based application that allows the user working on one system to login and access a remote system.
Internet is a collection of computers or networking devices connected with the TCP/IP protocol. The World Wide Web is a collection of interlinked hypertext documents on the Internet using HTTP – Hypertext Transfer Protocol.
The TCP/IP (Transmission Control Protocol/Internet Protocol) is the glue which holds the Internet and WWW (collection of servers where information is stored) together.
Cyber Threats — Security Concerns
Malware: The term malware refers to malicious software (programs) designed with the intention to affect the normal functionality of the system either by causing damage, getting unauthorized access, or denying access to legitimate users of computing resources. A malware may be a virus, worm or Trojan horse.
🦠 Virus
A virus is a software code that may harm your system by overwriting or corrupting the system files. It affects system programs, files or the boot sector of hard drives.
🪱 Worm
A worm is a malware often received via network, and it automatically keeps on creating several copies of itself on the hard disk thereby flooding the hard disk.
🐴 Trojan Horse
A Trojan horse is a code that appears to be desirable and useful but ends up harming the system. A Trojan horse can attach itself with a safe application. Such an application, when executed, creates a backdoor in the system through which a hacker can access the system.
👂 Eavesdropping
Eavesdropping refers to unauthorized monitoring of other people’s communication.
🚧 Denial of Service (DoS)
A denial-of-service (DoS) is a form of cyberattack that prevents legitimate users from accessing a computer or network.
🎣 Phishing
Phishing refers to the fraudulent process of attempting to acquire sensitive information such as username, password, credit card details etc. In phishing, an imposter uses an authentic looking email or website to trick recipients into giving out sensitive personal information.
⚖️ Cyber crime
Cybercrimes are the crimes related to the misuse of computers or the internet such as theft, fraud, forgery. The IT Act defines cybercrime as an unlawful act wherein the computer is either a tool or a target or both. Cyber laws are the laws for systematic use of e-resources, for example e-business, and serve as a measure against illegal cyber-crime.
💻 Hacking
Hacking may be described as having unauthorized access to someone’s computer or computer network for stealing resources such as passwords or confidential files, or causing harm to the network or system.
📩 Spam
Spams are the unwanted electronic mails, generally sent in bulk over the internet to recipients.
👥 Social network
A social network refers to the network of people interacting and sharing information such as their views, photographs, videos, and any other information.
Network Security Tools & Services · Cyber Law
TCP/IP protocols may be secured with cryptographic methods and security protocols like Secure Sockets Layer (SSL).
A firewall is a network security system that prevents unauthorized access to a network. In other words, it monitors and controls incoming and outgoing network traffic based on predetermined security rules.
Anti-virus is software that aims to protect your system against malicious and potentially unwanted programs. It scans the system to detect malicious programs, and removes or disables the program based on the settings.
A password manager is a software application that helps a user to store and organize passwords. Password managers usually store passwords encrypted, requiring the user to create a master password which grants the user access to their entire password database from top to bottom.
Cyber laws are the laws for systematic use of e-resources and serve as a measure against illegal cyber-crime. Various cyber laws have also been enacted to prevent cyber-crimes and take action against those involved in such crimes. These laws define the action that would be taken against people committing the offences. For cyber security, IT Act 2000 and the Information Technology Amendment Act, 2008 define offences and penalties for cyber-crime.
Protective measures while accessing the Internet
- Never click on a suspicious link specified on a web page or sent through a mail.
- Make sure that passwords are strong and are changed frequently.
- Never disclose personal information, account details, passwords, credit and debit card details in a network.
- Report phishing issues to the concerned authorities or at
cybercrime.gov.in. In case of unsolicited mails, mark them as spam mails. - Ensure the security of the online transactions web site with the protocol being used. Secure Hypertext Transfer Protocol (HTTPS) is a secure version indicated with a padlock on the left side of the address bar.
- Ensure that the browser being used for accessing the web is updated and is secure.
- Be selective while making friends on social networking sites.
- Do not post any offensive content on a social networking site as it may lead to a criminal action against you.
- Beware before spreading any kind of a rumour as it may be treated as a cyber-crime.
- If someone is harassing or threatening you, take a snapshot of it as a proof and block the person. Also, report the incident to the site administrator.
- Use updated antivirus and firewall.
- Make sure that the website address is properly spelled, because there may be two websites with almost the same name, one being a phishing website.
- Delete cookies periodically.
DBMS & MySQL — Commands in Full
Introduction and characteristics of MySQL, database and table commands, every constraint, INSERT, ALTER, the complete SELECT toolkit (DISTINCT, aliases, WHERE, BETWEEN, IN, LIKE, NULL, precedence), plus UPDATE and DELETE — with all syntax and examples.
Introduction to MySQL & its characteristics
💡 MySQL is a relational database management system (RDBMS).
Characteristics of MySQL:
- MySQL is released under an open-source license so it is customizable.
- It requires no cost or payment for its usage.
- MySQL has superior speed, is easy to use and is reliable.
- MySQL uses a standard form of the well-known ANSI-SQL standards.
- MySQL is a platform independent application which works on many operating systems like Windows, UNIX, LINUX etc. and has compatibility with many languages including JAVA, C++, PHP, PERL, etc.
- MySQL is an easy to install RDBMS and is capable of handling large data sets.
| Category | Data type | Used to store |
|---|---|---|
| Numeric | INT / INTEGER | Whole numbers, e.g. sno int(2) |
| SMALLINT, BIGINT | Smaller / very large whole numbers | |
| FLOAT, DECIMAL(m,d) | Fractional numbers; DECIMAL keeps fixed precision (money) | |
| BOOLEAN | TRUE / FALSE (stored as 1 / 0) | |
| String / Character | CHAR(n) | Fixed-length text — always occupies n characters |
| VARCHAR(n) | Variable-length text up to n characters, e.g. name varchar(10) | |
| TEXT | Long character data such as paragraphs or comments | |
| Date & Time | DATE | ‘YYYY-MM-DD’, e.g. dob date → ‘1988-11-01’ |
| DATETIME | Date together with time | |
| TIMESTAMP / YEAR | Automatic time stamp / year value |
📄 The original page carried this list as an image table; the entries above are the standard MySQL data types your notes refer to, so nothing needed for the exam is missing.
Database commands — CREATE · USE · SHOW · DROP
Create Database command creates a database, which acts as a container of tables.
CREATE DATABASE [IF NOT EXISTS] <database name>; -- Example CREATE DATABASE IF NOT EXISTS student;
The IF NOT EXISTS clause, if used, will first test whether a database by the mentioned name already exists or not. If it does, then the create database command is simply ignored, otherwise a database with the mentioned name is created.
The USE statement is used to select/open an already existing database on which the operations can be performed.
USE <database name>; -- Example USE student;
The SHOW DATABASES command displays the names of existing databases. To display specific databases, use the LIKE clause.
SHOW DATABASES; SHOW DATABASES LIKE <database name>; -- Example SHOW DATABASES LIKE ‘student’;
DROP DATABASE is used to drop an existing database. It removes the database along with its contents.
DROP DATABASE <database name>; -- Example DROP DATABASE student;
Tables — CREATE, constraints, DESCRIBE, SHOW TABLES, DROP
Creating Tables: ‘CREATE TABLE’ command is used to create a table. It defines the structure of the table that includes — field names, data type, size and constraint as per the requirements.
CREATE TABLE <table name> ( <column name> datatype [(<size>)], <column name> datatype [(<size>)], … ); -- To create a student table with schema student (sno, name, dob) CREATE TABLE student(sno int(2), name varchar(10), dob date);
⚠️ It is necessary to create a database or open an already existing database before issuing the CREATE TABLE command.
Constraints: Constraints are conditions that are applied to a column or a set of columns in a table. Constraints maintain data integrity and are also known as integrity constraints.
| Constraint | Description |
|---|---|
| NOT NULL | It ensures that a column cannot have NULL values, where NULL means missing / unknown / not applicable value. |
| UNIQUE | It ensures that all the values in a column are distinct / unique. |
| PRIMARY KEY | It ensures that the column contains unique values and cannot be NULL. Primary key constraint can be applied just once in a table. |
| FOREIGN KEY | It is used to set relationship between two tables. |
| DEFAULT | It provides a default value for the given column if no value is provided. |
| CHECK | It ensures that the value inserted for the defined column satisfies the given condition. |
DESCRIBE Table command allows the user to view the structure of an already created table.
DESCRIBE <tablename>; -- Example DESCRIBE student; Or DESC student;
Show tables command displays all the tables of the current database.
SHOW TABLES;This statement is used to drop an existing table. When you use this statement, complete information present in the table will be lost.
DROP TABLE <table name>; -- Example DROP TABLE student;
Inserting Data in Tables
INSERT INTO command is used to insert new records into the table.
The following syntax allows you to insert a new record with values on selected columns.
INSERT INTO <table name> [(<column list>)] VALUES (<value1>, <value2>, ……, <valuen>); -- Schema: student (sno, name, address, phone, email) INSERT INTO student(sno, name, phone) VALUES (1,’Arun’,7864532);
The following syntax allows you to insert a new record with values on all the columns.
INSERT INTO <table name> VALUES (<value1>, <value2>, …, <valuen>); -- Schema: student (sno, name, address, phone, email) INSERT INTO student VALUES (1,’Arun’, ‘P.BOX.NO.14, POSTAL CODE-516, Ibri’, 7864532, ’[email protected]’);
To insert NULL in a specific column, the word NULL can be inserted without quotes in the given column. NULL value indicates missing/unknown/not applicable value.
INSERT INTO student VALUES (1,’Arun’, ‘P.BOX.NO.14, POSTAL CODE-516, Ibri’, 7864532, NULL);
Date should be entered in the given format such as ‘YYYY-MM-DD’.
-- Schema: student (sno, name, address, phone, dob) INSERT INTO student VALUES (1,’Arun’, ‘P.BOX.NO.14, POSTAL CODE-516, Ibri’, 7864532, ’1988-11-01’);
Modify the structure of the table — ALTER TABLE
ALTER TABLE command alters the structure of the table. It allows the user to add / delete / modify columns or constraints of the table.
ALTER TABLE <table_name> ADD/DROP <column_name> [datatype]; ALTER TABLE <table> MODIFY <column> <new_definition>;
➕ Add a column
To add a column Games to the table Student:
ALTER TABLE Student ADD Games VARCHAR(20);
🔁 Change a column
To change the newly added Games column to hold integers (in place of character data):
ALTER TABLE Student MODIFY games INTEGER;
➖ Delete a column
To delete a column of a table the ALTER TABLE statement is used with the DROP clause:
ALTER TABLE Student DROP Games;
🧠 Add = new column · Modify = change definition/datatype · Drop = remove a column · (Rename = the CHANGE clause) — ALTER never touches the rows, only the structure.
The SELECT command — the complete toolkit
Select command is used to retrieve a subset of rows or columns from one or more tables. In other words, it is used to make queries on the database.
SELECT <column name> [,<column name>,…..] FROM <table name> WHERE <condition>; -- Example SELECT sno, sname FROM student;
In SELECT command, either a complete list of all the columns or “*” should be specified to display all the columns in a table.
-- Query to display all the columns of salesman table SELECT * FROM salesman; -- or SELECT salesman_id, name, city, commission FROM salesman;
In SELECT command, the column list of the required columns should be specified to display the required columns’ information.
-- Query to display name and commission of salesman table SELECT name, commission FROM salesman;
SELECT command retrieves information based on the order of the columns specified by the user.
SELECT city, name, commission, salesman_id FROM salesman;
The DISTINCT keyword eliminates duplicate rows from the result of a SELECT statement.
SELECT DISTINCT(commission) FROM salesman;
The ALL keyword retains duplicate rows from the result of a SELECT statement. By default, SELECT command retains duplicate rows even if ALL is not specified.
SELECT ALL(commission) FROM salesman;
SELECT statement can be used to perform calculations and display the output. It can be used without the FROM clause as the computed values have no reference to any table.
SELECT 5+6; -- Output: 11
MySQL provides a dummy small worktable called Dual, which has just one row and one column. It can be used for obtaining calculation results and system date.
SELECT 4*3 FROM dual; -- Output: 12
The current date can be obtained using the curdate() function with the SELECT command.
SELECT curdate(); -- Output: 2020-11-10
SQL allows performing simple numeric computations by placing scalar expressions and constants along with the selected fields.
SELECT name, commission*100 FROM salesman; -- Output columns: name | commission*100
In a select query, the columns can be given different headings (column alias name) with the as keyword for output purposes. The column alias name having more than one word or special characters should be enclosed in quotation marks.
SELECT <column name> as [column alias], <column name> as [column alias] FROM <tablename>; -- Example SELECT name as “salesman name”, city, commission*100 as com FROM salesman; -- Output headings: salesman name | city | com
In a select query, it is possible to insert text, enclosed within quotation marks, for output purposes. Text is inserted with the column names as per the requirement. The text makes the output more presentable, and it gets printed with every row of the output, not simply once for the table.
SELECT salesman_name, ’gets the commission’, comm.*100, ’%’ FROM salesman;
The WHERE clause — operators, BETWEEN, IN, LIKE, NULL
To select specific rows: The WHERE clause in the SELECT statement specifies the condition/criteria for selection of rows to be returned.
SELECT <column names> FROM <table name> WHERE <condition>; -- Schema: student(name, dob, aggregate) SELECT name, aggregate FROM student WHERE aggregate > 350;
🧮 Arithmetic operators
Used for calculations in an expression.
- + addition
- − subtraction
- * multiplication
- / division
- % modulus (remainder)
⚖️ Relational operators
Relational operators compare two values and give a result in the form of True or False. An expression (combination of operands and operators) formed using a relational operator is called a condition (5<6). Relational expressions/conditions are used in the WHERE clause to filter records that satisfy the condition.
- = equal to
- > greater than · < less than
- >= greater than or equal to · <= less than or equal to
- <> or != not equal to
🔀 Logical operators
To combine two or more conditions, logical operators are used. The result of the logical expression is true or false.
- OR (||) – Returns True only if any one or both the conditions are true.
- AND (&&) – Returns True only if both the conditions are true.
- NOT (!) – Returns True if the condition is False and vice-versa.
-- Schema: employee(empno, ename, grade) SELECT empno, ename, grade FROM employee WHERE (grade = 'E2' OR grade = 'E3');
Example for relational operator: Schema — suppliers(supplier no, name, city). Query to list all the members not from DELHI:
SELECT * FROM suppliers WHERE city <> ‘Delhi’
The BETWEEN operator defines a range of values that the column values must fall in, to make the condition True. The range includes both the lower value and the upper value. The operator NOT BETWEEN is the reverse of BETWEEN operator, that is, the rows not satisfying the BETWEEN condition are retrieved.
SELECT <column name> FROM <table name> WHERE <column name> BETWEEN <lower value> AND <upper value>; -- Query to list the items whose QOH falls between 30 to 50 (both inclusive) SELECT Icode, Descp, QOH FROM Items WHERE QOH BETWEEN 30 AND 50;
IN operator is used to compare the given column against the specified list of values. It returns the record that matches a value in the given list of values. The NOT IN operator displays rows that do not match in the list.
SELECT <column names> FROM <table name> WHERE <column name> IN (<value1>,<value2>,….<valuen>); -- Schema: student (sname, city) -- Query to return students from city ‘Delhi’, ‘Mumbai’ or ‘Kolkata’ SELECT * FROM student WHERE city IN (‘Delhi’,‘Mumbai’,‘Kolkata’);
LIKE is a string-matching operator that is used to compare character strings using patterns. Patterns are described using two special wildcard characters:
percent (%) – matches any substring.
underscore (_) – matches any single character.
Patterns are case-sensitive, that is, upper-case characters do not match lower-case characters, or vice-versa.
To illustrate pattern matching, consider the following examples:
• San% matches any string beginning with 'San'
• %idge% matches any string containing 'idge' as a substring, for example ‘Ridge’, ‘Bridges’, ‘Cartridge’, ‘Ridgeway’ etc.
SELECT <column names> FROM <table name> WHERE <column name> LIKE ‘<pattern string>’; -- Schema: student (sname, marks, phoneno) -- student name beginning with A as the first character SELECT * FROM student WHERE sname LIKE ‘A%’; -- student name ending with s as the last character SELECT name FROM student WHERE name LIKE ‘%s’; -- student name with b as the second character SELECT name FROM student WHERE name LIKE ‘_b%’;
In a select query, the IS NULL operator is used in the WHERE clause to check for empty values (NULL values). It returns the records that contain NULL in the given column.
SELECT <column names> FROM <table name> WHERE <column name> IS NULL; -- pet table SELECT name, birth, death FROM pet WHERE death IS NULL;
In a select query, the IS NOT NULL operator is used in the WHERE clause to check for values other than NULL. It returns the records that contain values other than NULL in the given column.
SELECT <column names> FROM <table name> WHERE <column name> IS NOT NULL; -- pet table SELECT name, birth, death FROM pet WHERE death IS NOT NULL;
Operator Precedence & Sorting results (ORDER BY)
Operator Precedence is the order in which the database evaluates different operators in the given expression.
Rules applied in evaluating an expression with multiple operators:
- Operators with higher precedence get evaluated before operators of lower precedence.
- Operators with equal precedence are evaluated from left to right within an expression.
- In case of parentheses inside an expression, then it gets evaluated first.
| Order | Operator(s) | Group |
|---|---|---|
| 1 (highest) | ( ) | parenthetical expressions |
| 2 | +, −, ~ | unary operators |
| 3 | *, /, % | mathematical operators |
| 4 | +, − | arithmetic operators |
| 5 | =, >, <, >=, <=, <>, != | comparison operators |
| 6 | NOT | logical operator |
| 7 | AND | logical operator |
| 8 | ALL, BETWEEN, IN, LIKE, OR | condition / logical operators |
| 9 (lowest) | = | variable assignment |
Sorting results – ORDER BY Clause: the ORDER BY clause is used with SELECT to arrange the retrieved rows in ascending (default) or descending order of one or more columns — SELECT name, marks FROM student ORDER BY marks DESC;
📄 In the original PDF this heading appeared on the page followed by a screenshot; the clause’s purpose is stated above so the topic is not lost — always confirm the exact figure from your copy of the notes.
UPDATE and DELETE — changing and removing records
Update command is used to modify the values of one or more records in the table.
UPDATE <tablename> SET Column1 = Value1 [, Column2 = Value2, ..] WHERE <Condition>;
The WHERE clause in an UPDATE command updates the selected records based on the condition. If omitted, ALL records will be updated!
-- Eg 1: To update English marks of ALL the students to 100 in student table UPDATE student SET english=100; -- Eg 2: To update english marks of Arun and David to 100 UPDATE student SET english=100 WHERE sname='Arun' or sname='David';
Delete command is used to delete one or more records from the given table. The WHERE clause in a DELETE query deletes selected records based on the condition; if omitted all the records would be deleted.
DELETE FROM <tablename> WHERE <Condition>; -- Eg-1: To delete student records with sno < 12 DELETE FROM student WHERE sno<12; -- Eg-2: To delete ALL the records of student table DELETE FROM student;
DELETE … WHERE removes chosen rows · DELETE without WHERE empties the table but keeps its structure · DROP TABLE removes the rows and the structure — complete information present in the table will be lost.
One-page MySQL cheat sheet
| Purpose | Command |
|---|---|
| Create a database | CREATE DATABASE IF NOT EXISTS student; |
| Open / select a database | USE student; |
| List all databases | SHOW DATABASES; |
| List a specific database | SHOW DATABASES LIKE ‘student’; |
| Delete a database | DROP DATABASE student; |
| Create a table | CREATE TABLE student(sno int(2),name varchar(10),dob date); |
| View structure | DESCRIBE student; / DESC student; |
| List tables | SHOW TABLES; |
| Delete a table | DROP TABLE student; |
| Add rows (chosen columns) | INSERT INTO student(sno,name,phone) VALUES (1,’Arun’,7864532); |
| Add rows (all columns) | INSERT INTO student VALUES (1,’Arun’,’Ibri’,7864532,NULL); |
| Add a column | ALTER TABLE Student ADD Games VARCHAR(20); |
| Change a column | ALTER TABLE Student MODIFY games INTEGER; |
| Remove a column | ALTER TABLE Student DROP Games; |
| Show everything | SELECT * FROM salesman; |
| No duplicates | SELECT DISTINCT(commission) FROM salesman; |
| Keep duplicates | SELECT ALL(commission) FROM salesman; |
| Calculate / date | SELECT 4*3 FROM dual; · SELECT curdate(); |
| Rename output column | SELECT name as “salesman name” FROM salesman; |
| Filter rows | SELECT name, aggregate FROM student WHERE aggregate > 350; |
| Range / list / pattern | WHERE QOH BETWEEN 30 AND 50 · WHERE city IN (‘Delhi’,’Mumbai’) · WHERE sname LIKE ‘A%’ |
| Empty values | WHERE death IS NULL; / WHERE death IS NOT NULL; |
| Sort output | SELECT * FROM student ORDER BY marks DESC; |
| Modify values | UPDATE student SET english=100 WHERE sname=’Arun’; |
| Delete rows | DELETE FROM student WHERE sno<12; |
How to revise this file in 3 days
A simple plan, plus the exam-day habits that save marks in IT (802) and Employability Skills.
Day-by-day plan & exam habits
🌅 Day 1 — Employability
- Communication Skills: elements, 7 C's, verbal vs non-verbal, visual, assertive.
- Self-Management: strengths/weaknesses, grooming & hygiene, teamwork, networking 6 steps, motivation, SMART, time management.
- Finish with the 15 MCQs — aim for 15/15.
🌞 Day 2 — CO + Networking
- Computer Organization: IPO, characteristics, input/output devices, CPU, RAM/ROM, cache, storage, memory units, OS functions, language processors, utilities.
- Troubleshooting steps + the 6 short answers.
- Networking: modes, media, 7 devices, PAN/LAN/MAN/WAN, 5 topologies.
🌙 Day 3 — NW Part 3 + MySQL
- MAC vs IP table, DNS resolution flow, URL/website/browser/server, e-mail, FTP, Telnet, malware list, security tools, cyber law, 13 protective measures.
- MySQL: write every syntax from memory, then check the cheat sheet card.
- Redo only the cards you did not tick green.
- Always write the keyword + full sentence — e.g. “Repeater — restores (reshapes and amplifies) the signal so it can travel a larger distance.”
- For SQL, copy the exact syntax first, then the example. Marks are given for keywords like
IF NOT EXISTS,DISTINCT,BETWEEN … AND …. - Topology answers: draw the layout, then give one advantage + the limitation exactly as written.
- PAN/LAN/MAN/WAN: never forget the radius figures (10 m · 1 km · 50 km · 1000 km) and one example each.
- Non-verbal types: define → explain → give the example from the notes (smile, straight posture, handshake, etc.).