Tag Archives: display

HTML12 Write HTML code to create a Web page of pink colour and display a moving message in red colour.

Write HTML code to create a Web page of pink colour and display a moving message in red colour.   Write HTML code to create a Web page of pink colour and display a moving message in red colour.   Html code: [codesyntax lang=”html4strict”] <!DOCTYPE html> <HTML> <HEAD> <TITLE>CSSimplified.com HTML12</TITLE> </HEAD> <BODY BGCOLOR=”pink”> <MARQUEE> <FONT… Read More »

Write a program and flowchart to display the following pattern: 6m Jun2008

Write a program and flowchart to display the following pattern: 6m Jun2008 1 2 3 4 5 6 7 8 9 1 0 11 12 13 14 15 16 17 18 19 20 21   Code: #include<stdio.h> void main() { int I,J,C=1; clrscr(); printf(“Result :\n”); for(I=0;I<6;I++) { printf(“\n”); for(J=0;J<=I;J++) { printf(“%d “,C++); } printf(“\n”); }… Read More »

A program in ‘C’ language to display the names and seat numbers of all passengers of a bus in the form of a singly linked list. Use pointers. 10m Dec2007

Write a program in ‘C’ language to display the names and seat numbers of all passengers of a bus in the form of a singly linked list. Use pointers. 10m Dec2007   #include<stdio.h> struct node { int seat; char name[20]; struct node *next; }; typedef struct node node; //with this Use “node” instead of “struct… Read More »

A C program to display a table that represents a Pascal triangle of any size – 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 display a table that represents a Pascal triangle of any size. Hint: In Pascal triangle, the first and the second rows are… Read More »

A C program works as DISTANCE CONVERTER cms / kms / miles to metres – 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 program called “DISTANCE CONVERTER” that accepts the distance/length in centimetres / kilometres /miles and displays its equivalent in metres.   #include<stdio.h> void main() { int… Read More »

A C program to add two fractions & print resultant fraction – 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 a C program to add two fractions and display the resultant fraction. The program should prompt the user to input Fraction-One and Fraction-Two. The numerator and denominator of each fraction‟s are… Read More »

Write an algorithm and draw a corresponding flowchart to search a number in the given list of numbers and also display its position. 10m Dec2005

 Write an algorithm and draw a corresponding flowchart to search a number in the given list of numbers and also display its position. 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… Read More »

An Assembly Lanuage Program, which takes two inputs as strings and display the Concatenated string.

Now we will write another Assembly Lanuage Program, which takes two inputs as strings and display the Concatenated string. Let’s identify variables needed for this program. First variables will be the one which will hold the Strings entered by user in the variables P1 LABEL BYTE    M1 DB 0FFH    L1 DB ?    P11 DB 0FFH DUP (‘$’),… Read More »

ASSEMBLY28 An Assembly program, which takes the input of 4-digit number, and display the sum of square of digits

Now we will write another Assembly program, which takes the input of  4-digit number, and display the sum of square of digits Let’s identify variables needed for this program. First variables will be the one which will hold the value entered by user in the variables D1, D2, D3, D4 to save 4-Digits separately in 4 variables  and variable SUM will hold sum of… 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 »