Tag Archives: Subtract


Evaluate 2’s complement of 8 bits including sign bit. ii) Subtract 124 from –99 – IGNOU MCA Assignment 2015 – 16

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(I)/012/Assignment/15-16 Maximum Marks : 100 Weightage : 25%   Perform the following arithmetic operations using binary signed 2’s complement notation for integers. You may assume that the maximum size of integers is of 8 bits… Read More »

Evaluate 2’s complement of 9 bits including sign bit. ii) Subtract 224 from –99 – IGNOU MCA Assignment 2014 -15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA (2)/012/Assign /2014-15 Maximum Marks : 100 Weightage : 25% Perform the following arithmetic operations:- Using binary signed 2’s complement notation for integers. You may assume that the maximum size of integers is of 9… Read More »

Write a Menu driven program in C to add, subtract add multiply two distances which are given in feet and inches. 10m Dec2005

Write a Menu driven program in C to add, subtract add multiply two distances which are given in feet and inches. [e.g. 3 ft 9 inches + 2 ft 5 inches=6 ft 2 inches]. 10m Dec2005 #include<stdio.h> struct LENGTH {     int FEET;     int INCH; }; void main() {  int I;  struct LENGTH A,B;… Read More »

An interactive C program to do the following computation by providing the option using the switch statement 1.Add two matrices. 2. Subtract two matrices. 3. Multiply two matrices.

Let’s identify variables needed for this program. In this program, we need to save matrices which consists Rows and Columns. To save this we need Two dimensional ARRAY. Multi-dimensional Array is a nothing different than any Array but the only difference is that it has more than one dimension to it e.g. square has two… Read More »