This course covers the concepts of digital logic and switching networks. The course includes the fundamental concepts of boolean algebra and its application for circuit analysis, multilevel gates networks, flip-lops, counters logic devices and synchronous and asynchronous sequential logic and digital integrated circuits.
CSC116Semester I3 credit hours7 units72 solved questions923 study cardsFull study modes
This course covers the concepts of digital logic and switching networks. The course includes the fundamental concepts of boolean algebra and its application for circuit analysis, multilevel gates networks, flip-lops, counters logic devices and synchronous and asynchronous sequential logic and digital integrated circuits.
The free sample is open to everyone. Sign in for 2 free weeks of every answer, flashcards and progress.
This chapter introduces how a digital system represents and stores information: the binary number system and its conversions to and from octal and hexadecimal, the arithmetic techniques (complements and signed representation) that let a circuit subtract using only adders, the decimal and alphanumeric codes used to move data in and out of a machine, and the basic idea of a binary storage element.
A digital system processes information that is represented using a finite set of discrete values, in contrast to an analog system, where a quantity varies continuously over a range. Almost all modern digital systems use just two discrete values and are therefore called binary systems, with the two values denoted by the digits 0 and 1 and referred to as logic levels. Physically, these two levels correspond to two easily distinguishable ranges of a physical quantity, most often voltage: a relatively high value represents logic 1 and a relatively low value represents logic 0.
Digital systems are preferred over analog ones for information processing because binary circuits are comparatively simple to design and are far more tolerant of electrical noise: a signal only has to be recognized as belonging to one of two ranges rather than measured precisely. This tolerance makes digital data easy to store, reproduce exactly, and transmit without accumulating error, which is why computers, calculators, digital instruments and digital communication equipment are all built on binary logic.
The binary number system is a positional (radix) number system with base, or radix, 2, using only the two digits 0 and 1 (called bits). As in the familiar decimal system, the value contributed by a digit depends on its position: each position carries a weight equal to the base raised to that position's power, counted from 0 at the rightmost digit and increasing to the left (and decreasing, as negative powers, to the right of a radix point).
For an integer, the decimal value of a binary number $(b_{n-1} b_{n-2} \ldots b_1 b_0)_2$ is
$$ V = \sum_{i=0}^{n-1} b_i \cdot 2^i $$
For example, the binary number $1011_2$ is evaluated as
$$ \begin{aligned} 1011_2 &= 1 \times 2^3 + 0 \times 2^2 + 1 \times 2^1 + 1 \times 2^0 \ &= 8 + 0 + 2 + 1 \ &= 11_{10} \end{aligned} $$
A binary number can also have a fractional part after a radix point, with digits to the right carrying weights $2^{-1}, 2^{-2}, \ldots$; for instance $101.1_2 = 4 + 1 + 0.5 = 5.5_{10}$.
Converting a binary (or any radix-$r$) integer to decimal is done exactly as above, by summing each digit multiplied by its positional weight. The reverse direction, converting a decimal integer to binary, is done by repeated division by 2: divide the number by 2, record the remainder, and repeat on the quotient until the quotient is 0. The binary equivalent is the sequence of remainders read from the last one obtained back to the first. For example, converting $25_{10}$ to binary:
$$ \begin{aligned} 25 \div 2 &= 12 \text{ remainder } 1 \ 12 \div 2 &= 6 \text{ remainder } 0 \ 6 \div 2 &= 3 \text{ remainder } 0 \ 3 \div 2 &= 1 \text{ remainder } 1 \ 1 \div 2 &= 0 \text{ remainder } 1 \end{aligned} $$
Reading the remainders from bottom to top gives $25_{10} = 11001_2$. The same procedure, generalized to divide by any radix $r$ instead of 2, converts a decimal integer to octal ($r=8$) or hexadecimal ($r=16$) directly, and a decimal fraction is converted the same way in reverse, by repeated multiplication by $r$, reading off the integer part produced at each step.
Digital Logic for TU BSc CSIT is covered here in full, from syllabus notes to solved past questions. This subject has 7 chapters mapped to the official syllabus, and 72 past exam questions with written model answers. The opening of every note and answer is free, and the most-searched questions are free in full. A free account gets 2 free weeks of the whole program plus flashcards and progress tracking so weak topics come back before the exam.
This TU BSc CSIT Digital Logic guide covers Binary Systems, Boolean algebra and Logic Gates, Simplification of Boolean Functions, Combinational Logic, Combinational Logic with MSI and LSI, Synchronous and Asynchronous Sequential Logic, Registers and Counters, across 7 chapters. It includes model answers to 72 past exam questions, plus flashcards for quick revision.
Digital Logic has 7 chapters mapped to the official syllabus.
Yes. Each of the 72 past questions comes with a written model answer; the most-searched ones are free in full, the rest open with a free account's 2 free weeks or a pass.
Free to start. The opening of every note and answer is free, the most-searched questions are free in full, and a free account gets 2 free weeks of the whole program plus flashcards and progress tracking. After that a program pass keeps everything open.
Based on the official syllabus.
This chapter introduces how a digital system represents and stores information: the binary number system and its conversions to and from octal and hexadecimal, the arithmetic techniques (complements and signed representation) that let a circuit subtract using only adders, the decimal and alphanumeric codes used to move data in and out of a machine, and the basic idea of a binary storage element.
A digital system processes information that is represented using a finite set of discrete values, in contrast to an analog system, where a quantity varies continuously over a range. Almost all modern digital systems use just two discrete values and are therefore called binary systems, with the two values denoted by the digits 0 and 1 and referred to as logic levels. Physically, these two levels correspond to two easily distinguishable ranges of a physical quantity, most often voltage: a relatively high value represents logic 1 and a relatively low value represents logic 0.
Digital systems are preferred over analog ones for information processing because binary circuits are comparatively simple to design and are far more tolerant of electrical noise: a signal only has to be recognized as belonging to one of two ranges rather than measured precisely. This tolerance makes digital data easy to store, reproduce exactly, and transmit without accumulating error, which is why computers, calculators, digital instruments and digital communication equipment are all built on binary logic.
The binary number system is a positional (radix) number system with base, or radix, 2, using only the two digits 0 and 1 (called bits). As in the familiar decimal system, the value contributed by a digit depends on its position: each position carries a weight equal to the base raised to that position's power, counted from 0 at the rightmost digit and increasing to the left (and decreasing, as negative powers, to the right of a radix point).
For an integer, the decimal value of a binary number is
For example, the binary number is evaluated as
A binary number can also have a fractional part after a radix point, with digits to the right carrying weights ; for instance .
Converting a binary (or any radix-) integer to decimal is done exactly as above, by summing each digit multiplied by its positional weight. The reverse direction, converting a decimal integer to binary, is done by repeated division by 2: divide the number by 2, record the remainder, and repeat on the quotient until the quotient is 0. The binary equivalent is the sequence of remainders read from the last one obtained back to the first. For example, converting to binary:
Reading the remainders from bottom to top gives . The same procedure, generalized to divide by any radix instead of 2, converts a decimal integer to octal () or hexadecimal () directly, and a decimal fraction is converted the same way in reverse, by repeated multiplication by , reading off the integer part produced at each step.