ExamVeda
Login
Home
91
The file /proc/locks displays the file currently locked by the
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
92
Which is the correct syntax for sed on command line?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
93
In this program
#include<stdio.h>
#include<signal.h>
#include<stdlib.h>

int main()
{
    pid_t child;
    child=fork();
    switch(child){
        case -1 :
            perror("fork");
            exit(1);
        case 0 :
            while(1){
                printf("Child Process\n");
                sleep(1);
            }
            break;              
        default :
            sleep(5);
            kill(child,SIGINT);
            printf("The child process has been killed by the parent process\n");
            break;
    }
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
94
Another signal that cannot be caught is:
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
95
Sysfs internally stores the pointer to the . . . . . . . . that implements the directory in the file system.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
96
The major number identifies the . . . . . . . . associated with the device.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
97
In this program the two printed memory locations has the difference of . . . . . . . . bytes.
#include<stdio.h>
#include<stdlib.h>
 
int main()
{
    int *ptr;
    ptr = (int*)malloc(sizeof(int)*2);
    printf("%p\n",ptr);
    printf("%p\n",ptr+1);
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
98
What is the output of this program?
#include<stdio.h>
#include<sys/time.h>
#include<sys/resource.h>
 
int main()
{
    struct rlimit limit;
    if(getrlimit(RLIMIT_CORE,&limit) != 0)
        perror("getrlimit");
    printf("%lu\n",limit.rlim_max);
    return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
99
The process of starting up a computer is known as
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
100
Assemble code of the program can be displayed in GDB by the command
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board