ExamVeda
Login
Home
11
Solaris System class priority is
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
12
This program will print the . . . . . . . . string.
#include<stdio.h>
 
int main()
{
    int fd[2];
    char buff[11];
    if (pipe(fd) != 0)
        perror("pipe");
    write(fd[1],"Example",11);
    lseek(fd[0],0,3);
    read(fd[0],buff,11);
    printf("%s\n",buff);
    return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
13
Which one of the following is not true?
Discuss
Answer & Solution
Answer: Option D
No explanation is given for this question. Let's Discuss on Board
14
The dmesg command
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
15
For the below mentioned code,
int main() 
{
     int fd;
     fd = open(“logfile”, O_CREAT|O_RDWR, 0600);
     lseek(fd, 5, SEEK_CUR);
     write(fd, “Hello”, 5);
     return 0;
}
What is the logfile size now if it's initially was 1024 bytes?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
16
Which GDB command produces a stack trace of the function calls that lead to a segmentation fault?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
17
How many links are created when we creat a directory file?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
18
The file /proc/kcore displays a size of
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
19
The GDB text user interface uses the . . . . . . . . library to show the source file.
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
20
The files of sysfs contains the information about
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board