Computer Awareness Data Representation and Logic Gates Notes Set 02

Official Study Materials for Computer Science

Review targeted academic resources with the Computer Awareness Data Representation and Logic Gates Notes Set 02. Built according to official standards for the 2026-27 term, these downloadable Computer Science study materials support effective daily practice and deeper conceptual understanding for Fundamentals of Computers.

Advanced Resources for Computer Science

Access the complete useful resource PDF for Computer Science below. Regular practice with these targeted academic notes builds familiarity with complex topics and helps secure higher marks in final school evaluations.

Notes on how a computer represents data: the binary, decimal, octal and hexadecimal number systems with step-by-step conversions, the BCD, ASCII and EBCDIC codes, and the AND, OR, NOT, NAND, NOR and XOR logic gates with symbols and truth tables.

Data Representation

Number System

A number system is a technique to represent numbers in the computer system architecture.

Types of Number System

Binary Number System
1. It contains only two unique digits, 0 and 1.
2. It is also known as Base 2 system.
For example, (10101)2

Decimal Number System
1. It consists of 10 digits from 0 to 9. It is also known as Base 10 system or positional number system.
For example, (1275)10

Octal Number System
1. It consists of 8 digits from 0 to 7. It is also known as Base 8 system.
For example, (234)8

Hexadecimal Number System
1. It provides us with a shorthand method of working with binary numbers. There are 16 unique digits available in this system.
2. These are 0 to 9 and A to F, where A denotes 10, B denotes 11, F denotes 15.
3. It is also known as Base 16 system or simply Hex.
For example, (F9D)16

Conversion

1. Decimal to binary: divide by 2 again and again.
2. Binary to decimal (and octal or hexadecimal to decimal): multiply each digit with the power of the base value and add.
3. Octal and hexadecimal to or from binary: deduce by grouping the bits, 3 bits for one octal digit and 4 bits for one hexadecimal digit.

Conversion between the Number Systems

Decimal to Binary

1. Divide the given number by 2.
2. Note the quotient and remainder. Remainder should be 0 or 1.
3. If quotient is not 0, then again divide the quotient by 2 and go back to step 2. If quotient = 0, then stop the process.
4. First remainder is called as Least Significant Bit (LSB) and last remainder is called as Most Significant Bit (MSB).
5. Arrange all remainders from MSB to LSB.
Example: (43)10 = (?)2. Dividing 43 by 2 repeatedly gives remainders 1, 1, 0, 1, 0, 1 (LSB first), so (43)10 = (101011)2.

Binary to Decimal

1. Multiply the binary digits by powers of 2.
2. The power for integral part will be positive and for fractional part will be negative.
3. Add all the multiplying digits.
Example: (1101.10)2 = (?)10. Here 1 × 23 + 1 × 22 + 0 × 21 + 1 × 20 + 1 × 2-1 + 0 × 2-2 = 8 + 4 + 0 + 1 + 0.5 + 0 = 13.5, so (1101.10)2 = (13.5)10.

Binary to Octal

1. Make the group of 3 bits from right to left. If the left most group has less than 3 bits, put in the necessary number of leading zeroes on the left.
2. Now, convert each group to its decimal value; this is the octal digit.

Octal to Binary

Convert every digit of the number from octal to binary in the group of 3 bits.

Binary to Hexadecimal

1. Start making the group of 4 bits each from right to left from the given binary number. If the left most group has less than 4 bits, put in the necessary number of leading 0's on the left.
2. Now, each group will be converted to its decimal value, written as a hexadecimal digit (10 to 15 as A to F).

Hexadecimal to Binary

Convert every hexadecimal digit to its 4 bits binary equivalent.

Decimal to Octal

1. Divide the given number by 8.
2. Note the quotient and remainder. Digits of remainder will be from 0 to 7.
3. If quotient is not 0, then again divide the quotient by 8 and go back to step 2.
4. If quotient = 0 or less than 8 then stop the process.
5. Write each remainder from left to right starting from MSD (Most Significant Digit) to LSD (Least Significant Digit).

Octal to Decimal

1. Multiply each digit of octal number with powers of 8.
2. These powers should be positive for integral part and negative for fractional part.
3. Add all the multiplying digits.

Decimal to Hexadecimal

1. Divide the given number by 16.
2. Note the quotient and remainder. Digits of remainder will be 0 to 9 or A to F.
3. If quotient is not 0, then again divide the quotient by 16 and go back to step 2.
4. If quotient = 0 or less than 16, then stop the process.
5. Write each remainder from left to right starting from MSD (Most Significant Digit) to LSD (Least Significant Digit).

Hexadecimal to Decimal

1. Multiply each digit of hexadecimal number with powers of 16.
2. These powers should be positive for integral part and negative for fractional part.
3. Add all the multiplying digits.

Octal to Hexadecimal

1. Convert each digit of octal number to binary number.
2. Again, regroup the bits in groups of 4 from the right and convert each group to a hexadecimal digit.

Hexadecimal to Octal

1. Convert each digit of the hexadecimal number to binary number.
2. Again, regroup the bits in groups of 3 from the right and convert each group to an octal digit.

Computer Codes

In computer, any character like alphabet, digit or special character is represented by collection of 1's and 0's in a unique coded pattern.

Binary Coded Decimal (BCD)

1. This system was developed by IBM. It is a number system where four bits are used to represent each decimal digit.
2. BCD is a method of using binary digits to represent the decimal digits (0-9). In BCD system, there is no limit on size of a number.

American Standard Code for Information Interchange (ASCII)

Basically, ASCII codes are of two types, which are as follows.
1. ASCII-7: It is a 7-bit standard ASCII code. It allows 27 = 128 (from 0 to 127) unique symbols or characters.
2. ASCII-8: It is an extended version of ASCII-7. It is an 8-bit code, allows 28 = 256 (0 to 255) unique symbols or characters.

Extended Binary Coded Decimal Interchange Code (EBCDIC)

In EBCDIC, characters are represented by eight bits. These codes store information which is readable by other computers. It allows 28 = 256 combination of bits.

Logic Gates

A logic gate is a basic building block of a digital circuit that has one or more inputs and one output. The relationship between the input and the output is based on a certain logic. These gates are implemented using electronic switches like transistors and diodes.

Types of Logic Gate

There are various types of logic gate as follows: AND, OR, NOT, NAND, NOR and XOR.

AND Gate

This gate is also represented by (.), i.e. (A . B). It returns True only if both the conditions or inputs are True otherwise it returns False.

ABOutputAND
ABOutput
000
010
100
111

OR Gate

This is represented by (+), i.e. (A + B). It returns True if any one of the conditions or inputs is True and if both conditions are False, then it returns False.

ABOutputOR
ABOutput
000
011
101
111

Inverter or NOT Gate

This gate is also represented by ('), i.e. A'. It returns True if the input is False and vice-versa.

Input AOutput XNOT
Input AOutput X
01
10

NAND Gate

It is basically the inverse of the AND gate. This gate is designed by combining the AND and NOT gates. It returns False only if both the conditions or inputs are True otherwise it returns True.

ABOutputNAND
ABOutput
001
011
101
110

NOR Gate

It is inverse of the OR gate. This gate is designed by combining the OR and NOT gates.

ABOutputNOR
ABOutput
001
010
100
110

Note: NAND and NOR gates are also called universal gates.

Exclusive-OR or XOR Gate

It performs based on the operation of OR gate. It returns True only if exactly one of the two conditions is True, otherwise it returns False.

ABOutputXOR
ABOutput
000
011
101
110

Computer Science Exam Resources: Fundamentals of Computers

Quick Revision Material for Fundamentals of Computers

Review targeted study resources for Fundamentals of Computers tailored for learners. Utilizing these structured notes and quick-revision tools ensures complete alignment with current CBSE evaluation standards.

Expert Notes and Solved Exam Questions

Each resource draws directly from authorized textbooks to maintain academic accuracy. Evaluating solved examples allows students to master the formal presentation and answer-writing standards expected in upcoming school exams.

Additional Study Resources for

Wrap up your chapter revision by testing your knowledge against standard objective question formats. Explore our full library of free, up-to-date sample papers and online assessments to secure top grades in your CBSE examinations.

FAQs

Where can I find the most advanced study material for [current-page:node:field_board] [current-page:node:field_class] Computer Science for 2026-27?

The latest 2026-27 advanced study resources for Computer Science are available for free on StudiesToday.com which includes NCERT Exemplars, high-order thinking skills (HOTS) questions, and deep-dive concept summaries.

What does the 2026-27 Computer Science study package for [current-page:node:field_class] include?

Our exhaustive Computer Science package includes chapter wise revision notes, solved practice sheets, important formulas and Concept Maps to help in better understanding of all topics.

Is this study material enough for both [current-page:node:field_board] exams and competitive tests?

Yes. For , our resources have been developed to help you get better marks in school exams and also build fundamental strength needed for entrance tests including Competency Based learning.

How should [current-page:node:field_class] students use this Computer Science material for maximum marks?

in , students should use Active Recall method, read the concept summary, then solve the Important Questions section without looking at the answers and then check your answers.

Can I download [current-page:node:field_class] Computer Science study notes in PDF for offline use?

All Computer Science study materials are provided in mobile-friendly PDF. You can download and save them on your device.

Are the [current-page:node:field_class] Computer Science resources updated for the latest NEP guidelines?

Yes, our team has ensured that all Computer Science materials for are strictly aligned with the National Education Policy (NEP) 2020 and the latest 2026-27 syllabus.