1,105,585 Community Members

I was asked in a .NET interview What is the difference between Pascal,Camel and hunga

Member Avatar
jigneshdesai
Newbie Poster
7 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I am not sure why such question was asked to me and is it anywhere related to .NEt also.

Member Avatar
khadakbist
Light Poster
30 posts since Feb 2011
Reputation Points: -3 [?]
Q&As Helped to Solve: 9 [?]
Skill Endorsements: 0 [?]
 
0
 

This .NET interview question is mainly asked to test if you have used coding standards in your project. All the above three are naming conventions which are followed in programming languages to ensure a proper and neat code. Below is the explanation of each naming convention.

Pascal Notation- In this naming convention all starting letter of the words are in Upper Case and other characters are lower case.

Example:

CustomerCode

Camel Notation- In this naming convention first character of all words, except the first word are Upper Case and other characters are lower case.

Example:

customerCode

Hungarian notation - In this naming convention the variable name starts with group of small letter which indicate data type.

Example:

bCheck

( b indicates its a boolean type),

iCount

( i indicated its a integer data type)

Question Answered as of 3 Years Ago by khadakbist
Member Avatar
jigneshdesai
Newbie Poster
7 posts since Feb 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I knew the answer it was just the vocabulary which i was not aware of. Thanks Khadak.

You
This question has already been solved: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: