C # test paper

391 views

Published on

Published in: Technology
2 Comments
0 Likes
Statistics
Notes
  • Who asked for the answers? Please write your name after the comment in a square bracket. Thanks. Anyways. Will upload them soon. [Bharti]
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Where is the answer?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total views
391
On SlideShare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
7
Comments
2
Likes
0
Embeds 0
No embeds

No notes for slide

C # test paper

  1. 1. C# and ASP.NET Test Paper Total Marks : 20Q1 Inheritance is a relationship between: [1] a. Data member b. Member Functions c. Classes d. Objects and ClassesQ2 Which class is at the top of .NET class hierarchy? [1] a. System.Object b. System.Class c. System.Net d. System.NamespaceQ3 What is a delegate? [1] a. A delegate object encapsulates a reference to a class. b. A delegate object encapsulates a reference to an object. c. A delegate object encapsulates a reference to a child class d. A delegate object encapsulates a reference to a methodQ4 What methods are not fired during the page load? [1] a. Init() b. Load() c. Start() d. PreRender() e. UnLoad()Q5 What’s the advantage of using System.Text.StringBuilder over System.String? [2]Q6 Describe Common Language Runtime (CLR) . [3]Q7 What namespace does the Web page belong in the .NET Framework class hierarchy? [2]Q8 What is the Global.asax used for? [3]Q9 What are the three sections in web.config file? [3]Q10 Write a code to set a cookie and add two string information in it? [4]

×