Visual Basic

Description: O.S
Number of Questions: 26
Created by:
Tags: VB Operating System Programming
Attempted 0/26 Correct 0 Score 0

Which of the following is the module that gives control of the CPU to the process selected by the scheduler?

  1. SJF scheduling

  2. FCFS scheduling

  3. Dispatcher

  4. None of these


Correct Option: C
Explanation:

Dispatcher is the module that gives control of the CPU to the process selected by the scheduler.

Which of the following subsystems in UNIX Kernel system consists of scheduler, inter process communication and memory management features?

  1. System calls

  2. Process control subsystem

  3. File subsystem

  4. None of these


Correct Option: B
Explanation:

This type of subsystem in UNIX Kernel system consists of scheduler, inter process communication and memory management features.

Which of the following properties of form sets back colour of the form?

  1. Appearance

  2. Borderstyle

  3. BackColour

  4. None of these


Correct Option: C
Explanation:

This property allows a user to set back colour of form from colour dialog box.

Which of the following drag events in VB will be occured after the drag and a drop operation is in progress?

  1. DragDrop Event

  2. DragMode Property

  3. DragOver Event

  4. None of these


Correct Option: C
Explanation:

This event occurs after the drag and a drop operation is in progress.

Which of the following scaling properties of control supports graphics such as form, picture box and image control, which returns the horizontal coordinates for the left edges of an object?

  1. ScaleTop

  2. ScaleWidth

  3. ScaleLeft

  4. None of these


Correct Option: C
Explanation:

This scaling property of control supports graphics such as form, picture box and image control, which returns the horizontal coordinates for the left edges of an object.

Which of the following methods of form is used to display the forms loaded into memory?

  1. Load

  2. Unload

  3. Show

  4. None of these


Correct Option: C
Explanation:

Show method of the form is used to display the forms loaded into memory.

Which of the following events of Form is fired before the form closes to give you a chance to cancel the unloading of the forms?

  1. Query unload

  2. Load

  3. Activate

  4. None of these


Correct Option: A
Explanation:

This form event is fired before the form closes to give you a chance to cancel the unloading of the forms.

Which of the following values of the Draw Style Property of control, like form and picture box, sets the draw style as dash?

  1. '0'

  2. '1'

  3. '2'

  4. '5'


Correct Option: B
Explanation:

This draw style property of control, like form and picture box, sets the draw style as dash.

Which of the following properties of text box, when set to false, allows a user to edit the text?

  1. SelStart

  2. SelLength

  3. Locked

  4. SelText


Correct Option: C
Explanation:

This property of text box, when set to false, allows a user to edit the text.

Which of the following functions returns a specified number of characters from the right side of a string?

  1. Left$ function

  2. Right$ function

  3. Mid$ function

  4. None of these


Correct Option: B
Explanation:

This functions returns a specified number of characters from the right side of a string.

Which of the following properties of form is used to disable or enable the maximize button on the form?

  1. MinButton

  2. MaxButton

  3. ControlMenu

  4. None of these


Correct Option: B
Explanation:

This property of form is used to disable or enable the maximize button on the form.

Which of the following controls in VB facilitates the user to schedule certain events in the program?

  1. Form

  2. Timer

  3. Combo Box

  4. None of these


Correct Option: B
Explanation:

This control in VB facilitates the user to schedule certain events in the program.

Which of the following properties of List Box returns the number of selected items in a List Box Control?

  1. ListCount

  2. ListIndex

  3. SelectCount

  4. None of these


Correct Option: C
Explanation:

This property of List box returns the number of selected items in a List box Control.

__________ menu in VB contains commands for aligning and sizing control on the form.

  1. View

  2. Debug

  3. Format

  4. File


Correct Option: C
Explanation:

This menu contains commands for aligning and sizing controls on the form.

___________ type of variable in VB has a scope within the procedure or function, where it is defined.

  1. Public

  2. Private

  3. Dim

  4. None of these


Correct Option: C
Explanation:

Dim type of variable in VB has a scope within the procedure or function, where it is defined.

Which of the following properties of Label control, when set to true, allows a user to automatically set the dimension of the label control according to text length?

  1. Caption

  2. AutoSize

  3. BackStyle

  4. None of these


Correct Option: B
Explanation:

This property of Label control, when set to true, allows a user to automatically set the dimension of the label control according to text length.

What is the value of solid fill style property in VB?

  1. '1'

  2. '0'

  3. '2'

  4. None of these


Correct Option: B
Explanation:

This is the value of solid fill style property in VB.

Which of the following modules in VB is/are called as code encapsulating tool(s), used in the design and development of forms?

  1. Standard Module

  2. Form modules

  3. Class module

  4. None of these


Correct Option: B
Explanation:

These modules of VB are called as code encapsulating tool used in the design and development of forms.

Which of the following string handling functions in VB returns a string consisting of specified number of spaces?

  1. StrReverse

  2. Space$

  3. String$

  4. None of these


Correct Option: B
Explanation:

This string handling function in VB returns a string consisting of specified number of spaces.

____________ is the property of form that determines the style of the forms border and the appearance of the form.

  1. Appearance

  2. BackColour

  3. Borderstyle

  4. None of these


Correct Option: C
Explanation:

This property of form determines the style of the form's border and the appearance of the form.

_____________ is the property of the Textbox that returns or sets length of selected text.

  1. SelLength

  2. SelStart

  3. SelText

  4. None of these


Correct Option: A
Explanation:

This property of the Textbox returns or sets length of selected text.

______________ is the form event, which is fired when the form becomes the active window.

  1. Initialize

  2. Load

  3. Deactivate

  4. Activate


Correct Option: D
Explanation:

This form event is fired when the form becomes the active window.

Which of the following way of passing arguments to a procedure allows a special calling convention to be used that explicitly indicates the argument to be provided and the associated value?

  1. Positional Arguments

  2. Named Arguments

  3. Exit Sub

  4. None of these


Correct Option: B
Explanation:

This way of passing arguments to a procedure allows a special calling convention to be used that explicitly indicates the argument to be provided and the associated value

Which of the following properties in Shape control indicates the appearance of a shape control as a circle or a rectangle?

  1. BackStyle

  2. BorderColor

  3. Shape

  4. None of these


Correct Option: C
Explanation:

This property in shape control indicates the appearance of a shape control as a circle or rectangle.

______________ is a common method of a control in VB that forces a complete repaint of objects.

  1. Clear

  2. Move

  3. Z-order

  4. Refresh


Correct Option: D
Explanation:

This method of a control in VB forces a complete repaint of objects.

____________ is the property of Listbox that returns or sets a value, which determines whether a user can make multiple selections in a control.

  1. ListIndex

  2. Multiselect

  3. ListCount

  4. ItemData


Correct Option: B
Explanation:

This property of Listbox returns or sets a value that determines whether a user can make multiple selections in a control.

- Hide questions