Tag Archives: word

Draw a diagram address mapping of RAM & Cache – 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%   A computer has 1MB RAM and has word size of 16 bits. It has cache memory having 16 blocks with a block size of 32 bits.… Read More »

Write a program in ‘C’ language that accepts the name of a file as input and prints those lines of the file which have the word ‘this’. 10m Dec2007

Write a program in ‘C’ language that accepts the name of a file as input and prints those lines of the file which have the word ‘this’. 10m Dec2007    #include<stdio.h> void main() { FILE *fp; int cnt=0; char str[80],lines[400]; clrscr(); if ((fp=fopen(“test.txt”,”r”))== NULL) { printf(“File does not exist\n”); exit(0); } while(!(feof(fp))) { fgets(str,80,fp); if(strcmp(“this”,str))… Read More »

A computer has 32 registers, ALU has 64 operations. in a common bus system. Formulate a control word; specify bits in each field of the control word. 5m Dec2005

A computer has 32 registers, ALU has 64 operations. All are connected to a common bus system. Formulate a control word for the computer; specify the bits in each field of the control words. 5m Dec2005 Please note the following points: The opcode size is 7 bits. So, in general it will have 27 =… Read More »

A computer has 512 words RAM with a word size of 32 bits and a cache memory of 8 Blocks with block size of 64 bits – 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% A computer has 512 words RAM with a word size of 32 bits and a cache memory of 8 Blocks with block size of 64… Read More »

A RAM has a capacity of 1024K having the word size of 64 bits – 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%   A 32 × 4 RAM means that RAM has 32 words, 5 address lines (25 = 32), and 4 bit data word size. We… Read More »