VISUAL BASICS
TOTAL MARKS : 140
Q : 1 ----- is powerful programming language to develop sophisticated windows programs quickly.
(A) C++ (B) C# (C) JAVA (D) Visual Basics
Q : 2 visual basic is one of the ------ tools as it enables the programmer to develop application.
(A) BASIC (B) ROPID (C) RAD (D) RAPID
Q : 3 ---- instructions are called commands.
(A) RAD (B) RAPID (C) BASIC (D) None
Q : 4 Visual basic software comes in -------- editions.
(A) One (B) Two (C) Three (D) Four
Q : 5 Any time a user press a key, such an action is called --------.
(A) Event (B) Fire (C) Action (D) None
Q : 6 An ActiveX document EXE file can display a visual basic form within an international web browser.
(A) True (B) False (C) can’t say (D) None
Q : 7 -------- create a stand alone program that you can copy, give away or sell to other.
(A) Standard DLL (B) Standard EXE (C) ActiveX EXE (D) None
Q : 8 ---- enable you to arrange the location where your form appear on the screen.
(A) Form Layout windows (B) Form Location windows (C) Form windows (D) None
Q : 9 Custom controls are controls available in separate file with file extensions -----------.
(A) .VBX (B) .OCX (C) .DLL (D) Both A & B
Q : 10 Visual basic also has special subprograms called ----------------.
(A) Procedure (B) Function (C) Subprogram (D) None
Q : 11 The form that is stored in a file with extension ------------------.
(A) FROM (B) FRM (C) EVENT (D) None
Q : 12 The ------- structures allow us to control the flow of our program execution.
(A) Control (B) Property (C) Function (D) None
Q : 13 An ---- is a set of sequentially indexed elements having the same type of data.
(A) Array (B) Struct (C) Union (D) None
Q : 14 -------- arrays are arrays whose size is set at run-time.
(A) Static (B) Dynamic (C) Preserve (D) None
Q : 15 ------- is the abbreviation for Object Linking And Embedding.
(A) OLAE (B) LAE (C) LOE (D) None
Q : 16 When a parameter is passed by --------, the address of the original variable is sent to the function.
(A) Reference (B) Value (C) variable (D) None
Q : 17 The ----- is a unique number that identifies the running program.
(A) Task PC (B) Task ID (C) Program ID (D) none of above
Q : 18 A ---- control array is a set of menu items on the same level that share same name and event procedure.
(A) Menu (B) MDI (C) Share (D) Array
Q : 19 ----- within a caption of menu immediately precedes the access key for the menu item.
(A) * (B) & (C) Ampersand (D) Both B and C
Q : 20 A -------- bar is displayed as a horizontal line between items on the menu.
(A) Separate (B) Different (C) Separator (D) None
Q : 21 A ----- menu is floating menu that is displayed over form, independent of the menu bar.
(A) Pop-Up (B) Separator (C) Main (D) None
Q : 22 The --------- allows you to create an application that maintain multiple forms within a single form.
(A) MDI (B) Menu (C) Multiple-document interface (D) Both A and C
Q : 23 ----------- are a collection of icons, which provide mouse-driven short-cuts to menu options.
(A) status bar (B) Tools (C) List (D) none
Q : 24 You can open sequential file in ---------.
(A) Input (B) Output (C) Append (D) All of above
Q : 25 A ------- is a collection of object classes that model the structure of relational database system.
(A) RDO (B) ADO (C) DAO (D) All of above
Q : 26 -------- is based on an old technology known as OLE extended with technology to support internet.
(A) ActiveX (B) DLL (C) Component (D) Database Document
Q : 27 The -------- server gets loaded into the same memory space as the application.
(A) Load Files (B) DLL (C) Out-of-process (D) In-Process
Q : 28 The ---------- files contain subprogram designed to be used as building blocks when creating stand-alone program
(A) EXE (B) DLL (C) In-Process (D) None
Q : 29 Data in a database can be presented to the user in a meaningful format by creating -------.
(A) Form (B) Report (C) Latter (D) None
Q : 30 Windows --------- is a powerful set of functions used by windows to execute its work.
(A) APL (B) AIP (C) API (D) None
Q : 31 A -------- must be installed on the computer to show the report in print preview mode.
(A) Scanner (B) Printer (C) Page (D) Report
Q : 32 To display a percent sign in VB you use --------- code.
(A) %p (B) %d (C) %%% (D) %%
Q : 33 The data report designer consists of --------- parts.
(A) One (B) Two (C) Three (D) Four
Q : 34 A ------- field is field whose value is calculated as report is generated.
(A) Calculated (B) Main (C) Total (D) Last report
Q : 35 The ------ function provide a quick and easy way to evaluate many mathematical functions carry out certain logical operation.
(A) Standard in (B) built in (C) basic library (D) All of above
Q : 36 ------ displays a prompt in a dialog box, wait for the user to input text or choose a button and returns the contents of the text box.
(A) Message box (B) Input box (C) Box (D) Both A and B
Q : 37 ------ return a whole number representing an RGB color value.
(A) Color (B) RGB (C) RGB Color (D) None
Q : 38 ------ returns a date indicating the current time of the system.
(A) Time (B) Date (C) Month (D) Second
Q : 39 -------- returns the numbers contained in a string.
(A) Len (B) Rnd (C) Val (D) All of above
Q : 40 Error code ------- indicate the message “ Disc Not ready ”
(A) 55 (B) 61 (C) 74 (D) 71
@@ Every Question for 2 Marks @@ 40 Marks
Q : 41 A visual basic user interface consists of --------- and ---------.
(A) FORMS, Command (B) Forms, Objects (C) Commands, Objects (D) None
Q : 42 State true of false.
1. Most visual basic program has one or not form.
2. Different objects have different properties.
(A) True, True (B) True, False (C) False, True (D) False, False
Q : 43 State true of false.
1. The picture box displays text or acts as a visual container for other controls.
2. The label control displays text a user can interact with or modify.
(A) True, True (B) True, False (C) False, True (D) False, False
Q : 44 When you divide a large program into several smaller ones, there smaller programs are called -------. In visual basic terms, -------- are called event procedures.
(A) Subprogram, Function (B) Procedure, Function (C) Subprogram, Subprogram (D) None
Q : 45 State true of false.
1. Subprogram tells each object on your form how to react to something that the user does.
2. No every object needs event procedures.
(A) True, True (B) True, False (C) False, True (D) False, False
Q : 46 There are 3 types of modules in VB : -------- , ---------, ----------- Modules.
(A) Class, Form, Standard (B) Form, Classic, Professional (C) Class, Project, Form (D) None
Q : 47 State true of false.
1. Sub procedures return a value.
2. Property procedures can return and assign values and set references to objects.
(A) True, True (B) True, False (C) False, True (D) False, False
Q : 48 There are three types of edition in visual basic --------,---------- and ------------.
(A) Learning, Professional, entertainment (B) Enterprise, Learning, Professional (C) Enterprice, Learn, Perfect (D) None of above
Q : 49 There are two broad categories of controls in VB : ------------- and ------------.
(A) Standard, Control (B) Custom, Standard (C) Custom, Control (D) None
Q : 50 The CALL statement transfers control to a Sub procedure, ------ procedure and ------- procedure.
(A) DLL, Function (B) Shell, DLL (C) Function, Shell (D) Both A and B
Q : 51 State true of false.
1. Each element of an array has a unique identifying index number also.
2. A collection is an object that contains a set of related objects.
(A) True, True (B) True, False (C) False, True (D) False, False
Q : 52 State true of false.
1. The pass by value can change the value of variable and original variable is changed.
2. The pass by reference can change the value of variable but the original variable is not changed.
(A) True, True (B) True, False (C) False, True (D) False, False
Q : 53 Visual basic allows the user to create ----------, --------- dialog box.
(A) Pre-defined, common (B) Common, Custom (C) Custom, Pre-defined (D) All
Q : 54 The possible component of activeX technology are -----------------------------.
(A) ActiveX Control, ActiveX Code (B) ActiveX Code, ActiveX Document
(C) ActiveX Document, ActiveX Control (D) All of above
Q : 55 The -------- file is in-process server and ------- file is out-of-process server.
(A) OCX, DLL (B) DLL, EXE (C) EXE, DLL (D) EXE, OCX
Q : 56 An IIS application is made up of a special type of object called a -------, that in turn contain a series of resources called -----------.
(A) Web, Webitems (B) Webclass, Webitems (C) Webitems, webclass (D) webclass, web
Q : 57 ------ files are accessed record by record, but ------- files are accessed line by line.
(A) Random, Binary (B) Sequential, Random (C) Random, Sequential (D) Binary, Sequential
Q : 58 The following is a type of errors, identifies it from follow.
1. File error 2. Program code error 3. Database Error 4. Physical media errors
(A) All of above (B) 1,2,3 (C) 1,3,4 (D) 2,3,4
Q : 59 -------- return an integer indicating the sign of a number.
If number is ----- then sign return -1 value.
(A) Sign, < 1 (B) Sgn, < 1 (C) sign, > 1 (D) Sgn, < 0
Q : 60 The mid function syntax has three named argument.
1. string 2. Start 3. Length 4. Left 5. Right
(A) 1,2,3 (B) 2,3,4 (C) 3,4,5 (D) 3,4,5
$$ Every Question for 4 Marks $$ 60 Marks
Q : 61 Match the following.
A B
1. Toolbox a. Provides a window where you can draw objects for design.
2. Project Explorer b. displays the types of objects.
3. Properties Window c. Displays the properties of the selected form or object.
4. Form d. Lists all the files that make up a single visual basic program.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 62 Match the following.
A B
1. Data a. displays and allows a user to select valid disc drive.
2. OLE b. Control embeds data into a visual basic application.
3. DriveListBox c. Control enables us to connect to an existing database.
4. DirListBox d. displays and allows a user to select directories and paths.
(A) 1-c,2-b,3-a,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 63 Match the following.
A B
1. Property Let a. Sets a reference to an object.
2. Property Get b. Sets the value to a property.
3. Property Set c. Property read only to object.
4. Property Read Only d. returns the value of a property.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-d
Q : 64 Match the following.
A(constant) B ( value )
1. vbhide a. 2
2. vbnormalfocus b. 0
3. vbMinimizedFocus c. 1
4. vbnormalnoFocus d. 4
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 65 Match the following.
A B
1. SetText a. Gets text from the clipboard.
2. SetData() b. Sets text in the clipboard.
3. GetData c. Sets graphics in the clipboard.
4. GetText() d. Gets graphics from clipboard.
(A) 1-b,2-c,3-d,4-a (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 66 Match the following.
A (values) B (Description)
1. 0 a. Arranges icons for minimized MDI child forms.
2. 1 b. Cascades all non minimized MDI child for.
3. 2 c. Tiles all non minimized MDI child form vertically.
4. 3 d. Tiles all non minimized MDI child form horizontally.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 67 Match the following.
A B
1. Connect Properties a. Specifies the type of database to open
2. Exclusive Properties b. determine whether or not you have exclusive use of the database
3. ReadOnly Properties c. determines whether or not you can update the database.
4. Recordset Properties d. contains the set of records returned by the Data Control.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 68 Match the following.
A B
1. %p a. Current date in long format.
2. %P b. Current page number.
3. %D c. Current date in short format.
4. %d d. Total number of pages.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 69 Find from the following which are the ways to access files in VB.
1. Random access 2. Sequential access 3. Binary access 4. cascading access
(A) All (B) 1,2,3 (C) 1,3 (D) 2,3
Q : 70 Match the following.
A B
1. Common Dialog a. Provides most of the features of the standard list box control.
2. DB Combo b. Provides a standard set of dialog boxes for opening and saving.
3. DB List c. Provides most of feature of standard combo box control
4. DB grid d. A Spreadsheet like bound control display a series of rows and column.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 71 The following is a section of the data report designer.
1. Report header 2. Page header 3. Group header / footer
4. Detail 5. Page Footer 6. Report Footer
(A) 1,2,3,4 (B) 2,3,4,6 (C) 2,3,4,5,6 (D) All of above
Q : 72 The steps to adding a grouping filed include follow, arrange it all according to grouping field.
1. Dragging the group field from the data environment to the data report.
2. Adding a group header/footer to the data report designer to correspond to the new command.
3. Resetting the datamember property of the data report to the new grouping command object created in the data environment.
4. Creating a group field in the data environment designer.
(A) 1,2,3,4 (B) 2,3,4,1 (C) 4,2,3,1 (D) 4,3,2,1
Q : 73 Match the following.
A B
1. str(number) a. return a string representation of a number.
2. Right(string, length) b. return a specified number of characters from the right side of a string.
3. Ucase c. return a string that has been converted to uppercase.
4. Rnd[(number)] d. Return a random number.
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 74 Match the following.
A (constant) B(Value)
1. vbinformation a. 48
2. vbQuestion b. 64
3. vbyesno c. 4
4. vbExclamation d. 32
(A) 1-a,2-b,3-c,4-d (B) 1-b,2-c,3-a,4-d (C) 1-b,2-d,3-c,4-a (D) 1-b,2-d,3-a,4-c
Q : 75 The ADO data model provide three components to access data. Find it from following.
1. ActiveX Data 2. ActiveX Data Control 3. ActiveX Record set 4. ActiveX Connection (A) 1,2,3 (B) 1,2,4 (C) 1,3,4 (D) 2,3,4
** Best of luck for university EXAM **
UNIT : 5 TO 8 ADVANCE OPERATING SYSTEM WITH UNIX
DATE : __/ __/ 2009 TOTAL MARKS : 140
1 | D | 16 | A | 31 | B | 46 | A | 61 | C |
2 | C | 17 | B | 32 | D | 47 | C | 62 | A |
3 | C | 18 | A | 33 | C | 48 | B | 63 | D |
4 | C | 19 | D | 34 | A | 49 | B | 64 | B |
5 | A | 20 | C | 35 | D | 50 | A | 65 | A |
6 | B | 21 | A | 36 | B | 51 | A | 66 | C |
7 | B | 22 | D | 37 | B | 52 | D | 67 | A |
8 | A | 23 | B | 38 | A | 53 | A | 68 | D |
9 | D | 24 | D | 39 | C | 54 | D | 69 | B |
10 | B | 25 | C | 40 | D | 55 | B | 70 | B |
11 | B | 26 | A | 41 | B | 56 | B | 71 | D |
12 | A | 27 | D | 42 | C | 57 | C | 72 | C |
13 | A | 28 | B | 43 | B | 58 | D | 73 | A |
14 | B | 29 | B | 44 | C | 59 | D | 74 | C |
15 | C | 30 | C | 45 | C | 60 | A | 75 | D |
0 comments:
Post a Comment