Module 2 Programming with VBA Section 1

Copa | Semester 2nd | Module 2

1. Which VBA built in function returns location at the second string occurs within the first string?
कौन सा VBA बिल्डिंग फंक्शन के द्वारा पहली स्ट्रिंग के भीतर दूसरे स्ट्रिंग की लोकेशन प्राप्त होती है

... Answer is D) Instr()

2. Which keyword is used to declare the variables in project scope?
प्रोजेक्ट स्कोप में वेरिएबल को घोषित करने के लिए किस कीवर्ड का उपयोग किया जाता है?

... Answer is C) Public

3. In VBA, How many types of access specifiers available in VBA?
VBA में कितने प्रकार के एक्सेस स्पेसियर उपलब्ध हैं?

... Answer is A) 2

4. Which type of variable cannot be declared within a procedure in VBA?
VBA में किस प्रकार के वेरिएबल को एक प्रक्रिया के भीतर घोषित नहीं किया जा सकता है?

... Answer is D) Module scope

5. Which variable recognized only within the procedure in which it is declared?
किस वेरिएबल को केवल उस प्रक्रिया के भीतर मान्यता दी गई है जिसमें इसे घोषित किया गया है?

... Answer is A) Local scope

6. How many levels of variable scope available in VBA?
VBA में वेरिएबल स्कोप के कितने स्तर उपलब्ध हैं?

... Answer is B) 3

7. What will be the output of the following VBA code?
निम्नलिखित VBA कोड का आउटपुट क्या होगा?
Debug.printformat(#1/1/2017#,”yyyy/mm/dd”)

... Answer is C) 2017/01/01

8. Which function returns true if the expression is a valid date, otherwise it returns false in VBA?
कौन सा फंक्शन सही रिटर्न करेगा अगर एक्सप्रेशन एक वैलिड दिनांक है अन्यथा यह VBA में गलत रिटर्न करेगा?

... Answer is B) IsDate()

9. What is the full form of UDF in VBA?
VBA में UDF का पूर्ण रूप क्या है?

... Answer is B) User Defined Functions

10. Which function returns the day of the month (number from 1 to 31) given date value in VBA?
कौन सा फंक्शन महीने का दिन (1 से 31 तक की संख्या) VBA में दिनांक से बता देता है

... Answer is A) Day()

11. Which function returns the current system date and time in VBA?
कौन सा फ़ंक्शन VBA में वर्तमान सिस्टम दिनांक और समय लौटाता है?

... Answer is D) Now()

12. Which function extracts the first 5 characters from a string in VBA?
कौन सा फ़ंक्शन VBA में एक स्ट्रिंग से पहले 5 वर्णों को निकालता है?

... Answer is B) Left(str,5)

13. Which color of dot indicate the breakpoint in VBA?
डॉट का कौन सा रंग VBA में ब्रेकप्वाइंट को दर्शाता है?

... Answer is D) Red

14. Which shortcut key is used to set the properties of form while designing?
डिजाइन करते समय फॉर्म के प्रॉपर्टीज को सेट करने के लिए किस शॉर्टकट कुंजी का उपयोग किया जाता है?

... Answer is A) F4

15. Which shortcut key is used to open code window in VBA?
VBA में कोड विंडो खोलने के लिए किस शॉर्टकट कुंजी का उपयोग किया जाता है?

... Answer is A) F7

16. Which code is used to display a user form in VBA?
VBA में यूजर फॉर्म प्रदर्शित करने के लिए किस कोड का उपयोग किया जाता है?

... Answer is B) User Form1.Show

17. Which mathematical function returns square root of a specified number in VBA?
कौन सा गणितीय कार्य VBA में निर्दिष्ट संख्या का वर्गमूल देता है?

... Answer is D) Sqr()

18. Which VBA function is used to convert the string from uppercase to lowercase?
स्ट्रिंग को अपरकेस से लोअरकेस में बदलने के लिए किस VBA फ़ंक्शन का उपयोग किया जाता है?

... Answer is A) Lcase()

19. Which of the following is logical operator in VBA?
VBA में तार्किक ऑपरेटर निम्नलिखित में से कौन है?

... Answer is D) And

20. Which character is to be suffixed for long data type in VBA?
VBA में long डाटा टाइप के लिए कौन सा करैक्टर प्रत्यय होना है?

... Answer is A) &

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