Bài kiểm tra trắc nghiệm về ASP (Active Server Pages) Advance (Phần 1)

Quản Trị Mạng - Chào mừng các bạn đến với series bài kiểm tra trắc nghiệm của Quản Trị Mạng với những chủ đề có liên quan đến các lĩnh vực của công nghệ thông tin. Và lần này chúng ta sẽ tiếp tục với bài kiểm tra nho nhỏ về ngôn ngữ lập trình web ASP phần Advance, tổng cộng sẽ có 15 câu hỏi với thời gian trả lời mỗi câu là không hạn chế.

Một số đặc điểm cơ bản cần biết về ASP:

Trước hết, ASP.NETActive Server Pages .NET (.NET ở đây là .NET framework). Nói đơn giản và ngắn gọn thì ASP.NET là một công nghệ có tính cách mạng dùng để phát triển các ứng dụng về mạng hiện nay cũng như trong tương lai. Bạn lưu ý ở chỗ ASP.NET là một phương pháp tổ chức hay khung tổ chức (framework) để thiết lập các ứng dụng hết sức phổ biến cho mạng dựa trên CLR (Common Language Runtime) chứ không phải là một ngôn ngữ lập trình. Ngôn ngữ lập trình được dùng để diễn đạt ASP.NETVB.NET (Visual Basic .NET) và VB.NET chỉ là một trong 25 ngôn ngữ .NET hiện nay được dùng để phát triển các trang ASP.NET mà thôi.

Tuy gần giống như ASP cổ điển nhưng ASP.NET không phải là ASP. Chúng tôi sơ lược ở đây vài điểm khác biệt giữa ASP.NET và ASP để bạn có khái niệm tổng quát và sẽ trình bày thêm chi tiết khi đào sâu vào từng điểm đặc trưng (features) của ASP.NET.

Khác biệt giữa ASP.NET và ASP:

ASP.NET được phác thảo (re-design) lại từ số không, nó được thay đổi tận gốc rễ và phát triển (develop) phù hợp với yêu cầu hiện nay cũng như vạch một hướng đi vững chắc cho tương lai. Lý do chính là Microsoft đã quá chán nản trong việc thêm thắt và kết hợp các công dụng mới vào kiểu mẫu lập trình hay thiết kế mạng theo kiểu cổ điển nên Microsoft nghĩ rằng tốt nhất là làm lại một kiểu mẫu hoàn toàn mới thay vì việc đổi chỗ này chỗ nọ vào ASP. Ðó là chưa kể đến nhiều phát minh mới ra đời sau này dựa trên các khái niệm mới mẽ theo xu hướng phát triển hiện nay của công nghệ thông tin (Information Technology) cần được đưa vào kiểu mẫu phát triển mới đó. Nhờ vậy, ta mới có thể nói rằng ASP.NET không phải là ASP. Thật vậy, ASP.NET cung cấp một phương pháp hoàn toàn khác biệt với phương pháp của ASP.

Lưu ý:

Mặc dù ASP.NET và ASP khác biệt nhau nhưng chúng có thể hoạt động cùng với nhau trong Web Server của bạn (operate side-by-side). Do đó, khi bạn cài ASP.NET engine, bạn không cần lập trình lại các ứng dụng hiện có dưới dạng ASP của bạn tuy rằng, nếu muốn, bạn có thể làm điều đó rất dễ dàng.

Chúc các bạn thành công!

  • Question 1: In ASP.NET what does the following return <% Response.Write(System.Environment.WorkingSet.ToString())
    • Gives the memory working set
    • Return Null value
    • Gives Error
    • None of the above
  • Question 2: Which of the following denote page code model in ASP.NET?
    • single-file
    • code-behind
    • Both single-file and code-behind
    • None of the above
  • Question 3: Which of the following denote the web control associated with Table control function of ASP.NET?
    • DataList
    • ListBox
    • TableRow
    • All the above
  • Question 4: Which of the following denote New Data-bound Controls used with ASP.NET?
    • GridView
    • FormView
    • SqlDataSource
    • All the above
  • Question 5: In ASP.NET if you want to allows page developers a way to specify static connections in a content page then the class used is?
    • WebPartManager
    • ProxyWebPartManager
    • System.Activator
    • None of the above
  • Question 6: On which of the operating system below ASP.NET can run?
    • Windows XP Professional
    • Windows 2000
    • Both Windows XP Professional and Windows 2000
    • None of the above
  • Question 7: There is a requirement as follows: A client side already has 25 COM objects and if the requirement is to add a 26th function that must exists only for .NET object without affecting the existing one, how to achieve the above?
    • By CCW
    • By RCW
    • By RCA
    • None of the above
  • Question 8: If a developer of ASP.NET defines style information in a common location. Then that location is called as?
    • Master Page
    • Theme
    • Customization
    • None of the above
  • Question 9: In ASP.NET if one uses Windows authentication the current request attaches an object called as?
    • Serialization
    • WindowsPrincipal
    • WindowsDatset
    • None of the above
  • Question 10: Forms based authentication is otherwise called in ASP.NET as Cookie Authentication because Forms authentication uses cookies to allow applications to track users throughout their visit?
    • Cookie Authenticcation
    • Passport Authentication
    • Windows Authentication
    • None of the above
  • Question 11: Which of the following is true about session in ASP.NET?
    • ASP.NET automatically delete sessions after configurable timeout interval
    • Programmers has to take care of delete sessions after configurable timeout interval
    • The default time interval is 5 minutes
    • None of the above
  • Question 12: What model does ASP.NET request processing is based on?
    • Pipeline
    • Waterfall
    • Top-down
    • Bottom-up
  • Question 13: To set page title dynamically in ASP.NET which of the following is used?
    • <head> section
    • <tail> section
    • <sheet> section
    • None of the above
  • Question 14: In ASP.NET page framework an automatic way to associate page events and methods is?
    • AutoEventWireup attribute of the Page directive is set to true
    • AutoEventWireup attribute of the Page directive is set to false
    • It is not possible to set automatically page events and methods
    • None of the above
  • Question 15: In ASP.NET if one wants to set the focus on a particular control?
    • Call SETFOCUS
    • Call SETCONTROL
    • Call FOCUS method
    • None of the above
Thứ Tư, 19/08/2020 17:03
53 👨 2.329
0 Bình luận
Sắp xếp theo
    ❖ Quiz công nghệ