Friday, 12 June 2020

Decimal to Binary conversion C language

Q : Write a C Program using function to print equivalent binary number of decimal number input by keyboard ?

Answer : 

#include<stdio.h>
#include<conio.h>
/*##########################
     Girfa Student Help
     Decimal to Binary conversion
  ##########################*/
void main()
{
     int d,b,ar[10],i;
     clrscr();
     printf("Enter number> ");
     scanf("%d",&d);
     i=0;
     while(d>0)
     {
          ar[i]=d%2;
          d=d/2;
          i++;
     }
     i--;
     while(i>=0)
     {
          printf("\t%d",ar[i]);
          i--;
     }
     getch();
}

Thursday, 11 June 2020

Second Highest number from array using C language

Q : find second largest number from 1D array of n numbers.


Answer : 


#include<stdio.h>
void main()
{
     int n1,n2,ar[5],i;

Tuesday, 9 June 2020

Answer :July 2019 Introduction to ICT Resources

Answer : NIELIT (O-Level) July 2019  Introduction to ICT Resources

1. Multiple Choice


1.1 : B
1.2 : A
1.3 : C
1.4 : D
1.5 : C
1.6 : A
1.7 : A
1.8 : B
1.9 : C
1.10 : C

Monday, 8 June 2020

Solved : July 2019 Introduction to ICT Resources

Solved : NIELIT (O-Level) July 2019  Introduction to ICT Resources



1. Each question below gives a multiple choice of answers. Choose the most appropriate one and enter in the “OMR” answer sheet supplied with the question paper, following instructions therein

1.1 : Number of links to connect n nodes in a mesh topology is __________.
(A) n(n+1)
(B) n(n−1)/2
(C) n+1
(D) n(n+1)/2
Answer