![]() CPP04 – (a) Write a CPP program to print the factorial of a given number.CPP04 – (b) Write a CPP program to print whether a number is prime or not.CPP04 – (c) Write a CPP program to generate a Fibonacci series of 50 numbers.CPP05 – Write a CPP program to create Student class with appropriate constructor and destructor.A 2-bit adder- subtraction circuit is shown in figure.īlock Diagram Category: Computer Organisation and Assembly Language Programming Computer Organisation Theory Tags: 2-bit, 2006, 6m, adder, adder-subtractor, block, circuit, Create, diagram, draw, full, jun2006, logic, using Thus, a common circuit can perform the addition and subtraction operation. This can be calculated using 1’s complemented & then adding 1 to it. to perform subtraction, A-B we can find 2’s complement of B. The subtraction operation on binary numbers can be achieved by sequence of addition operations only i.e. Create a 2-bit adder-subtractor circuit using the block diagram of the full adder 6m Jun2006Ī combinational circuit which performs addition of two bits is called a half adder, while the combinational circuit which performs arithmetic addition of three bits (the third bit is the previous carry bit) is called a full adder. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |