《Objective type question in Visual Basic - NANO Infotech.doc》由会员分享,可在线阅读,更多相关《Objective type question in Visual Basic - NANO Infotech.doc(120页珍藏版)》请在金锄头文库上搜索。
1、SUBJECT: VB (PGDCA - 2) Page 120 of 120Note: This question-bank contains three sections.Section-A contains 1 mark Multiple Choice Objective type questions.Section-B contains 5 marks subjective questions.Section-A contains 10 marks subjective questions. Section A 1 Marks QuestionsQUESTIONS 1 TO 152 P
2、AGE 1 TO 17MULTIPLE CHOICE OBJECTIVE TYPE QUESTIONQ1. Event-driven languages are:(a) FORTRAN based(b) Are used to write procedural languages(c) OOP(d) Designed to make programming GUI easierQ2. IDE is:(a) Independent Development Enterprise(b) A development environment for machine language(c) A softw
3、are project management tool (d) An Integrated Development Environment for Visual BasicQ3. Which of the following is not part of the IDE:(a) Code editor window(b) Properties window(c) Form layout window (d) General windowQ4. The application name always appears in the:(a) Properties window (b) Interme
4、diate window (c) Code window (d) Title bar Q5. The color of a button is:(a) One of its properties(b) Not updateable (c) Defined in the project (d) Defined in the Intermediate window Q6. Code is:(a) Updateable in the form editor (b) Instructions (c) Seldom used (d) An object Q7. Controls are:(a) Code
5、 (b) Part of the menus (c) Rules (d) Objects Q8. In the IDE, which of following is used to design the layout of an application?(a) Form Designer window(b) Project Explorer window(c) Context Menu(d) Form Layout windowQ9. The location of the form on the desktop during execution is determined by the:(a
6、) Form Designer window(b) Project Explorer window(c) Context Menu(d) Form Layout windowQ10. The Object Browser:(a) Displays the command buttons and textboxes etc. (b) Shows frequently used shortcuts as objects (c) Is a Context Menu(d) Displays the object libraries and their combinations of data and
7、code Q11. The location of the form on the desktop during execution is determined by the:(a) Form Designer window(b) Project Explorer window(c) Context Menu(d) Form Layout windowQ12. The first procedure-oriented language was:(a) FORTRAN (b) BASIC(c) COBOL(d) ADAQ13. C is:(a) A language widely used in
8、 UNIX(b) A language based on BASIC(c) Used primarily for business applications (d) A GUI Q14. COBOL is:(a) One of the oldest programming languages(b) Still widely used (c) Not suitable for business applications(d) None of the above Q15. Object Oriented languages:(a) Are procedural languages (b) Are
9、task oriented (c) Are based on actions happening to objects (d) Are natural language techniques Q16. Visual Basic projects are identified by a:(a) “.vbp” suffix(b) “.mak” suffix(c) “.vbg” suffix(d) All the aboveQ17. Visual Basic forms are identified by a:(a) “.frm” suffix(b) “.mak” suffix(c) “.for”
10、suffix(d) A special iconQ18. To run an application in Visual Basic:(a) Click on the start button (blue arrow)(b) Use the File Menu (c) Use the Project Menu to select Run (d) None of the aboveQ19. To exit Visual Basic:(a) Click Alt-Q(b) Use the File Menu to select Quit (c) Use the Window Menu to sele
11、ct Exit(d) Click on the diskette iconQ20. The reference library of Visual Basic books is called:a) MSDN Library b) Help Library c) Contents d) Topic paneQ21. in which year vb 6.0 version was launcheda. 1991b. 1994c. 1996d. 1998Q22. RAD stands for a. rapid application development b. randomly applicat
12、ion developmentc.reused application development d. Rapid application develop.Q23. IDE stands fora Integrated development environmentb. Integration development enviroment c. Integrated developing environment d. Integration developing environment.Q24. “dim” is a _a. data typeb. keywordc. operatord.sym
13、bolQ25. how many control in visual basic.?A .3b.2c. 4d.7Q26. what is the prefix of command ?a. mandc. mand1Q27. what is the prefix of list box?A Lstb. listc. list boxd. boxQ28. how many tools available in visual basic?a. 40 b.30c. 21d.31Q29. select the eventa. key upb. got focusc. dbclickd. all of a
14、boveQ30. there are _types of scrollbara.3b.4c.2d.6Q31. which is not a part of IDEa. Project Explorer Window b.code windowc.form layout windowd.text boxQ32. RGB() stands fora.red green blue b. red gray bluec.green blue redd. red green blackQ33. define the outputtext1.text=”visual basic” text2.text=mid(text1.text,8,5)a. visual b. ual basicc. visual basd. basicQ34. define the right outputtext1.text=”hello”text2.text=left(text1.text,3)a.