0% found this document useful (0 votes)
38 views

School of Vocational Education: Tata Institute of Social Sciences

This exam paper covers multiple choice questions about Visual Basic .NET programming concepts like variables, data types, operators, controls, events, classes, objects, inheritance, polymorphism, exception handling and database programming. The exam has 40 multiple choice questions to be completed in 3 hours.

Uploaded by

skr.04088s
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views

School of Vocational Education: Tata Institute of Social Sciences

This exam paper covers multiple choice questions about Visual Basic .NET programming concepts like variables, data types, operators, controls, events, classes, objects, inheritance, polymorphism, exception handling and database programming. The exam has 40 multiple choice questions to be completed in 3 hours.

Uploaded by

skr.04088s
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Exam Paper Code - 11006

Tata Institute of Social Sciences


School of Vocational Education

Programme Name: B. Voc. In Software Development Sem 3 Exam : Main

Course Title : Programming With Visual Basic.Net Course Code : BVOC-SD 3.1

Exam Date : 24/2/23 Venue : TISS SVE HUB

Time : 10 am to 1 pm Session : Morning

Total Marks : 100 Duration : 3 Hours

Instructions: Write concise, to the point answers. Longer is not always better. Rambling answers that do not convey
understanding of the subject will be penalized by lower marks. As far as possible, bullet point your answers. Please
write neatly, someone will have to read your handwriting. Clearly mark question numbers so the evaluator knows
which question you are answering.

Q1. Multiple Choice Questions : Visual Studio .NET provides which feature 1 Marks

1) debugging 2) application deployment 3) syntax checking 4) All are Correct

Q2. Multiple Choice Questions : Which is not a property of the Common control class? 1 Marks

1) Show 2) BackColor 3) Font 4) ForeColor


5) Name

Q3. Multiple Choice Questions : Which of the following statement is not correct? 1 Marks

1) CLR is an execution engine of .NET. 2) Assembly is a logical unit of deployment. 3) CLR executes
managed code. 4) .NET provides cross language interoperability using code access security

Q4. Multiple Choice Questions : Which is not an integer data type? 1 Marks

1) Single 2) Byte 3) Short 4) Integer


5) Long

Q5. Multiple Choice Questions : Which sequence of char data types is listed from lowest to 1 Marks
highest?
1) a, A, z, Z 2) a, z, A, Z 3) A, a, Z, z 4) A, Z, a, z
5) z, a, Z, A

Q6. Multiple Choice Questions : Which function will return the monthly payments of a loan? 1 Marks

1) Pay (Rate, PV, Nper) 2) Pmt (Rate, Nper, PV) 3) FV (Rate, Nper, Pmt) 4) FV (Rate, Nper, PV)
5) None of the these.
1/6 Exam Paper Code - 11006
Q7. Multiple Choice Questions : The End If statement is required: 1 Marks

1) in all If…Then statements. 2) in all Multi-line statements with Else. 3) in Single Line statements. 4) All are
Correct

Q8. Multiple Choice Questions : Which is true of a Do…Loop? 1 Marks

1) The While condition goes after the Do keyword. 2) The Until condition goes after the Do keyword. 3) The
While condition goes after the Loop keyword. 4) The Until condition goes after the Loop keyword.
5) All are Correct
Q9. Multiple Choice Questions : Which function should be used to validate that input is not a string 1 Marks
before performing arithmetic operations?
1) IsArithmetic 2) IsNotString 3) IsNumeric 4) IsString
5) IsValue

Q10. Multiple Choice Questions : Which is not a type of error programmers look for? 1 Marks

1) Logic 2) Runtime 3) Superficial 4) Syntax


5) All are errors programmers look for.

Q11. Multiple Choice Questions : What is the standard prefix for the name of a RadioButton? 1 Marks

1) rad 2) rab 3) rdo 4) rdb


5) rbt

Q12. Multiple Choice Questions : Which is a valid way to write a sub procedure declaration? 1 Marks

1) Use the Class and Method combo boxes in the Code Editor window. 2) Double click on the object in the
Form Designer window. 3) Type the procedure declaration in the Code Editor window. 4) All are Correct

Q13. Multiple Choice Questions : Which method will arrange the elements of an array in 1 Marks
alphabetical order?
1) Arrange 2) Assemble 3) Order 4) Rank
5) Sort

Q14. Multiple Choice Questions : The number of variables allowed in a structured is: 1 Marks

1) 0 2) 1 3) 2 4) 3
5) Any number of variables can be declared in an array.

Q15. Multiple Choice Questions : The variable inside a structure is called a(n): 1 Marks

1) associate. 2) constituent. 3) element. 4) member.


5) part

Q16. Multiple Choice Questions : Which argument in the KeyPress parameter list contains the 1 Marks
Handled property?
1) Sender 2) e 3) Object 4) KeyPressEventArgs
5) None of these.
2/6 Exam Paper Code - 11006
Q17. Multiple Choice Questions : Which method is found in both the StreamReader and 1 Marks
StreamWriter class?
1) Close 2) Peak 3) Flush 4) All are Correct

Q18. Multiple Choice Questions : Which is the wildcard symbol for selecting all the fields in a 1 Marks
table?
1) @ 2) # 3) ^ 4) *
5) +

Q19. Multiple Choice Questions : Where does a web application reside? 1 Marks

1) Web client 2) Web server 3) Visual Studio .NET 4) All are Correct

Q20. Multiple Choice Questions : Which one of the following options is not Arithmetic Operators 1 Marks

1)
+, - 2) *, / 3) ++, --, % 4)
>=, <=
Q21. Multiple Choice Questions : Which layer is exemplified by the use of ADO.NET? 1 Marks

1) Application 2) Association 3) Data 4) Logical


5) Presentation

Q22. Multiple Choice Questions : Visual Studio .NET provides which feature: 1 Marks

1) debugging 2) application deployment 3) syntax checking 4) All of these

Q23. Multiple Choice Questions : Find the term: The .NET framework which provides automatic 1 Marks
memory management using a technique called ______________ ?
1) Serialization 2) Garbage Collection 3) Assemblies 4) Overriding

Q24. Multiple Choice Questions : WSDL stands for ___________ ? 1 Marks

1) Web Server Description Language 2) Web Server Descriptor Language 3) Web Services Description
Language 4) Web Services Descriptor Language

Q25. Multiple Choice Questions : Web.config file is used... 1 Marks

1) Configures the time that the server-side codebehind module is called 2) To store the global information and
variable definitions for the application 3) To configure the web server 4) To configure the web server

Q26. Multiple Choice Questions : . …….. is a control related event 1 Marks

1) Keydown 2) Load 3) Terminate 4) GotFocus


3/6 Exam Paper Code - 11006
Q27. Multiple Choice Questions : ………….. combines the features of the text box and list box 1 Marks

1) Picture box 2) Check box 3) Combo box 4) Option button

Q28. Multiple Choice Questions : A………. displays a list of items from which user can select one 1 Marks
or more items.
1) Combo box 2) List box 3) Check box 4) Scroll bar

Q29. Multiple Choice Questions : Which of the following options is exception class 1 Marks

1) ArithmeticException & ArrayTypeMismatchException 2) DivideByZeroException &


IndexOutOfRangeException 3) InvalidCastException & NullReferenceException 4) OutOfMemoryException
& OverflowException
5) All of the above
Q30. Multiple Choice Questions : ……… is a special tool available in VB to access databases 1 Marks
directly.
1) VDM 2) DAO 3) ADO 4) None of these

Q31. Multiple Choice Questions : For which task does the IDE provide multiple ways to accomplish 2 Marks
the task?
1) Putting a control on the form 2) Running the program 3) Activating the property window for a control 4) All
are Correct

Q32. Multiple Choice Questions : In event-driven programming an event is generated by: 2 Marks

1) the system. 2) a user’s action. 3) the program itself. 4) All are Correct

Q33. Multiple Choice Questions : When a condition in an If…Then statements tests true: 2 Marks

1) the next Else statement is activated. 2) the next If statement is activated. 3) the next Then statement is
activated. 4) the End If statement is activated.
5) a condition can never test true.
Q34. Multiple Choice Questions : Which event is activated when a RadioButton is selected? 2 Marks

1) Checked 2) CheckedChanged 3) Selected 4) SelectedChanged


5) SelectionChanged

Q35. Multiple Choice Questions : Which menu item is not typically found in the File Menu? 2 Marks

1) Close 2) Copy 3) Exit 4) Print


5) Save

Q36. Multiple Choice Questions : The StreamReader and StreamWriter class are both subclasses of 2 Marks
which class?
1) IO 2) Stream 3) StreamIO 4) All are Correct
4/6 Exam Paper Code - 11006
Q37. Multiple Choice Questions : The first step of configuring a DataAdapter is to select: 2 Marks

1) an adapter object. 2) a connection object. 3) a database object. 4) a dataset object.

Q38. Multiple Choice Questions : What is the syntax for creating and using an application variable? 2 Marks

1) Application.VariableName = Value 2) Application.VariableName = (Value) 3) Application(VariableName)


= Value 4) Application(VariableName) = (Value)
5) Application(“VariableName”) = Value
Q39. Multiple Choice Questions : The standard for designing a field is that it be defined as a: 2 Marks

1) private method. 2) public method. 3) private variable. 4) public variable.

Q40. Multiple Choice Questions : What attributes do you use to hide a public .Net class from 2 Marks
COM?
1) DLLImport Attributes 2) ComVisible attributes 3) COM Interop 4) All

Q41. Multiple Choice Questions : The number of forms that can be added to a aspx page is. 2 Marks

1) 1 2) 2 3) 3 4) More than 3

Q42. Multiple Choice Questions : Which of the following statement is correct about String 2 Marks

1) Methods of the String class cannot be used to operate the string 2) A String is mutable because it can be
modified once it has been created 3) A String has a zero-based index 4)
A numeric value cannot be represented in the form of a String
Q43. Multiple Choice Questions : How to implement authentication via web.config? 2 Marks

1) Include the authentication element. 2) Include the authorization element. 3) Include the identity element.
4) Include the deny element.

Q44. Multiple Choice Questions : Where we can assign value to Static read only member variable of 2 Marks
a static class?
1) Default constructor 2) Parameterized constructor 3) Global.asax 4) On click of button

Q45. Multiple Choice Questions : ………….. is the property of a flexgrid to access the index of 2 Marks
current row.
1) Index 2) New index 3) Row 4) Rowsel

Answer any 8 out of 10

Q46) Explain : What is Globalization? 5 Marks


Q47) Explain : What is the difference between Namespace and Assembly? 5 Marks
Q48) Do As Directed : Early Binding vs Late Binding - define them and explain? 5 Marks
5/6 Exam Paper Code - 11006
Q49) Do As Directed : Define MSIL 5 Marks
Q50) Do As Directed : Explain the use of DataAdapter. 5 Marks
Q51) Explain : How to create a constant in VB.NET? 5 Marks
Q52) Explain : What is the purpose of VB.NET Form control? 5 Marks
Q53) Explain : What are the uses of Stored Procedure? 5 Marks
Q54) Explain : What is control array in VB? Explain its silent features. 5 Marks
Q55) Explain : What do you mean by multithreadfing application in vb.net 5 Marks

You might also like