Tag Archives: calculate


Calculate the storage capacity in Bytes and Access time for the disk – IGNOU MCA Assignment 2015 – 16

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCS-011 Course Title : Computer Basics and PC Software Assignment Number : BCA(I)/011/Assignment/ 2015 Maximum Marks : 100 Weightage : 25% A 2.5 inch diameter disk has 8 platters with each platter having two data recording surfaces, each platter on disk has 4084 tracks, each track has 400… Read More »

A C program to calculate total & average of score of student selected and display it – IGNOU MCA Assignment 2014 – 15

MASTER OF COMPUTER APPLICATIONS Course Code : MCS-011 Course Title : Problem Solving and Programming Assignment Number : MCA(1)/011/Assign/2014-15 Maximum Marks : 100 Weightage : 25%   Write an interactive C program to calculate the total and average of scores of a selected student. The program should prompt the student to input the stu_id. This… Read More »

An Assembly Lanuage Program to search for a character in a given string and calculate the number of occurrences of the character in the given string

Now we will write another Assembly Lanuage Program to search for a character in a given string and calculate the number of occurrences of the character in the given string Let’s identify variables needed for this program. First variable will be the one which will hold the Strings entered by user in the variables P1 LABEL BYTE   … Read More »

An Assembly program to calculate the average of three given numbers stored in memory

Now we will write another Assembly program to calculate the average of three given numbers stored in memory. Let’s identify variables needed for this program. First variables will be the one which will hold the values present in the variables to be Added and it will be NUM1, NUM2 and NUM3. Other variables will be holding… Read More »

A Assembly program to calculate average of numbers in an Array – 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   A program in assembly language to calculate the average of numbers in an array.   DATA SEGMENT ARRAY DB 1,4,2,3,8,6,7,5,9 AVG DB ? MSG DB “AVERAGE = $” ENDS CODE SEGMENT ASSUME DS:DATA CS:CODE… Read More »

A C program to write a function that calculates the compounded interest amount for a given initial amount, interest rate & no. of years. The interest is compounded annually. The return value will be the interest amount

First thing to know before writing this program is the Simple interest Formula. COMPOUND INTEREST = (P *(1+R) N) P = PRINCIPAL AMOUNT. N = NUMBER OF YEARS (TIME). R = RATE OF INTEREST. Here the problem is the rate of interest should be in the form of 0.10 instead of 10%. Now, find out the variables… Read More »