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.
#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.
vxworks is used to control network and communication devices. vxworks is similar to unix but it uses less processing power than unix.
Where can one find an open source document management system?
One can find an open source document management system from numerous sites. Examples of such sites include Alfresco, Contineo, Iron Mountain and File Expert.
Yes, the PC's operating system manages hardware, runs applications, provides an interface for users, and stores retrieves and manipulates files. An OS would be, for example, Windows 10.
An operating system is made simpler to understand and use by abstracting complex details through user-friendly interfaces and streamlined functionalities. By presenting information and options in a clear, intuitive manner, users can perform tasks without needing to understand the underlying complexities. Additionally, automation of routine processes and the use of graphical user interfaces (GUIs) allow users to interact with the system more easily, reducing cognitive load. This simplification ultimately enhances user experience and accessibility, enabling a broader range of individuals to utilize the technology effectively.
What is backing store management as a function of an operating system?
Backing store management refers to the operating system's ability to manage secondary storage, such as hard drives or SSDs, to support processes that cannot be fully loaded into main memory (RAM). It involves techniques like paging and swapping, where data is temporarily stored on disk to free up memory for active processes. This function ensures efficient use of memory resources, enables multitasking, and maintains system performance by allowing larger applications to run on limited physical memory. Overall, backing store management plays a critical role in system stability and responsiveness.
Allows the devices inside and attached to the system unit to communicate?
BUS
Each channel, called a bus, allows the various devices both inside and attached to the system unit to communicate with each other
What configuration baseline is used to define the overall system level capabilities of a system?
Functional Baseline
Can windows 7 home basic use personalized themes?
No, Windows 7 Home Basic (and Window 7 Starter) does not support themes on its own. You can, however, download and install Personalization Panel which can run themes on your Home Basic computer.
What does 'Operating system not found' mean?
Your computer do not find a operating system to boot up (Windows, Linux etc.) It's needed for you to navigate visuals on your screen.
This error might display if your boot-files are damaged or missing, or your hard drive is disconnected or damaged.
You will have to replace the faulty hardware/files. Reinstalling your OS is usually a solution for this.
What is the difference between batch processing and multiprogramming?
acc. to me,multiprogramming is based on system level and multitasking is based on user level.operating system can execute a program or application once at a time.it means the code related to other applications would be stored in operating systems but it will activate when that particular application is activated by user. acc. to me,multiprogramming is based on system level and multitasking is based on user level.operating system can execute a program or application once at a time.it means the code related to other applications would be stored in operating systems but it will activate when that particular application is activated by user. acc. to me,multiprogramming is based on system level and multitasking is based on user level.operating system can execute a program or application once at a time.it means the code related to other applications would be stored in operating systems but it will activate when that particular application is activated by user.
An interactive or hands on computer system provides online communication between the users and the system.The users gives instuction to the operating system or to a program directly,and receiver an immediate response.
What type of operating system is usually used in personal computers?
I'd say this question isn't very specific, but PCs definitely use what can be called a "client" OS while servers use a "server" OS.
What are the disadvantages of interconnected power system?
Economic interchange: production cost of area 1 is lower so sells to area 2.
Emergency Interchanges: Each areas helps other in case of an emergency
Why is the operating system the most important software on the computer?
There are many aspects of the operating system which are vital to the smooth running of your computer system, with a number listed below :-
Speed
Many people are forever demanding quicker and quicker computer systems, and while they may have the best chips in the world, ultimately it is the operating system which will dictate processing speeds and the overall performance of your computer.
Security
In basic terms the operating system is the interface between your computer and supporting hardware and software. The Kernel of any operating system is the most vital area and is the one which is afforded the most protection. Microsoft was in trouble at the launch of Windows XP because they would not allow security software companies access to this area - concerned about possible consequences.
Control
While many of us just take for granted that we can have multiple programs and multiple services running at the same time, this can often require complicated stacking and queuing systems. This is an area of your operating systems which is hardly mentioned, but one which allows you to affectively multi-task.
The fight between the likes of Linux based and Windows based operating systems has started to hot up over the last couple of years and has pushed the operating system sector to the fore. More and more people are now curious as to what the operating system controls and what it does. This in turn has seen many look into what Linux offers over Windows and other operating systems.
How many computers are sold with a Windows Operating System in the US?
Well, microsoft's windows operating system is on about 90% of the computers currently in use, so I would assume a number close to that would be the % of the computers coming preloaded with windows.
There is nothing in the CPU hardware itself. This is handled by "anti-virus" software.