answersLogoWhite

0

📱

Operating Systems

Operating systems, both proprietary and open-source, include those produced by Microsoft, Linux, and Apple Mac

4,423 Questions

What are the different functions of Syntax phase Scheduler?

Syntax Phase Scheduler basically check which process should be allocate from the ready queue to the CPU for execution.

How does an operating system help manage resources like processor?

A computer system has many resources that may be required to solve a problem: CPU time, memory space, file-storage space, I/O devices, and so on. The operating system acts as the manager of these resources. Facing numerous and possibly conflicting requests for resources, the operating system must decide how to allocate them to specific programs and users so that it can operate the computer system efficiently and fairly.

Can the Macintosh operating system run on a PC workstation?

Mac OS is the computer operating system for Apple Computer's Macintosh line of personal computers and workstations. A popular feature of its latest version, Mac OS X , is a desktop interface with some 3-D appearance characteristics.

Why Authentication system that uses something a user has in conjunction with something a user knows is called?

Two-factor authentication uses something a user has in conjunction with something a user knows.

What is a computer that can run more than one operating system called?

Technically, all modern (and most ancient) computers are capable of running more than one operating system, so there is no distinction.
Almost Any Computer (especially the New Computers)...It really depends on the Hard drive space you have

What is the major difference between application software and system software?

System software is a program that enables computer to perform a specific task, as opposed to the physical components of the system(which is hardwares).

Systems software consists of three kinds of programs. The system management programs, system support programs, and system development programs

Application software is a sub class of a computer program that employes the capabilities of a computer directly and thoroughly tasks that user wishes. Application software does not deal with hardware.

Advantages n disadvantages of traditional file system?

A disadvantage of a traditional file system is human error. When a file is filed in the wrong place it can be a long time before the file is located. Another disadvantage is the possibility of fire destroying the records. An advantage to this type of filing system is that there is a hard copy of everything that is filed. A file can be copied for several users of the file.

Define the basic hardware resources which are controlled by the operating system?

keyboard,mouse,scanner,cpu,printer,hard disk, compact disk, printer, diskette; what relevances do they contribute to political science as a field of study? keyboard,mouse,scanner,cpu,printer,hard disk, compact disk, printer, diskette; what relevances do they contribute to political science as a field of study? keyboard,mouse,scanner,cpu,printer,hard disk, compact disk, printer, diskette; what relevances do they contribute to political science as a field of study?

What is the relationship between a guest operating system and a host operating system in a system like VMware what factors need to be considered in choosing the host operating system?

A host operating system is the operating system that is in direct communication with the hardware. It has direct hardware access to kernel mode and all of the devices on the physical machine. The guest operating system runs on top of a virtualization layer and all of the physical devices are virtualized. A host operating system should be as modular and thin as possible to allow the virtualization of the hardware to be as close to the physical hardware as possible, and so that dependencies that exist in the host operating don't restrict operation in the guest operating system.

What is the Main disadvantage of layered approach to operating system design?

The main advantage of the layered approach is modularity. The layered are selected such that each uses function and services of only lower level layers. This approach simplifies debugging and system verification

In this case the system is easier to debug and modify, because changes affect only limited portions of the code, and programmer does not have to know the details of the other layers. Information is also kept only where it is needed and is accessible only in certain ways, so bugs affecting that data are limited to a specific module or layer.

Regards

Praveen Muttikkal

Why Disable all interrupts was allowed in kernel mode?

It usually doesn't. You may think of one of the followings:

1. When processing a higher priority interrupt, more interrupts with lower priority are not allowed.

2. During the context-switch (user-mode<->kernel-mode, entering/exiting interrupt/exception handler), interrupts may be disabled.

3. When in a critical operation (eg. manipulating shared data), interrupts may have to be disabled (for a very short time-interval).

What complications could arise in a time-sharing system if two processes require access to the same file at the same time?

File manager could grant several processes access to the same file if the processes are merely reading data from the file, but conflicts can occur if more than one process tries to alter a file at the same time. Thus, a file manager may allocate file access according to the needs of the processes, allowing several processes to have read access but allowing only one to have write access. Other systems may divide the file into pieces so that different processes can alter different parts of the file concurrently.

Can you share an operating system to another computer?

No, unless you have a restore CD copy.

There are at least a couple of options.

One of them is to physically remove the HDD from one pc (old) to the other (new). In order to do this you must first update the HDD driver from the motherboard where the HDD will be installed and install a generic HDD driver. Then switch off (do not restart) the pc. This will save you from gettting a blue screen if you install another HDD in a pc that has worked with a different one.

Once you've done that, the rest is not too difficult.

Replace your HDD and when you power it up you have your OS transferred onto the other pc. Remember to update all the drivers for the components in the new PC accordingly.

The second option is to make an exact image of your HDD onto another HDD and use the latter in the same way as described above. You can use quite a few programs to help you do that and I have personally used Macrium Reflect and it works wonders.

What is an example of a real-time operating system?

there are:

• bookings (any)

• games

• control process (any)

• safety critical systems

• any other suitable example

Explain the types of operating system in detail?

The different types of operating systems are

1) DOS

2)Windows

3)ubuntu

4)Linux

5)unix

What is a trap in an operating system with example?

Trapdoor is a secret undocumented entry point into a program used to grant access without normal methods of access authentication. A trap is a software interrupt, usually the result of an error condition.

Can computer function without an OS?

A computer can run without an operating system but each piece of software would have to be written to "talk" directly to the computer's hardware - displaying something on the screen, saving to discs etc. An operating system provides a standard layer that connects to the hardware so that applications can ask the OS to do something and not worry about the details.

What is banker's algorithm?

#include <stdio.h>

int curr[5][5],maxclaim[5][5],avl[5];

int alloc[5]={0,0,0,0,0};

int maxres[5],running[5],safe=0;

int count=0,i,j,exec,r,p;

int main(){

printf("\nEnter the number of resources: ");

scanf("%d",&r);

printf("\nEnter the number of processes: ");

scanf("%d",&p);

for(i=0;i<p;i++){

running[i]=1;

count++;

}

printf("\nEnter Claim Vector: ");

for(i=0;i<r;i++) scanf("%d",&maxres[i]);

printf("\nEnter Allocated Resource Table:\n");

for(i=0;i<p;i++){

for(j=0;j<r;j++) scanf("%d",&curr[i][j]);

}

printf("\nEnter Maximum Claim table:\n");

for(i=0;i<p;i++){

for(j=0;j<r;j++) scanf("%d",&maxclaim[i][j]);

}

printf("\nThe Claim Vector is: ");

for(i=0;i<r;i++) printf("\t%d",maxres[i]);

printf("\nThe Allocated Resource Table:\n");

for(i=0;i<p;i++){

for(j=0;j<r;j++)

printf("\t%d",curr[i][j]);

printf("\n");

}

printf("\nThe Maximum Claim Table:\n");

for(i=0;i<p;i++){

for(j=0;j<r;j++) printf("\t%d",maxclaim[i][j]);

printf("\n");

}

for(i=0;i<p;i++)

for(j=0;j<r;j++) alloc[j]+=curr[i][j];

printf("\nAllocated resources:");

for(i=0;i<r;i++) printf("\t%d",alloc[i]);

for(i=0;i<r;i++) avl[i]=maxres[i]-alloc[i];

printf("\nAvailable resources:");

for(i=0;i<r;i++) printf("\t%d",avl[i]);

printf("\n");

//Main procedure goes below to check for unsafe state.

while(count!=0){

safe=0;

for(i=0;i<p;i++){

if(running[i]){

exec=1;

for(j=0;j<r;j++){

if(maxclaim[i][j]-curr[i][j]>avl[j]){

exec=0;

break;

}

}

if(exec){

printf("\nProcess%d is executing\n",i+1);

running[i]=0;

count--;

safe=1;

for(j=0;j<r;j++) avl[j]+=curr[i][j];

break;

}

}

}

if(!safe){

printf("\nThe processes are in unsafe state.\n");

break;

}else

printf("\nThe process is in safe state");

printf("\nAvailable vector:");

for(i=0;i<r;i++) printf("\t%d",avl[i]);

printf("\n");

}

}

What are different types multiprocessor system?

A multiprocessor system is any device with multiple processors(processing cores).

These days, you can buy up to an 8 core PC, (apple's new mac pro) http://blogs.zdnet.com/Apple/?p=485

But most people with gaming PC's have at least a duo-core processor. They used to be very expensive, but now they are affordable. But you'll usually hear that term associated with PC or computing devices. It makes everything faster, especially multitasking.