COPA advanced excel concepts Page-17 Question Bank

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

(A) Scroll Bar
 स्क्रॉल बार
(B) Spin Button
 स्पिन बटन
(C) Combo Box
 कॉम्बो बटन
(D) Toggle Button
 टॉगल बटन

82.  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 है तो पहली स्ट्रिंग दूसरी स्ट्रिंग से अधिक है?  [Bharat Skill QB]

(A) Strcmp
(B) Strcomp
(C) Compare
(D) Scmp

83.  Which scope does the variable declared with dim and remains in the existence only as long as the procedure in which if is declared is running?
कौन सा स्कोप Dim के साथ घोषित किया गया है और जब तक घोषित की गई प्रक्रिया चल रही होती है, तब तक वेरिएबल मौजूद रहता है?  [Bharat Skill QB]

(A) Global scope
 ग्लोबल स्कोप
(B) Local scope
 लोकल स्कोप
(C) Module scope
 मोड़यूल स्कोप
(D) Project scope
 प्रोजेक्ट स्कोप

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

(A) 3
(B) 9
(C) 18
(D) 81

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

(A) 0
(B) 1
(C) 11
(D) 30