[go: up one dir, main page]

0% found this document useful (0 votes)
64 views5 pages

C#-Question Bank - All Units

The document is a C# question bank organized into five units, covering fundamental concepts of C# and the .NET framework, including definitions, differences between programming languages, object-oriented programming principles, exception handling, and user interface components. Each unit contains questions categorized by marks, ranging from 2 to 10, aimed at assessing knowledge on various topics such as data types, classes, error handling, and collections. The questions serve as a study reference for learners preparing for examinations or assessments in C# programming.

Uploaded by

omsaidesai9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views5 pages

C#-Question Bank - All Units

The document is a C# question bank organized into five units, covering fundamental concepts of C# and the .NET framework, including definitions, differences between programming languages, object-oriented programming principles, exception handling, and user interface components. Each unit contains questions categorized by marks, ranging from 2 to 10, aimed at assessing knowledge on various topics such as data types, classes, error handling, and collections. The questions serve as a study reference for learners preparing for examinations or assessments in C# programming.

Uploaded by

omsaidesai9
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

C# Question Bank

(* These questions are just for reference, study as per


syllabus)

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)

10. Explain in brief CTS


11. Explain in brief CLS
12. Explain functions of CLR?
13. Define JIT and explain in brief?
14. Explain benefits of .net approach?
15. Demonstrate how MSIL code work?
16. Explain origin of .net framework with diagram?
17. What is CLR and explain its components?
18. Explain system environment class
19. What is building blocks of .net framework?
20. Explain framework base classes?
21. Explain .net framework in detail?

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)

27. What do you mean by Scope of Variables?


28. How are Expressions evaluated in C#?
29. What is Type Conversion in C#?
5/10 marks
1. Explain Properties of class in C#?
2. Explain Prefix-Postfix notations with an example?
3. What are conditional statements? Explain with an example?
4. What are operators? Explain its types with example.
5. What are access modifiers? Explain its types with example.
6. What are Constructors? Demonstrate an example on constructor.
7. Explain Method overloading with example.
8. Demonstrate a program for Method Overloading?
9. Explain loops in C#?
10. How are Methods declared and Invoked in C#?

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)

4. Write a C# program to demonstrate Abstract class, Abstract


method?
5. Explain interfaces with an example
6. (A) What is boxing and unboxing? Give an example for each
(B) Demonstrate a C# program explaining the concept of Boxing and
Unboxing
7. (A) What are delegates in C#? Give its syntax .Mention the ways used to
call a method in delegate
(B) How to invoke Methods using delegates in C#?
8. Define Events. How are Events declared? Demonstrate a C# program For
Event Handler
9. Explain the concept of Operator Overloading With an example. List the
operators and mention its Operator overload ability?

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

1. Explain exception handling with an example.


2. Explain multiple catch with an example.
3. Explain types of exception.
4. Explain object generation.
5. Discuss the role of .NET assembly.
6. Discuss the format of a .NET assembly.
7. Write a note on types of assembly.
8. Difference between private and shared assembly.
9. Explain the concept of reference and how they are related to object
10. Explain how try-catch-block helps in handling the exception with example
11. Discuss the concept of object lifetime in c#.
12. Difference between single and multi-file assembly
C# Question Bank
(* These questions are just for reference, study as per
syllabus)

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

20. 5/10 Marks


21. Explain properties and method of list class?
22. What are characteristics of dictionary?
23. Explain the components of IDE (Integrated development environment)
24. Explain the properties of dictionary?
25. Explain methods of dictionary?
26. What are the properties of form object?
27. Write methods and events of form object
28. Explain properties of textbox control
29. Explain label control
30. Explain GDI, SDI, MDI
31. Differentiate between SDI and MDI
32. What are the properties and events of check box?
33. Write properties and methods of list box
34. Briefly explain SDI application

You might also like