COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Dim Ans as StringAns = text1.textIf Ans = “Yes” then MsgBox “Success"End If//Berikut merupakan bahasa ____ dan ia generasi ke ____ ? Here’s the language ____ and it’s a generation ____ ?
A
Visual Basic, EMPAT (FOURTH)
B
C++, TIGA (THIRD)
C
COBOL, DUA (SECOND)
D
Mesin, PERTAMA (FIRST)
Explanation: 

Detailed explanation-1: -VBA InputBox is used to prompt the user to enter the values. This message box is used to displaying a message and waits for the user action performed by pressing the button. A text can be return in the text box by using the InputBox function if the user clicks on the OK or Enter button.

Detailed explanation-2: -The MsgBox function displays a message in a dialog box, waits for the user to click a button, and returns an Integer indicating which button the user clicked. Required. String expression displayed as the message in the dialog box.

There is 1 question to complete.