Module 2: Programming With VBA (ITI COPA)
ITI COPA TRADE : आपके ITI COPA की परीक्षा जल्द ही होने वाली है इसलिए ये बहुविकल्पीय प्रश्न आपके लिए अत्यंत महत्वपूर्ण सिद्ध होंगे | आज की इस पोस्ट में आपको ITI COPA के Module 2 से सम्बंधित सभी प्रश्नों को यहाँ दिया गया है | जिससे आपके एग्जाम की अच्छी तैयारी हो जायेगी |
Q2. Which keyword is used to declare the variable in project scope ?
Q3. In VBA, How many types of access specifiers available in VBA ?
Q4. Which type of variable cannot be declared within a procedure in VBA ?
Q5. Which variable recognized only within the procedure in which it is declared ?
Q6. How many levels of variable scope available in VBA ?
Q7. What will be the oupt of following VBA code, Debug.printformate(#1/1/2017#,"yyyy/mm/dd") ?
Q8. Which function returns true if the expression is a valid date, otherwise it returns false in VBA ?
Q9. What is the full form of UDF in VBA ?
Q10. Which function returns the day of the month (number from 1 to 31) given date value in VBA ?
Q11. Which function returns the current system date and time in VBA ?
Q12. Which function extracts the first 5 characters from a string in VBA ?
Q13. Which color of dot indicate the breakpoint in VBA ?
Q14. Which shortcut key is used to set the properties of form while designing ?
Q15. Which Shortcut key is used to open code window in VBA ?
Q16. Which code is used to display a user form in VBA ?
Q17. Which mathematical function returns square root of a specified number in VBA ?
Q18. Which VBA function is used to convert the string from uppercase to lowercase ?
Q19. Which of the following is logical operator in VBA ?
Q20. Which character is to be suffixed for long data type in VBA ?
Q21. What is the storage size of decimal data type is VBA ?
Q22. What is the storage size of currency data type in VBA ?
Q23. How many numberic data type available in Excel VBA ?
Q24. What is the another name for keywords in VBA ?
Q25. Which key word is used to to declare the variable in VBA ?
Q26. Which data type can hold any type of values in VBA ?
Q27. Which entitie hold data in VBA ?
Q28. Which worksheet method is used to copy a sheet to another location in the workbook ?
Q29. Which VBA worksheet property return or sets a string value that represents the object name ?
Q30. Which method displays the data form associated with the worksheet in VBA ?
Q31. Which VBA property returns a range object that represent all the cells on the worksheet ?
Q32. Which object is member of the workbook ?
Q33. Which type of workbook method cannot be modified in VBA ?
Q34. Which workbook property returns a string value that represents the same of the object in VBA ?
Q35. Which workbook property returns the name of the object including its path on disk in VBA ?
Q36. Which can hold lot of data with one variable in VBA ?
Q37. Which type of list box enables one choice of adjacent choice in VBA ?
Q38. Which button has three state in VBA ?
Q39. Which box groups related controls into one visual unit in a rectangle with an optional label ?
Q40. Which is used to create user interface forms ?
Q41. Where does Excel come in object hierarchy of VBA ?
Q42. Which shortcut key is used to open project explorer window in VBA ?
Q43. Which shortcut key is used to open VBA Editor from the Excel worksheet ?
Q44. What is the full form of IDE ?
Q45. Which shortcut key is used to step into line by line execution in VBA ?
Q46. What is called the set of commands bundled together under one name ?
Q47. What is called the set of statement that are executed under one name ?
Q48. Which one is attributes of an object in VBA ?
Q49. What is called double clicking an object in VBA ?
Q50. Which is used to type/edit the programming code in VBA ?
Q51. What is the alternate name of Bugs ?
Q52. Which shortcut key is used to open the Visual Basic Editor in VBA ?
Q2. Which type of variable can be accessed or used by subroutines outside the modules in VBA ?
Q3. Where there is no difference between dim and private in VBA ?
Q4. Which method is used to pass the reference to the arguments ?
Q5. Which function is used to check whether the given input is numeric or Not in VBA ?
Q6. Which function returns specified part of a given date in VBA ?
Q7. Which function returns the difference between two date values based on the interval specified in VBA ?
Q8. What is the return type of CSng function in VBA ?
Q9. Which VBA code is used to load user form into memory but do not display ?
Q10. Which VBA code is used to remove the user form from memory ?
Q11. Which window displays the watched expression including the one just added ?
Q12. Which one is indicated by a red dot with a line of code highlighted in red in VBA ?
Q13. Which function returns the integer portion of a number in VBA ?
Q14. Which is used to repeats the same steps in case of frequency needed actions in VBA ?
Q15. Which funciton returns the hyperbolic cosine of the specified angle in VBA ?
Q16. Which mathematical function generates a random number in VBA ?
Q17. Which operators are concatenation operator in VBA ?
Q18. Which type of words cannot use for any other purpose in VBA ?
Q19. Which is a series of items where all items share the same properties and methods in VBA ?
Q20. Which button allows a single choice within a limited set of mutually exclusive choice ?
Q21. Which box has three states in VBA ?
Q22. Which one creates a box with a scrollable list containing a number of input values in VBA ?
Q23. Which control is suitable to collect the input from the user in VBA ?
Q24. Which is a proper object hierarchy in VBA ?
Q25. What is the shortcut key to run the current procedure in VBA ?
Q26. Which window displays the entire list of local varibles and their current values in VBA ?
Q27. Which window is similiar to the locals window, but is used to tracing the variables in VBA ?
Q28. Which shortcut key is used to open the immediate window ?
Q29. What is the another name trigger for an action in VBA ?
Q30. Which shortcut key allows debugger to run the current procedure and go line after line called the procedure in VBA ?
Q31. While debugging code, which statement allows to go to the highlighted line ?
Q32. Which control is used to increase or decrease a value, such as a number time or date ?
Q1. 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 ?
Q2. 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 ?
Q3. What will be the output of the following VBA code, Sub test() a = 9 Debug.Print.Sqr(a) End sub ?
Q4. What will be the output for the following VBA code. Debug.print DateDiff("yyyy","1/12/2016","31/1/2017") ?
Q5. What will be the output of the following VBA code, sub text() x = "institue" Debug.print Format(x,">") End sub ?
Q6. What will be the output of the following VBA code, Sub test() Dim S AS string S = "wholehearted" Debug.Print mid(s,6,4) End sub ?
Q7. What will be the output of the following VBA code, Sub test() a = "Computer operator" Debug.Print left(a,10) End sub ?
Q8. What will be the output of the following VBA code, Sub test() Dim I as integer Dim S as string S = "Time is money" I = len(s) Debug.print "The length is " & I End sub ?
Q9. What will be the output of the following VBA Function. Sub stg() Str = "Mathematics" Debug.Print right(str, 6) End sub ?
नमस्कार दोस्तों 🙏 , स्वागत हैं आपका हमारी वेबसाइट "ज्ञान और शिक्षा" में |
Question Level - 1
Q1. Which VBA built in function returns location at the second string occurs within the first string ?- Mid()
- Chr()
- ASC()
- Instr()
D
Q2. Which keyword is used to declare the variable in project scope ?
- Static
- Private
- Public
- Protect
C
Q3. In VBA, How many types of access specifiers available in VBA ?
- 2
- 3
- 4
- 6
A
Q4. Which type of variable cannot be declared within a procedure in VBA ?
- Project scope
- Local scope
- Global scope
- Module scope
D
Q5. Which variable recognized only within the procedure in which it is declared ?
- Local scope
- Module scope
- Global scope
- Project scope
A
Q6. How many levels of variable scope available in VBA ?
- 2
- 3
- 4
- 7
C
Q7. What will be the oupt of following VBA code, Debug.printformate(#1/1/2017#,"yyyy/mm/dd") ?
- 1/1/2017
- Sun, Jan01, 2017
- 2017/01/01
- Sunday, January 01, 2017
C
Q8. Which function returns true if the expression is a valid date, otherwise it returns false in VBA ?
- CDate()
- IsDate()
- Day()
- Dateadd()
B
Q9. What is the full form of UDF in VBA ?
- User Data Functions
- User Defined Functions
- Undefined Functions
- Used Date Functions
B
Q10. Which function returns the day of the month (number from 1 to 31) given date value in VBA ?
- Day()
- Date()
- Month()
- Date part()
A
Q11. Which function returns the current system date and time in VBA ?
- Date()
- Day()
- Hour()
- Now()
D
Q12. Which function extracts the first 5 characters from a string in VBA ?
- Right(str,5)
- Left(str, 5)
- Mid(str,5)
- Substr(str,5)
B
Q13. Which color of dot indicate the breakpoint in VBA ?
- Grey
- Yellow
- Maroon
- Red
D
Q14. Which shortcut key is used to set the properties of form while designing ?
- F4
- Ctrl + F4
- Alt + F4
- Shift + F4
A
Q15. Which Shortcut key is used to open code window in VBA ?
- F7
- Ctrl + F7
- Alt + F7
- Shift + F7
A
Q16. Which code is used to display a user form in VBA ?
- Load user form1
- User Form1.show
- User Form1.show False
- User Form1.Load
B
Q17. Which mathematical function returns square root of a specified number in VBA ?
- Sqt()
- Squr()
- Sqrt()
- Sqr()
D
Q18. Which VBA function is used to convert the string from uppercase to lowercase ?
- Lcase()
- Lower()
- Ucase()
- Upper()
A
Q19. Which of the following is logical operator in VBA ?
- +
- -
- *
- And
D
Q20. Which character is to be suffixed for long data type in VBA ?
- &
- !
- #
- @
A
Q21. What is the storage size of decimal data type is VBA ?
- 2 bytes
- 4 bytes
- 8 bytes
- 12 bytes
D
Q22. What is the storage size of currency data type in VBA ?
- 2
- 4
- 8
- 12
C
Q23. How many numberic data type available in Excel VBA ?
- 4
- 5
- 7
- 8
C
Q24. What is the another name for keywords in VBA ?
- Literals
- Variables
- User defined words
- Reserved words
D
Q25. Which key word is used to to declare the variable in VBA ?
- Sub
- Declare
- Dim
- As
C
Q26. Which data type can hold any type of values in VBA ?
- Variant
- Variable
- Constant
- Keyword
A
Q27. Which entitie hold data in VBA ?
- Literals
- Constants
- Keywords
- Variables
D
Q28. Which worksheet method is used to copy a sheet to another location in the workbook ?
- Activate
- Copy
- Save as
- Select
B
Q29. Which VBA worksheet property return or sets a string value that represents the object name ?
- Name
- Index
- Range
- Cells
A
Q30. Which method displays the data form associated with the worksheet in VBA ?
- Copy
- Printout
- Show Data Form
- Select
C
Q31. Which VBA property returns a range object that represent all the cells on the worksheet ?
- Cells
- Rows
- Index
- Name
A
Q32. Which object is member of the workbook ?
- Sheets
- Workbook
- Worksheet
- Range
C
Q33. Which type of workbook method cannot be modified in VBA ?
- Close
- Save
- Save as
- Protect
D
Q34. Which workbook property returns a string value that represents the same of the object in VBA ?
- Full name
- Name
- Path
- Worksheets
B
Q35. Which workbook property returns the name of the object including its path on disk in VBA ?
- Full name
- Name
- Path
- Worksheets
A
Q36. Which can hold lot of data with one variable in VBA ?
- Arrays
- Collections
- Groups
- Methods
B
Q37. Which type of list box enables one choice of adjacent choice in VBA ?
- Drop down list
- Single - Selection list box
- Multiple - selection list box
- Extended - selection list box
C
Q38. Which button has three state in VBA ?
- Option button
- Spin button
- Push button
- Command button
A
Q39. Which box groups related controls into one visual unit in a rectangle with an optional label ?
- Option button
- Spin button
- Push button
- Command button
B
Q40. Which is used to create user interface forms ?
- C
- VBA
- HTML
- Javascipt
B
Q41. Where does Excel come in object hierarchy of VBA ?
- Range Object
- Workbook object
- Worksheet object
- Application object
D
Q42. Which shortcut key is used to open project explorer window in VBA ?
- Ctrl + R
- Ctrl + P
- Ctrl + W
- Ctrl + E
A
Q43. Which shortcut key is used to open VBA Editor from the Excel worksheet ?
- Cltr + F11
- Alt + F11
- Ctrl + V
- Ctrl + F7
B
Q44. What is the full form of IDE ?
- Integrated Development Element
- Internal Development Environment
- Integrated Development Environment
- Internal Distributed Environment
C
Q45. Which shortcut key is used to step into line by line execution in VBA ?
- F2
- F4
- F5
- F8
D
Q46. What is called the set of commands bundled together under one name ?
- Properties
- Macros
- Procedures
- Events
B
Q47. What is called the set of statement that are executed under one name ?
- Macros
- Properties
- Procedures
- Events
C
Q48. Which one is attributes of an object in VBA ?
- Procedures
- Events
- Macros
- Properties
D
Q49. What is called double clicking an object in VBA ?
- Events
- Macros
- Procedures
- Methods
A
Q50. Which is used to type/edit the programming code in VBA ?
- Form window
- Propertices window
- Immediate window
- Visual basic editor
D
Q51. What is the alternate name of Bugs ?
- Errors
- Keywords
- Variables
- Constants
A
Q52. Which shortcut key is used to open the Visual Basic Editor in VBA ?
- Alt + F11
- Ctrl + F11
- Shirt + F11
- Shift + Ctrl + F11
A
Question Level - 2
Q1. Which simplifies the work to be eliminating or rewriting the code in VBA ?- Class
- Object
- Macros
- Functions
C
Q2. Which type of variable can be accessed or used by subroutines outside the modules in VBA ?
- Static
- Private
- Protect
- Public
D
Q3. Where there is no difference between dim and private in VBA ?
- Local scope
- Module scope
- Global scope
- Project scope
B
Q4. Which method is used to pass the reference to the arguments ?
- Ref
- Val
- Reference
- By Ref
D
Q5. Which function is used to check whether the given input is numeric or Not in VBA ?
- Numeric()
- Isnumber()
- Isnumeric()
- Isnum()
C
Q6. Which function returns specified part of a given date in VBA ?
- Day()
- Datevalue()
- Datediff()
- Datepart()
D
Q7. Which function returns the difference between two date values based on the interval specified in VBA ?
- Day()
- Daudiff()
- Datediff()
- Datedif()
A
Q8. What is the return type of CSng function in VBA ?
- Boolean
- Variant
- Single
- String
C
Q9. Which VBA code is used to load user form into memory but do not display ?
- User form1.show
- Load.userform1
- Userform1.load
- Show userform1
B
Q10. Which VBA code is used to remove the user form from memory ?
- Unload.me
- Userform1.hide
- Unload userform1
- User form show false
C
Q11. Which window displays the watched expression including the one just added ?
- Module window
- Immediate window
- Watch window
- Debug window
C
Q12. Which one is indicated by a red dot with a line of code highlighted in red in VBA ?
- Break point
- Start point
- End point
- Error point
A
Q13. Which function returns the integer portion of a number in VBA ?
- Int()
- Formate()
- Abs()
- Sign()
A
Q14. Which is used to repeats the same steps in case of frequency needed actions in VBA ?
- Class
- Object
- Functions
- Macros
D
Q15. Which funciton returns the hyperbolic cosine of the specified angle in VBA ?
- Abs()
- Cos()
- Cosh()
- hcos()
C
Q16. Which mathematical function generates a random number in VBA ?
- Random()
- Rnd()
- Rand()
- Round()
B
Q17. Which operators are concatenation operator in VBA ?
- + and -
- & and -
- & and +
- & and *
C
Q18. Which type of words cannot use for any other purpose in VBA ?
- Literals
- Keywords
- Constants
- Variables
B
Q19. Which is a series of items where all items share the same properties and methods in VBA ?
- Arrays
- Groups
- Methods
- Collections
D
Q20. Which button allows a single choice within a limited set of mutually exclusive choice ?
- Buttons
- Option button
- Spin Button
- Toggle Button
B
Q21. Which box has three states in VBA ?
- List box
- Combo box
- Check Box
- Group Box
C
Q22. Which one creates a box with a scrollable list containing a number of input values in VBA ?
- Combo box
- Option button
- Text box
- List box
D
Q23. Which control is suitable to collect the input from the user in VBA ?
- Label
- Text Box
- Command Button
- User form
B
Q24. Which is a proper object hierarchy in VBA ?
- Worksheet, workbook, application, range
- Range, application, worksheet, workbook
- Range, worksheet, workbook, application
- Application, workbook, worksheet, range
D
Q25. What is the shortcut key to run the current procedure in VBA ?
- F2
- F4
- F5
- F8
C
Q26. Which window displays the entire list of local varibles and their current values in VBA ?
- Locals window
- Watch window
- Immediate window
- Debugging window
A
Q27. Which window is similiar to the locals window, but is used to tracing the variables in VBA ?
- Call stack window
- Watch window
- Immediate window
- Debugging window
B
Q28. Which shortcut key is used to open the immediate window ?
- Ctrl + G
- Ctrl + L
- Alt + G
- Alt + L
A
Q29. What is the another name trigger for an action in VBA ?
- Methods
- Modules
- Events
- Macros
C
Q30. Which shortcut key allows debugger to run the current procedure and go line after line called the procedure in VBA ?
- Ctrl + Shift + F6
- Ctrl + Shift + F7
- Ctrl + Shift + F8
- Ctrl + Shift + F9
C
Q31. While debugging code, which statement allows to go to the highlighted line ?
- Step into
- Step over
- Step out
- Show next
D
Q32. Which control is used to increase or decrease a value, such as a number time or date ?
- Scroll Bar
- Spin Button
- Combo Box
- Toggle Button
B
Question Level - 3
- Strcmp
- Strcomp
- Compare
- Scmp
A
Q2. 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 ?
- Global scope
- Local scope
- Module scope
- Project scope
B
Q3. What will be the output of the following VBA code, Sub test() a = 9 Debug.Print.Sqr(a) End sub ?
- 3
- 9
- 18
- 81
A
Q4. What will be the output for the following VBA code. Debug.print DateDiff("yyyy","1/12/2016","31/1/2017") ?
- 0
- 1
- 11
- 30
B
Q5. What will be the output of the following VBA code, sub text() x = "institue" Debug.print Format(x,">") End sub ?
- Institute
- institute
- INSTITUTE
- instiTUTE
C
Q6. What will be the output of the following VBA code, Sub test() Dim S AS string S = "wholehearted" Debug.Print mid(s,6,4) End sub ?
- arte
- hear
- hole
- eart
B
Q7. What will be the output of the following VBA code, Sub test() a = "Computer operator" Debug.Print left(a,10) End sub ?
- Operator
- Computer o
- Computer
- Computer operator
B
Q8. What will be the output of the following VBA code, Sub test() Dim I as integer Dim S as string S = "Time is money" I = len(s) Debug.print "The length is " & I End sub ?
- 13
- The length is 11
- The length is 13
- The LENGTH IS 13
C
Q9. What will be the output of the following VBA Function. Sub stg() Str = "Mathematics" Debug.Print right(str, 6) End sub ?
- matics
- Mathem
- Mathemat
- Mathematics
A
Thank You
for any further Information Please Comment.
(किसी भी अन्य जानकारी के लिए, कृपया कमेंट जरूर करें |)
No comments
Give your valuable comments. Your Comments is very important for us. ❤ Thank You..❤