You are on page 1of 2

OOP Answer Key

1. C
2. D
3. A
4. A
5. C
6. C
7. C
8. A
9. B
10. A

II

11 – 13 give atleast 3 Software Evolution layer

Machine Language

Assembly Language

Procedure Oriented

Object Oriented

14 – 20 Basic Concept of OOP

• Objects

• Classes

• Data abstraction and encapsulation

• Inheritance

• Polymorphism

• Dynamic binding

• Message passing

Public Class Form1

Private Sub _______(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles


_______.Click,_______.Click

Dim button As Button=______(sender, Button)


If _____.Name = "Button1" Then

TextBox1.Text = ________ + "1"

End If

If _____.Name = "ButtonZero" Then

TextBox1.Text = ________ + "0"

End If

End Sub

End Class

IV Draw the Output of test III (10 pts)

You might also like