InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Which Is The Default Scripting Language On The Client Side? |
|
Answer» JavaScript JavaScript |
|
| 52. |
What Are Local And Global Variables? |
|
Answer» Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the script and ends at the end of the script and it can be used by any procedure within the script. Declaring a variable by USING the KEYWORD PRIVATE MAKES the variable global within the script, but if declared using PUBLIC, then all scripts can REFER the variable. Local variables lifetime ends when the Procedure ends. Global variables lifetime begins at the start of the script and ends at the end of the script and it can be used by any procedure within the script. Declaring a variable by using the keyword PRIVATE makes the variable global within the script, but if declared using PUBLIC, then all scripts can refer the variable. |
|
| 53. |
What Is An Err Object? |
|
Answer» NAME its PROPERTIES and METHODS. Name its properties and methods. |
|
| 55. |
What Are Scripting Objects? |
|
Answer» OBJECTS that can ENHANCE the APPLICATION are KNOWN as the SCRIPTING Objects. Objects that can enhance the application are known as the Scripting Objects. |
|
| 56. |
How Many Global.asa Files Can An Application Have? |
|
Answer» [_private/tbl_gglapck.htm] Only one global.asa file and it’s PLACED in the VIRTUAL DIRECTORY’s root. [_private/tbl_gglapck.htm] Only one global.asa file and it’s placed in the virtual directory’s root. |
|
| 57. |
Explain The Post & Get Method Or Explain The Difference Between Them? |
|
Answer» POST METHOD: The POST method GENERATES a FORM collection, which is SENT as a HTTP request body. All the values typed in the form will be stored in the FORM collection. GET METHOD: The GET method SENDS information by appending it to the URL (with a question mark) and stored as A Query string collection. The Query string collection is passed to the server as name/value pair. The length of the URL should be less than 255 characters. POST METHOD: The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection. GET METHOD: The GET method sends information by appending it to the URL (with a question mark) and stored as A Query string collection. The Query string collection is passed to the server as name/value pair. The length of the URL should be less than 255 characters. |
|
| 58. |
What Is The Command To Display Characters To The Html Page? |
|
Answer» Response. Write |
|
| 59. |
What Is The Difference Between Client-side Script And Server-side Script? |
|
Answer» Scripts executed only by the browser without CONTACTING the server is called client-side script. It is browser dependent. The scripting code is visible to the user and HENCE not secure. Scripts executed by the WEB server and PROCESSED by the server is called server-side script. Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the server is called server-side script. |
|
| 60. |
What Is Application Object? |
|
Answer» Shares INFORMATION among USERS of an application. Gives a notification when an application starts or ENDS. Shares information among users of an application. Gives a notification when an application starts or ends. |
|
| 61. |
What Happens To Asp Pages? |
|
Answer» The BROWSER makes a HTTP request; the server does the PROCESSING and GIVES a HTML response to the browser. The browser makes a HTTP request; the server does the processing and gives a HTML response to the browser. |
|
| 62. |
What Happens To A Html Page? |
|
Answer» The browser MAKES a HTTP request; the server gives a HTTP RESPONSE to the browser and the browser CONVERTS into a HTML page. The browser makes a HTTP request; the server gives a HTTP response to the browser and the browser converts into a HTML page. |
|
| 63. |
What Are The Asp Scripting Objects? |
|
Answer» The DICTIONARY OBJECT, the FileSystemObject object, TEXT STREAM OBJECTS. The Dictionary object, the FileSystemObject object, Text Stream objects. |
|
| 64. |
What Is A Form Collection? |
|
Answer» The Form collection holds the values of the form elements SUBMITTED with the POST method. This is the only WAY to generate a Form collection. The Form collection holds the values of the form elements submitted with the POST method. This is the only way to generate a Form collection. |
|
| 65. |
What Is The Difference Between Query String Collection And Form Collection? |
|
Answer» The main difference is that the QUERY string COLLECTION GETS APPENDED to a URL. The main difference is that the Query string collection gets appended to a URL. |
|
| 66. |
What Is Server Variables Collection? |
|
Answer» The SERVER Variables collection HOLDS the ENTIRE HTTP headers and also additional ITEMS of INFORMATION about the server. The Server Variables collection holds the entire HTTP headers and also additional items of information about the server. |
|
| 67. |
What Are The Methods In Session Object? |
|
Answer» The SESSION Object has only one METHOD, which is Abandon. It destroys all the OBJECTS STORED in a Session Object and releases the server resources they occupied. The Session Object has only one method, which is Abandon. It destroys all the objects stored in a Session Object and releases the server resources they occupied. |
|
| 68. |
What Are The Attributes Of The Tags? What Are Their Functions? |
|
Answer» The two attributes are ACTION and METHOD: The ACTION GIVES the name of the ASP file that should be opened next by which this file can access the information GIVEN in the form The METHOD determines which of the two ways (POST or GET) the browser can send the information to the SERVER. The two attributes are ACTION and METHOD: The ACTION gives the name of the ASP file that should be opened next by which this file can access the information given in the form The METHOD determines which of the two ways (POST or GET) the browser can send the information to the server. |
|
| 69. |
What Is Query String Collection? |
|
Answer» This collection stores any values that are provided in the URL. This can be generated by three methods:
This collection stores any values that are provided in the URL. This can be generated by three methods: |
|
| 70. |
What Is The Maximum Size Of An Array? |
|
Answer» Up to 60 DIMENSIONS. Up to 60 dimensions. |
|
| 71. |
What Is A Variable? |
|
Answer» VARIABLE is a memory location through which the actual VALUES are stored/retrieved. Its VALUE can be CHANGED. Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed. |
|
| 72. |
Which Is The Default Data Types In Vbscript? |
|
Answer» VARIANT is the default DATA TYPE in VBScript, which can store a VALUE of any type. Variant is the default data type in VBScript, which can store a value of any type. |
|
| 73. |
Which Is The Default Scripting Language Of Asp (server-side)? |
|
Answer» [_private/tble_firefox.htm] [_private/tble_firefox.htm] VBScript |
|
| 74. |
Give The Comment Tags For The Following? |
|
Answer» VBScript: REM & ‘(apostrophe) JAVASCRIPT: // (single line comment) /* */ (Multi-line COMMENTS) VBScript: REM & ‘(apostrophe) JavaScript: // (single line comment) /* */ (Multi-line comments) |
|
| 75. |
What Is A "virtual Directory"? |
|
Answer» Virtual directories are aliases for DIRECTORY paths on the server. It allows moving files on the disk between different folders, DRIVES or even servers without changing the structure of web pages. It avoids typing an extremely long URL each time to access an ASP page. Virtual directories are aliases for directory paths on the server. It allows moving files on the disk between different folders, drives or even servers without changing the structure of web pages. It avoids typing an extremely long URL each time to access an ASP page. |
|
| 76. |
How Can You Disable The Browser To View The Code? |
|
Answer» Writing codes within the Tag. |
|
| 77. |
What Is Asp? |
|
Answer» ASP stands for ACTIVE Server Pages. It is a server side technology which is used to display dynamic content on web pages. For EXAMPLE you could write code that would give your visitors different information, different images or even a totally different PAGE DEPENDING on what browser version they are USING. ASP stands for Active Server Pages. It is a server side technology which is used to display dynamic content on web pages. For example you could write code that would give your visitors different information, different images or even a totally different page depending on what browser version they are using. |
|