Tag Archives: average

CPP03 – Write a CPP program to find the maximum marks, average-marks and minimum marks obtained by a study in five papers given

Write a CPP program to find the maximum marks, average-marks and minimum marks obtained by a study in five papers as given below: Paper 1            Paper 2            Paper 3            Paper 4            Paper 5 Marks              50                    70                    65                    80                    56 CODE:- #include<iostream.h> #include<conio.h> void main() { int… Read More »

Find the average access time for the disk. 4m Dec2007

Seek time on a hard disk is 50 ms. it rotates at a speed of 3000 rotations/sec. Each track on the disk has 100 sectors. Find the average access time for the disk. 4m Dec2007 Disk Rotation Speed = 3000 rps.  (i.e. 180000 rpm) Sectors per Track = 100 sectors Seek time = 50 millisecond  … 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 »

ASSEMBLY10 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 »