Showing posts with label MCA .. Show all posts
Showing posts with label MCA .. Show all posts
Thursday, February 10, 2011

what is Mainframes? why?


What is mainframes?
A mainframe (also known as "big iron") is a high-performance computer used for large-scale computing purposes that require greater availability and security than a smaller-scale machine can offer. Historically, mainframes have been associated with centralized rather than distributed computing, although that distinction is blurring as smaller computers become more powerful and mainframes become more multi-purpose. Today, IBMemphasizes that their mainframes can be used to serve distributed users and smaller servers in a computing network.
The mainframe is sometimes referred to as a "dinosaur" not only because of its size but because of reports, going back many years, that it's becoming extinct. In 1991 Stewart Alsop, the editor of InfoWorld, predicted that the last mainframe would be retired by 1996. However, in February 2008 IBM released a new mainframe, the z10. Steve Lohr wrote about the mainframe as "the classic survivor technology" in The New York Times ("Why old technologies are still kicking"):
I.B.M. overhauled the insides of the mainframe, using low-cost microprocessors as the computing engine. The company invested and updated the mainframe software, so that banks, corporations and government agencies could still rely on the mainframe as the rock-solid reliable and secure computer for vital transactions and data, while allowing it to take on new chores like running Web-based programs.
The original mainframes were housed in room-sized metal frames, which is probably where the name derives from. In the past, a typical mainframe might have occupied 2,000 - 10,000 square feet. Newer mainframes are about the same size as a large refrigerator
Why mainframes?

Mainframes may seem an odd subject for a Justice Dept. antitrust probe, but these seemingly outdated machines could play a key role in cloud computing

On its face, news of the Justice Dept. probe of IBM (IBM) seemed odd. Government trustbusters had opened an inquiry into IBM's business practices in the market for mainframes, those ultrapowerful computers that help banks crunch numbers and telecom providers process large volumes of information.
Yet the $6.5 billion mainframe market—about 85% controlled by IBM—is considered by many to be in decline, says Jeffrey Hewitt, who covers the mainframe market as research vice-president for IT consulting firm Gartner (IT). IBM's second-quarter mainframe revenue plunged 39%. For more than a decade many companies have moved from mainframes that can cost more than $250,000 and sometimes millions of dollars to smaller, less expensive servers. There's a widely held belief in the industry that servers—even if you need more of them—are less expensive, overall.
Why then would the feds care about mainframes? Fact is, the machines may be far cheaper to run than servers, making them more relevant to cutting-edge computing than meets the eye, says Susan Eustis, the president of WinterGreen Research who has spent three years comparing the costs of servers and mainframes.

MAINFRAMES CAN SAVE A LOT OF MONEY

Her conclusion, after studying large organizations in retail, banking, and insurance, is that in some cases mainframes can cost one-tenth the cost of running servers. Put simply, mainframes handle big workloads more efficiently than the data centers that house sometimes thousands of servers. For instance, with a data center, a company may have 3,000 applications running on 30,000 servers, Eustis says. But a company could instead run 3,000 applications on one mainframe.
Mainframes can be particularly useful in cloud computing, the increasingly popular trend for companies to shift computing tasks off their own machines and onto computers handled elsewhere, often by other companies. Data centers that distribute tasks over several different servers may not be reliable enough for applications that need to be run around the clock, Eustis says. Anyone who's suffered from a Gmail outage in recent weeks may be inclined to agree. "By the time you calculate the people, the test and development servers, and the security needed to run smaller servers, it's more expensive," she says.
In fact, when IBM moved from distributed servers to mainframes for its internal use, Eustis says the company was able to justify the costs based on the amount it saved in electricity to power all the smaller servers in the data center. Indeed, soaring energy prices have meant that it'snearly as expensive to run a server for a year as to purchase one in the first place. One mainframe consumes much less electricity than 30,000 servers.

COMPANIES WARY OF IBM'S MARKET DOMINANCE

The potential for mainframes hasn't been lost on IBM, which recently introduced new mainframe software and in July named Tom Rosamilia, a 26-year Big Blue veteran, general manager of the mainframe business. Job One for Rosamilia has been making it easier for corporations torun new software applications on mainframes.
But critics say IBM operates unfairly in the business. The Computer & Communications Industry Assn., which urged the Justice Dept. to launch its probe, alleges that IBM makes it difficult for customers to switch computing platforms or use competing mainframe software or components. IBM has said it intends to cooperate with any inquiries from the Justice Dept.
                                                                              by
                                                                                                                     Rajesh.A
                                                                                                                              M.C.A

Friday, January 28, 2011

Inovative snaps By RaghavaSai MCA Isem

As a part of Emaralds Event Panchajanya'3 Our student RaghavaSai participated in Snapshot Event and he selected the Topic Innovation. Below are the snaps he taken



Friday, December 31, 2010

Are u Strong In CPP? check..


1.   Company:    Tata Infotech 
1.Which of the following represents true statement either x is in the range of 10 and 50 or y is zero?
  (a) x >= 10 && x <= 50 || y = = 0
  (b) x<50
  (c) y!=10 && x>=50
  (d) x >= 10 && (x <= 50 || y = = 0)
2.What is the value of y in the following code?

x=7;
y=0;
if(x=6)
y=7;
else
y=1;
  (a) 7
  (b) 0
  (c) 1
  (d) 6
3.  Company:    DE Shaw
3.What is the value of y in the following code?

x=7;
y=0;
if(x=6)
y=7;
else
y=1;
  (a) 7
  (b) 0
  (c) 1
  (d) 6
4.  Company:    HCL

The type of the controlling expression of a switch statement cannot be of the type
  a) int
  b) char
  c) short
  d) float
5.  Company:    Oracle

What is the output of the program?

int main()
{
char s[]="oracle is the best";
char t[40];
char *ss,*tt;
ss = s;
tt = t;
while(*tt++=*ss++);
printf("%s",t);
}
   A. oracle is the best
   B. Garbage
  c. Error Message
  D. Goes into infinite loop
6.  Company:    Cisco

int i,j=1;
for(i=0;i<10;i++)
{
j=j+1;
}
printf("%d %d",i,j);
  a) 9 11
  b) 10 11
  c) 9 10
  d) Compile Error
7.  Company:    HCL

What can be said of the following program?

main()
{
enum Months {JAN =1,FEB,MAR,APR};
enum Months X = JAN;
if(X==1)
{
printf("Jan is the first month");
}
}
  a) Does not print anything
  b) Prints : Jan is the first month
  c) Generates compilation error
  d) Results in runtime error
8.  Company:    HCL

What is the size of variable of following union.Assume that the size of int =2, size of float =4 and size of char =1.

Union Tag{int a;float b;char c;};
  a) 2
  b) 4
  c) 1
  d) 7
9.  Company:     DE Shaw

int fun( int n)
{
int i;
for(i=0;i<=n;i++)
fun(n-i);
printf(" well done");
}
How many times is the printf statement executed for n=10?
  a) 0
  b) 9
  c) 10
  d) 11
10.  Company:    Satyam

#include
main()
{
char *p1;
char *p2;
p1=(char *) malloc(25);
p2=(char *) malloc(25);
strcpy(p1,"Ramco");
strcpy(p2,"Systems");
strcat(p1,p2);
printf("%s",p1);
}
  a) Systems
  b) Ramco
  c) RamcoSystems
  d) Rsystems
11.  Company:    Accenture

main(int argc, char *argv[])
{
(main(argc, argv) && argc) ? main(argc-1, NULL) : return 0;
}
  a) Runtime error.
  b) Compile error. Illegal syntax
  c) Gets into Infinite loop
  d) None of the above
12.  Company:    Oracle

int func(int z)
{
if (z== 6)
return 5;
else
return 6;
}
int main ( )
{
int x,y;
y=5;
x=func(y++);
printf("%s\n",(x==5)?"true":"false");
}
  a) True
  b) false
  c) either a or b
  d) neither a nor b
13.  Company:    DE Shaw

if ptr is defined as int *p;
which of the following correctly allocates 100 units memory for ptr?
  a) ptr = (int *)(malloc(sizeof(int));
  b) ptr = (int *)(malloc(100));
  c) ptr = (int *)(malloc(100*sizeof(int));
  d) None
14.  Company:    HCL

What is the output of the following program?

swap(int x,int y)
{
int temp;
temp =x;
x=y;
y=temp;
}
main()
{
int x=20;
int y=10;
swap(x,y);
printf("%d %d",y,x+2);
}
  a) 10 20
  b) 20 12
  c) 22 10
  d) 10 22


>Note ur Answer to questions.
  then send your answers to me,i will send u answers with explanation.  
mail: rajesh.mca134@gmail.com     
OR
see the blog after a week for answers                                          
                                                                                                                         Rajesh.A
                                                                                                                         president.
                                                                                                                         gateact.

 

Monday, December 20, 2010

Qualitys That need to Learn


READ THE WHOLE OF IT !!
TRUST
Trust is a very important factor for all relationships. When trust is broken, it is the end of the relationship. Lack of trust leads to suspicion, suspicion generates anger, anger causes enmity and enmity may result in separation.

A telephone operator told me that one day she received a phone call.
  She answered, "Public Utilities Board." There was silence.
She repeated, "PUB." There was still no answer. 
When she was going to cut off the line, she heard a lady's voice, "Oh, so this is PUB.
Sorry, I got the number from my Husband's pocket but I do not know whose number it is."

Without mutual trust, just imagine what will happen to the couple if the telephone operator answered with just "hello" instead of "PUB".
------------ --------- --------- --------- --------- --------- --------- --------- -

NO POINTING FINGERS
A man asked his father-in-law, "Many people praised you for a successful marriage. Could you please share with me your secret?"
The father-in-law answered in a smile, "Never criticize your wife for her shortcomings or when she does something wrong. Always bear in mind that because of her shortcomings and weaknesses, she could not find a better husband than you."

We all look forward to being loved and respected. Many people are afraid of losing face. Generally, when a person makes a mistake, he would look around to find a scapegoat to point the finger at. This is the start of a war. We should always remember that when we point one finger at a person, the other four fingers are pointing at ourselves.

If we forgive the others, others will ignore our mistake too.
------------ --------- --------- --------- --------- --------- --------- --------- -

CREATING PERFECT RELATIONSHIPS?
A person visited the government matchmaker for marriage, SDU, and requested "I am looking for a spouse. Please help me to find a suitable one." The SDU officer said, "Your requirements, please." "Oh, good looking, polite, humorous, sporty, knowledgeable, good in singing and dancing. Willing to accompany me the whole day at home during my leisure hour, if I don't go out. Telling me interesting stories when I need companion for conversation and be silent when I want to rest." The officer listened carefully and replied, "I understand you need television.."

There is a saying that a perfect match can only be found between a blind wife and a deaf husband, because the blind wife cannot see the faults of the husband and the deaf husband cannot hear the nagging of the wife. Many couples are blind and deaf at the courting stage and dream of perpetual perfect relationship. Unfortunately, when the excitement of love wears off, they wake up a and discover that marriage is not a bed of roses. The nightmare begins.
----------- --------- --------- --------- --------- --------- --------- --------- -

NO OVERPOWERING 

Many relationships fail because one party tries to overpower another, or demands too much. People in love tend to think that love will conquer all and their spouses will change the bad habits after marriage. Actually, this is not the case. There is a Chinese saying which carries the meaning that "It is easier to reshape a mountain or a river than a person's character."

It is not easy to change. Thus, having high expectation on changing the spouse character will cause disappointment and unpleasantness.

It would be less painful to change ourselves and lower our expectations. .
------------ --------- --------- --------- --------- --------- --------- --------- -

RIGHT SPEECH

There is a Chinese saying which carries the meaning that "A speech will either prosper or ruin a nation." Many relationships break off because of wrong speech. When a couple is too close with each other, we always forget mutual respect and courtesy. We may say anything without considering if it would hurt the other party.

A friend and her millionaire husband visited their construction site. A worker who wore a helmet saw her and shouted, "Hi, Emily! Remember me? We used to date in the secondary school." On the way home, her millionaire husband teased her, "Luckily you married me. Otherwise you will be the wife of a construction worker." She answered," You should appreciate that you married me. Otherwise, he will be the millionaire and not you."

Frequently exchanging these remarks plants the seed for a bad relationship. It's like a broken egg - cannot be reversed.
------------ --------- --------- --------- --------- --------- --------- --------- -

PERSONAL PERCEPTION

Different people have different perception. One man's meat could be another man's poison.
A couple bought a donkey from the market. On the way home, a boy commented, "Very stupid. Why neither of them rides on the donkey? "Upon hearing that, the husband let the wife ride on the donkey. He walked besides them. Later, an old man saw it and commented, "The husband is the head of family. How can the wife ride on the donkey while the husband is on foot?" Hearing this, the wife quickly got down and let the husband ride on the donkey.

Further on the way home, they met an old Lady. She commented, "How can the man ride on the donkey but let the wife walk. He is no gentleman."
The husband thus quickly asked the wife to join him on the donkey. Then, they met a young man. He commented, "Poor donkey, how can you hold up the weight of two persons. They are cruel to you." Hearing that, the husband and wife immediately climbed down from the donkey and carried it on their shoulders.

It seems to be the only choice left. Later, on a narrow bridge, the donkey was frightened and struggled. They lost their balance and fell into the river. You can never have everyone praise you, nor will everyone condemn you.. Never in the past, not at present, and never will be in the future.

Thus, do not be too bothered by others words if our conscience is clear..
------------ --------- --------- --------- --------- --------- --------- --------- -

BE PATIENT

This is a true story which happened in the States. A man came out of his home to admire his new truck. To his puzzlement, his three-year-old son was happily hammering dents into the shiny paint of the truck. The man ran to his son, knocked him away, hammered the little boy's hands into pulp as punishment. When the father calmed down, he rushed his son to the hospital.

Although the doctor tried desperately to save the crushed bones, he finally had to amputate the fingers of both the hands of the kid. When the boy woke up from the surgery & saw his bandaged stubs, he innocently said, "Daddy, I'm sorry about your truck." Then he asked, "but when are my fingers going to grow back?" The father went home & committed suicide.

Think about this story the next time someone steps on your feet or u wish to take revenge. Think first before u lose your patience with someone u love. Trucks can be repaired.. Broken bones & hurt feelings often can't. Too often we fail to recognize the difference between the person and the performance. We forget that forgiveness is greater than revenge.

People make mistakes. We are allowed to make mistakes. But the actions we take while in a rage will haunt us forever.

 
   Thanks 
          to
             Ms.Sandhya Ganeshan, 
                                  BCA(Iyear).

                                                                                                                                                                 By
                                                                                                                                                            Rajesh.A
                                                                                                                                                           President,
                                                                                                                                                          GATEACT.