Tuesday, October 12, 2010

“GIVING”

“Oh no Melissa! Not again”, cried Melissa’s mother. This is the seventh time Melissa came home from school without her gloves. This little six-year old girl had been giving her gloves away to those children who hasn’t any. One pair after another, day after day, Melissa gave freely and came home with empty hands. Even though the weather grew colder day by day, Melissa doesn’t care about herself but about others.

How many of us are like Melissa? Do we care for others? Or do we only care for ourselves? Of course, I’m not saying that we should give away whatever we have, but are we willing to give just a little from what we have? Are we willing to lift up our hands and give to those in need?

“Give and it shall be given to you”-the Bible says so. “A good measure, pressed down, shaken together and running over, will be poured into your lap. For with the measure you use, it will be measured to you.” (Luke 6:38).

Our life is full of God’s blessings, full of His gifts. So don’t you think that we should have a little bit of common sense to share those gifts with others as well? Consider this, “Freely we receive, freely we must give.”

A person who has the will to give is a person who’s rich in heart. And a person who’s rich in heart will be blessed in whatever he does.

Give more and be rich. Give less and be poor. Or we can say, “ Be selfish and live a miserable life. Be a giver and lead a happy life.”

You decide, which is better? The former or the latter?
-Pynhunshisha B. Lynser

Tuesday, October 5, 2010

“HAVING A BAD MEMORY”

I believe every person in this world wants to have a good memory, a memory that’s good enough to remember things. But having a bad memory too is not that bad. As one saying goes, “Happiness lies, first of all, in health and a bad memory.” This is so true!

Having a bad memory simply means forgetting things. Forgetting every wrong thing being done to you is the most perfect solution to a man’s sorrow-filled heart. What do you gain in remembering a wrong deed? What do you gain when you keep thinking about a person who hates you?

As people are saying these common words “Forget it” nowadays, it is important that we should turn these words into actions. The more we remember our uncomfortable situations, the more uncomfortable, miserable and bitter we’ll become.
One of our duties here on earth is to forgive and forget!

Forget it when people hate you. Forget it when they say unpleasant things to you. Forget it when remembrance about such things overwhelms you. Forget it for all of these are useless things…. things of no worth at all.

Make yourself a truly happy person by practicing to have a bad memory….cause that’s all there is.

So when are you planning to forget things?
- Pynhunshisha B. Lynser

“THE CRYING GIRL” - Pynhunshisha B. Lynser

Once when I was crying,
I saw another girl crying too.
I had a question on my mind,
So I asked her, “What happened to you?”
But to my surprise,
She asked me the same question too!!
I wonder how, I wonder why,
She could imitate me at the same time.
And I was also shocked to see that
She was wearing clothes just like mine.
As I was wondering as much as I could,
In front of a mirror was where I stood.

“TOMORROW” - Pynhunshisha B. Lynser



I thought of doing my homework,
But then I know tomorrow will come.
So off I went and enjoy myself,
Thinking that my work will surely be done.

I thought of finishing some household chores,
But then I remembered tomorrow will come.
So why not take a rest today,
Cause by tomorrow the chores will be done.

I planned of visiting my friend,
But somehow it came to my mind that
Tomorrow is still there,
So pending will surely be fair.

I remembered an important work that I have to do,
So off I went thinking about tomorrow too.
I said, “Tomorrow may as well be fine,
So let me finish my work tomorrow in time.”

So tomorrow came and knock my door,
I realized that I haven’t finished a single chore.
Problems tumbled down my face,
In front of me every pending work lays.

My mind is filled with confusion,
I can’t find any solution,
Nothing is going well with me,
Problems and only problems I see.

But one thing I came to know,
Nothing must be kept till tomorrow.
What we can accomplish today;
We must finish it, come what may.

So that when tomorrow comes, 
There will be no worry, not even problems,
Cause our duties have been accomplished in time,
Tomorrow will become absolutely fine.

Tuesday, September 28, 2010

Photo Gallery

To view the photo gallery of CyberTech Club follow the links below-

Exposure Trip 2010

Activities 2010

Monday, September 27, 2010

Exposure Trip 2010

The CyberTech Club under the Department of Computer Science organized an exposure program for all its members (students and teachers).
The 24th September 2010, was a day well started with the beauty of sunlight. All the teachers and students of the department gathered in the college campus very much excited to start the tour. At 10:00 a.m. we all started off from the college and travelled by bus firstly to Don Bosco Museum, Mawlai.
We all seem to be wanderers in our own motherland and discovered many things reaching there. The museum for us was actually like a treasure house. We were really amazed to see wonderful and different galleries in the museum. Some of them are-The Pre-history gallery, The Basketry gallery, Land and People’s gallery, Musical instruments gallery, Costumes and ornaments gallery and many more beautiful galleries. We could find the joy of being there in everyone’s face and all were praising the beauty of the museum.
We experienced a skywalk and we could see everyone was becoming photogenic in that place. We came to an end of our discovery in the museum and as we were praising its beauty, our stomach was singing side by side. We then realized we were very hungry.
Coming out of the museum, we didn’t at once were able to fulfill our stomach needs. Mr. Rain started and did not agree to stop. Then our lovely teachers gave an idea to have lunch in the open-air stadium in N.E.H.U. Campus. We all were really happy to see the place. We then move on for lunch. We felt like we all as a family were having lunch in a big dining hall.
“Sharing is Loving”. We could really see that bond among teachers and students. Our teachers were really amazing. We had lunch together and wow! What a variety of items we could see, can’t stop without tasting all. Come on…’Variety Is The Spice Of Life’.
Finally the rain stopped and we continued with our journey towards Computer Center. We were really amazed to see the Super Computer, PARAM SHEERSH. Well how lucky we are that the Super Computer is here in our state and we are lucky to see it.
After Computer Center, we then move on to Science Center. We felt like we were entering another world-Of course ‘A World Of Science’. Many wonders of science what we just heard, the exposure programme gave us a vision to all what we have read. Everything inside the Center was so well displayed that we all were attracted to the Wonders of Science.
The sun was nearly setting and we set off back to our college. On the way inside the bus we were having the time of our life. We danced and danced and danced to every rocking music that was played till it seems that an earthquake was shaking our bus.
Finally, our journey came to an end when we reached our college with lots of “Thank You” and “Bye bye” that we said to each of our teachers and friends.
Oh!! What a wonderful and memorable day that was. Hope we would be able to experience some more wonderful journeys in the coming days.

THANKS TO THE CYBERTECH CLUB, DEPARTMENT OF COMPUTER SCIENCE.
---------- By Meboreen and Pynhunshisha

Tuesday, September 21, 2010

A Lovely Day - By Meboreen M. Thongni

Early morning, I smiled and say,
Thank you Lord for this beautiful day;
With a new beginning, I left behind,
All my worries and frightened mind.

Along the day, I smiled and say,
What an experience I gained from yesterday;
What pain I met, for failures I wept,
It seems to me like I am dead.

No dark cloud remains forever,
Time changes and so does weather;
I smiled and thank, for yesterday
I learned to overcome a darkened way.

I started to understand the beauty of life;
Is full of joy; I tried to strive,
I started to laugh, to dance and sing,
It made me happy, and pleasures it brings.

I end up the day and continued to say,
Thank you Lord for the wonderful day,
The day showed me a different way;
And so I called it “ A Lovely Day”.

OUR THOUGHTS REALLY MATTERS

Suppose if Sir Isaac Newton would divert his thought to something else, not questioning the fall of apple. What would happen?
There would be no “law of gravity”.
What I want to show here is that we should not be misled. We should stick to our high goal. We should not follow the world. We are here to live for ourselves, for our own happiness.
Happiness which is far better from what the world can give.

The world can give satisfactions but it will be momentary. Regrets after regrets, confusion after confusion will follow us.
Just imagine if M.K. Gandhi would follow the world and lived a comfortable life, we wouldn’t have enjoyed Independence.
If Mother Teresa would be happy with luxurious things, the world won’t know her. If Abraham Lincoln falls out with several failures and lose heart, give up his career. The greatest leader would never be found. If Sachin Tendulkar listen to his pain and exhaustion and deny to play the next. He would not have been the best batsman in the world.
Well pleasures are not only found in fashions, drinks, music, dances, drugs, money and comforts. Satisfaction can be found somewhere else if we give time to listen and dare to think different.
Fear must be overcome and we should dare to think different. We might be rejected and one day we ourselves will rejoice for that. Do things which are not for rewards but for happiness in your life. Make a change. Set your dreams on high grounds. You’ll have less time to waste, less time to hate and judge but maximum time to shape your dreams.
Possibility is in our mind, our thought and our will. Mind is the finest resource of earth from all ages. But even the most intelligent person here on earth uses only 1/100 percent of its capacity. So there’s lot of space where we can still work wonders. And all these depend on our thoughts.
So to make or act different we need to THINK DIFFERENT!
Hence “OUR THOUGHTS REALLY MATTERS”

-By  Meboreen M. Thongni.

Thursday, September 16, 2010

Is Windows a virus?

With the recent problems being encountered by Windows users all across the country, people are begin to ask themselves if windows is a virus. In response to the high demand for an answer to that question a study was done and concluded the following.

1. Viruses replicate quickly.
Windows does this.

2. Viruses use up valuable system resources, slowing down the system as they do so.
Windows does this.

3. Viruses will, from time to time, trash your hard disk.
Windows does this.

4. Viruses are usually carried, unkown to the user, along with valuable programs and systems.
Windows does that too.

5. Viruses will occasionally make the user suspect their system is too slow (see 2) and the user will buy new hardware.
Same with Windows, yet again.

Maybe Windows really is a virus.

Nope! There is a difference!

Viruses are well supported by their authors, are frequently updated, and tend to become more sophisticated as they mature. So there! Windows is not a virus.

Computer: A male or female?

A language instructor was explaining to her class that in French, nouns, unlike their English counterparts, are grammatically designated as masculine or feminine.
"House," in French, is feminine = "la maison."
"Pencil," in French, is masculine = "le crayon."
One puzzled student asked, "What gender is 'computer'?"
The teacher did not know, and the word wasn't in her French dictionary. So for fun she split the class into two groups, appropriately enough by gender, and asked them to decide whether "computer" should be a masculine or feminine noun.
Both groups were required to give four reasons for their recommendation.
The men's group decided that computers should definitely be of the feminine gender ("la computer"), because:
  1. No one but their creator understands their internal logic;
  2. The native language they use to communicate with other computers is incomprehensible to everyone else;
  3. Even the smallest mistakes are stored in long-term memory for possible later retrieval; and
  4. As soon as you make a commitment to one, you find yourself spending half your paycheck on accessories for it.
The women's group, however, concluded that computers should be masculine ("le computer"), because:
  1. In order to get their attention, you have to turn them on;
  2. They have a lot of data but they are still clueless;
  3. They are supposed to help you solve problems, but half the time they ARE the problem; and
  4. As soon as you commit to one, you realize that if you'd waited a little longer, you could have gotten a better model.
(Sociologically, this seems like a good example of a pervasive technology serving as a mirror to spoof cultural attitudes.)
Author Unknown

Tuesday, August 10, 2010

Vedic Mathematics

Vedic mathematics is the name given to the ancient system of mathematics which was rediscovered from the Vedas.
It’s a unique technique of calculations based on simple principles and rules , with which any mathematical problem - be it arithmetic, algebra, geometry or trigonometry can be solved mentally. 

Click on the link below to view the presentation :

Presentation

Thursday, July 22, 2010

How to Secure Your PC

  1. Choose an operating system based on its security and vulnerability (Linux has no known active viruses in the wild, OpenBSD is focused on security). Find out if it uses limited user accounts, file permissions and is regularly updated. Make sure you update your operating system with security updates and update your other software too.
  2. Choose a web browser based on its security and vulnerabilities because most malware will come through via your web browser. Disable scripts too (NoScript, Privoxy and Proxomitron can do this). Look at what independent computer security analysts (such as US-CERT) and crackers (similar to hackers) say. Google Chrome is secure and has a sandbox feature so that if it were compromised it would not spread infection.

  3. When setting up, use strong passwords in your user account, router account etc. Hackers may use dictionary attacks and brute force attacks.

  4. When downloading software (including antivirus software), get it from a trusted source (softpedia, download, snapfiles, tucows, fileplanet, betanews, sourceforge) or your repository if you are using Linux.

  5. Install good antivirus software (particularly if you use P2P). Antivirus software is designed to deal with modern malware including viruses, trojans, keyloggers, rootkits, and worms. Find out if your antivirus offers real-time scanning, on-access or on-demand. Also find out if it is heuristic. Avast and AVG are very good free editions. Choose one, download and install it and scan regularly. Keep your virus definitions up to date by updating regularly.

  6. Download and install software to deal with spyware such as Spybot Search and Destroy , HijackThis or Ad-aware and scan regularly. I can't state this enough - you need to run a good anti spyware and anti malware program like Spybot if you search the web at all. Many websites out there exploit weaknesses and holes in the security of Microsoft Explorer and will place malicious code on your computer without you knowing about it until its too late!

  7. Download and install a firewall. Either ZoneAlarm or Comodo Firewall (Kerio, WinRoute or Linux comes with iptables). If you use a router, this gives an added layer of security by acting as a hardware firewall.

  8. Close all ports. Hackers use port scanning (Ubuntu Linux has all ports closed by default).

  9. Perform Penetration Testing. Start with ping, then run a simple nmap scan. Backtrack Linux will also be useful.

  10. Consider running intrusion detection software (HIDS) such as ossec, tripwire or rkhunter.

  11. Don't forget to think in terms of physical security (in case of theft/unauthorised access), like setting a BIOS password and preventing access to your machine or its removable devices (USB, CD drive etc.). Don't use an external hard drive or USB device for important data, these represent another vulnerability, as they are easier to steal/lose.


    • Encryption can be effective against theft. Encrypt at least your entire user account rather than just a few files. It can affect performance but can prove worth it. Truecrypt works on Windows, OS X, Linux, FreeOTFE works on Windows and Linux. In OS X (10.3 or later) System Preferences Security, click FileVault (this can take minutes to hours). In Linux Ubuntu (9.04 or later) installation Step 5 of 6 choose "Require my password to login and decrypt my home folder". This uses ecryptfs.

Thursday, July 8, 2010

50 COMMON INTERVIEW QUESTIONS AND ANSWERS

1. Tell me about yourself:
The most often asked question in interviews. You need to have a short statement prepared
in your mind. Be careful that it does not sound rehearsed. Limit it to work-related items
unless instructed otherwise. Talk about things you have done and jobs you have held that
relate to the position you are interviewing for. Start with the item farthest back and work up
to the present.
2. Why did you leave your last job?

Stay positive regardless of the circumstances. Never refer to a major problem with
management and never speak ill of supervisors, co-workers or the organization. If you do,
you will be the one looking bad. Keep smiling and talk about leaving for a positive reason
such as an opportunity, a chance to do something special or other forward-looking reasons.
3. What experience do you have in this field?
Speak about specifics that relate to the position you are applying for. If you do not have
specific experience, get as close as you can.
4. Do you consider yourself successful?
You should always answer yes and briefly explain why. A good explanation is that you have
set goals, and you have met some and are on track to achieve the others.
5. What do co-workers say about you?
Be prepared with a quote or two from co-workers. Either a specific statement or a
paraphrase will work. Jill Clark, a co-worker at Smith Company, always said I was the
hardest workers she had ever known. It is as powerful as Jill having said it at the interview
herself.
6. What do you know about this organization?

This question is one reason to do some research on the organization before the interview.
Find out where they have been and where they are going. What are the current issues and
who are the major players?
7. What have you done to improve your knowledge in the last year?
Try to include improvement activities that relate to the job. A wide variety of activities can
be mentioned as positive self-improvement. Have some good ones handy to mention.
8. Are you applying for other jobs?

Be honest but do not spend a lot of time in this area. Keep the focus on this job and what
you can do for this organization. Anything else is a distraction.
9. Why do you want to work for this organization?

This may take some thought and certainly, should be based on the research you have done
on the organization. Sincerity is extremely important here and will easily be sensed. Relate
it to your long-term career goals.
10. Do you know anyone who works for us?
Be aware of the policy on relatives working for the organization. This can affect your answer
even though they asked about friends not relatives. Be careful to mention a friend only if
they are well thought of.
11. What kind of salary do you need?
A loaded question. A nasty little game that you will probably lose if you answer first. So, do
not answer it. Instead, say something like, That's a tough question. Can you tell me the
range for this position? In most cases, the interviewer, taken off guard, will tell you. If not,
say that it can depend on the details of the job. Then give a wide range.
12. Are you a team player?
You are, of course, a team player. Be sure to have examples ready. Specifics that show you
often perform for the good of the team rather than for yourself are good evidence of your
team attitude. Do not brag, just say it in a matter-of-fact tone. This is a key point.
13. How long would you expect to work for us if hired?
Specifics here are not good. Something like this should work: I'd like it to be a long time. Or
As long as we both feel I'm doing a good job.
14. Have you ever had to fire anyone? How did you feel about that?
This is serious. Do not make light of it or in any way seem like you like to fire people. At the
same time, you will do it when it is the right thing to do. When it comes to the organization
versus the individual who has created a harmful situation, you will protect the organization.
Remember firing is not the same as layoff or reduction in force.
15. What is your philosophy towards work?

The interviewer is not looking for a long or flowery dissertation here. Do you have strong
feelings that the job gets done? Yes. That's the type of answer that works best here. Short
and positive, showing a benefit to the organization.
16. If you had enough money to retire right now, would you?
Answer yes if you would. But since you need to work, this is the type of work you prefer. Do
not say yes if you do not mean it.
17. Have you ever been asked to leave a position?
If you have not, say no. If you have, be honest, brief and avoid saying negative things
about the people or organization involved.
18. Explain how you would be an asset to this organization
You should be anxious for this question. It gives you a chance to highlight your best points
as they relate to the position being discussed. Give a little advance thought to this
relationship.
19. Why should we hire you?
Point out how your assets meet what the organization needs. Do not mention any other
candidates to make a comparison.
20. Tell me about a suggestion you have made
Have a good one ready. Be sure and use a suggestion that was accepted and was then
considered successful. One related to the type of work applied for is a real plus.
21. What irritates you about co-workers?

This is a trap question. Think real hard but fail to come up with anything that irritates you.
A short statement that you seem to get along with folks is great.
22. What is your greatest strength?

Numerous answers are good, just stay positive. A few good examples:
Your ability to prioritize, Your problem-solving skills, Your ability to work under pressure,
Your ability to focus on projects, Your professional expertise, Your leadership skills, Your
positive attitude .
23. Tell me about your dream job.
Stay away from a specific job. You cannot win. If you say the job you are contending for is
it, you strain credibility. If you say another job is it, you plant the suspicion that you will be
dissatisfied with this position if hired. The best is to stay genetic and say something like: A
job where I love the work, like the people, can contribute and can't wait to get to work.
24. Why do you think you would do well at this job?

Give several reasons and include skills, experience and interest.
25. What are you looking for in a job?

See answer # 23
26. What kind of person would you refuse to work with?
Do not be trivial. It would take disloyalty to the organization, violence or lawbreaking to get
you to object. Minor objections will label you as a whiner.
27. What is more important to you: the money or the work?

Money is always important, but the work is the most important. There is no better answer.
28. What would your previous supervisor say your strongest point is?

There are numerous good possibilities:
Loyalty, Energy, Positive attitude, Leadership, Team player, Expertise, Initiative, Patience,
Hard work, Creativity, Problem solver
29. Tell me about a problem you had with a supervisor
Biggest trap of all. This is a test to see if you will speak ill of your boss. If you fall for it and
tell about a problem with a former boss, you may well below the interview right there. Stay
positive and develop a poor memory about any trouble with a supervisor.
30. What has disappointed you about a job?

Don't get trivial or negative. Safe areas are few but can include:
Not enough of a challenge. You were laid off in a reduction Company did not win a contract,
which would have given you more responsibility.
31. Tell me about your ability to work under pressure.
You may say that you thrive under certain types of pressure. Give an example that relates
to the type of position applied for.
32. Do your skills match this job or another job more closely?

Probably this one. Do not give fuel to the suspicion that you may want another job more
than this one.
33. What motivates you to do your best on the job?
This is a personal trait that only you can say, but good examples are:
Challenge, Achievement, Recognition
34. Are you willing to work overtime? Nights? Weekends?

This is up to you. Be totally honest.
35. How would you know you were successful on this job?
Several ways are good measures:
You set high standards for yourself and meet them. Your outcomes are a success.Your boss
tell you that you are successful
36. Would you be willing to relocate if required?
You should be clear on this with your family prior to the interview if you think there is a
chance it may come up. Do not say yes just to get the job if the real answer is no. This can
create a lot of problems later on in your career. Be honest at this point and save yourself
future grief.
37. Are you willing to put the interests of the organization ahead of your own?
This is a straight loyalty and dedication question. Do not worry about the deep ethical and
philosophical implications. Just say yes.
38. Describe your management style.

Try to avoid labels. Some of the more common labels, like progressive, salesman or
consensus, can have several meanings or descriptions depending on which management
expert you listen to. The situational style is safe, because it says you will manage according
to the situation, instead of one size fits all.
39. What have you learned from mistakes on the job?
Here you have to come up with something or you strain credibility. Make it small, well
intentioned mistake with a positive lesson learned. An example would be working too far
ahead of colleagues on a project and thus throwing coordination off.
40. Do you have any blind spots?
Trick question. If you know about blind spots, they are no longer blind spots. Do not reveal
any personal areas of concern here. Let them do their own discovery on your bad points. Do
not hand it to them.
41. If you were hiring a person for this job, what would you look for?
Be careful to mention traits that are needed and that you have.
42. Do you think you are overqualified for this position?

Regardless of your qualifications, state that you are very well qualified for the position.
43. How do you propose to compensate for your lack of experience?
First, if you have experience that the interviewer does not know about, bring that up: Then,
point out (if true) that you are a hard working quick learner.
44. What qualities do you look for in a boss?

Be generic and positive. Safe qualities are knowledgeable, a sense of humor, fair, loyal to
subordinates and holder of high standards. All bosses think they have these traits.
45. Tell me about a time when you helped resolve a dispute between others.
Pick a specific incident. Concentrate on your problem solving technique and not the dispute
you settled.
46. What position do you prefer on a team working on a project?
Be honest. If you are comfortable in different roles, point that out.
47. Describe your work ethic.

Emphasize benefits to the organization. Things like, determination to get the job done and
work hard but enjoy your work are good.
48. What has been your biggest professional disappointment?

Be sure that you refer to something that was beyond your control. Show acceptance and no
negative feelings.
49. Tell me about the most fun you have had on the job.
Talk about having fun by accomplishing something for the organization.
50. Do you have any questions for me?
Always have some questions prepared. Questions prepared where you will be an asset to
the organization are good. How soon will I be able to be productive? and What type of
projects will I be able to assist on? are examples.

SOME USEFUL RESOURCES

  World’s Largest Free eBooks directory – www.bestebooksworld.com
•  Take Free Online Exams/Mock exams for GRE, GATE, TOEFL, MCSD, MCSE,
CCNA, CAT, C, C++, JAVA, IIT etc at www.testsworld.com
•  Get Complete set of Placement papers of all companies & Software jobs
FREE at www.jobsassist.com
•  FREE Download 20,000++ softwares & ebooks at www.vyomlinks.com
•  Get Thousands of FREE Source codes in most of Computer platforms at
www.sourcecodesworld.com
Get FREE directory of 5000 IT companies at www.vyomlinks.com/itdirectory
•  Submit your Resume to 6000+ companies at one GO at
www.vyomworld.com/jobs/resume/offer.asp
•  Discuss freely every thing on earth to the greatest possible depth at
www.discussionsworld.com

Monday, June 28, 2010

Logo Description

The fact that I sow a seed and it becomes a plant, share a bit of knowledge and it becomes another's.


The logo of CyberTech Club symbolises knowledge in many forms. Going ahead with new ideas and perceive the ones that comes on the way. The road to knowledge is via people, conversations, and communication. 

The motto “Sharing Knowledge” is comparable to sharing your lighted candle: you have the opportunity to share your flame with others who have unlit candles, increasing the visibility for everyone and losing nothing yourself or you may keep your candle to yourself and get by with a feeble flickering single candle which is eventually going to burn out anyway. By sharing the fire with others, we enable others to keep the fire going and growing, benefiting everyone.

Thursday, June 17, 2010

C Debugging I

1. main()
{
int a,b;
a=- 3 - - 3;
b= - 3 - - (-3);
printf(“%d %d”,a,b);
}
a) – 6 0 b). 0 -6 c) . 0 6. d). Error

2. main()
{
printf (“%d”,4/3);
printf (“%d”, -4%3);
}
a). 1 1 b). 1 -1 c). 1.0 -1 d). Overflow.

3. main()
{
int i=-4, J,num=10;
J=i % - 3;
J=(J ? 0 : num * num);
printf(“ J =%d”,J);
}
a). J=100 b). J= -1 c). J= 0 d). J=1

4. main()
{
char j=1;
while(j<=255)
{
printf(“%d\n”,j);
j=j++;
}
}
a). Error b). 1 2 3.... 255 c). 255 d). Infinite loop

5. main()
{
int x=3,y,z;
z=y=x;
z=y+=x=-z;
printf(“x=%d y=%d z=%d”, x,y,z);
}
a). x=-3 y=0 z=0 b). x= -3 y=4 z=3 c). x=3 y =3 z= 3

6. main()
{
int x=5;
x++;
printf(“x=%d”,x);
++x;
printf(“x=%d”,++x);
}
a) x=6 x=6 b) x=5 x=6 c)x=6 x=7 d)x=6 x= 8

7. main()
{
int x=3,z;
z=x+++10;
printf (“x=%d z=%d”, x,z);
}
a) x=4 z=13 b)x=3 z=13 c)x=3 z=14 d)x=4 z=14


8. main()
{
int i ;
for (i=-1;i<10;i++)
{
if (i<5)
continue;
else
break;
printf(“Gets printed only”);
}
}
a). Infinite loop b). Gets printed only c). -1 2 3 4 5 d). No output

9. main()
{
int i =2;
printf(“i - - = %d”, i--);
}
a). i=1 b). i--=1 c). i--=2 d). Error

10. main()
{
int x=10, y=8;
x=x+y;
y=x-y;
x=x-y;
printf(“x=%d y=%d”,x,y);
}
a). x=10 y=8 b). x=8 y=10 c). x=18 y=10 d). x=10 y=2