FEDT VB - Net Unit-3 Assignment
FEDT VB - Net Unit-3 Assignment
1.
Programme:
2. Date of BCA Semester:of classes:
commencement III 23rd Paper
July’ Code:
2007 205 Academic Year: 2014-
Practical Questions
OK Cancel
Which property of the textbox control you need to set if you want to display the text
of the textbox in above manner?
b) You have the BackColor property of your OK button to red but still default color is
appearing on the button which property you needed to set?
c) You have a textbox called TextBox1, you want that if the entered text is bigger than
the width of the textbox, you should get adjusted in the next line which property you
needed to set?
d) A button named Button1 should change its Text to “FOCUS” and become enabled
when receives the focus. It should again change its text to “LOST” and become
disabled when loses the focus.
2. WAP to get the states/countries from user and display in listbox and combobox and
selected state should be displayed in textbox.
3. WAP to allow only numeric values in the textbox.
4. WAP to change background color using timer.
5. WAP to sort the numbers (given by the user) in descending and ascending order using
Radio Button.
6. WAP to show different pictures in a particular interval.
7. WAP to increase font size using scroll bars.
8. WAP to change font size, font name, font style of label control using check box.
9. WAP to create menu and pop up menu.
10. Write a program to create a simple class.
Multiple Choice Questions
b.) The text property changes to match any changes in the name property.
c.) The name property changes to match any changes in the text property.
d.) They are never the same unless the programmer makes it that way.
e.) They are not allowed to be the same and an error will occur if they are.
b.) methods.
c.) events.
c.) New versions of the classes must be created with each project.
d.) Buttons can be created with the drag and drop method.
b.) Form
c.) Label
d.) TextBox
e.) Timer
5. Which TextBox method does not use the clipboard?
a.) Clear
b.) Copy
c.) Cut
d.) Paste
b.) One
c.) MultiSimple
d.) MultiExtended
7. Which value for the ComboBox DropDownStyle property allows a user to type in data?
a.) DropDown
b.) DropDownSimple
c.) DropDownList
8. How many RadioButtons in a Group Box can be selected at the same time?
a.) 0
b.) 1
c.) 2
d.) 3
e.) 4
b.) MenuForm
c.) MenuControl
d.) MainMenu
e.) Menu
10. Which symbol creates an access key in the text of a menu item?
a.) @
b.) #
c.) $
d.) %
e.) &
b.) FontDialog
c.) OpenDialog
d.) PrintDialog
e.) ZoomDialog
12. The name of the class used to programmatically create a color dialog box is:
a.) Color
b.) ColorBox
c.) ColorDialog
d.) ColorDisplay
e.) ColorDisplayBox
b.) classes.
c.) data.
d.) events.
e.) instances.
14. Which feature is needed to make a programming language object oriented?
a.) Encapsulation
b.) Inheritance
c.) Polymorphism
d.) Only two constructors in a class can have the same list of parameters.
e.) No two constructors in a class can have the same list of parameters.
b.) BaseConstructor.New ( )
c.) CallBase.New( )
d.) Constructor.New ( )
e.) MyBase.New( )
a.) 0
b.) 1
c.) 2
d.) 3