eQuiz - Multiple choice test on ASP

Here is a small test of ASP web programming language, a total of 30 questions will be answered with no time to answer each sentence.

ASP is a programming language created by Microsoft that is abbreviated by the phrase Active Server Pages (ASP) or ASP.net which is a great programming language that many programmers around the world love to use. in website design. Instead of reading articles that are several pages long to understand ASP, you can also make simple and fast multiple-choice questions that are easy to remember by the Network Administrator below. With a set of 15 questions with ASP programming issues, they will definitely be a great resource for you to learn later. Let's get started!

Question 1 . In ASP, an object requests to get information from users by .

A. Combination of values ​​sent as cookies in the HTML header
B. Combined value set with submit form
C. From the values ​​of the client is declared inside the object
D. From the corresponding module of the operating system
E. Answers a and b

Question 2 . Which of the following is a standard object in ASP

A. Sever
B. Response
C. Session
D. All of the above answers

Question 3 . Abandon is a concept . object in ASP:

A. Sever
B. Session
C. Request
D. Response

Question 4 . In ASP, Response Object is used to send output data from the user to the server:

A. Right
B. False

Question 5 . MapPath is a concept . object in ASP:

A. session
B. requesst
C. sever
D. response

Question 6 . ASP is the abbreviation of?

A. Active Sever Protocol
B. ActiveX Sever Pages
C. Active Setup Pages
D. Active Sever Pages
E. Active Setup Protocol

Question 7 . ASP brings more interactivity to the website:

A. Right
B. False

Question 8 . How to annotate any one line in ASP using VBScrip?

A.
B.
C. 'Comment line in ASP
D. <% of notes in ASP%>

Question 9 . How to monitor and manage code more efficiently when written in ASP or any programming language?

A. Divided into small segments corresponding to separate functional parts
B. Maintain the same unified block

Question 10 . In the inactive ASP may be due to any of the following causes:

A. Basic syntax errors such as missing commas, parentheses, and double quotes
B. The comment section must not be tied to the function tag
C. Ensure that the function part name must have parentheses during opening and closing
D. The file extension must be saved as * .asp
E. All the above answers

Question 11 If you want to apply ASP technology to the company's website system model, what factors must be checked first?

A. All pages are saved with the * .asp extension
B. Check that the web server system is installed with Microsoft FrontPage
C. Check the web server system that supports ASP
D. Check all code and make sure the ASP code is in <%%>
E. All the above answers

Question 12 After checking again, you found that the company's website system does not support ASP. So what do you have to do next?

A. Contact the ISP and ask them to add ASP support to the website system
B. Ask ISP to install the Microsoft FrontPage extension
C. Build a forwarding system, with each technology-specific detail before contacting your ISP provider
D. All of the above answers

Question 13 . Some people think that JavaScript is easier to use than ASP, higher flexibility and can work with any operating system, web server (eg Unxix, Linux, Windows 2000 .). So what is the advantage of ASP versus JavaScript?

A. ASP does not depend on the user's browser
B. The ASP code is not displayed in the source code, so it will be more secure
C. ASP does not proceed to download web pages with users
D. ASP can easily work with database systems
E. All the above answers

Verse 14 . One feature of ASP is to manipulate the database. So which of the following database management systems is most commonly used with ASP?

A. dBase
B. Regular text files
C. Access (97 or 2000)
D. Excel file
E. SQL

Question 15 . In which mode does the JavaScript work?

A. Client: code can only work in the browser environment
B. Sever: can only work on the server

Question 16 . In what mode does ASP work?

A. Client: code can only work in the browser environment
B. Server: can only work on the server

Question 17 Client - side scripting code and sever - side scripting code can co-exist and use on the same page:

A. Right
B. False

Question 18 Variables - variables are used to store data in numbers and text. Which of the following is not a variable name?

A. X
B. X1
C. 1X
D. x1X

Question 19 Which of the following is a correct name?

A. empoloyee salary
B. 2nd_employee
C. employee_hire_date
D. date-of-birth
E. date_of.birth

Question 20 . Your task is to create and manage tracking codes and payroll management for all employees. In your opinion, which of the following variables is most appropriate in terms of brief and easy to describe:

A. Manager_salaries
B. SalariesOfManagars
C. Salaries_Of_Managars
D. mgmtSalary
E. Salary 1

Question 21 ASP code is:

A. Client_side executable code
B. Sever-side executable code
C. World-wide-web executable code
D. All answers are correct

Question 22 Which of the following programming languages ​​is most commonly used with ASP

A. ASP
B. JavaScript
C. VBS cript
D. C ++
E. Perl

Question 23 . ASP pages may contain HTML embed codes:

A. Right
B. False

Question 24 . What happens when the user types in the URL of the request to the ASP page?

A. The browser sends the ASP code request, the server resolves the data and returns the corresponding code, then the browser processes this information and creates the HTML page.
B. The browser sends the ASP code request, the server executes this ASP code and returns the HTML page displayed in the browser
C. The browser sends the code request, the server resolves and returns the corresponding code, then Windows will finish the rest.

Question 25 If the default HTML page is index.htm, default.html . then the default ASP page is:

A. Index.asp
B. Default.asp
C. Home.asp
D. Answers a and b
E. Answer b and c

Question 26 When writing ASP code, what is the syntax for analyzing exactly?

A.
B.
C. <% code>
D. <% code%>

Question 27 . The rule required to write ASP is to start each file with which clause?

A. <% Language = VBScript%>
B. <% ASPLanguage = VBScript%>
C. <% @ Languge = VBScript%>

Question 28 To execute the ASP code on your computer, you need to activate and start some software that supports web server like Personal Web Server?

A. Right
B. False

Question 29 ASP code can be written in any text editor, for example Notepad:

A. Right
B. False

Question 30 Can we use the ASP code to display the system's current time, so can display an active clock also with ASP code?

A. Yes, ASB will proceed to retrieve information from the web server and display it correctly on the browser from the client
B. No, because every time an ASP finishes executing, it will not be possible to continue after the web page has been displayed on the browser client.

Answer:

1.E

2.D

3.B

4.A

5.C

6.D

7.A

8.C

9.A

10.E

11.C

12.C

13.E

14.C

15.A

16. B

17. A

18. C

19. C

20. D

21. B

22. C

23. A

24. B

25. D

26. D

27. C

28. A

29. A

30. A

4 ★ | 13 Vote