logo

Crowdly

Browser

Додати до Chrome

Questions Bank (1440909 total)

Considérez le code suivant : ( https://onlinegdb.com/B1kz-RzeO)

int main() {

    int fd[2];  pipe(fd);

    if (fork() == 0) {

               dup2(fd[1],1);

               close(fd[1]); close(fd[0]);

               execlp("ls", "ls", NULL);        

      }

        close(fd[1]); char c;

        while(read(fd[0],&c,1)>0) write(1,&c,1);  

        close(fd[0]);

        wait(NULL);

       _exit(0);

}

Sélectionnez les énoncés corrects.

0%
0%
0%
Переглянути це питання

Si un processus exécute

cette instruction « dup2(fd=open(“fich”,O_WRONLY),1); » alors

0%
0%
0%
Переглянути це питання

Considérez

la commande « ls

| sort > data ».

La sortie erreur STDERR du processus exécutant « ls » 

est :

0%
0%
0%
0%
Переглянути це питання

Quels sont les énoncés vrais pour les tubes de communication ?

0%
0%
0%
Переглянути це питання

Determine o limite das seguintes sucessões.

Переглянути це питання

Sejam , , e sucessões tais que

Selecione todas as afirmações verdadeiras.

0%
0%
0%
100%
100%
100%
Переглянути це питання
Which of the following types of PPE do not belong to Category III?
❌
✅
❌
❌
Переглянути це питання
Disposable gloves to protect against biological or chemical risks often fail. What do you do if this happens?
0%
0%
0%
0%
Переглянути це питання
Which of the following continuations of this statement is incorrect? “PPE must be worn only when the associated risks cannot be eliminated or sufficiently reduced by means of”:
❌
❌
✅
❌
Переглянути це питання
Which of the following statements is incorrect?
❌
❌
✅
❌
Переглянути це питання