Saturday, April 30, 2011

CrazyEngineers Forum - Computer Science & IT Engineering

CrazyEngineers Forum - Computer Science & IT Engineering


System failure's.

Posted: 29 Apr 2011 09:22 AM PDT

System failure's are one of the most important problems faced by any system. Be it a normal operating system or a database management system, failure's can occur in any prevalent system. Hence, the methods by which we can recover a system from any failure is of great significance. There are basically three types of failure's, which are:
1)System failure's:
This failure is one of the most dangerous failure, since it causes the entire system to crash. This can occur due to may reasons like problems in the system hardware, invalid assumptions of the system requirements,etc. One example of this is the "Blue screen of death", which is witnessed in the windows operating system. A similar situation is observed in the UNIX system ,which is termed as "Kernel panic".
2)Transaction failure's:
This failure occurs if the system has to abort a particular transaction due to some problems that might have occurred while any transaction such as invalid data.etc.
3)Disk failure's:
This failure occurs due to tearing of tapes.etc which can be due to many external factors too.

In some circumstances it is very difficult to recover the system.

coding problem

Posted: 29 Apr 2011 05:43 AM PDT

pls can some one tell me this code is giving errors when i run it..??
Decimal to Binary, Octal and HEX converter

#include<stdio.h>
#include<conio.h>
#define MAX 79
#define ESC 27
void main()
{
char res,r;
int i,k=0,y;
long j=0,l=0,o=0;
textcolor(15);
for(i=0;i<5000;i++)
cprintf(" ");
while(1)
{
clrscr();
printf("Enter Any Number To Be Converted : ");
scanf("%ld",&j);
l=j;
o=l;
k=0;
if(j>2145555550)
{
textcolor(4);
gotoxy(15,5);
cprintf("The Number Is Greater Than Range");
textcolor(15);
getch();
goto end;
}
else
{
gotoxy(1,6);
printf("Binary Equivalent:-");
y=MAX;
while(j>0)
{
k=j%2;
j=j/2;
gotoxy(y,6);
y--;
printf("%d",k);
}
gotoxy(1,8);
printf("Hexadecimal Equivalent:- ");
y=MAX;
while(l>0)
{
k=l%16;
l=l/16;
gotoxy(y,8);
y--;
if(k<=9)
{
printf("%d",k);
}
if(k==10)
{
printf("A");
}
if(k==11)
{
printf("B");
}
if(k==12)
{
printf("C");
}
if(k==13)
{
printf("D");
}
if(k==14)
{
printf("E");
}
if(k==15)
{
printf("F");
}
}
gotoxy(1,10);
printf("Octal Equivalent:- ");
y=MAX;
while(o>0)
{
k=o%8;
o=o/8;
gotoxy(y,10);
y--;
printf("%d",k);
}
}
gotoxy(15,25);
printf("Press Any Key To Continue , ESC To Exit");
res=getch();
if(res==ESC)
{
break;
}
}
end:
textcolor(7);
for(i=0;i<5000;i++)
cprintf(" ");
clrscr();
}

numerical on advanced computer architecture

Posted: 29 Apr 2011 03:11 AM PDT

suppose a multiprocessor is built out of individual process of capable of sustaining 50 Mflops. what is the largest function of program execution time that could be devoted to sequential operation if the parallel computer is to exceed the performance of a super computer capable sustaining 1 Gflops.?

does anybody know how to solve this question?

No comments:

Post a Comment