Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология
Образование Политология Производство Психология Стандартизация Технологии


Если бы вы были разработчиком программного обеспечения, и вас попросили внедрить ОС, какие важные характеристики и функции будут иметь ваша версия ОС?



Билет

1)If you were a software developer, and you were asked to implement OS, what kind of important characteristics & features will your version of OS have?

Если бы вы были разработчиком программного обеспечения, и вас попросили внедрить ОС, какие важные характеристики и функции будут иметь ваша версия ОС?

Characteristics:

1. Multiuser Capability;

2. Multitasking;

3. Portability;

4. Security;

5. Communication.

Features:

1. Live CD/USB;

2. Graphical user interface ;

3. Schedulin;

4. Application Support;

5. Memory Management;

6. Allocation of resources.

2) . What are the three major activities of an operating system in regard to memory management?

The three major activities are:

a. Keep track of which parts of memory are currently being used and by whom.

b. Decide which processes are to be loaded into memory when memory space becomes available.

c. Allocate and deallocate memory space as needed.

Каковы три основные действия операционной системы в отношении управления памятью?

а. Отслеживать, какие части памяти в настоящее время используются и кем.

 

б. Определите, какие процессы должны быть загружены в память, когда станет доступной память.

 

с. Выделяйте и освобождайте память по мере необходимости.

3) 3. Write a program/pseudo-code for producer with the use of simple buffer.

item next_produced;

while (true) {

/* produce an item in next produced */

while (((in+1)% BUFFER_SIZE)==out)

; /*do nothing*/

buffer [in]=next_produced;

in=(in+1)% BUFFER_SIZE;

}

Билет

Why do you think OS is so important for hardware?

The hardware is what you hold or have plugged in. Hardware has all of the components that make your particular device work, and without it, the software would not be accessible. The better the hardware, the more appealing (in theory) the experience.

Как вы думаете, почему ОС так важна для аппаратного обеспечения?

 

Аппаратное обеспечение - это то, что вы держите или подключаете. В оборудовании есть все компоненты, которые делают ваше конкретное устройство работоспособным, и без него программное обеспечение не будет доступно. Чем лучше оборудование, тем привлекательнее (теоретически) опыт.

What are the three major activities of an operating system in regard to secondary-storage management?

1-free storage management

2-Storage allocation

3-disc scheduling

3)Write a program/pseudo-code for consumer with the use of simple buffer

   item next_consumed;

  while (true) { while (in == out)

next_consumed = buffer[out];

out = (out + 1) % BUFFER_SIZE;}

 

Билет

What is your assumption about OS functionality? What will you consider as important ones (Define at least 5 important parts of OS functionality)?

Каково ваше предположение о функциональности ОС? Что вы считаете важными (определите, по крайней мере, 5 важных компонентов функциональности ОС)?

 

Функциональность ОС: пакетный режим, совместное использование времени и многозадачность, разделение полномочий, масштаб реального времени, файловые структуры и файловые системы.

List five services provided by an operating system. Explain how each provides convenience to the users. Explain also in which cases it would be impossible for user-level programs to provide these services..

Перечислите пять служб, предоставляемых операционной системой. Объясните, как каждый из них обеспечивает удобство для пользователей. Объясните также, в каких случаях программы пользовательского уровня будут предоставлять эти услуги.

1-program execution

2-I/O Operations

3-File system manipulation

4-Comunications

5-Error detections

Explain to me “Dining Philosophers” problem with the example.

problem is to design a protocol to satisfy the liveness condition: any philosopher who tries to EAT, eventually does.process P[i]

     while true do

       { THINK;

         PICKUP(CHOPSTICK[i], CHOPSTICK[i+1 mod 5]);

         EAT;

         PUTDOWN(CHOPSTICK[i], CHOPSTICK[i+1 mod 5])

        }

 

Билет

Билет

1)34

2) 35. Why do some systems keep track of the type of a file, while others leave it to the user or simply do not implement multiple file types? Which system is “better?”

Some systems allow different file operations based on the type of the file (for instance, an ascii file can be read as a stream while a database file can be read via an index to a block). Other systems leave such interpretation of a file’s data to the process and provide no help in accessing the data. The method that is“better” depends on the needs of the processes on the system, and the demands the users place on the operating system. If a system runs mostly database applications, it may be more efficient for the operating system to implement a database- type file and provide operations, rather than making each program implement the same thing (possibly in different ways). For general- purpose systems it may be better to only implement basic file types to keep the operating system size smaller and allow maximum freedom to the processes on the system.

 

Билет

Билет

1)If you were a software developer, and you were asked to implement OS, what kind of important characteristics & features will your version of OS have?

Если бы вы были разработчиком программного обеспечения, и вас попросили внедрить ОС, какие важные характеристики и функции будут иметь ваша версия ОС?

Characteristics:

1. Multiuser Capability;

2. Multitasking;

3. Portability;

4. Security;

5. Communication.

Features:

1. Live CD/USB;

2. Graphical user interface ;

3. Schedulin;

4. Application Support;

5. Memory Management;

6. Allocation of resources.

2) . What are the three major activities of an operating system in regard to memory management?

The three major activities are:

a. Keep track of which parts of memory are currently being used and by whom.

b. Decide which processes are to be loaded into memory when memory space becomes available.

c. Allocate and deallocate memory space as needed.

Каковы три основные действия операционной системы в отношении управления памятью?

а. Отслеживать, какие части памяти в настоящее время используются и кем.

 

б. Определите, какие процессы должны быть загружены в память, когда станет доступной память.

 

с. Выделяйте и освобождайте память по мере необходимости.

3) 3. Write a program/pseudo-code for producer with the use of simple buffer.

item next_produced;

while (true) {

/* produce an item in next produced */

while (((in+1)% BUFFER_SIZE)==out)

; /*do nothing*/

buffer [in]=next_produced;

in=(in+1)% BUFFER_SIZE;

}

Билет


Поделиться:



Последнее изменение этой страницы: 2019-05-08; Просмотров: 120; Нарушение авторского права страницы


lektsia.com 2007 - 2024 год. Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав! (0.024 с.)
Главная | Случайная страница | Обратная связь