Tuesday, July 27, 2010

C# Classes and objects

For Class and Objects Refer the following websites links:

1. devarticle website
2.  C# station
3. Aspfree
4.  Kirupa
5. Video 1
6. Video 2
7. Informit

Learn and Shine....!

C# program for Structure and Enumeration


using System;
using System.Collections.Generic;
using System.Text;

namespace structenumexample
{
class Program
{
enum Sem
{
Nil=0, First = 1, Second= 2,Third = 3, Fourth = 4, Fifth = 5, Sixth = 6
}
struct stud
{
int regno, m1, m2, m3, m4, m5, tot;
string name, result, perf;
float avg;
Sem sem;

public stud(int regno, int m1, int m2, int m3, int m4, int m5,string name,int sem)
{
this.regno = regno;
this.m1 = m1;
this.m2 = m2;
this.m3 = m3;
this.m4 = m4;
this.m5 = m5;
this.name = name;
this.avg = 0;
this.tot = 0;
this.result = "";
this.perf = "";
this.sem = (Sem) sem;
}

public void proce()
{
tot = m1 + m2 + m3 + m4+m5;
avg = tot / 5;
if ((m1 >= 40) && (m2 >= 40) && (m3 >= 40) && (m4 >= 40) && (m5 >= 40))
{
result = "PASS";
if (avg > 75)
perf = "Distinction";
else if (avg > 60)
perf = "First";
else if (avg > 50)
perf = "Second";
else
perf = "Third";
}
else
{
result = "FAIL";
perf = "Nil";
}

}
public void showres()
{
System.Console.WriteLine(" {0} {1} {2} {3} {4} {5} {6} {7} {8} {9} {10} {11}", regno, name, sem,m1, m2, m3, m4, m5, tot, avg, result, perf);
}
}
public static void Main(string[] args)
{
int regno, m1, m2, m3, m4, m5;
string name;
int sem;
stud[] st = new stud[10];
int i;
for (i = 0; i < 10; i++)
{
Console.WriteLine("Enter the Regno of the student");
regno = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the Name of the student");
name = Console.ReadLine();
Console.WriteLine("Enter the Semester of the student (1/2/3/4/5/6)");
sem = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the m1 of the student");
m1 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the m2 of the student");
m2 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the m3 of the student");
m3 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the m4 of the student");
m4 = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter the m5 of the student");
m5 = Convert.ToInt32(Console.ReadLine());
st[i] = new stud(regno,m1,m2,m3,m4,m5,name,sem);
}
for (i = 0; i < 10; i++)
{
st[i].proce();
st[i].showres();
}
Console.ReadLine();
}
}
}

The above program is the example for the Structure and Enumeration usage in C#.

Thursday, July 8, 2010

Check your self in Electroal List 2010

Go to the WebSite by clicking the Election Voters List 2010

(If needed install  all the tamil fonts by selecting download tamil fonts in the same page, and then refresh)
1. Go through the above link and select your district (Namakal)
2. Select the constituency like Kumarapalayam, Pallipalayam, Tiruchengode etc.
3. Then click submit
4. Polling stations of the selected constituency will be displayed
5. Then click the needed Polling Station
6. You will get the voters list in pdf format

View the List and Identify the Whether your name is there or not.

Wednesday, July 7, 2010

Tips for speeding up Windows XP performance

Five tips for speeding up Windows XP performance

1: Access the Performance options
2: Change Visual Effects settings
3: Change Processor Scheduling settings
4: Change Memory Usage settings
5: Change Virtual Memory settings

For More details visit : Click here

Tuesday, July 6, 2010

C# - Iterative Statements

Iterative statements repeat a particular statement block until a condition has been satisfied.

Following types of iterative statements are there in C#.

  • While
  • Do While
  • For
  • Foreach

From the above the while, for, foreach are the statements under the category of entry controlled looping. and the statement do while statement falls under the exit controlled looping.

The major difference between entry and exit controlled looping is the position where the condition is evaluated. Also in entry controlled looping, initially the condition is false the iterative block will not be executed even once, but in exit controlled looping, even if the condition is false, the iterative block is executed once and then only the condition is evaluated.

While Statement
The statement block of while statement is executed while the boolean expression is true. It may execute zero or more times. If the boolean expression is false initially, the statement block is not executed.

The while statement is used to iterate while the condition evaluates to true.

Do While Statement

Do While is almost similar to While statement except it validate its boolean expression after the statement block. It guranttees that the statement block shall run atleast once for sure. Further iterations of the statement block continues while the boolean expression is true.

For Statement
The For statement iterate a code block until a specified condition is reached similar to while statement. The only difference of for statement has over while statement is that for statement has its own built-in syntax for intiliazing, testing, and incrementing/decrementing (3 clauses) the value of a counter.
The first clause is the initialize clause in which the loop iterators are declared.
The second clause is the boolean expression that must evaluate to a boolean type and the statement block is repeated until this expression is false.
The third clause is to increment/decrement the value that is executed after each iteration.
All three clauses must be separated by a semicolon (;) and are optional. For statement block is repeated zero or more times based on the boolean expression validation (second clause).

ForEach Statement
ForEach statement is desiged to loop through a similar type of items in a collection. As each element is enumerated, the identifier is assigned the new element, and the statement block is repeated. The scope of the identifier is within the foreach statement block. The identifier must be of the same type extracted from the collection and is read-only.

for more details refer : Help 1 Help 2 Help 3 Help 4

RIA - Rich Internet Applications

Rich Internet applications (RIAs) offer a rich, engaging experience that improves user satisfaction and increases productivity. Using the broad reach of the Internet, RIAs can be deployed across browsers and desktops.

Benefits of RIAs
RIAs offer organizations a proven, cost-effective way to deliver modern applications with real business benefits:
  • Offer users a richer, more engaging experience.
  • Keep pace with users' rising expectations.
  • Increase customer loyalty and generate higher profits.
  • Leverage existing personnel, processes, and infrastructure.
Visit the for the collection RIA related materials : RIA Material

C# interview Questions and Answers

C# interview Questions and Answers

  1. What’s the advantage of using System.Text.StringBuilder over System.String?
  2. Can you store multiple data types in System.Array?
  3. What’s the difference between the System.Array.CopyTo() and System.Array.Clone()?
  4. How can you sort the elements of the array in descending order?
  5. What’s the .NET datatype that allows the retrieval of data by a unique key?
For more questions with answers visit : http://www.techinterviews.com/c-sharp-interview-questions-and-answers

Monday, July 5, 2010

Teaching Computers To Recognize Objects

http://www.sciencedaily.com/releases/2009/06/090601090029.htm

Recognising objects and groups of objects is something we humans take for granted. For computers, this is far from straightforward. A European project has come up with novel solutions to this conundrum.

Nearest Neighbor

http://www.codeproject.com/KB/recipes/K_nearest_neighbor.aspx

http://www.codeproject.com/KB/recipes/Quantitative_Distances.aspx

C# - An Introduction

C# (pronounced C Sharp). C# is designed to be a simple, modern, general-purpose, object-oriented programming language, borrowing key concepts from several other languages, most notably Java.

C# could theoretically be compiled to machine code, but in real life, it's always used in combination with the .NET framework. Therefore, applications written in C#, requires the .NET framework to be installed on the computer running the application. While the .NET framework makes it possible to use a wide range of languages, C# is sometimes referred to as THE .NET language, perhaps because it was designed together with the framework.

C# is an Object Oriented language and does not offer global variables or functions. Everything is wrapped in classes, even simple types like int and string, which inherits from the System.Object class.
C# can be written with any text editor, like Windows Notepad, and then compiled with the C# Command line compiler, csc.exe, which comes with the .NET framework.
simple C# program looks likes as follows
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello, world!");
Console.ReadLine();
}
}
for more details refer : http://csharp.net-tutorials.com/

Wednesday, February 24, 2010

6 Biggest Pet Peeves of Interviewers

Getting an interview is a really big deal. It means that you have achieved a level of confidence with your resume and cover letter and have made it to the next steps of the hiring equation. This is something that you should be proud of; this is also something you should take very, very seriously. The interview presents a lot of opportunities to shine, but it also presents plenty of ways to disappoint a principal and hiring team and lose the chance at a job. 
 


Have you ever wondered what things don’t just annoy hiring teams but actually make them cringe in frustration? Well, wonder no more! Monster did the research for you. We sat down with real-world hiring managers and found out their biggest interview pet peeves, so you won’t have to find out the hard way.


For More details
Thanks to The Apple.

Friday, December 18, 2009

HTML STandards

HTML specifications and the related standards is available at the following link

http://www.w3.org/standards/techs/html#w3c_all


Visit this and learn it.

Monday, June 15, 2009

Comprehensive viva-voce என்à®±ால் என்ன?

Part-II Comprehensive viva-voce for the Ph.D ச்சொலர்ஸ்

  1. Such of the candidates who have successfully completed Part-I will have to take a comprehensive viva-voce within one year of completing Part-I. However, the University may allow a further period of six months.
  2. Comprehensive viva-voce will consist of a presentation by the candidate on the topic of his/her research, which includes the work done by him/ her till date and work proposed. Viva voce will be conducted by a committee consisting of Guide/s and two experts in the field appointed by the University from amongst a panel of six examiners recommended by the Chairman of concerned BOS in consultation with the Guide.
  3. The date of comprehensive viva-voce will be fixed by the University normally with 8 weeks of intimation from the Guide of readiness of the candidate.
  4. The Committee shall send a recommendation regarding the outcome of the viva-voce. The recommended candidates will continue their research. In case a candidate is not recommended, the committee will indicate the specific areas in which the candidate needs strengthening of his/her knowledge and he/she will appear for comprehensive viva­voce once again within six months of his/her taking the first viva-voce. In the event of the committee not recommending even at the second attempt, the registration of the candidate stands cancelled.

Sunday, June 14, 2009

இன்டெல்'ச ச்மல்லேச்ட் ப்à®°ோசெச்சொà®°்

தி Intel® Atom™ processor is இன்டெல் 's smallest processor, built with the world's smallest transistors and manufactured on இன்டெல் 's industry-leading 45nm Hi-k Metal Gate technology. தி இன்டெல் Atom processor was purpose-built for simple, affordable, netbooks and nettops.
இன்டெல் Atom processor-based netbooks and nettops offer both an easy-to-use mobile device with simple interfaces and targeted performance for a good online experience. They are rugged and compact in design, and offer the freedom and flexibility of wireless connectivity¹.
Great for Internet, these devices are an affordable option for education, photo and video viewing, social networking, voice over IP, e-mail, messaging, browsing, and numerous other Internet activities and basic applications.

Sunday, June 7, 2009

History of Java

Java has changed our world . . . and our expectations..
Today, with technology such a part of our daily lives, we take it for granted that we can be connected and access applications and content anywhere, anytime. Because of Java, we expect digital devices to be smarter, more functional, and way more entertaining.
In the early 90s, extending the power of network computing to the activities of everyday life was a radical vision. In 1991, a small group of Sun engineers called the "Green Team" believed that the next wave in computing was the union of digital consumer devices and computers. Led by James Gosling, the team worked around the clock and created the programming language that would revolutionize our world – Java.
The Green Team demonstrated their new language with an interactive, handheld home-entertainment controller that was originally targeted at the digital cable television industry. Unfortunately, the concept was much too advanced for the them at the time. But it was just right for the Internet, which was just starting to take off. In 1995, the team announced that the Netscape Navigator Internet browser would incorporate Java technology.
Today, Java not only permeates the Internet, but also is the invisible force behind many of the applications and devises that power our day-to-day lives. From mobile phones to handheld devises, games and navigation systems to e-business solutions, Java is everywhere!

For Timeline of Java refer Timeline
Taken from http://www.java.com/, Thanks.

Thursday, June 4, 2009

The 10 faces of computer malware

This summary is not available. Please click here to view the post.

15 Toughest Interview Questions

15 Toughest Interview Questions


  1. Why do you want to work in this industry?
  2. Tell us about yourself.
  3. What do you think of your previous boss?
  4. Why are you leaving your current role?
  5. Where do you see yourself in five years?
  6. What’s your greatest weakness?
  7. What salary are you looking for?
  8. Why should I hire you?
  9. What is your greatest failure, and what did you learn from it?
  10. How do you explain your gap in employment?
  11. When were you most satisfied in your job?
  12. What did you like least about your last job?
  13. Describe a time when you did not get along with a co-worker.
  14. What motivates you?
  15. How would your friends describe you?
For answers visit ANSWERS

Thanks for apple.com

Saturday, May 30, 2009

How do I create a Windows shortcut key?

How do I create a Windows shortcut key?
Solution:

Create a shortcut

  1. Open the folder or directory that contains the program you wish to create a shortcut for.
  2. Right-click on the program and click "Create Shortcut".
  3. This will create a shortcut named "Shortcut to " in the directory you are in. If you wish to rename this shortcut, right-click the file and click rename.
  4. Once the above steps have been completed, you can copy or cut this shortcut and paste it anywhere to execute this program.

Assign shortcut key to that Windows shortcut

Once the shortcut has been created to assign a shortcut key to that Windows shortcut follow the below steps.

  1. Right-click the shortcut and click Properties.
  2. Click the Shortcut tab.
  3. Click in the Shortcut key box and press a letter. For example, if you press "p" the shortcut key will automatically be made Ctrl + Alt + P. Which means if saved when pressing Ctrl and Alt and "P" all at the same time will run that shortcut.
Your Comments are Welcomed....!