Monday 24 October 2016

January, 2015 A8-R4: BASICS OF OS, UNIX & SHELL PROGRAMMING

January, 2015
A8-R4: BASICS OF OS, UNIX & SHELL PROGRAMMING

PART ONE
(Answer all the questions)

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. (1x10)
1.1 An ________ is a program whose function is to enable other programs to use the computer’s
hardware.
A) Operating system
B) Firmware
C) Application Software
D) All of the above
1.2 Thompson and Ritchie rewrote their UNIX operating system in ________ Language.
A) PASCAL
B) FORTRAN
C) C
D) C++

Heading : HTML

HTML Heading Tutorial

In our school day we make heading to highlight some text. In HTML heading is used same way.
Heading makes a text bold and change line. HTML has 6 different size heading. Heading is also important for SEO point of view you should have some heading on your page for better result in SEO. 

<h1>Girfa : Student Help </h1>
<h2>Girfa : Student Help </h2>
<h3>Girfa : Student Help </h3>
<h4>Girfa : Student Help </h4>
<h5>Girfa : Student Help </h5>
<h6>Girfa : Student Help </h6>

Output

Girfa : Student Help

Girfa : Student Help

Girfa : Student Help

Sunday 23 October 2016

Write a program to print an array in reverse order?

Write a program to print an array in reverse order?

/* ##################################
      Girfa : Student Help
      Reverse an array
      for more program visit : http://girfahelp.blogspot.in/2012/09/some-program-of-c-language.html
   ################################### */

#include<stdio.h>
#include<conio.h>
void main()
{
      int ar[5],i;
      clrscr();
      for(i=0;i<5;i++)
      {
            printf("Enter %d position number>> ",i+1);
            scanf("%d",&ar[i]);
      }
      printf("\n\tOriginal Input\n");

Scanf : C Language Function

Scanf C Language Function

Scanf

A function is use to take input from keyboard and transfer to a variable.

Syntax

Scanf(“format string”,&variable_list);

Format string : %d,%c,%f,%s has been use as format string .

Variable_list : Name of variable followed by address operator where input though keyboard been transferred.

Example

Scanf(%d”,&a);  Integer input
Scanf(“%c”,&a); character input