Escolar Documentos
Profissional Documentos
Cultura Documentos
Which of the following shows the correct order for creating a Visual Basic program?
Set the properties, create the interface, write the code
Create the interface, set the properties, write the code
Create the interface, write the code, set the properties
Write the code, set the properties, create the interface
2) Which window do you open if you want to see all of the objects that you can add to a form?
a. The Toolbox
c. The Properties window
b. The Solution window
d. The Form Designer
3) Which is not a property of the Common control class?
a. Show
c. Font
b. BackColor
d. ForeColor
4)
a.
b.
c.
5)
a.
b.
c.
Which are the standard prefixes for the text box and label controls respectively?
txt and lbl
d. txb and lab
tex and lab
e. txt and lab
txb and lbl
d. Both a and b.
e. All of the above.
Part II: Write your answer for the following questions on the answer sheet provided
10) The following questions are based on an object Dog. Write property, method and event if
the given example is property, method and event of the dog respectively.
a. Height
e. Intruder coming in
i. Owner coming in
b. Barking
f. Singing
c. Biting
g. Weight
d. Wagging
h. Color
11) Write the condition to be considered or checked before choosing C# programming language to
develop software.
12) Bahir Dar Technology Institute decided to pay bonus payment to non-caffee students in
addition to their regular monthly payment for Christ Mass Holiday. The amount of bonus is
250 birr for male students and 300birr for female students. If regular monthly payment of
male student is 400 birr, the total payment will be 400+250=650birr. Write an application
using C# that accepts monthly payment & sex and computes total payment by adding the
bonus. The user interface is shown below. Use default control names if necessary.
13)