Questions 1 - 10 of 238
Close
Flag this interview question as inappropriate Inappropriate
See Answer
  • To run the count program, which will display the process identification number of the job, enter: count &
  • To check the status of your job, enter: ps
  • To bring a background process to the foreground, enter: fg
  • If you have more than one job suspended in the background, enter: fg %#

    Replace  #  with the job number, as shown in the first column of the output of the jobs command.

  • You can kill a background process by entering: kill PID

    Replace PID with the process ID of the job. If that fails, enter the following:

    kill -KILL PID
  • To determine a job's PID, enter: jobs -l
  • If you are using sh, ksh, bash, or zsh, you may prevent background processes from sending error messages to the terminal. Redirect the output to /dev/null using the following syntax: count 2> /dev/null &
  • Create Date
    :
    Sunday, May 11, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    Test s for prime or not?


    #include<stdio.h>
    void main(void)
    {
               int no,rem,cnt;
            Printf("enter No");
            scanf("%d",&no);
            cnt=2;
            while(cnt<=no)
           {

                  rem=no % cnt;
                  if (rem==0)
                  {
                  printf("No is not prime");
                  exit(0);
                  }
                  cnt++;
            }
              printf("No is Prime");
    }



    Create Date
    :
    Thursday, October 16, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    None
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    main()
    {
     int n,row=1,col=40,i=0,j,k=0,count=1;
     int a[10];
     clrscr();
     i=n-1;
     printf("            WELCOME TO THE PROGRAM SIR/MADAM

    <BR>);
     printf("Pyramid of how many numbers?  ");
     scanf("%d",&n);
     for (j=0;j<n;j++)
     {
      printf("Enter no.:-  ");
      scanf("%d",&a[j]);
     }
     clrscr();
     for (row=n;row>=1;row--)
     {
      k=0;
      k=40-(4*(row-1));
      i=row-1;
      for (col=40;col>=k;col=(col-4))
      {
       gotoxy(col,row);
       printf("%d",a[i]);
       --i;
      }
     }

     for (count=n;count>=1;count--)
     {
      k=0;
      k=40+(4*(count-1));
      i=count-1;
      for (col=40;col<=k;col=(col+4))
      {
       gotoxy(col,count);
       printf("%d",a[i]);
       --i;
      }
     }
     getch();
    }

    Create Date
    :
    Thursday, October 16, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    None
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    18hrs
    Create Date
    :
    Tuesday, May 13, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    18
    Create Date
    :
    Tuesday, May 13, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question 
    Flag this interview question as inappropriate Inappropriate
    See Answer
    Boxing converts a value-type to a reference-type, thus storing the object on the heap.  Unboxing converts a reference-type to a value-type, thus storing the value on the stack.
    Create Date
    :
    Tuesday, May 13, 2008
    Tags
    :
    Asked At
    :
    None
    Job Positions
    :
    Click here to improve the Interview Question, Answer and other fields.
    Comments (0) :
    Goto add your comment on the Question