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 27, 2010

my experiences in CTS

Hai frnds i got selected in CTS. My written completed inSJBIT in Bangalore.Written consists of 55 question and time duration is 50 mins, 25 verbal (20 min) , 30 analytical (30 min). It seems to be sectional cutoff (13 ,14) if u get above 27 u will be called for next round, but don't think 27 is enough it may be higher try to score above 40 (because easy). You should be very much conscious about your time ,do quickly in mind without using paper or pens.
ANALYTICAL ABILITY: There are problems based on based on figures ( R.S Agarwal verbal reasoning is enough )What next in the figure series ,odd out etc.... coding-decoding like berry -cfssz then query- _____? These are very easy, try to solve very quickly. You should get full score in these topics so that it will be easy to clear, The analytical section about 13 questions came from these topics.3 Question based on cartesian coordinates (graphical problems). 5 questions based on eligibility test (RS.Agarwal) Tabulations Type3 Syllogisms
VERBAL ABILITY (20mins)(5 -questions)first try correct and incorrect sentences mistakes mostly related to present ,past,future tenses articles and prepositions.. (5-questions)Jumbled sentences (understand present, past, or future tenses so that u can predict find out more easily what happen before & after)10 questions from paragraph.For paragraph read the questions first.concentration is important to understand.Practice more on all the above topics to keep up the time
TECHNICAL INTERVIEW: Interview will be based on our acadamic subjects,project. some questions werer diff btw primary key and foreign key? He asked more cross questions on that.my motto is to satisfy him. Finally my interviewer satisfied by my answer.And he asked normalization,joins, programs in c, diff btw linkedlist and queues and some cross questions on it.Then about my project.So please guys prepare well on your acadamic sujects well and thourough about ur project.
I waited about an 20 mins to know my result, I cleared the my technical round and called for HR. HR is just a formality. Though its just a formality keep in mind that they haven't selected you still.conscious about your words more here. Be confident, Not over confident. Some questions asked me were1. tell me about urself?2. about my goal3.will u able to work any where? and cross questions on it4. tell me about ur project?5.about company? 6.why i hire u? like this.........

All the best. Thank you ,

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.

                                                                          


Geethanjali from MCA (III Sem) receiving first prize in PG category(MCA & MBA) for the topic "Education is The Manifestation of Perfection" as a part of National Education Day Celebrations in GATE ACT.
Gathering of the all student in the front of the campus on the occasion  of National Education Day Celebrations in GATE ACT.


Rajesh.A from MCA (V Sem) receiving second prize in PG category(MCA & MBA) for the topic "Education is The Manifestation of Perfection" as a part of National Education Day Celebrations in GATE ACT.
Student of GATE Educational Institutions participation in the Educational Day Celebrations.

Prakesh from BBM (I Year) receiving second prize in UG category(BCA & BBM) for the topic "Education Role in the Country Developement" as a part of National Education Day Celebrations in GATE ACT.
Sravani from BCA (III Year) receiving second prize in UG category(BCA & BBM) for the topic "Education Role in the Country Developement" as a part of National Education Day Celebrations in GATE ACT.

Correspondent of GATE Educational Institutions announcing the winners of the seminar
  BY
    Rajesh. A 
  President,
GATE ACT

Sunday, November 21, 2010

World’s youngest CEO


                                                                   World’s youngest CEO

 
                             Suhas Gopinath
When 14-year-old Suhas Gopinath started Globals Inc ten years ago from a cyber cafe in Bengaluru, he didn't know that he had become the youngest CEO in the world.
Today, Globals is a multi-million dollar company with offices in the United States, India, Canada, Germany, Italy, the United Kingdom, Spain, Australia, Singapore and the Middle East and has 100 employees in India and 56 abroad.
Among the several honors that have been bestowed upon this young man, the most prestigious is the invitation to be a member of the Board of the ICT Advisory Council of the World Bank..
In 2007, the European Parliament and International Association for Human Values conferred 'Young Achiever Award' on him. He was also invited to address the European Parliament and other business dignitaries assembled in the EU Parliament. He is also recognised as one of the 'Young Global Leaders' for 2008-2009 by the prestigious World Economic Forum.
Suhas is the youngest member ever in the World Economic Forum's history. The other members include the Louisiana governor Bobby Jindal, Hollywood star Leonardo Di Caprio, musician A R Rahman, Prince of Brunei, etc.
In this interview from his office in Bengaluru, Suhas Gopinath talks about his decade long journey and his dreams for the future.
  
                                 Suhas Gopinath with former President APJ Abdul Kalam
On his childhood:
I come from a middle class family. My father worked as a scientist for the Indian Army. I used to study in the Air Force school in Bengaluru.
 As a child, I was more interested in animals and veterinary science. But when I saw my friends who had home computers talk about it, I had this urge to learn and talk in their wave length.
 But we didn't have a computer at home. In those days, computers were very expensive and we couldn't afford one.
 So, what I did was, I located an Internet cafe near my house. With my modest monthly pocket money of Rs 15, I couldn't afford to surf the net every day.
 I noticed that the shop was closed in the afternoon from 1 PM to 4 PM. So, I offered to open the shop for him after my school hours and take care of the customers.
In the bargain, he let me browse the net for free. That was the first business deal of my life and it turned out to be a successful one. 

                              Suhas with Microsoft co-founder Bill Gates             
On building websites using open source technology: 
Once I got the chance to manage the shop and browse the net, I started building websites. It became my passion in no time.
I got hooked to open source technology after I started looking for e-books on how to build websites. They were not available as they were created in propriety sources.
So, I started using open source to build websites.
On getting the first contract to build a website
There is a freelance marketplace on the web where I could register and offer my services to build websites. I registered myself there as a website builder.
The first website I had to do was free of cost as I had no references. It was for a company in New York .
 My first income was $100 when I was 13 for building another website but I didn't have a bank account. so, I told my father that I built a website and got paid for it.
 I was not excited to get the money because money was not a factor that drew me to it. It was the passion for technology that attracted me. I used to build websites free of cost also. I was only a 9th standard student.
 After that, I built my own portal and called it Coolhindustan.com. It was focused on NRIs. It was a portal where I wanted to showcase my skills. 
After that, many companies approached me to be their web designer. 
On buying his first computer:
When I was in the 9th standard itself, I had made enough money to buy a computer for myself. At that time, my brother was studying engineering and my father thought he needed a computer.
In no time, I also bought one for myself. But we didn't have a net connection at home.
My spending hours in the net cafe working on websites did affect my studies. I spent the entire summer vacation after the 9th standard in the cafe.
On rejecting a job offer from the US
When I was 14, Network Solutions offered me a part-time job in the US and they said they would sponsor my education in the US . I rejected the offer because that was the time I had read a story about Bill Gates and how he started Microsoft.
I thought it was more fun to have your own company. Many US companies used to tell me that I didn't even have a moustache and they felt insecure taking my services. They used to connect my ability with my age and academic qualifications.
So, I wanted to start my own company and show the world that age and academic qualifications are immaterial. I decided then that when I started a company, I would recruit only youngsters and I would not ask for their academic qualifications and marks cards. I follow that in my company.
                          Gopinath delivering a lecture at the DLD Conference
 On starting his own company at 14:
Soon after my 9th standard summer vacation, I started my own company, Globals Inc. I wanted the name Global or Global Solutions but both were not available, so I named it Globals.
I registered my company in the US as in India , you will not be able to start a company unless you are 18. It takes only 15 minutes to start a company in the US .
I became the owner and CEO of the company. My friend, an American who was a university student, became a board member.
I was very excited because that was what I wanted to do. From that day, I started dreaming of making my company as big as Microsoft. 
  On doing badly in school

In my pre-board CBSE exam, I failed in Mathematics. The school headmistress was shocked because that was the first time I had failed in any subject. She called my mother and said she was horrified by my performance.
At home, like any typical South Indian mother, my mother made me swear on her head that I would focus on academics.
I told my mother that the world's richest man Bill Gates had not completed his education. Why do you force me then, I asked her. She then said, I am sure his horoscope and yours are not the same!
I come from a family where entrepreneurship is considered a sin. My mother was quite upset. She wanted me to do engineering, then an MBA and work in a good company.
As per my mother's wishes, I took a four-month sabbatical from my company and studied for my board exam. I passed with a first class.
I still feel that you cannot restrict yourself to bookish knowledge. I believe that practical knowledge is more important.
In the first year, the turnover of Globals Inc was Rs 1 lakh (Rs 100,000). The second year, the turnover went up to Rs 5 lakh (Rs 500,000). 
 
                         Suhas receiving the Incredible Europe Innovation Award at Vienna
On looking at Europe as a market
 Till I was 16 or 17, I didn't tell my parents that I had started a company. I kept it a secret because I thought they would object to it. They only knew that I was a freelancer.
 We used to build websites and also offer online shopping and e commerce solutions. We even gave part time work to a few programmers in the US when we got many projects but we never had any office.
 When I was 16, I saw that there were enormous business opportunities in Europe as a majority of the Indian IT companies were working for American companies.
 When I contacted a Spanish company, it rejected my offer saying Indians do not know Spanish. As an entrepreneur, you can't accept rejection, especially when you are young.
 I hired five student interns from some Spanish universities and told them they would be paid based on their successful sales.
 They were the people who met the companies and bagged the projects for us. By now, we decided to have a home office in Spain .
 I replicated the same model in Italy . I contacted some Italian university students.
 
         Suhas meeting with Sheikha Nayhan, Minister for Higher Education, the UAE
On going to Germany to talk about entrepreneurship

The American newspapers were writing a lot about me as the world's youngest CEO at 14 from India , from a middle class background.
It was a good story for the BBC also. I never expected to be in the limelight. For me, starting a company was like realising a passion of mine.
On seeing these stories, a B-school in Germany invited me to talk to its students on entrepreneurship. I was 17 then. By now, I had completed my 12th standard and had joined Engineering in Bengaluru.
When I was 18, we set up an office -- the European HQ in Bonn . Then, we moved to Switzerland . Six months back, we started our operations in Vienna as well.
That is how we spread our operations from a small Internet cafe to become a multinational company with significant operations in Europe, Middle East, the US , Canada , the UK , Australia , etc.

         On registering a company in India at 18
 The day I turned 18, I registered our company in India as Globals, opened an office and recruited four people. I opened the office next to the Internet cafe where I started my career.
 By then, he had closed shop and joined a factory as an employee. Whenever I met him, I used to tell him, 'you made me an entrepreneur but you stopped being one.'
 ·         On moving to creating products
 We wanted our company also to be a product development company and our focus was on education, like the software that manages everything about a child while in school starting from admission till he/she leaves school and becomes an alumnus.
 It is a nasty software which students are going to be quite unhappy about! This software was aimed only at the Indian market. I want to be the market leader in ICT in education.
 Our software is being used in more than 100 schools all over India , Singapore and the Middle East .
 We are now in the process of raising funds. Once we do it, we will separate the company into two -- service and product development. I want to concentrate on products as I can't sail on two boats.
                   World Bank president Robert Zoellick
 On meeting former President Abdul Kalam
 I met Dr Abdul Kalam when he was the President of India. I was 17 or 18 then. My meeting was scheduled for 15 minutes but we had such an intense conversation that it went on for one-and-a-half hours.
I didn't feel that I was talking to the President of India. We talked like two friends. He was sitting in his chair across the table but after some time, he came and sat next to me. He isi such a modest person that it was a learning experience for me.

·         On being on the board of the World Bank

As per the wishes of my parents, I joined engineering but didn't complete my engineering: like Bill Gates! When I was in my 5th semester, the World Bank invited me to attend their board meeting. I am the only Indian on the board of the World Bank.
The objective was to explore how ICT can improve the quality of education in the emerging economies, by bringing in accountability and transparency in their financial deeds.
Robert B. Zoellick, the president of the World Bank, decided that they could not have only Americans on the board and needed people from across the world. As they were focusing on education, they wanted young minds to add value to the work.
He preferred a young mind from an emerging country and that was how I got the invitation in 2005. Not even in my wildest dreams did I imagine that I would be on the board of the World Bank. The invitation was the most unforgettable moment in my life. I report directly to Robert B Zoellick!
Some of the others on the board are the CEO of Cisco, the vice president of Microsoft and the CEO of SAP; all Fortune 500 companies and me, the only Indian!
I am helping the World Bank set policies on ICT in university education so that employability can be enhanced. My aim is to reduce the number of unemployed eligible youth in the world.
Right now, we are concentrating on Africa . Soon, I want to shift the focus on to India . It has been an amazing experience for me.
But I had to discontinue my engineering education at the time I joined the board, as I didn't have enough attendance in college!
                         Suhas Gopinath
     On his dreams for his company
 I have always believed that IT is not just technology but a tool that can solve the problems of people.
 That is what I want to do in my company.
 I want my company to be a market leader in software solutions concentrating on education.
 When I was younger, I didn't care about money. Now that I am responsible for my employees, I care about what we make. If I am not bothered about money, we cannot scale up our business.
When I started my company from a net cafe in Bengaluru, I never ever imagined that one day my company would be a multi-million dollar company and I would be on the World Bank board as a member.
What drives me is my passion and it has been an amazing journey so far. 
                          
                                                                                                                                          BY
                                                                                                                                        RAJESH.A
                                                                                                                            President
                                                                                                                           GATEACT