C#-Question Bank - All Units
C#-Question Bank - All Units
UNIT 1
2 Marks
1. Define C#?
2. Define .net framework?
3. Mention some uses of .net framework?
4. State three technologies used in .net framework?
5. Expand CLR? What is use of CLR in .net framework?
6. State features of CLR?
7. State services and features of CLR?
8. Mention the main components of CLR?
9. Expand CTS? State 2 features of CTS?
10. Expand CLS? State 2 features of CLS?
11. What is MSIL?
12. What is JIT?
13. What is garbage collector?
14. State features of garbage collector?
15. What is managed and unmanaged code?
16. What is FBL?
17. State some tasks performed by FBL?
18. Advantages or benefits .NET approach?
19. State Difference between C# and C++?
20. State difference between C# and Java?
21. State difference between C# and visual Basic?
22. What is namespace?
23. Mention some standard namespace in .NET?
24. What is system environment class?
25. State some important members of system environment class?
26. What is system console class?
27. State two Properties of system console class?
28. State two methods of system console class?
5 Marks
1. Explain origin of .net framework with diagram?
2. What is CLR and explain its components?
3. Explain garbage collector?
4. Difference between C# and C++?
5. Difference between C# and Java?
6. Difference between C# and visual Basic?
7. Explain namespaces and its standard namespaces in .NET?
8. Explain system environment class
9. Give brief about system console class?
C# Question Bank
(* These questions are just for reference, study as per
syllabus)
UNIT-II
2 Marks
1. Explain Data types.
2. What are Variables?
3. What are constants?
4. Explain Operators. Name various operators.
5. List various Operators
6. What are the uses of variables?
7. Why are constants used?
8. What is use of Operators in C#?
9. Explain in Brief what are tokens?
10. Why are Tokens used in C#?
11. What are Keywords?
12. What is operator Precedence?
13. What are Conditional Statements?
14. Why are Conditional Statements used?
15. Explain Flow Control Statement.
16. What are objects in C#?
17. Explain what is lifetime of an object?
18. What is class?
19. Mention what Access specifies are?
20. List various Access modifiers.
21. What are Methods in C#?
22. What are static members of class?
23. Why are constructors required in C#?
24. What are Destructors?
25. What is Method overloading?
26. What are Literals?
C# Question Bank
(* These questions are just for reference, study as per
syllabus)
UNIT-III
2 Marks
1. What is C#?
2. Name the 4 pillars of oop in C#
3. Define encapsulation and polymorphism
4. What are C# class properties? And its general form?
5. What is inheritance? Mention its types?
6. Define super class and base class
7. Define inheritance and mention its syntax
8. How method overriding is implemented?
9. What is method hiding? Which modifier is used by C# for method hiding?
10. What is abstract class? How it is implemented?
11. What is sealed class? And which modifier is used by C# for it?
12. Mention the important features of interfaces
13. Define boxing and unboxing with an example
14. How many ways we can call a method in C#?
15. How to invoke methods in C# using delegates?
16. Mention types of delegates?
17. Mention the ways to declare an Event?
18. What is operator overloading?
19. What are C# events?
5 marks/10 marks questions
1. Briefly explain 4 pillars of oops with an example
2. Explain concept of C# class properties with an example
3. What is inheritance? Explain Multiple inheritance with an example
C# Question Bank
(* These questions are just for reference, study as per
syllabus)
UNIT-IV
2 marks
1. Define types of error.
2. List some of the purpose of exception handling.
3. Give the syntax of exception handling.
4. What is multiple catch block?
5. What is finally block?
6. What does "throw" keyword does in program?
7. Define types of exception.
8. What is object life time?
9. Show the relationship between class object and reference.
10. What is golden rule of .NET memory management?
11. How does System.GC works?
12. Define assemblies?
5/10 marks
UNIT-5
2 Marks
1. Define list
2. What are the types of collections?
3. Write a syntax to create array list
4. Define hash table
5. Define IDE
6. Write different IDE modes
7. Define toolbar
8. What are generic classes?
9. Define form
10. What is event?
11. What is textbox?
12. Write any two properties of textbox control
13. Write types of items in menu strip
14. Write types of items in context menu strip
15. What is comparing sorting
16. Define toolstrip ?
17. Define GDI, SDI, MDI
18. Give syntax of form creation
19. Expand GDI, SDI, MDI