Tag Archives: decimal

A C program to convert decimal number to hexadecimal number – IGNOU MCA Assignment 2018 – 19

MASTER OF COMPUTER APPLICATIONS Course Code: MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2018-19 Maximum Marks : 100 Write an algorithm, draw a flow chart and write its corresponding C program to convert a decimal number to its equivalent hexadecimal number – IGNOU MCA Assignment 2018 – 19 Program: #include<stdio.h> void… Read More »

Write and run an Assembly language program that converts an ASCII string containing decimal digits, stored in three consecutive locations in the memory into equivalent binary number – IGNOU MCA Assignment 2017 – 18

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/17-18 Maximum Marks : 50 Weightage : 25% Write and run an Assembly language program that converts an ASCII string containing decimal digits, stored in three consecutive locations in the memory into equivalent binary… Read More »

Convert Hexadecimal: FAEBDC into Binary, Octal, Decimal – 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%   Convert the hexadecimal number: (ABCD01)16 into equivalent binary, octal and decimal. The Base Value of Hexadecimal number is 16. The Table represents the value in decimal.… Read More »

Convert Hexadecimal: ABCD01 into Binary, Octal, Decimal – 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% Convert the hexadecimal number: (ABCD01)16 into equivalent binary, octal and decimal. The Base Value of Hexadecimal number is 16. The Table represents the value in… Read More »

Design an algorithm and draw corresponding flowchart to convert a decimal number to its hexadecimal equivalent. 10m Dec2005

Design an algorithm and draw corresponding flowchart to convert a decimal number to its hexadecimal equivalent. 10m Dec2005 An algorithm is a finite set of steps defining the solution of a particular problem. An algorithm is expressed in pseudo code – something resembling C language or Pascal, but with some statements in English rather than… Read More »

ASSEMBLY29 An Assembly program using the method of “add-and-shift” loop, in which you use the binary digits of one number to control additions of a shifted version of the other number into a running total; this is essentially the same algorithm you use when multiplying numbers by hand in decimal

Now we will write another Assembly program, Using the method of “add-and-shift” loop, in which you use the binary digits of one number to control additions of a shifted version of the other number into a running total; this is essentially the same algorithm you use when multiplying numbers by hand in decimal Let’s identify variables… Read More »

An assembly program to accept a decimal number and print it’s 2’s complement binary and hexadecimal – IGNOU MCA Assignment 2013

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming Assignment Number : MCA(1)/L017/Assign/2013    Write an assembly language program to accept a decimal number and display it’s two’s complement representation in binary and hexadecimal formats   DATA SEGMENT     DIGIT1 DB ?     DIGIT2 DB ?     HEXNUM DB… Read More »

ASSEMBLY25 An Assembly program to Convert ASCII number into Decimal digit

Now we will write another Assembly program to Convert ASCII number into Decimal digit on Screen Let’s identify variables needed for this program. First variables will be the one which will hold the value present in the variable NUM converts Hexadecimal value to print its Decimal form on Console (Screen) and Other variable RES will be holding… Read More »

ASSEMBLY18 An Assembly program to read in decimal inputs repeatedly untill a zero value is read, At this point it should print out the sum of the numbers read in so far

Now we will write another Assembly program to read  in decimal inputs repeatedly untill a zero value is read, At this point it should print out the sum of the numbers read in so far. Let’s identify variables needed for this program. First variables will be holding the Messages “ENTER NO.BETN (0-9) & (ENTER ZERO TO STOP) ” and “TOTAL SUM… Read More »

ASSEMBLY15 An Assembly program to find the factorial of decimal number given by user

Now we will write another Assembly program to to find the factorial of decimal number given by user Let’s identify variables needed for this program. First variable will be the one which will hold the value entered by user in the variable NUM and FACT will hold 1H and Other variable RES will be holding the Resultant Decimal equivalent printable… Read More »