logo

Crowdly

Browser

Додати до Chrome

25-26 CS2850: Operating Systems

Шукаєте відповіді та рішення тестів для 25-26 CS2850: Operating Systems? Перегляньте нашу велику колекцію перевірених відповідей для 25-26 CS2850: Operating Systems в moodle.royalholloway.ac.uk.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Which of the following is not a basic data type in C?

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

Let a1.out and a2.out be the executable files obtained by running 

 gcc -Wall -Werror -Wpedantic -o a1.out helloWorld1.c

and 

 gcc -Wall -Werror -Wpedantic -o a2.out helloWorld2.c
where helloWorld1.c is  

#include <stdio.h>

int main() {

int i = 2;

if (i==1) {

printf("hello world!\n");

i++;

}

if (i>1) printf("hello world!\n");

}

and helloWorld2.c is  

#include <stdio.h>

int main() {

int i = 2;

if (i==1) {

printf("hello world!\n");

i++;
                  if (i>1) printf("hello world!\n")
                  }
}

Select the true statements.

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

Let a.out be the executable file obtained by running

gcc -Wall -Werror -Wpedantic helloWorld.c

where helloWorld.c is the code given below

 

#include <stdio.h>

#define N 10

int main() {

        for (int i = 2; i < N; i = i * 2) printf("%d) hello world!\n", i);

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

Navigate to the directory you created for this week's lab exercise, CS2850Labs\week1. Recompile your program helloWorld.c as described in the lab sheet and check that your directory contains a new file called a.out. Open a.out with VIM by entering

vim a.out

In Escape mode, type 

:%!xxd -b

What do you see?

 

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

Select all the correct statements about Linux file systems:

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

Select all the correct statements about scheduling in Linux:

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

A process declares a variable x, initialises it to 0, and then calls clone with CLONE_VM not set. The child process created by clone sets x to 3 and exits. Finally, the parent process prints x out. Which value is printed?

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

Select all the correct statements about Android:

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

Which of the following operations are performed by Linux when a process calls exec()?

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

Which of the following lists does not correspond to a valid execution of the deadlock detection algorithm on the following resource allocation graph, with starting node B?

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

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.royalholloway.ac.uk?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome