Roll No. EEEEEEEEEEE Total No. of Pages : 04
Total No. of Questions : 14
--- Content provided by FirstRanker.com ---
MCA (Sem.-5)
VISUAL BASIC NET
Subject Code : MCA-503C
Paper ID : A0530
Time : 3 Hrs. Max. Marks : 75
--- Content provided by FirstRanker.com ---
INSTRUCTIONS TO CANDIDATES :
- SECTION-A will be compulsory and have 20 questions of 1 mark each.
- SECTION-B will have 8 short answer type questions of 5 marks each, out of which candidate will have to attempt any 5.
- SECTION-C will have 5 long answer type questions of 10 marks each, out of which candidate will have to attempt any 3.
SECTION-A
--- Content provided by FirstRanker.com ---
- Multiple Choice Questions :
- Which of the following is not a .NET compatible-language?
- C#
- J#
- VB.NET
- Java
- Which of the following directive is used to link an assembly to a page or user control?
- @Page
- @Import
- @Assembly
- @Reference
- Which of the following Loop structure does not supported by VB.Net?
- Do...... Loop
- For...... Next
- Do...... While
- ForEach...... While
- Type casting in VB.Net is implemented by means of ........... statement.
- Ctype()
- Btype()
- Type()
- TypeDef()
- In Vb.net, data is handled through .......... which facilitates development of web applications.
- ADO
- ADO.NET
- RDO
- DAO
- Which of the following is a basic data type in VB.NET?
- Boolean
- Byte
- Char
- All of the above
- A click event procedure stud for the label control can be created by:
- selecting the object and event from the code editor window's drop-down boxes.
- typing the code in the code editor window
- by double clicking the control
- All of the above
- Which of the following property of Array class in VB.NET checks whether the Array has a fixed size?
- IsFixedSize
- IsStatic
- Length
- None of the above
- Which of the following block sequence works for exception handling in VB.Net?
- Try, Catch, Throw
- Try, Catch, Finally, Throw
- Throw, Catch, Try, Finally
- Throw, Catch Try
- The function procedures are .......... by default.
- Private
- Protected
- Public
- Inherited
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
- Which of the following is not a .NET compatible-language?
- Fill in the blanks and state True or False :
- In visual basic .................... is the extension to represent project file.
- control does not receive focus and does not have a TabIndex property.
- The lower bound value of an array in VB.NET is ....................
- A property always have Get and .................... methods.
- The full form of IDE is ....................
- function is used to return a copy of a string without leading spaces.
- A namespace is an organized way of representing class, structures and .................... in .NET language.
- There are three levels of compilation in VB.NET. (True/False)
- ExitSub is used to terminate the code execute within a VB.NET method. (True/False)
- By setting an object to nothing, we can dereference an object in Vb.NET (True/False)
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-B
Design a Graphical User Interface (GUI) and write the code following:
- Add items to a list box
- Remove selected items from a list
--- Content provided by FirstRanker.com ---
- Take an appropriate example and differentiate between overloading and overriding.
- What is a constructor and destructor? Why are they needed in a program? Give example.
- Write a program to calculate Factorial of a given number using console application program.
- Describe the working of for loop and do loop with respect to an example program for each.
- Define a variable with different types. Further, explore the concept of scope of a variable in terms of local versus global with example.
- What is a form? How are forms created and managed at run time? Discuss some important properties of forms.
- Explain following with proper justification :
- Need of built-in function in VB
- Need of an IDE interface
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
SECTION-C
- Describe the .NET framework and explain its essential components. Also, elaborate the key design goals of .NET environment.
- Explain the concept of event driven programming. Discuss some events supported by VB object and also the role of event processor.
- Take an appropriate example and briefly explain the concept of functions returning data types and function returning arrays.
- Describe the functionality of user interface controls like message box, dialog box, menus and toolbars. How can we add functionality to the toolbar?
- Write short notes on following (use pseudocode wherever applicable)
- Types of procedures and their execution
- System exception handling and debugging
- Naming conventions and data type conversion
- Event procedures and their properties
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
NOTE : Disclosure of Identity by writing Mobile No. or Making of passing request on any page of Answer Sheet will lead to UMC against the Student.
This download link is referred from the post: PTU BA Last 10 Years 2011-2021 Previous Question Papers|| Punjab Technical University
--- Content provided by FirstRanker.com ---