Tag Archives: program


Write a program in 8086 assembly Language that accepts a string of four characters entered using the keyboard and checks if all the entered characters are decimal digits. In case all the characters are decimal digits then it converts the entered string into equivalent binary number. – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-012 Course Title : Computer Organisation and Assembly Language Programming Assignment Number : MCA(1)/012/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in 8086 assembly Language that accepts a string of four characters entered using the keyboard and checks if all the entered characters are… Read More »

Write and run an 8086 assembly language program displays a string stored in memory – IGNOU BCA Assignment 2016 – 17

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(2)/L-022/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write and run an 8086 assembly language program displays a string stored in memory. You must use appropriate interrupt for the same – IGNOU MCA Assignment 2016 –… Read More »

An assembly program that converts 2 ASCII digits stored in two registers (say BH and BL) into an equivalent binary number – IGNOU BCA Assignment 2016 – 17

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(2)/L-022/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write and run (using appropriate calling program) a near procedure in 8086 assembly language that converts 2 ASCII digits stored in two registers (say BH and BL) into… Read More »

Write and run an Assembly language program that converts lowercase alphabets in a given input string to uppercase – IGNOU MCA Assignment 2016 – 17

BACHELOR OF COMPUTER APPLICATIONS Course Code : BCSL-022 Course Title : Assembly Language Programming Lab Assignment Number : BCA(2)/L-022/Assignment/16-17 Maximum Marks : 50 Weightage : 25% Write and run an Assembly language program that converts lowercase alphabets in a given input string to uppercase. The input may consist of uppercase alphabets, special characters and lowercase… Read More »

Write a program in assembly language for finding the largest number in an array of 10 elements – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language for finding the largest number in an array of 10 elements - IGNOU MCA Assignment 2016 – 17 Code:- DATA… Read More »

Write a program in assembly language for reversing a four byte string – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language for reversing a four byte string - IGNOU MCA Assignment 2016 – 17 Code:-  DATA SEGMENT STR1 DB “RITU$” STR2… Read More »

Write a program in assembly language to find the factorial of any number (assume number is smaller than 10) – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language to find the factorial of any number (assume number is smaller than 10) - IGNOU MCA Assignment 2016 – 17… Read More »

Write a program in assembly language to find if two given strings are of equal length – IGNOU MCA Assignment 2016 – 17

MASTER OF COMPUTER APPLICATIONS Course Code : MCSL-017 Course Title : C and Assembly Language Programming (Lab Course) Assignment Number : MCA(1)/L-017/Assignment/16-17 Maximum Marks : 50 Weightage : 25%   Write a program in assembly language to find if two given strings are of equal length - IGNOU MCA Assignment 2016 – 17   Code:- DATA… Read More »

Write a Program in ‘C’ to copy one file to another. The program should read the filenames at command line. 10m Jun2009

Write a Program in ‘C’ to copy one file to another. The program should read the filenames at command line. 10m Jun2009 Code: #include<stdio.h> int main(int argc,char *argv[]) { FILE *fs,*ft; int ch; if(argc!=3) { printf(“Invalide numbers of arguments.”); return 1; } fs=fopen(argv[1],”r”); if(fs==NULL) { printf(“Can’t find the source file.”); return 1; } ft=fopen(argv[2],”w”); if(ft==NULL)… Read More »

Write a Program in ‘C’ to print the following output ‘n’ rows. 10m june2009

Write a Program in ‘C’ to print the following output ‘n’ rows. For example, if n=3, the following should be output by the program: 10m june2009   #include <stdio.h> void main() { int I,J,N=3,K=0,ODD=1,SPACE; clrscr(); SPACE=N; for(I=1;I<=N;I++) { for(J=1;J<SPACE;J++) { printf(” “); } K=0; for(J=1;J<=ODD;J++) { if(J<=I) { K++; } else { K–; } printf(“%d… Read More »