logo

Crowdly

Browser

Add to Chrome

Sistemas Operativos

Looking for Sistemas Operativos test answers and solutions? Browse our comprehensive collection of verified answers for Sistemas Operativos at moodle24.iscte-iul.pt.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Indique o que faz o comando awk -F ':' '{print $0}' estacionamentos.txt | sort -k 6

0%
0%
0%
0%
0%
View this question

Que comando permite ler o nome do condutor inserido pelo utilizador no script menu.sh?

0%
0%
0%
50%
View this question

Qual a finalidade da função fork() usada no servidor?

View this question

No processo Servidor, qual é a principal finalidade de invocar wait(NULL)?

View this question

No contexto do acesso à SHM da FACE para obter a tarifa atual:

int *tarifaAtual;

int shmId = shmget(KEY_FACE, 0, 0);

...

Qual linha que completa corretamente o mapeamento da SHM para leitura da tarifa?

0%
0%
0%
0%
View this question

Qual destas abordagens evita que o processo Servidor Dedicado entre em espera ativa enquanto aguarda o sinal SIGUSR1 enviado pelo processo Cliente

View this question

Quando o cliente pressiona CTRL+C, o que acontece no processo Cliente?

0%
0%
0%
0%
0%
View this question

Considere o seguinte código no Servidor:

if ((msgId = msgget(IPC_KEY, IPC_CREAT | IPC_EXCL | 0666)) == -1) {

    if (errno == EEXIST) {

        so_exit_on_error(msgctl(msgId, IPC_RMID, NULL), "msgctl");

        so_exit_on_error((msgId = msgget(IPC_KEY, IPC_CREAT | IPC_EXCL | 0666)), "msgget");

    }

}

Qual é o objetivo da verificação "if (errno == EEXIST)"?

0%
0%
0%
0%
0%
View this question

Indique o propósito do comando cat entradas.txt | grep "AB123" | wc -l

0%
0%
0%
0%
0%
View this question
Considere o algoritmo de sequenciamento Round-Robin. Qual a consequência do tempo de quantum se aproximar do tempo de overhead ?
0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle24.iscte-iul.pt?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome