Module 2 Programming with VBA Section 5

Copa | Semester 2nd | Module 2 |  Section 5

1. What is the another name trigger for an action in VBA?
VBA में कार्रवाई के लिए एक और नाम ट्रिगर क्या है?

... Answer is C) Events

2. Which shortcut key allows debugger to run the current procedure and go line after line called the procedure in VBA?
कौन सी शॉर्टकट कुंजी डिबगर को वर्तमान प्रक्रिया को चलाने और लाइन के बाद जाने की अनुमति देती है जिसे वीबीए में प्रक्रिया कहा जाता है?

... Answer is C) Ctrl + Shift + F8

3. While debugging code, which statement allows to go to the highlighted line?
डिबगिंग कोड करते समय, कौन सा स्टेटमेंट हाइलाइट की गई लाइन पर जाने की अनुमति देता है?

... Answer is D) Show next

4. Which control is used to increase or decrease a value, such as a number time or date?
वैल्यू को बढ़ाने या घटाने के लिए किस कंट्रोल का उपयोग किया जाता है, जैसे संख्या समय या दिनांक?

... Answer is B) Spin Button

5. Which VBA function compares given strings and returns -1 if the first string is smaller than the second string, returns 0 if both are equal and 1 if the first string is greater than second string?
कौन सा VBA फ़ंक्शन दिए गए स्ट्रिंग्स और रिटर्न -1 की तुलना करता है - यदि पहली स्ट्रिंग दूसरी स्ट्रिंग से छोटी है, तो रिटर्न 0 अगर दोनों बराबर हैं और 1 है तो पहली स्ट्रिंग दूसरी स्ट्रिंग से अधिक है?

... Answer is A) Strcmp

6. Which scope does the variable declared with dim and remains in the existance only as long as the procedure in which if is declared is running?
कौन सा स्कोप डिम के साथ घोषित किया गया है और जब तक डिक्लेयर किया जाता है, उस प्रक्रिया में मौजूद वेरिएबल केवल डिफेंस में रहता है?

... Answer is B) Local scope

7. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
a = 9
Debug.Print Sqr(a)
End sub

... Answer is A) 3

8. What will be the output for the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Debug.print
DateDiff(“yyyy”,”1/12/2016”,”31/1/2017”)

... Answer is B) 1

9. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
x = “institue”
Debug.print Format(x,”>”)
End sub

... Answer is C) INSTITUTE

10. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
Dim S AS string
S = “wholehearted”
Debug.Print mid(s,6,4)
End sub

... Answer is B) hear

11. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
a = “ Computer operator”
Debug.Print left(a,10)
End sub

... Answer is B) Computer o

12. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Sub test()
Dim l as integer
Dim S as string
S = “Time is money”
l = len(s)
Debug.print “The length is “ & l
End sub

... Answer is C) The length is 13

13. What will be the output of the following VBA function?
निम्नलिखित VBA फ़ंक्शन का आउटपुट क्या होगा?
Sub stg()
Str = “Mathematics”
Debug.Print right(str,6)
End sub

... Answer is A) matics

Section 1 Section 2 Section 3 Section 4 Section 5

Post a Comment

If you have any doubts,Please let me know

Previous Post Next Post
close