{"id":17726,"date":"2022-04-08T11:30:38","date_gmt":"2022-04-08T06:00:38","guid":{"rendered":"https:\/\/scholarsclasses.com\/blog\/?p=17726"},"modified":"2025-01-03T12:16:19","modified_gmt":"2025-01-03T06:46:19","slug":"50-mcqs-on-visual-basic","status":"publish","type":"post","link":"https:\/\/scholarsclasses.com\/blog\/50-mcqs-on-visual-basic\/","title":{"rendered":"50+ MCQ&#8217;s On Visual Basic | Computer Systems and Applications"},"content":{"rendered":"\n<h2 class=\"wp-block-heading has-text-align-center\"><strong style=\"white-space: normal;\"><strong style=\"white-space: normal;\">MCQ&#8217;s On Visual Basic<\/strong><\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" data-src=\"https:\/\/scholarsclasses.com\/blog\/wp-content\/uploads\/2022\/04\/MCQ_s-On-Visual-Basic-1024x576.webp\" alt=\"MCQ&#039;s On Visual Basic\" class=\"wp-image-17740 lazyload\" title=\"\" data-srcset=\"https:\/\/scholarsclasses.com\/blog\/wp-content\/uploads\/2022\/04\/MCQ_s-On-Visual-Basic-1024x576.webp 1024w, https:\/\/scholarsclasses.com\/blog\/wp-content\/uploads\/2022\/04\/MCQ_s-On-Visual-Basic-300x169.webp 300w, https:\/\/scholarsclasses.com\/blog\/wp-content\/uploads\/2022\/04\/MCQ_s-On-Visual-Basic-768x432.webp 768w, https:\/\/scholarsclasses.com\/blog\/wp-content\/uploads\/2022\/04\/MCQ_s-On-Visual-Basic-1536x864.webp 1536w, https:\/\/scholarsclasses.com\/blog\/wp-content\/uploads\/2022\/04\/MCQ_s-On-Visual-Basic.webp 1920w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/576;\" \/><figcaption class=\"wp-element-caption\">MCQ&#8217;s On Visual Basic<\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/scholarsclasses.com\/blog\/tybcom-sem-6-computer-systems-and-applications-mcq\/\"><strong>MCQs on other topics of Computer Systems and Applications<\/strong><\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.icsi.edu\/media\/webmodules\/modelquestionpaper\/CMA-MCQ%20100.pdf\" data-type=\"URL\" data-id=\"https:\/\/www.icsi.edu\/media\/webmodules\/modelquestionpaper\/CMA-MCQ%20100.pdf\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>Cost Accounting MCQs pdf <\/strong><\/a><\/li>\n<\/ul>\n\n\n\n<p><strong>1. ____ icon is not available on a toolbox.<br><\/strong>(a) Form <br>(b) Label <br>(c) Text Box <br>(d) Check Box<\/p>\n\n\n\n<p><strong>2. Remark statement starts with _____<br><\/strong>(a) * <br>(b) \/ <br>(c) ` <br>(d) \/*<\/p>\n\n\n\n<p><strong>3. Object name can be maximum of _____ characters.<br><\/strong>(a) 255 <br>(b) 30 <br>(c) 40 <br>(d) 256<\/p>\n\n\n\n<p><strong>4. Prefix used for a Check box is _____<br><\/strong>(a) chk <br>(b) che <br>(c) chc <br>(d) chb<\/p>\n\n\n\n<p><strong>5. Prefix used for a Command Button is _____<br><\/strong>(a) com <br>(b) cob <br>(c) cmm <br>(d) cmd<\/p>\n\n\n\n<p><strong>6. Prefix used for a Form is _____<br><\/strong>(a) for <br>(b) frm <br>(c) fra <br>(d) fom<\/p>\n\n\n\n<p><strong>7. Prefix used for a Frame is _____<br><\/strong>(a) fra <br>(b) frm <br>(c) fre <br>(d) fam<\/p>\n\n\n\n<p><strong>8 Prefix used for a Label is _____<br><\/strong>(a) lab <br>(b) lbe <br>(c) lbl <br>(d) lal<\/p>\n\n\n\n<p><strong>9 Prefix used for an Option Button is _____<br><\/strong>(a) opb <br>(b) obu <br>(c) opn <br>(d) opt<\/p>\n\n\n\n<p><strong>10. Prefix used for a Text Box is _____<br><\/strong>(a) txt <br>(b) tex <br>(c) teb <br>(d) tbo<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Answers:<\/strong> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>1-a, 2-c, 3-c, 4-a, 5-d, 6-b, 7-a, 8-c, 9-d, 10-a<\/strong><\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>11. Which of the following is not a valid property of a Form?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) ForeColor<\/p>\n\n\n\n<p><strong>12. Which of the following is not a valid property of a Label?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) ForeColor<\/p>\n\n\n\n<p><strong>13. Which of the following is not a valid property of a Text Box?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) ForeColor<\/p>\n\n\n\n<p><strong>14. of the following is not a valid property of a Command Button?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) ForeColor<\/p>\n\n\n\n<p><strong>15. Which of the following is not a valid property of a Frame?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) Enabled<\/p>\n\n\n\n<p><strong>16. Which of the following is not a valid property of a Check Box?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) Enabled<\/p>\n\n\n\n<p><strong>17. Which of the following is not a valid property of an Option Button?<br><\/strong>(a) Name <br>(b) Caption <br>(c) Text <br>(d) Enabled<\/p>\n\n\n\n<p><strong>18. Which of the following is not a valid property of a Command Button?<br><\/strong>(a) Default <br>(b) Caption <br>(c) Text <br>(d) Cancel<\/p>\n\n\n\n<p><strong>19. If ______ property of a Command button is set to True then by pressing \u2018Esc\u2019 key from&nbsp;the keyboard the Command get selected automatically<br><\/strong>(a) Default <br>(b) Caption <br>(c) Cancel <br>(d) TabIndex<\/p>\n\n\n\n<p><strong>20. If ______ property of a Command button is set to True then by pressing \u2018Enter\u2019 key from&nbsp;the keyboard the Command get selected automatically<br><\/strong>(a) Default <br>(b) Caption <br>(c) Cancel <br>(d) TabIndex<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Answers:<\/strong> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">11-c, 12-c, 13-b, 14-c, 15-c, 16-c, 17-c, 18-c, 19-c, 20-a<\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>21. ______ property determines whether the focus stops on a control when a Tab key is&nbsp;pressed.<br><\/strong>(a) Default <br>(b) TabStop <br>(c) Cancel <br>(d) TabIndex<\/p>\n\n\n\n<p><strong>22. ______ property determines the order of the focus to move as the Tab key is pressed.<br><\/strong>(a) Default <br>(b) TabStop <br>(c) Cancel <br>(d) TabIndex<\/p>\n\n\n\n<p><strong>23. To define access key, ___ symbol is used before the character you want as access keywhile setting caption property of a Command Button.<br><\/strong>(a) $ <br>(b) % <br>(c) ^ <br>(d) &amp;<\/p>\n\n\n\n<p><strong>24. Which arithmetic operator is used for integer division.<br><\/strong>(a) \/ <br>(b) \\ <br>(c) % <br>(d)&nbsp;\uf0b8&nbsp;<\/p>\n\n\n\n<p><strong>25. Which arithmetic operator is used for exponentiation.<br><\/strong>(a) \/ <br>(b) \\ <br>(c) % <br>(d) ^&nbsp;<\/p>\n\n\n\n<p><strong>26. What is the result of VAL(\u201c1,234\u201d)?<br><\/strong>(a) 1 <br>(b) 0 <br>(c) 1234 <br>(d) 123&nbsp;<\/p>\n\n\n\n<p><strong>27. What is the result of VAL(\u201c1234\u201d)?<br><\/strong>(a) 1 <br>(b) 0 <br>(c) 123 <br>(d) 1234&nbsp;<\/p>\n\n\n\n<p><strong>28. What is the result of VAL(\u201cA123\u201d)?<br><\/strong>(a) 1 <br>(b) 0 <br>(c) 1234 <br>(d) 123&nbsp;<\/p>\n\n\n\n<p><strong>29. What is the result of VAL(\u201c15.08.2020\u201d)?<br><\/strong>(a) 15 <br>(b) 15.08 <br>(c) 0 <br>(d) 15.08.2020<\/p>\n\n\n\n<p><strong>30. What is the result of VAL(\u201c15\/08\/2020\u201d)?<br><\/strong>(a) 15 <br>(b) 15\/08 <br>(c) 0 <br>(d) 15\/08\/2020<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Answers:<\/strong> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">21-b, 22-d, 23-d, 24-b, 25-d, 26-a, 27-d, 28-b, 29-b, 30-a<\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>31. Which of the following is an invalid Data Type in VB?<br><\/strong>(a) integer <br>(b) string <br>(c) single <br>(d) smallint<\/p>\n\n\n\n<p><strong>32. vbRed is ____ .<br><\/strong>(a) VB Colour <br>(b) VB Color <br>(c) Colour <br>(d) Intrinsic Constant<\/p>\n\n\n\n<p><strong>33. Which of the following is not a valid logical operator in VB.<br><\/strong>(a) And <br>(b) Or <br>(c) Xor <br>(d) Not<\/p>\n\n\n\n<p><strong>34. ______ control can be used to accept input from the user.<br><\/strong>(a) Label <br>(b) Form <br>(c) Text Box <br>(d) Frame<\/p>\n\n\n\n<p><strong>35. Which of the following is a non-executable statement in VB?<br><\/strong>(a) IF <br>(b) DIM <br>(c) Assignment Statement <br>(d) Do\u2026 While<\/p>\n\n\n\n<p><strong>36. The constant which are readymade in VB are called as _______ constant.<br><\/strong>(a) Numeric <br>(b) String <br>(c) Named <br>(d) Intrinsic<\/p>\n\n\n\n<p><strong>37. The constant which are defined by user is known as _____ constant.<br><\/strong>(a) Numeric <br>(b) String <br>(c) Named <br>(d) Intrinsic<\/p>\n\n\n\n<p><strong>38. Which of the following function is invalid in VB?<br><\/strong>(a) LEFT( ) <br>(b) LOWER( )<br>(c) MID( ) <br>(d) LEN( )<\/p>\n\n\n\n<p><strong>39. ____ function is used to convert a text value to a numeric value.<br><\/strong>(a) UCASE( ) <br>(b) LCASE( ) <br>(c) VAL( ) <br>(d) LEN( )<\/p>\n\n\n\n<p><strong>40. Option buttons are also called as _______ buttons.<br><\/strong>(a) Check <br>(b) Radio <br>(c) Round <br>(d) Select<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Answers:<\/strong> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">31-d, 32-d, 33-c, 34-c, 35-b, 36-d, 37-c, 38-b, 39-c, 40-b<\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>41. _____ can be used in an application to give user True\/False or Yes\/No Option<br><\/strong>(a) Option Button <br>(b) Check Box <br>(c) Text Box <br>(d) Label<\/p>\n\n\n\n<p><strong>42. _____ allows the user to select any number of options at a time from a group.<br><\/strong>(a) Option Button <br>(b) Check Box <br>(c) Text Box <br>(d) Label<\/p>\n\n\n\n<p><strong>43. _____ allows the use to select only one option at a time from a group.<br><\/strong>(a) Option Button <br>(b) Check Box <br>(c) Text Box (d) Label<\/p>\n\n\n\n<p><strong>44. _____ is used to display headings and messages.<br><\/strong>(a) Option Button <br>(b) Check Box <br>(c) Text Box <br>(d) Label<\/p>\n\n\n\n<p><strong>45. _______ property of a Text Box is True then user cannot type anything in a Text Box.<br><\/strong>(a) Text <br>(b) Locked <br>(c) Name <br>(d) BackColor<\/p>\n\n\n\n<p><strong>46. _______ statement cannot be used to create a loop.<br><\/strong>(a) Do \u2013 While <br>(b) For \u2013 Next <br>(c) While \u2013 Wend <br>(d) If \u2013 Else<\/p>\n\n\n\n<p><strong>47. For I = 10 To 20 \u2026. Next I, will execute a loop _____ time\/s.<br><\/strong>(a) 10 <br>(b) 11 <br>(c) 0 <br>(d) 1<\/p>\n\n\n\n<p><strong>48. For I = 1 To 20 Step 2\u2026. Next I, will execute a loop _____ time\/s.<br><\/strong>(a) 10 <br>(b) 20 <br>(c) 0 <br>(d) 1<\/p>\n\n\n\n<p><strong>49. For I = 10 To 1\u2026. Next I, will execute a loop _____ time\/s.<br><\/strong>(a) 10 <br>(b) 20 <br>(c) 0 <br>(d) 1<\/p>\n\n\n\n<p><strong>50. For I = 10 To 1 Step -1\u2026. Next I, will execute a loop _____ time\/s.<br><\/strong>(a) 10 <br>(b) 20 <br>(c) 0 <br>(d) 1<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>Answers:<\/strong> <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">41-b, 42-b, 43-a, 44-d, 45-b, 46-d, 47-b, 48-a, 49-c, 50-a<\/mark><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":17740,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,7],"tags":[4815],"class_list":["post-17726","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bcom","category-degree-college","tag-mcqs-on-visual-basic"],"_links":{"self":[{"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/posts\/17726","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/comments?post=17726"}],"version-history":[{"count":4,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/posts\/17726\/revisions"}],"predecessor-version":[{"id":36223,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/posts\/17726\/revisions\/36223"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/media\/17740"}],"wp:attachment":[{"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/media?parent=17726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/categories?post=17726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scholarsclasses.com\/blog\/wp-json\/wp\/v2\/tags?post=17726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}