Posts

IGNOU MCS-011 Assignment Solution for 2020-21 | IGNOU Solved Assignment

IGNOU MCS-011 Assignment Solution for 2020-21 | IGNOU Solved Assignment  Q1                                                                                                         (10 Marks) Write an algorithm, draw a corresponding flowchart and write an interactive program to convert a decimal number to its hexadecimal equivalent.   Source Code: #include<stdio.h> #include<conio.h> void main()  {   long int dec,r;   int i=0,l;   char hex[50];   printf("Enter Decimal number\n");   scanf("%ld",&dec);   while(dec!=0)    {     r=dec%16;     if(r<10)      hex[...

mcse 004 solved question paper | mcse 004 ignou | ignou mcse 004 question paper june 2020

mcse 004 solved question paper | mcse 004 ignou | mcse 004 question paper june 2020 NUMERICAL AND STATISTICAL COMPUTING TEE June 2020 Questions MCSE: NUMERICAL AND STATISTICAL COMPUTING ABSOLUTE RELATIVE ERRORS Q1a Evaluate the sum             S=sqrt 3 + sqrt 5 +sqrt 7    to four significant digits and determine absolute and relative errors   MCSE-004 Q1a NUMERICAL AND STATISTICAL COMPUTING TEE June 2020 Q1b Solved NEWTON RAPHSON METHOD Q1b Use Newton-Raphson Method to determine the root of the equation x2 -2x - 5 = 0 Perform two iterations MCSE-004 Q1b   Lagrange's Interpolation Formula Q1c Use Lagrange's Interpolation Formula to find the value of sin(pi/6), given y=sinx x y=sinx 0 0 pi/4 0.70711 pi/2 1.0 MCSE-004 Q1c TRAPEZOIDAL RULE  Q1d Evaluate the integral : I=Integration of limit 0 to 1 dx/1+x by using the Trapezoidal Rule with n=2 and...

Generation Of Computer | Computer Generation | कंप्यूटर की पीढ़िया

GENERATION OF COMPUTER First Generation Second Generation Third Generation Fourth Generation Fifth Generation   Generation Technology Language First Vacuum Tube Machine Language Second Transistor Assembly Language Third Integrated Circuit (I C) High Level Language (H L L) Fourth Very Large Scale Integrated Circuit (V L S I) Structural Query Language (SQL) Fifth Ultra Large Scale Integrated Circuit (U L S I) Artificial Intelligence (AI) To Know more about click the following link https://youtu.be/O7iDZIO2MAw    

Fibonacci Series In C-Gaurav Pali

Image
 Write a program in C to print the Fibonacci Series Note:- In the Fibonacci series, every next number is the sum of the previous two numbers. #include<stdio.h> #include<conio.h> void main()  {   int a=0,b=1,c,i,n;   clrscr();   printf("Input number of terms you want to print");   scanf("%d",&n);   printf("%d %d ",a,b);   for(i=1;i<=n;i++)    {     c=a+b;     a=b;     b=c;     printf("%d ",c);    }   getch();  } Program ScreenShot OutPut

Count the no of lowercase letters in a text file bca.txt in C

Image
Write a program in C to count the no of lowercase letters in a text file bca.txt This program reads one character at a time by using fgetc() function until the EOF (end of file) returns. Then it checks whether the current character is lowercase or not. If it is a lowercase letter it increments the value of c by 1. It also displays the contents of file named bca.txt. And finally print the total number of lowercase letters present in the file, which is the main purpose to write the program Program #include<stdio.h> #include<conio.h> void main()  {   FILE *fptr;   char ch;   int c=0;   if((fptr=fopen("bca.txt","r"))==NULL)    printf("File doesn't exist\n");   else    {     while((ch=fgetc(fptr))!=EOF)      {       if(ch>=97&&ch<=122) c++;       printf("%c",ch);      }    }    printf("\nTotal lowercase letter in bca.txt file ...

Input Function In Python

Image
Input Function In Python TRY THE FOLLOWING COMMANDS ONE BY ONE print("Enter your name") name=input() print("My name is "+name)   name=input("Enter your name") print("My name is "+name)   name=input("Enter your name\n") print("My name is "+name)   a=input("Enter a Number") print(a)   a=input("Enter a Number\n") print("Value of a is "+a)   a=input("Enter First Number\n") b=input("Enter Second Number\n") c=a+b print("Sum of a and b is "+c)   a=int(input("Enter First Number\n")) b=int(input("Enter Second Number\n")) c=a+b print("Sum of a and b is "+c)   a=int(input("Enter First Number\n")) b=int(input("Enter Second Number\n")) c=a+b print("Sum of a and b is "+str(c))   a=float(input("Enter First Number\n")) b=float(input("Enter Second Number\n")) c=a+b print("Sum of a and b is "+str(...

Write A Program To Perform The Addition Of 3x3 Matrices Using An Array

Image
M3-R4 O-Level Jan-20 Subjective Type M3-R4 : PROGRAMMING & PROBLEM SOLVING THROUGH ‘C’ LANGUAGE PART-2 /*Write a program to perform the addition of 3x3 matrices using an array*/ /* M3-R4 Q-6(B)*/ #include<stdio.h> #include<conio.h> void main()  {   int mat1[3][3],mat2[3][3],mat3[3][3]; /*Declare 3 Matrices of 3X3*/   int i,j;   clrscr();   printf("Enter the elements in matrix 1\n");   for(i=0;i<3;i++)    for(j=0;j<3;j++)     scanf("%d",&mat1[i][j]);    printf("Enter the elements in matrix 2\n");   for(i=0;i<3;i++)    for(j=0;j<3;j++)     scanf("%d",&mat2[i][j]);  /*Perform addition of matrix 1 and matrix 2 */   for(i=0;i<3;i++)    for(j=0;j<3;j++)     mat3[i][j]=mat1[i][j]+mat2[i][j];   printf("Result after addition of matrix 1 and matrix 2\n");   for(i=0;i<3;i++)    {     for(j=0;j<3;j++) ...