Question: 01
DOM stands for :

a.Direct Object Modeling.
b.Discrete Object Model.
c.Document Object Model.
d.Direct Object Method.
e.Document Object Manipulation.


Question: 02
Which of the following class is not derived from the CDC class ?

a.CClientDC
b.CMetaFileDC
c.CPaintDC
d.CWindowDC
e.CGdiObject


Question: 03
In the Msgbox function, what value of the buttons parameter would you specify to display a Critical Message icon ?

a.0
b.1
c.16
d.32
e.48


Question: 04
Which of the following menu items does not appear under the HTML menu option ?

a.Table
b.Link
c.Bookmark
d.Marquee
e.Div


Question: 05
Which of the following is not a valid VBScript function ?

a.At
b.Atn
c.Abs
d.Array
e.Asc


Question: 06
In setting up the ADODC, which property do you use to specify the database that the control will link to ?

a.ConnectionString
b.RecordSource
c.LockType
d.CursorType
e.CursorLocation


Question: 07
When working with script, which all folders are present in the HTML Outline pane ?

a.Client Objects and Events, Client Scripts.
b.Client Objects and Events, Server Objects and Events.
c.Client Objects and Events, Server Scripts.
d.Client Objects and Events, Client Scripts, Server Objects and Events.
e.Client Objects and Events, Client Scripts, Server Objects and Events, Server Scripts.


Question: 08
Which function will return the name of the scripting language in use?

a.ScriptLanguage
b.Script
c.Engine
d.ScriptEngine
e.ScriptingLanguage


Question: 09
Which of the following is not a subtype of data that a variant in VBScript can contain ?

a.Null
b.Byte
c.Integer
d.Long
e.Float


Question: 10
Which of the following components cannot be developed in Visual Interdev ?

a.COM components.
b.Active Server Page.
c.Cascading Style Sheet.
d.HTML document.
e.a and c.


Question: 11
What classes of objects does VBScript support ?

a.Objects provided by the VBScript engine.
b.Objects provided by the VBScript author.
c.Objects provided by Internet Explorer.
d.a and c.
e.a,b and c.


Question: 12
What keyword must be used in a declaration statement to enable an object to respond to events ?

a.Notify
b.New
c.Trigger
d.WithEvents
e.UseEvents


Question: 13
Which event allows you to determine if a control or shift key was pressed by the user?

a.KeyPress
b.KeyDown
c.KeyUp
d.a and b
e.b and c


Question: 14
Which of the following is not an edition of VC++ ?

a.Desktop.
b.Professional.
c.Standard.
d.Enterprise.
e.a and c.


Question: 15
Which are the three basic working modes of Visual Interdev ?

a.Offline, Online and Master.
b.Offline, Online and Local.
c.Online, Remote and Master.
d.Online, Remote and Local.
e.Offline, Local and Master.


Question: 16
Which device-context function of the CDC class updates the m_hAttribDC device context ?

a.GetSafeHdc
b.SaveDC
c.RestoreDC
d.ResetDC
e.GetDeviceCaps


Question: 17
In setting up a text box as a bound control, which property specifies the field of the recordset to be displayed ?

a.Name
b.DataSource
c.DataField
d.DataColumn
e.Text


Question: 18
What number of properties and methods does the RegExp object provide ?

a.3 properties and 3 methods.
b.1 property and 3 methods.
c.2 properties and 2 methods.
d.3 properties and 1 method.
e.2 properties and 1 method.


Question: 19
Which object is responsible for handling transaction processing ?

a.Connection
b.Command
c.Recordset
d.Database
e.Parameter


Question: 20
The programming support feature SOM stands for :

a.Scripting Object Model.
b.Static Object Model.
c.Scripting Object Mechanism.
d.Static Object Method.
e.Scriptlet Object Model.


Question: 21
Which of the following is not a numeric function ?

a.Exp
b.Fix
c.Int
d.Sqrt
e.Round


Question: 22
The classes CFrameWnd, CMDIFrameWnd and CMDIChildWnd are derived from the class :

a.Window
b.Hwnd
c.Cwindow
d.Cwnd
e.Cwind


Question: 23
What is the default scripting language that is generated for the standard Visual Interdev design-time controls ?

a.VBScript
b.JScript
c.JavaScript
d.Python
e.Perl


Question: 24
What is the extension of the binary version of the current resource file that is created by the Microsoft Visual C++ and used for quick loading of resources ?

a.BSC
b.APS
c.DEF
d.DIB
e.DLG


Question: 25
Which of the following is not a object provided by the VBScript engine ?

a.Class
b.Match
c.Matches
d.Form
e.Dictionary


Question: 26
What function does WinMain call every time a new instance of the application starts ?

a.InitInstance
b.InitApplication
c.BeginApplication
d.NewInstance
e.BeginInstance


Question: 27
Which tab is not present in the Visual Interdev toolbox ?

a.CSS.
b.ActiveX Controls.
c.HTML.
d.Design-Time Controls.
e.Server Objects.


Question: 28
Which character is used to break a VBScript statement into multiple lines ?

a.&
b.@
c.+
d.\
e._


Question: 29
Which of the following is the only class derived from CObject ?

a.CArchive
b.CPoint
c.CDC
d.CPrintInfo
e.CString


Question: 30
Name the only property supported by a collection ?

a.Name
b.Index
c.Count
d.Type
e.Value


Question: 31
How many nodes can a TreeView control have ?

a.1.
b.Upto 5.
c.Maximum of 50.
d.Maximum of 100.
e.No limit.


Question: 32
The tag <SCRIPT LANGUAGE = VBSCRIPT> means that the script will run in the web browser.What tag will you give to make the script run on the server side ?

a.<SCRIPT LANGUAGE = VBSCRIPT SERVERSIDE>
b.<SCRIPT LANGUAGE = VBSCRIPT RUNAT SERVERSIDE>
c.<SCRIPT LANGUAGE = VBSCRIPT RUNAT = SERVERSIDE>
d.<SCRIPT LANGUAGE = VBSCRIPT SERVER>
e.<SCRIPT LANGUAGE = VBSCRIPT RUNAT = SERVER>


Question: 33
Which scripting language can be used for client side programming in Visual Interdev ?

a.JScript
b.JavaScript
c.VBScript
d.b and c.
e.a,b and c.


Question: 34
Study the following code:

1        <FORM NAME=”TestForm”>
2        Firstname: <INPUT NAME=”FirstName” VALUE=”" MAXLENGTH=”50″ SIZE=50>
3        <INPUT TYPE=”BUTTON” VALUE=”Run Query” NAME=”RQ3″>
4        </FORM>
5        <SCRIPT LANGUAGE=”VBScript”>
6        Sub RQ3_OnClick
7        Dim MyForm
8        Set MyForm=Document.TestForm
9        If RTrim(MyForm.FirstName.Value)=”" then
10        MsgBox “You must enter a Firstname”, 64, “Missing information!”
11        Else
12        TheForm.Submit
13        End if
14        </SCRIPT>

What is the error in the error ?

a.There is no error.
b.The value 64 of the second parameter in the msgbox function on line 10 is incorrect.
c.On line 12 TheForm.Submit should be replaced by submit.
d.The event handler cannot be defined separately, it should be defined along with the button.
e.The word Set should not be used at line 8.


Question: 35
Which of the following is not a tab in the style sheet editor ?

a.Font
b.Background
c.Foreground
d.Preview
e.Lists


Question: 36
Which of the following classes are derived from the CInternetConnection base class ?

a.CFtpConnection and CHttpConnection.
b.CFtpConnection and CTelnetConnection.
c.CFtpConnection, CHttpConnection, CTelnetConnection.
d.CHttpConnection, CWaisConnection, CFtpConnection.
e.CFtpConnection, CGopherConnection, CHttpConnection.


Question: 37
Which event enables you to determine which key was pressed by the user ?

a.Click
b.KeyPress
c.KeyDown
d.a and b.
e.b and c.


Question: 38
Given the following code segment, how many instances of the form are created and displayed ?

dim frmvar1 as frmperson,frmvar2 as frmperson
set frmvar1 = new frmperson
set frmvar2 = frmvar1
load frmvar1
frmvar2.show

a.None.
b.1
c.2
d.3
e.4


Question: 39
Which event is triggered when the user moves to another form?

a.Unload
b.Deactivate
c.Resize
d.Terminate
e.Load


Question: 40
Watch window, Locals Window and Immediate Window are :

a.Are windows of the Database Wizard.
b.Are different views of Visual Interview.
c.Are used in debugging.
d.Are windows of the Query Designer.
e.Are window of the Site Designer.

Don't Miss A Single Updates

Remember to check your email account to confirm your subscription.

Blogger
Disqus
Post a comment ➜

No Comment