Tag: asp

Questions Related to asp

asp
  1. That all pages are saved in .asp extensions.

  2. Check that the web server has Microsoft FrontPage extensions installed.

  3. Make sure the web server is capable of hosting ASP pages.

  4. Check the coding and be sure the ASP code is surrounded with

  5. All of the above


Correct Option: C
asp
  1. Contact the ISP and have them switch the website to have ASP capability.

  2. Have your ISP install the Microsoft FrontPage extensions

  3. Develop a transition plan first that includes a step-by-step plan on every detail prior to contacting the ISP.

  4. All the above


Correct Option: C

Some say that JavaScript is easier to use than ASP and will run regardless of whatever operating system the web server is using (Unix, Linux, Windows 2000, etc). Then others say that ASP has advantages over JavaScript such as what?

asp
  1. ASP does not depend upon which browser the viewer is using.

  2. ASP code does not show up in the source code; thus, the code is protected

  3. ASP does not download with the page to the viewer.

  4. ASP can easily interact with a database.

  5. All of the above


Correct Option: E

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) ASP does not depend upon which browser the viewer is using. - This option is correct because ASP is a server-side scripting language, which means that it is processed on the server before being sent to the client's browser. The client's browser does not need to interpret or execute ASP code, so it is independent of the browser.

Option B) ASP code does not show up in the source code; thus, the code is protected. - This option is correct because ASP code is processed on the server and the resulting HTML is sent to the client's browser. The client can only see the HTML generated by the ASP code and does not have direct access to the ASP code itself.

Option C) ASP does not download with the page to the viewer. - This option is correct because ASP code is processed on the server, and only the resulting HTML is sent to the client's browser. The ASP code itself is not downloaded by the viewer.

Option D) ASP can easily interact with a database. - This option is correct because ASP has built-in features and libraries that allow easy interaction with databases. ASP can connect to databases, retrieve data, manipulate data, and perform other database operations.

Based on the above explanations, the correct answer is E) All of the above. All of the options mentioned (A, B, C, and D) are advantages of ASP over JavaScript.

A feature of ASP is its ability to interact with a database. Which of these databases is the most popular to use with ASP?

asp
  1. dBase

  2. Delimited text files

  3. Access (97 or 2000)

  4. Excel spreadsheets

  5. SQL


Correct Option: C

AI Explanation

To answer this question, you need to understand the databases commonly used with ASP. Let's go through each option to understand why it is correct or incorrect:

Option A) dBase - This option is incorrect because dBase is not commonly used with ASP. dBase is a database management system that was popular in the past, but it is not widely used with ASP nowadays.

Option B) Delimited text files - This option is incorrect because delimited text files are not typically used as a primary database for ASP. While text files can be used to store data, they are not as efficient or scalable as dedicated database systems.

Option C) Access (97 or 2000) - This option is correct because Access is a popular database management system that is commonly used with ASP. Access databases can be easily integrated with ASP to store and retrieve data.

Option D) Excel spreadsheets - This option is incorrect because Excel spreadsheets are not typically used as a primary database for ASP. While Excel can be used to store data, it is not as efficient or scalable as dedicated database systems.

Option E) SQL - This option is incorrect because SQL is not a specific database but a language used to interact with databases. SQL can be used with various database management systems, including Access, MySQL, SQL Server, and Oracle.

The correct answer is C) Access (97 or 2000). This option is correct because Access is a popular database management system that is commonly used with ASP.

JavaScript is which?

asp
  1. Client-side executable code (executes at the browser level)

  2. Server side executable code (runs at the server only)


Correct Option: A
asp
  1. Client-side executable code (executes at the browser level)

  2. Server side executable code (runs at the server only)


Correct Option: B
asp
  1. employee salary

  2. 2nd_employee

  3. employee_hire_date

  4. date-of-birth

  5. date_of.birth


Correct Option: C

You have a long piece of code tracking employee salaries. In your opinion, which of these variables is the best (shortest yet most descriptive) to use throughout the code to track the salaries of the managers? Keep in mind that you may try to analyze your

asp
  1. manager_salaries

  2. SalariesOfManagers

  3. Salaries_Of_Managers

  4. mgmtSalary

  5. Salary1


Correct Option: D

AI Explanation

To determine the best variable to use throughout the code to track the salaries of the managers, we need to consider both shortness and descriptiveness. Let's analyze each option:

A. manager_salaries - This option is descriptive but not very short. It clearly indicates that the variable tracks the salaries of the managers.

B. SalariesOfManagers - This option is descriptive and follows the camel case convention for variable names. It also clearly indicates that the variable tracks the salaries of the managers. However, it is longer than option D.

C. Salaries_Of_Managers - This option is descriptive and uses underscores to separate words. It is similar to option B in terms of descriptiveness but is longer.

D. mgmtSalary - This option is shorter than the previous options and still maintains descriptiveness by using a combination of letters to represent "management" and "salary".

E. Salary1 - This option is short but not very descriptive. It does not specify that it is specifically tracking the salaries of managers.

Based on the criteria of shortness and descriptiveness, option D (mgmtSalary) is the best variable to use throughout the code to track the salaries of the managers. It is both short and clear in its purpose.