.Net Programming (3340704) MCQs

MCQs of Introduction to Microsoft .NET framework and VB.Net

Showing 71 to 72 out of 72 Questions
71.
Guess the output of the following code
Module Program
    Sub Main(args As String())
        Dim a As Integer = 10
        Do Until (a < 20)
            Console.Write(a & " ")
            a = a + 1
        Loop
    End Sub
End Module
નીચે દર્શાવેલ કોડ નું આઉટપુટ જણાવો
Module Program
    Sub Main(args As String())
        Dim a As Integer = 10
        Do Until (a < 20)
            Console.Write(a & " ")
            a = a + 1
        Loop
    End Sub
End Module
(a) 10 11 12 13 14 15 16 17 18 19
(b) 10
(c) 19 18 17 16 15 14 13 12 11 10
(d) None of the above
ઉપરના માંથી એક પણ નહિ
Answer:

Option (d)

72.
Guess the output of the following code
Module Program
    Sub Main(args As String())
        Dim a As Integer = 10
        Do
            Console.Write(a & " ")
            a = a + 1
        Loop Until (a < 20)
    End Sub
End Module
નીચે દર્શાવેલ કોડ નું આઉટપુટ જણાવો
Module Program
    Sub Main(args As String())
        Dim a As Integer = 10
        Do
            Console.Write(a & " ")
            a = a + 1
        Loop Until (a < 20)
    End Sub
End Module
(a) 10 11 12 13 14 15 16 17 18 19
(b) 10
(c) 19 18 17 16 15 14 13 12 11 10
(d) None of the above
ઉપરના માંથી એક પણ નહિ
Answer:

Option (b)

Showing 71 to 72 out of 72 Questions