You are on page 1of 19

TOPS Technologies

Fundamental Questions of ASP.Net


1. 2. 3. 4. 5. 6. 7. 8. 9. What is a Web Server? What is the difference between a Web Browser and a Web Server? What is a domain? What is FTP? How is it used? What is OOPS? What is polymorphism? When we use it? What is abstract and interface? What is Virtual method? What is Object?

10. What is Class? 11. What is Static field? 12. What is Static Method? 13. What is Inheritance? 14. What is Virtual keyword? 15. What is Abstract Class? 16. What is an Interface? 17. When to use Interface over abstract class? 18. What is pure virtual function? 19. What is method overloading? 20. What is overriding? 21. What is meant by Binding? 22. Can we call a base class method without creating instance? 23. Difference between new and override keyword? 24. What is a private constructor? Where will you use it? 25. How's method overriding different from overloading? 26. What is an IP? 27. What is TCP/IP?

TOPS Technologies
28. What is a router 29. What is an ISP? 30. What is an SMTP server? 31. What is programming language? 32. What is scripting language? 33. What is HTTP? 34. What is SDLC? 35. What is Array? 36. What is web-site and web-server? 37. What is web site hosting? 38. What is RDBMS? 39. What is normalization? 40. What is Trigger? 41. What are cursors? 42. What is the difference between Primary key, unique key and Foreign Key? 43. How to implement one-to-one, one-to-many and many-to-many relationships while designing tables? 44. What is the difference between where and having clause? 45. How would apply date range filter? 46. What type of wildcards have you used? 47. How to return truly random data from a table? Let say top 100 random rows? 48. How to create recursive query in SQL Server? 49. How to delete Duplicate records in a table? 50. How can you call a PL/SQL procedure from SQL? 51. How can variables be passed to a SQL routine? 52. Can a primary key and a foreign key be set on the same table? 53. What is the use of DROP option in the ALTER TABLE command? 54. What is trigger? How many types of Triggers are there?

TOPS Technologies
55. What are constraints? 56. How to join 2 tables in a SQL query? 57. How do you implement one-to-one, one-to-many and many-to-many relationships while designing tables? 58. What's the maximum size of a row? 59. How to change Database name in SQL Server? 60. What is a cursor in SQL? 61. How to return XML in SQL server? 62. What is an Index? 63. Where do you think usernames and passwords will be stored in Database? 64. Can we create a foreign key without a primary key? 65. Difference between varchar and char? 66. What is the use of bit data type and what kind of data will be stored in it? 67. What is user-defined data type in SQL? 68. What is the difference between DELETE and TRUNCATE commands? 69. What types of JOINS are possible with SQL Server? 70. What is the difference between a local variable and a global variable? 71. What command do we use to rename a database? 72. What is data integrity? 73. What is de-normalization? 74. How can we sent value from the form on the server? 75. How can we retrieve value from the server? 76. Can we return array value using return keyword? 77. What is Global and local variable? 78. If the variable $a is equal to 5 and variable $b is equal to character a, what is the value of b? 79. What is DBMS and RDBMS? 80. What is the main difference between primary key and unique key?

TOPS Technologies
81. What is normalization? 82. What is the difference between truncate and delete? 83. What is AJAX? 84. What is JAVASCRIPT? 85. What is Session and cookie? Why we use it? 86. What is MVC? Why we use it? 87. What is CMS? 88. What is Framework? 89. What is DBMS and RDBMS? 90. What is Stored procedure and function? 91. What is view and trigger? 92. What is unique and primary key in database? 93. What is nested query in sql? 94. Which SQL statement is used to return only different values? 95. What is Normalization? 96. Difference between complier and interpreters? 97. Difference betweeen class and structure in c++? 98. difference between POP and OOP's? 99. Difference type Data type in programming? 100. What is Constructor and Distructor c++? 101. What is operator overloading? 102. Which statement is the replacement of multiple else if statement? 103. What is use of break,continue,goto statement in C? 104. What is the advantage of javascript? 105. What is difference between for and foreach loop? 106. How many way we can use Css in a web page? 107. Html is case sensitive or not? 108. What is client side and server side programming

TOPS Technologies
109. What is abstract class and virtual function? 110. Difference between OR and XOR Operator 111. Difference between GET and POST method of form 112. What is static and const variable? 113. What is a Web Server? 114. What is the difference between a Web Browser and a Web Server? 115. What is a domain? 116. What is FTP? How is it used? 117. What is OOPS? 118. What is polymorphism? When we use it? 119. What is abstract and interface? 120. What is an IP? 121. What is TCP/IP? 122. What is a router 123. What is an ISP? 124. What is an SMTP server? 125. What is programming language? 126. What is scripting language? 127. What is HTTP? 128. What is SDLC? 129. What is Array? 130. What is web-site and web-server? 131. What is web site hosting? 132. What is RDBMS? 133. What is normalization? 134. What is Trigger? 135. What are cursors? 136. What is the difference between Primary key, unique key and Foreign Key?

TOPS Technologies
137. How to implement one-to-one, one-to-many and many-to-many relationships while designing tables? 138. What is the difference between DELETE and TRUNCATE commands? 139. What types of JOINS are possible with SQL Server? 140. What is the difference between a local variable and a global variable? 141. What command do we use to rename a database? 142. What is data integrity? 143. What is de-normalization?

First Exam

144. What is an IL? 145. What is a CLR? 146. What is CTS? 147. What is a CLS (Common Language Specification)? 148. What is a Managed Code? 149. What is a Assembly? 150. What are the different types of Assembly? 151. What is NameSpace? 152. What is Difference between NameSpace and Assembly? 153. What is GAC? 154. What is garbage collection? 155. Can we force garbage collector to run? 156. What are Value types and Reference types? 157. What is concept of Boxing and Unboxing ? 158. What is the difference between VB.NET and C#? 159. What is the difference between System exceptions and Application exceptions? 160. What is the sequence in which ASP.NET events are processed?

TOPS Technologies
161. In which event are the controls fully loaded? 162. How can we identify that the Page is Post Back? 163. How does ASP.NET maintain state in between subsequent request? 164. What is event bubbling? 165. How do we assign page specific attributes? 166. How do we ensure viewstate is not tampered? 167. What is the use of @ Register directives? 168. What is the use of Smart Navigation property? 169. What is AppSetting Section in Web.Config file? 170. Where is View State information stored? 171. what is the use of @ Output Cache directive in ASP.NET. 172. How can we create custom controls in ASP.NET? 173. How many types of validation controls are provided by ASP.NET? 174. Can you explain AutoPostBack? 175. How can you enable automatic paging in Data Grid? 176. What is the use of GLOBAL.ASAX file? 177. What is the difference between Web.config and Machine.Config? 178. What is a SESSION and APPLICATION object? 179. What is the difference between Server.Transfer and response. Redirect ? 180. What is the difference between Authentication and authorization? 181. Can you explain in brief how the ASP.NET authentication process works? 182. What are the various ways of authentication techniques in ASP.NET? 183. How does authorization work in ASP.NET? 184. What is difference between Data grid, Datalist, and repeater? 185. From performance point of view, how do they rate? 186. What is the method to customize columns in Data Grid? 187. How can we format data inside Data Grid? 188. How to decide on the design consideration to take a Data grid, data list, or repeater?

TOPS Technologies
189. Difference between ASP and ASP.NET? 190. What are major events in GLOBAL.ASAX file? 191. Do session use cookies? 192. How can we force all the validation control to run? 193. How can we check if all the validation control are valid and proper? 194. If client side validation is enabled in your Web page, does that mean server side code is not run. 195. Which JavaScript file is referenced for validating the validators at the client side? 196. How to disable client side script in validators? 197. How can I show the entire validation error message in a message box on the client side? 198. You find that one of your validations is very complicated and does not fit in any of the validators, what will you do? 199. What exactly happens when ASPX page is requested from a browser? 200. How can we kill a user session? 201. How do you upload a file in ASP.NET? 202. How do I send email message from ASP.NET? 203. Explain the differences between Server-side and Client-side code? 204. Can you explain Forms authentication in detail? 205. How do I sign out in forms authentication? 206. If cookies are not enabled at browser end does form Authentication work? 207. How to use a checkbox in a data grid? 208. Whats the difference between trace and debug in ASP.NET? 209. How do you enable tracing in on an ASP.NET page? 210. Which are the various modes of storing ASP.NET session? 211. Is Session_End event supported in all session modes? 212. Where do you specify session state mode in ASP.NET? 213. What are the other ways you can maintain state?

TOPS Technologies
214. What are benefits and Limitation of using Hidden fields? 215. What is ViewState? 216. Does the performance for viewstate vary according to User controls? 217. What are benefits and Limitation of using Viewstate for state management? 218. How can you use Hidden frames to cache client data ? 219. What are benefits and limitations of using Hidden frames? 220. What are benefits and limitations of using Cookies? 221. What is Query String and What are benefits and limitations of using Query Strings? 222. What is Absolute and Sliding expiration? 223. What is cross page posting? 93 224. How do we access viewstate value of this page in the next page ? 225. What is the difference between Convert.toString and .toString () method? 226. What is Object Oriented Programming? 227. What is a Class? 228. What is an Object? 229. What is the relation between Classes and Objects? 230. What are different properties provided by Object-oriented systems? 231. How can we achieve inheritance in C#? 232. What are abstract classes? 233. What is a Interface? 234. What is difference between abstract classes and interfaces? 235. What is a delegate? 236. What are Events? 237. Do events have return type. 238. Can events have access modifiers? 239. Can we have shared events? 240. What is shadowing? 241. What is the difference between Shadowing and Overriding?

TOPS Technologies
242. What is the difference between delegate and events? 243. If we inherit a class do the private variables also get inherited? 244. What is the different accessibility levels defined in .NET? 245. Can you prevent a class from overriding? 246. Do interface have accessibility modifier. 247. What are similarities between Class and structure? 248. What is the difference between Class and structures? 249. What does virtual keyword mean? 250. What are Static(C#) variables? 251. What is Dispose method in .NET? 252. What is the use of Overrides and Overridable keywords? 253. Where are all .NET Collection classes located? 254. What is ArrayList? 255. What is a HashTable? 256. What are queues and stacks? 257. What is ENUM? 258. What is nested Classes? 259. What is Operator overloading in .NET? 260. For the below code which constructor will fire first? 261. What is the significance of Finalize method in .NET? 262. How can we suppress a finalize method? 263. What is the use of DISPOSE method? 264. How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method? 265. In what instances you will declare a constructor to be private? 266. Can we have different access modifiers on get/set methods of a property ? 267. If we write a goto or a return statement in try and catch block will the finally block execute?

TOPS Technologies
268. What is Indexer? 269. Can we have static indexer in C#? 270. Can two catch blocks be executed? 271. What is the difference between System.String and System.StringBuilder classes?

Second Exam

272. What is DBMS and RDBMS? 273. What is unique and primary key in database? 274. Difference between complier and interpreters. 275. Difference between POP and OOP's? 276. How many way we can use Css in a web page 277. What is abstract class and virtual function? 278. What is a CLR? 279. What is a Managed Code? 280. What is garbage collection? 281. How can we identify that the Page is Post Back? 282. What is AppSetting Section in Web.Config file? 283. Where is View State information stored? 284. What is difference between Data grid, Datalist, and repeater? 285. Do session use cookies? 286. How can we force all the validation control to run? 287. Which JavaScript file is referenced for validating the validators at the client side? 288. If cookies are not enabled at browser end does form Authentication work? 289. Which are the various modes of storing ASP.NET session? 290. What is ViewState? 291. What are benefits and limitations of using Cookies?What is cross page posting? 292. What is the difference between Convert.toString and .toString () method?

TOPS Technologies
293. What is a Class? 294. How can we achieve inheritance in C#? 295. What are abstract classes? 296. What is a delegate? 297. What is the different accessibility levels defined in .NET? 298. Can you prevent a class from overriding? 299. What are Static(C#) variables? 300. What is ArrayList? 301. What is Operator overloading in .NET? 302. What is Indexer? 303. Can we have static indexer in C#? 304. Can two catch blocks be executed? 305. What is the difference between System.String and System.StringBuilder classes? 306. What is the namespace in which .NET has the data functionality class? 307. Can you give an overview of ADO.NET architecture? 308. What are the two fundamental objects in ADO.NET? 309. What is difference between dataset and data reader? 310. What are major difference between classic ADO and ADO.NET? 311. What is the use of connection object?What is the use of command objects? 312. What is the use of data adapter? 313. What are basic methods of Data adapter? 314. What is Dataset object? 315. What are the various objects in Dataset? 316. How can we connect to Microsoft Access, FoxPro, and Oracle etc? 317. How do we connect to SQL SERVER, which namespace do we use? 318. How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures? 319. How can we force the connection object to close after my data reader is closed?

TOPS Technologies
320. I want to force the data reader to return only schema of the data store rather than data. 321. How can we fine-tune the command object when we are expecting a single row? 322. Which is the best place to store connection string in .NET projects? 323. What are the steps involved to fill a dataset? 324. What are the various methods provided by the dataset object to generate XML? 325. How can we save all data from dataset? 326. How can we check that some changes have been made to dataset since it was loaded? 327. How can we add/remove row is in Data Table object of Dataset? 328. What is basic use of Data View? 329. What is the difference between Dataset and Data Reader ? 330. How can we load multiple tables in a Dataset? 331. How can we add relation between tables in a Dataset? 332. What is the use of Command Builder? 333. Whats difference between Optimistic and Pessimistic locking ? 334. How many ways are there to implement locking in ADO.NET? 335. How can we perform transactions in .NET? 336. What is difference between Dataset?Clone and Dataset. Copy? 337. Can you explain the difference between an ADO.NET Dataset and an ADO Record set? 338. Explain in detail the fundamental of connection pooling? 339. What is Maximum Pool Size in ADO.NET Connection String? 340. How to enable and disable connection pooling? 341. What extra features does ADO.Net 2.0 have ? 342. What is normalization? What are different types of normalization? 343. What is denormalization? 344. What is a candidate key?

TOPS Technologies
345. What are the different types of joins? What is the difference between them? 346. What are indexes? What is the difference between clustered and nonclustered indexes? 347. What is the use of OLAP? 348. What is the difference between DELETE TABLE and TRUNCATE TABLE commands? 349. What are different transaction levels in SQL SERVER? 350. What are the different ways of moving data between databases in SQL Server? 351. What are advantages of SQL 2008? 352. What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? 353. What is the difference between UNION and UNION ALL SQL syntax? 354. How can you raise custom errors from stored procedure? 355. What is ACID fundamental? What are transactions in SQL SERVER? 356. If we have multiple AFTER Triggers on table how can we define the sequence of the triggers? 357. What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? 358. What is a Web Service? 359. What is UDDI? 360. What is DISCO? 361. What is WSDL? 362. What the different phase/steps of acquiring a proxy object in Web service? 363. What the different phase/steps of acquiring a proxy object in Web service? 364. What is file extension of Web services? 365. Which attribute is used in order that the method can be used as WebService? 366. What are the steps to create a web service and consume it? 367. Do webservice have state? 368. What problem does Ajax solve? 369. What is Ajax?

TOPS Technologies
370. What is the fundamental behind Ajax? 371. How do we reference HTML controls using Atlas? 372. Can you explain Scriptmanager control in Ajax? 373. Can you explain Enablepartialrendering and UpdatePanel control in Ajax? 374. Can you explain the concept of triggers in UpdatePanel control? 375. Can you explain the UpdateProgress component? 376. How can you do validations in Ajax? 377. How do we do exception handling in Ajax? 378. What is Multi-tasking? 379. What is Multi-threading? 380. What is a Thread? 381. Can we have multiple threads in one App domain? 382. Which namespace has threading? 383. What does Address Of operator do in background? 384. How can you reference current thread of the method? 385. What is Thread.Sleep () in threading? 386. How can we make a thread sleep for infinite period? 387. What is Suspend and Resume in Threading? 388. What the way to stop a long running thread? 389. How do I debug thread? 390. What is Thread.Join () in threading? 391. How can we know a state of a thread? 392. How can you avoid deadlock in threading? 393. What is the difference between thread and process?

Third Exam 394. What is DBMS and RDBMS? 395. What is unique and primary key in database?

TOPS Technologies
396. Difference between complier and interpreters. 397. Difference between POP and OOP's? 398. How many way we can use Css in a web page 399. What is abstract class and virtual function? 400. What is a CLR? 401. What is a Managed Code? 402. What is garbage collection? 403. How can we identify that the Page is Post Back? 404. What is AppSetting Section in Web.Config file? 405. Where is View State information stored? 406. What is difference between Data grid, Datalist, and repeater? 407. Do session use cookies? 408. How can we force all the validation control to run? 409. Which JavaScript file is referenced for validating the validators at the client side? 410. If cookies are not enabled at browser end does form Authentication work? 411. Which are the various modes of storing ASP.NET session? 412. What is ViewState? 413. What are benefits and limitations of using Cookies?What is cross page posting? 414. What is the difference between Convert.toString and .toString () method? 415. What is a Class? 416. How can we achieve inheritance in C#? 417. What are abstract classes? 418. What is a delegate? 419. What is the different accessibility levels defined in .NET? 420. Can you prevent a class from overriding? 421. What are Static(C#) variables? 422. What is ArrayList? 423. What is Operator overloading in .NET?

TOPS Technologies
424. What is Indexer? 425. Can we have static indexer in C#? 426. Can two catch blocks be executed? 427. What is the difference between System.String and System.StringBuilder classes? 428. What is difference between dataset and data reader? 429. What is the use of command objects? 430. What is Dataset object? 431. How do we use stored procedure in ADO.NET and how do we provide parameters to the stored procedures? 432. Which is the best place to store connection string in .NET projects? 433. What is the difference between Dataset and Data Reader ? 434. What is the use of Command Builder? 435. What is difference between Dataset?Clone and Dataset. Copy? 436. What is normalization? What are different types of normalization? 437. What is the difference between DELETE TABLE and TRUNCATE TABLE commands? 438. What is the difference between a HAVING CLAUSE and a WHERE CLAUSE? 439. What is ACID fundamental? 440. What are transactions in SQL SERVER? 441. What is the difference between Stored Procedure (SP) and User Defined Function (UDF)? 442. What is a Web Service? 443. What is UDDI? 444. What is file extension of Web services? 445. Do webservice have state?What is Ajax? 446. Can you explain Scriptmanager control in Ajax? 447. Can you explain the UpdateProgress component? 448. How do we do exception handling in Ajax? 449. What is a Thread?

TOPS Technologies
450. Which namespace has threading? 451. How can we make a thread sleep for infinite period? 452. How do I debug thread? 453. How can we know a state of a thread? 454. What is the difference between thread and process? 455. What is XML? 456. What is the version information in XML? 457. What is ROOT element in XML? 458. If XML does not have closing tag will it work? 459. Is XML case sensitive? 460. What is the difference between XML and HTML? 461. Is XML meant to replace HTML? 462. Can you explain why your project needed XML? 463. What is DTD (Document Type Definition)? 464. What is well formed XML? 465. What is a valid XML? 466. Define LINQ ? 467. We already have common data access model what is special about LINQ? 468. How can you make entity classes from the table itself ? 469. How can we transform LINQ to objects ? 470. How to transform LINQ to ADO.NET ? 471. How to transform LINQ to SQL ? 472. How to transform LINQ to XML ? 473. How to transform LINQ to entities ? 474. Can you explain Lambda Expressions ? 475. Revision of Simple Query syntax for LINQ ? 476. What is silver light? 477. What is WPF?

TOPS Technologies
478. What is XAML? 479. What are dependency properties? 480. Are XAML file compiled or built on runtime? 481. Can you explain how we can separate code and XAML? 482. How can we access XAML objects in behind code? 483. What kind of documents are supported in WPF?

You might also like