













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
How u solve logics of computer system and design architecture
Typology: Exercises
1 / 21
This page cannot be seen from the preview
Don't miss anything!














MC100401285 [email protected]^ [email protected]^ PSMD01(IEMS)
Q- 21 Draw function table of a half adder circuit? (2) Answer: - Page 135 Lec
Q- 22 What is difference b/w BCD to decimal decoder and binary 4-to-16 bit decoder? (2) Answer: (Page 163) Lec The operation of the BCD-to-Decimal Decoder is the same as a Binary 4-to-16 decoder, the only difference being that the BCD-to-Decimal Decoder has ten output pins instead of sixteen and the input is a valid BCD number.
Q- 23 Explain major use of decoder circuits? (3) Lec Answer: (Page 158) Decoders have two major uses in Computer Systems.
1. Selection of Peripheral Devices Computers have different internal and external devices like the Hard Disk, CD Drive, Modem, Printer etc. Each of these different devices is selected by specifying different codes. A decoder similar to the Electronic Door Lock/Unlock circuit is used to uniquely select or deselect the appropriate devices. 2. Instruction Decoder Computer programs are based on instructions which are decode by the Computer Hardware and implemented. These instruction codes are decoded by an Instruction Decoder to generate signals that control different logic circuits like the ALU and memory to perform these operations.
Q- 25 PALS comes in different configurations and are identified by a unique number, identify parts of this number? (5) Answer: (Page 186) Lec PALs come in different configurations they are identified by unique number. The numbers begin with the prefix PAL followed by two digits that indicate the number of inputs followed by a letter L active-low, H active-high or P programmable polarity followed by a single or two digits that indicate the number of outputs. In addition to the standard number there may be suffixes which specify the speed, package type and temperature range
Q- 24 Explain BCD to Decimal Decoder (3marks) Answer: (Page 163) Lec
"The operation of the BCD-to-Decimal Decoder is the same as a Binary 4-to-16 decoder, the only difference being that the BCD-to-Decimal Decoder has ten output pins instead of sixteen and the input is a valid BCD number. Thus invalid BCD codes 1010, 1011, 1100, 1101, 1110 and 1111 applied at the input of the Decoder do not activate any of the ten outputs."
Q- 26 Explain 8-input Multiplexer with the help of circuit Diagram and Function Table. (5marks) Answer: (Page 170) Lec
Input Output C B A F 0 0 0 1C 0 0 1 1C 0 1 0 1C 0 1 1 1C 1 0 0 2C 1 0 1 2C 1 1 0 2C 1 1 1 2C
Q- 21 What is meant by ABEL? (2 marks) Answer: (Page 201) Lec ABEL which is an acronym for Advanced Boolean Expression Language is hardware description language used for implementing logic designs using PLDs.
Q- 22 Why preferable to use another method than 5-variable K-Map? (2 marks) Answer: (Page 102) Lec Karnuagh map method becomes difficult to manage when numbers of variables exceed 4. In both the Karnaugh maps, finding the redundant terms is not very obvious. The Quine-McCluskey approach of simplifying Boolean expression is based on an exhaustive search where each minterm is compared with every other minterm in order to remove single variables.
Q- 24 Draw circuit diagram of 2-input of 8-bit multiplexer? (3 marks) Answer: (Page 172) Lec
Q- 22 Two bit comparator? Explain by at least one example Answer: (Page 109) Lec A 2-bit Comparator circuit compares two 2-bit numbers A and B. The comparator circuit has three outputs. It sets the A>B output to 1 if A>B. It sets the A=B output to 1 if A=B and sets A<B output to 1 if A < B.
Q- 23 Explain PLDs Answer: (Page 179) Lec Programmable Logic Devices are used in many applications to replace the Logic gates and MSI chips. PLDs save circuit space and reduce and save the cost of components in a Digital Circuit. PLDS consists of Arrays of AND gates and OR gates that can be programmed to perform specific functions.
Q- 24 Comparator All possibilities for A = B. Answer: (Page 109) Lec
Q- 25 one diagram for PLD array with its fuses connecting columns to rows Answer: (Page 180) Lec
Explain S-R latch in your own words
Answer:- (Page 218) A latch is a temporary storage device that has two stable states. A latch output can change from one state to the other by applying appropriate inputs. A latch normally has two inputs, the binary input combinations at the latch input allows the latch to change its state. A latch has two outputs Q and its complement Q The latch is said to be in logic high state when Q=1 and Q =0 and it is in the logic low state when Q=0 and Q =1. When the latch is set to a certain state it retains its state unless the inputs are changed to set the latch to a new state. Thus a latch is a memory element which is able to retain the information stored in it.
Write down the ABEL symbols that are used for NOT, AND, OR and XOR operations. Answer:- (Page 201) NOT=! AND= & OR = # XOR =$.
Question No: 17 ( Marks: 2 ) Why a 2-bit comparator is called parallel comparator? Answer:- (Page 154) The 2-bit Comparator discussed earlier is considered to be a Parallel Comparator as all the bits are compared simultaneously. External Logic has to be used to Cascade together two such Comparators to form a 4-bit Comparator.
Question No: 18 ( Marks: 2 ) Explain at least two advantages of the circuit having low power consumption Answer:- (Page 65)
Advantages of low power consumption are circuits that can be run from batteries instead of mains power supplies. Thus portable devices that run on batteries. Secondly, low power consumption means less heat is dissipated by the logic devices; this means that logic gates can be tightly packed to reduce the circuit size without having to worry about dissipating the access heat generated by the logic devices.
Question No: 19 ( Marks: 2 ) Name the four OLMC configurations Answer:- (Page 196) The four OLMC configurations are Combination Mode with active-low output Combinational Mode with active-high output Registered Mode with active-low output Registered Mode with active-high output
Question No: 20 ( Marks: 3 ) Explain “Test Vector” in context of ABEL Answer:- (Page 204) Once the Logic circuit design has been entered its operation is verified by using „test vectors‟. A „test vector‟ specifies the inputs and the corresponding outputs. The software simulates the operation of the logic circuit by applying the test vector and checking the outputs. Test vectors are essentially the same as Truth Tables
Question No: 21 ( Marks: 3 ) For a two bit comparator circuit specify the inputs for which the output A < B is set to 1 Answer:- (Page 109) The output A<B is set to 1 when the input combinations are 00 01, 00 10, 00 11, 01 10, 01 11 and 10 11
Question No: 22 ( Marks: 5 ) Explain Tri-State Buffers with the help of block diagram Answer:- (Page 196)
Tri-State Buffer is a NOT gate with a control line that disconnects the output from the input. When the control line is high the buffer operates like a NOT gate and when the control line is low the output is disconnected from the output and high impedance is seen at the output. Tri-state buffers are used to disconnect the outputs of devices which are connected or share a common output line.
Question No: 19 ( Marks: 2 ) Draw the Truth-Table of NOR based S-R Latch Answer:- (Page 222)
Question No: 20 ( Marks: 3 ) For a two bit comparator circuit specify the inputs for which A > B Answer:- (Page 109) The output A<B is set to 1 when the input combinations are 00 01, 00 10, 00 11, 01 10, 01 11 and 10 11
Question No: 21 ( Marks: 3 ) Draw the circuit diagram of NOR based S-R Latch? Answer:- (Page 220)
Question No: 22 ( Marks: 5 ) One of the ABEL entry methods uses logic equations; explain it with at least a single example. Answer: (Page 201) ABEL however is case sensitive, thus variable „A‟ is treated separately from variable „a‟. All ABEL equations must end with „;‟.
Examples:-
(a)
(b)
Solution (a)X = A& !B & C # !A & !B & !C # A & B # !B & C; (b)Y = (!A # B # !C #D) & (A # B # C);
Question No: 23 ( Marks: 5 ) Explain Carry propagation in Parallel binary adder? Answer: (Page 137 ) Parallel Binary Adders can be implemented by connecting the required number of 1-bit full adders in a configuration represented in figure 14.9. However, there is a practical limitation to the number of 1-bit Full- Adders that can be connected in parallel. In the 4-bit Parallel Adder, the Most significant bit adder which adds bits A3, B3 and the Carry bit C3, cannot proceed until it receives the Carry from the next least significant 1-bit adder which adds bits A2, B2. The A2, B2 bit adder cannot precede unless it receives the carry input C2 from the A1, B1 adder. The A1, B1 adder in tern depends on A0, B0 adder to provide the carry input. Thus the carry has to propagate through each Full-adder before it reaches the last or most significant full adder.
"Write the uses of multiplexer". 2 marks Answer: (Page 167 ) Multiplexer is a digital switch that has several inputs and a single output. Multiplexers are also known as Data Selectors. The main use of the Multiplexer is to select data from multiple sources and to route it to a single Destination
"Write any two advantages of Boolean expressions". 2 marks Answer: (Page 71 ) Boolean expressions which represent Boolean functions help in two ways. The function and operation of a Logic Circuit can be determined by Boolean expressions without implementing the Logic Circuit. Secondly, Logic circuits can be very large and complex. Such large circuits having many gates can be simplified and implemented using fewer gates.
"Draw the diagram of odd parity generator circuit". 2 marks Answer: (Page 132 )
Briefly state the basic principle of Repeated Division-by-2 method. Answer: (Page 17) Repeated Division-by-2 method allows decimal numbers of any magnitude to be converted into binary.
Question No: 18 ( Marks: 1 ) Briefly state the basic principle of Repeated Multiplication-by-2 Method. Answer: Page 17 Repeated Multiplication-by-2 method allows decimal fractions of any magnitude to be easily converted into binary.
Question No: 19 ( Marks: 2 ) Draw the circuit diagram of a Tri-State buffer. Answer: (Repeated)
Question No: 20 ( Marks: 3 ) Add - 13 and +7 by converting them in binary system your result must be in binary.
Question No: 21 ( Marks: 5 ) Explain “Sum of Weights” method with example for “Octal to Decimal” conversion Answer: (Page 14) (Page 33) In the Sum-of-Weights method an extended expression is written in terms of the Binary Base Number 2 and the weights of the Binary number to be converted. The weights correspond to each of the binary bits which are multiplied by the corresponding binary value.Binary bits having the value 0 do not contribute any value towards the final sum expression.
An Octal number can be directly converted into Decimal by using the sum of weights method. The conversion steps using the Sum-of-Weights method are shown. 4033 Octal number 4 x 8 3 + 0 x 8 2 + 3 x 8 1 + 3 x 8 0 Writing the number in an expression (4 x 512) + (0 x 64) + (3 x 8) + (3 x 1) 2048 + 0 + 24 + 3 Summing the Weights 2075 Decimal equivalent
Question No: 22 ( Marks: 10 ) Explain the Implementation of an Odd-Parity Generator Circuit i.e by drawing function table, maping it to K-map and then simplifying the expression.
Question No: 17 ( Marks: 1 )
Briefly state the basic principle of Repeated Multiplication-by- 2 Method. Answer: (Repeated)
Question No: 18 ( Marks: 1 )
How standard Boolean expressions can be converted into truth table format. Answer: (Page 87) All standard Boolean expressions can be easily converted into truth table format using binary values for each term in the expression. Standard SOP or POS expressions can also be determined from a truth table.
Question No: 19 ( Marks: 2 )
What will be the out put of the diagram given below
Question No: 20 ( Marks: 3 ) When an Input (source) file is created in ABEL a module is created which has three sections. Name These three sections. Answer: (Page 205)
Question No: 21 ( Marks: 5 ) Exp lai n “AND” G ate a nd some of it s us es Answer: (Page 4 0 ) The AND Gate performs a logical multiplication function. An AND Gate has multiple inputs and a single output. Most commonly used AND Gates are two input AND gates. An important use of an AND gate in addition to the multiplication operation is its use to disable or enable a device. Counter device counts from 0 to 100. The counter device increments its current count value to the next when it receives a pulse at its clock input.
Question No: 22 ( Marks: 10 )
Write down different situations where we need the sequential circuits. Answer: (Page 217) This type of system uses storage elements called flip-flops that are employed to change their binary value only at discrete instants of time. Synchronous sequential circuits use logic gates and flip-flop storage devices. Sequential circuits have a clock signal as one of their inputs. All state transitions in such circuits occur only when the clock value is either 0 or 1 or happen at the rising or falling edges of the clock depending on the type of memory elements used in the circuit.
Question No: 17 ( Marks: 1 ) How can a PLD be programmed? Answer: (Page 194) PLDs are programmed with the help of computer which runs the programming software. The computer is
Question No: 17 ( Marks: 1 ) Which device performs an operation which is the opposite of the Decoder function? Answer: (Page 163) An Encoder functional device performs an operation which is the opposite of the Decoder function.
Question No: 18 ( Marks: 1 ) Name any two modes in which PALs are programmed. Answer: (Page 199) The three modes in which PALs are programmed are
Question No: 19 ( Marks: 2 ) Explain Combinational Function Devices? Answer: (Page 133) Digital circuits are formed by the combination of Logic Gates. Xor, Xnor, NAND, NOR are combinational function devices.
Question No: 20 ( Marks: 3 ) Differentiate between hexadecimal and octal number system Answer: Octa decimal use Base 8 whereas Hexa decimal use Base 16
Question No: 21 ( Marks: 5 ) Explain “Sum-of-Weights Method” for Hexadecimal to Decimal Conversion with at least one example? Answer: The hexadecimal (Hex) numbering system provides even shorter notation than octal. Hexadecimal uses a base of 16. It employs 16 digits: number 0 through 9, and letters A through F, with A through F substituted for numbers 10 to 15, respectively, Hexadecimal numbers can be expressed as their decimal equivalents by using the sum of weights method, as shown in the following example:
Weight 2 1 0 Hex. Number 1 B 7 7 x 16^0 = 7 x 1 = 7 11 x 16^1 = 11x 16 = 176 1 x 16^2 = 1 x 256 = 256 Sum of products (^43910)
Like octal numbers, hexadecimal numbers can easily be converted to binary or vise versa. Conversion is accomplished by writing the 4-bit binary equivalent of the hex digit for each position, as illustrated in the following example:
Hex. Number 1 B 7
0001 1011 0111 Binary number Hexadecimal Binary Decimal 0 0000 0 1 0001 1 2 0010 2 3 0011 3 4 0100 4 5 0101 5 6 0110 6 7 0111 7 8 1000 8 9 1001 9 A 1010 10 B 1011 11 C 1100 12 D 1101 13 E 1110 14 F 1111 15
Question No: 22 ( Marks: 10 ) Draw the function table of two-bit comparator circuit, map it to K-Map and derive the expression for (A > B) Answer: (Page 109 )
Input Output A 1 A 0 B 1 B 0 A>B A=B A<B 0 0 0 0 0 1 0 0 0 0 1 0 0 1