100% found this document useful (1 vote)
26 views6 pages

III SEM BCA C# & Dot Net QB

Important questions

Uploaded by

ayishashihana4
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
100% found this document useful (1 vote)
26 views6 pages

III SEM BCA C# & Dot Net QB

Important questions

Uploaded by

ayishashihana4
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/ 6

MANGALORE UNIVERSITY

National Education Policy – 2020


[NEP-2020]

Bachelor of Computer Application (B.C.A) Programme

III SEMESTER BCA

C# and Dot Net Framework

QUESTION BANK

1
UNIT I

Two Mark Questions

1. What are web browser and web server?


2. What is web pages?
3. What are the Frontend Languages?
4. What are the Backend Languages?
5. What is HTML?
6. What is an HTML Element?
7. List the two types of tags in HTML
8. Write a note on HTML Heading tags
9. Write a note on HTML DIV tag.
10. What are HTML Table – Rowspan and – Colspan
11. Write a note on HTML <a> Tag
12. Write a note on HTML <img> Tag
13. Write a note on HTML Form Tag
14. What is Client-Side Scripts ?
15. What is Server-Side Scripts?
16. How do you write comments in C#?
17. Define literals. List any two literal types used in C#.
18. What do you mean by Boxing/Unboxing?
19. Write the syntax of conditional operator used in C# with an example
20. Differentiate break and continue statements used in C#?
21. List the different types of Method Parameters used.
22. Distinguish between ref and out parameters.
23. List any four method modifiers used .
24. What is variable size array ? Give example.
25. List any four string methods in C#.
26. What is enumeration? How it defined in C#?
27. Mention two difference between class and structure .

Long Answer Questions ( 4/5/6 Marks)

1. Explain HTML text formatting tags


2. Explain HTML Table Tags with an example.
3. Explain HTML Lists with an example.
4. Explain HTML <frame> tag
5. What are Advantages and Disadvantages of Client-side scripts?
6. What are Advantages and Disadvantages of server-side scripts?
7. Explain the structure of C# program.
8. Explain Boxing and Unboxing with example.
9. . What are the various forms of ‘if’ statement ? Explain with example.
10. . Explain the following loops with syntax and example:
i) while ii) do…while iii) for iv) foreach
11. Explain with syntax and example , how methods are declared in C#
2
12. What are Method parameters ? Explain the any two types.
13. What are Parameter Arrays? Explain with example.
14. With example explain declaring and initializing one dimensional and two-
dimensional arrays in C#.
15. Explain any three string methods in C# with example.
16. With example explain enumeration declaration and initialization in C#.

UNIT II

Two Mark Questions

1. List types of constructors in C#


2. What do you mean by overloaded constructors?
3. What are Static constructors?
4. What do you mean by polymorphism?
5. What do you mean by copy constructor?
6. What do you mean by destructors? How they are defined in C#?
7. What do you mean by „this‟ reference in C#?\
8. Differentiate constant member & read-only members used in C#
9. Give the syntax and example for interface in C#
10. What is operator overloading ?
11. List any four operators that cannot be overloaded.
12. Give the syntax of defining operator function.
13. What is a Delegate ? What is it used for?
14. What is delegate method.
15. List the steps involved in creating and using a delegates.
16. What is an Event in C# ? Give the syntax of event declaration.
17. List any four built in exceptions in C#.
18. What is use of finally() block in exception handling ?
19. What is VB IDE?
20. List any four components of VB IDE.
21. What do you mean by properties in VB.net?
22. What is Intellisence? List any two features.
23. What is the significance of component tray?
24. List any four tools available in toolbox.
Long Answer Questions ( 4/5/6 Marks)

1. With syntax and example, explain how class is defined and used in a program.
2. Explain concept of Static members and methods with example
3. What is Constructor? Explain any 2 types of constructors in C#
4. Write a note on constructor overloading.
5. Explain multi-level inheritance with example
6. Write note on class member visibility.
7. What is Interface? Explain the defining , extending and implementing interface.
8. Write a note on rules for overloading unary and binary operators.
9. Explain Unary operator overloading with example
10. Explain binary operator overloading with example.

3
11. Explain with syntax and example, how delegates are declared.
12. Write note on delegate methods.
13. Write a note on delegate instantiation and invocation.
14. With syntax and example explain exception handling mechanism in C#.
15. Explain following components of VBIDE
i) Project Explorer ii) Toolbox iii) properties window
16. Explain following components of VBIDE
i) Code window ii) Solution explorer iii) Component tray
17. Explain following components of VBIDE
i ) Graphical Designers ii) Dynamic Help window

UNIT III

Two Mark Questions


1. List any four datatypes used in VB,net.
2. Write the syntax of switch statement.
3. Differentiate for…next and for…each …next loops.
4. Write the usage of Dim and Redim keywords.
5. Differentiate Sub procedures and functions.
6. What do you mean by events?
7. Write the syntax of while loop.
8. What do you mean by methods?
9. Write the purpose of Show and Hide methods of VB.net Forms.
10. Specify any four values of FormBorder style property.
11. What is the use of Windowstate property? Specify the values.
12. What is MDI form? Mention its advatages.
13. Differentiate GotFocus and LostFocus events.
14. How do you make a textbox non editable during run time?
15. Differentiate textbox and labels?
16. Write the code to create a TextBox.
17. What is the use of Autosize property of label?
18. What is the use of HideSelection property of the text box.
19. Specify the various ways of aligning the text in labels.
20. How do you add picture to a button.
21. Give the code to create button at runtime.
22. Describe the items and multicoloumn properties of a ListBox.
23. How do you determine the selected item in a list/combo box?
24. How to Clear a combo box.
25. How to Get the number of items in a combo box.
26. Differentiate Listbox and combobox.
27. How to Create Simple, Drop-down, Drop-down List Combo Boxes
28. Mention the purpose of Progressbar and Trackbar.
29. How to add collection of objects in a listbox at once?
30. List any two public properties of HScrollBar
31. List any two public properties of Scrollbar
32. How to set Scroll Bars' Minimum and Maximum Values?
33. Write a note on Scroll Bars' LargeChange SmallChange property
34. How to get & set Scroll Bar's Current Value ?

4
Long Answer Questions ( 4/5/6 Marks)

1. List and explain Visual Basic data types


2. Explain decision making with if..else if..else statement in VB.NET with syntax and
example.
3. Explain Select case structure with syntax and example
4. Foreach..Next and Do..Until loops with their syntax and example.
5. Write a note on scope of variables in VB.NET
6. Explain For loop with syntax and example
7. Write a note on Standard and Dynamic arrays.
8. Explain the purpose of REDIM and PRESERVE keywords with suitable example
9. Write the syntax of creating Sub procedures in VB.NET. Give an example.
10. Write the syntax of creating functions in VB.NET. Give example
11. Explain any four methods of windows form control
12. Explain any FIVE unique properties of Form
13. Explain MsgBox Function with an example.
14. Explain InputBox Function with an example.
15. Explain Handling Mouse Events
16. Explain the following properties of a textbox
i) Multiline
ii) MaxLength
iii) Wordwrap
iv) Scrollbar
v) PasswordChar
17. Explain the procedure for creating the text box in code with example code.
18. Write the code for following with reference to ListBox:
i. Removing items
ii. Adding items
iii. Sorting items
iv. Determining number of many items
v. Determining items selected.
19. Write procedure to set the following for the button’s click event :
i. Button’s caption
ii. Button’s foreground and background color
iii. Button’s font

20. What is the use of trackbar? Explain its unique properties.


21. What is use of Progress bar control ? Explain its unique properties
22. How do you add and remove items to / from a ComboBox? Explain with example
23. Explain the following with reference to PictureBox:
i. Setting or Getting the Image
ii. Adjusting size to contents
iii. Handling events

UNIT IV

Two Mark Questions

5
1. What is ADO.NET ?
2. What is databinding ? Mention types of databinding.
3. Differentiate simple and complex binding .
4. What is Data Bound control ? Give example
5. List any four ADO.NET objects.
6. What is use of DataReader object ?
7. Differentiate execute Non Query and ExecuteScalar
8. What is dataset ?
9. How to create Dataset and populate it with data ?
10. What is Web server control ?
11. List any four public properties of Button web server control
12. What is use of postbackUrl and causesValidation Property of web control. ?
13. What is use of Textmode property of Textbox web control
14. What is Validation Control ? List any two.
15. Give the default syntax of asp.net source code added for Textbox web control
when it is placed in designer window .
16. What is use of Databind and Updaterow methods of Gridview web control.
17. What is use of Autogeneraterows Properties of detailedview Control.
18. What is formview control ? List any two properties.
19. What is use of repeater web control ?
20. What is use of Data Pager Control ?

Long Answer Questions ( 4/5/6 Marks)

1. Explain any two ADO.NET Objects.


2. Explain Simple binding with example
3. Explain complex data binding with example.
4. Write a note on Navigating in Datasets
5. Explain SqlConnection Class
6. Explain SqlCommand Class
7. Explain SqlDataAdapter Class
8. Explain DataSet Class
9. Explain SqlDataReader Class
10. Explain web button control with any five public properties
11. Explain following validation controls
i. The RequiredFieldValidator control
ii. The RangeValidator control
iii. The RegularExpressionValidator control
iv. The CompareValidator control
v. The CustomValidator control
vi. The ValidationSummary control
12. Explain any five properties of GrideView web control
13. Explain any four methods of GrideView web control
14. Explain any five properties of DetailedView web control
15. Explain any four methods of DetailedView web control

*************

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy