Home

what will be the output of the code below :
private sub command_click()
dim I as integer
I=0
Do
Print I
Loop until I>10
End sub

A. it will generate compile time error

B. it will generate runtime error

C. it is an endless loop

D. 0 1 2 3 4 5 6 7 8 9 10

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. A single function of visual basic takes:
  2. It is possible in visual basic to specifying array limit like from 1 to 10
  3. In form load event, if the following code is written then guess what will be the output :Dim I as integer,…
  4. Say there is a string "Ramcharan"; when someone using Mid() function like MID("Ramcharan",2) then what…
  5. Constants are processed faster than variables :
  6. You can get the ASCII value of any character or number by using
  7. In visual basic 'Break' statement could be used along with "Select Case"
  8. The size of 'Boolean' data type is :
  9. It is possible to pass different number parameters to a function when call the function on different…
  10. which should be included when an application is used without any forms
  11. The maximum length of a variable is _____________ characters.
  12. The arrange property of MDI form is available at design time.
  13. It is possible to load a MDI form without any childform.
  14. Redim statement is used to :
  15. Terminate is a valid event in form operation
  16. Data1.Recordset.FindFirst "State=NY"The above code will find the record in a given database
  17. To break a loop abnormally when satisfying a condition, we can use
  18. List count property returns total number of items in list box control.
  19. DocumentForm() it is
  20. In case of visual basic, IDE means :
  21. You can get a dropdown list and as well as can add some text directly to ____________ Control.
  22. Suppose there are two forms; form1 and form2 ; if there are codes like : In form1.active event Form2.showAnd…
  23. CommonDialog1.ShowOpenFilename1=CommonDialog1.FilenameThe above code will
  24. In a programme body :Private sub form_load()X=inputbox("First No. :")Y=inputbox("Second No. :")Z=val(X)…
  25. When someone uses the code like list1.list(1); then it will return the first item of the list box control.
  26. To draw a form on the screen which event is being called up
  27. Activate event is called before load event
  28. The project extension name of a VB project is .vbj
  29. Isnull(), IsEmpty() determines weather any variable has been initialize or not
  30. Print' statement can be used to print any statement on the screen.