ASP
MCQ questions and answers
- 4.5/5.0
- 1k Enrolled
- All levels
- Last updated 11/2023
- English
ASP MCQ (47)
1. | ASP stands for____________. |
A | Active Server Pages |
B | Active Services Pages |
C | ActiveX Server Program |
D | Ajax Server Pages |
Answer: A | |
2. | RSS stands for ____________. |
A | Real Services Syndication |
B | Really Simple Syndication |
C | Real Services Synchronization |
D | Rapid Services Synchronization |
Answer: B | |
3. | Which file include the browser definition? |
A | webconfig.ini |
B | .browser |
C | .config |
D | .csv |
Answer: B | |
4. | Which folder contains the source code files for utility classes? |
A | App_browser |
B | App_Data |
C | App_code |
D | Bin |
Answer: C | |
5. | In which folder contain .CSS, .skin, Image file? |
A | App_WebReferences |
B | App_LocalResources |
C | App_Theme |
D | Bin |
Answer: C | |
6. | _____ file type contains some optional methods which run at the start or end of the application? |
A | .ascx |
B | .asax |
C | .axd |
D | .config |
Answer: B | |
7. | Which file type contains the code for styling the web control in ASP.NET? |
A | .ascx |
B | .cs |
C | .aspx |
D | .css |
Answer: C | |
8. | Which file contains the XML element that represents a configuration settings for ASP.NET application? |
A | .dll |
B | .aspx |
C | .licx |
D | .config |
Answer: D | |
9. | .asmx file type represent____________. |
A | web form |
B | web services |
C | web control |
D | setting |
Answer: B | |
10. | What is the location of the compiled file? |
A | Application root |
B | App_Browser |
C | Bin directory |
D | App_Themes |
Answer: C | |
11. | Database file stored in ____________ directory. |
A | App_data |
B | App_Browser |
C | App_code |
D | Bin |
Answer: A | |
12. | Using the application ____________ file you can register and enable or disable. |
A | web.ini |
B | web.config |
C | .browser |
D | .resx |
Answer: B | |
13. | Which property of the page is used to determine whether the page is being processed for the first time? |
A | IsPostBack |
B | IsPost |
C | init() |
D | LogRequest |
Answer: A | |
14. | Which event is triggered just before the page is loaded into memory? |
A | PreInit |
B | PreLoad |
C | InitComplete |
D | LoadComplete |
Answer: B | |
15. | Which directives are used to define page-specific attributes of the web page which is used by the ASP.NET parser and compiler? |
A | @Import |
B | @Register |
C | @page |
D | @Control |
Answer: C | |
16. | Which directive is used to create an association between a tag prefix and custom control? |
A | @page |
B | @control |
C | @assembly |
D | @register |
Answer: D | |
17. | In the ASP.NET, HTML user control processed at ____________. |
A | client |
B | server |
C | host |
D | none |
Answer: A | |
18. | Which class is the base class for the server controls and page class? |
A | Object |
B | System |
C | Control |
D | Web |
Answer: C | |
19. | Which of the following is not the part of .NET suit? |
A | VB |
B | C# |
C | F# |
D | Swift |
Answer: D | |
20. | Which control is used to hide a value? |
A | TextField |
B | Button |
C | HiddenField |
D | FileUpload |
Answer: C | |
21. | Which program is used for publishing and discovering operations of the web services? |
A | Disco.exe |
B | Disco.dll |
C | webserv.exe |
D | none of these |
Answer: A | |
22. | Which directory is used to store information about web services? |
A | Root |
B | App_code |
C | UDDI |
D | Bin |
Answer: C | |
23. | Web service description is basically written in an XML language known as____________. |
A | XSDL |
B | WSDL |
C | SDL |
D | WXSL |
Answer: B | |
24. | Which protocol is used to exchange information in a decentralized distributed environment? |
A | HTTP |
B | HTTP_GET |
C | SOAP |
D | RPC |
Answer: C | |
25. | Which protocol is used to define the standard representation of complex message with embedded graphics or audio clips? |
A | SOAP |
B | MIME |
C | TCP |
D | HTTP_POST |
Answer: B | |
26. | The ____________ property of the web services class are used to obtain the HttpContext. |
A | context |
B | application |
C | server |
D | session |
Answer: A | |
27. | The session property of the web service class is used to obtain the ____________ instance. |
A | HttpServerUtility |
B | HttpSessionState |
C | web services |
D | httpContex |
Answer: B | |
28. | ASP.NET client architecture of the web services consists of ____________ side components that are used to call web service. |
A | client |
B | server |
C | database |
D | none |
Answer: A | |
29. | Which protocol consists of a query string to send request parameter to the server? |
A | HTTP_POST |
B | HTTP_GET |
C | SOAP |
D | RPC |
Answer: B | |
30. | ____________ is a set of classes which used to handle the data access services. |
A | ADO.NET |
B | XML |
C | ADODB |
D | LINQ |
Answer: A | |
31. | XML stands for |
A | Extended Markup Language |
B | Extensible Markup Language |
C | Extended Markup Library |
D | Extensible Microsoft Library |
Answer: B | |
32. | LINQ stands for |
A | Language Intergrated Query |
B | Language Inter Net Query |
C | Language Intra Network Query |
D | none |
Answer: A | |
33. | ____________ is an integrated into the various aspect of the data access model in a .NET framework such as dataset disconnected programming model. |
A | SQL |
B | ADO |
C | LINQ |
D | WCF |
Answer: C | |
34. | ADO.NET classes are found in the ____________. |
A | System.Object |
B | System.web |
C | System.Data |
D | System.linq |
Answer: C | |
35. | Which object is used to communicate with a Database? |
A | DataServices |
B | DataAdapter |
C | InputOutput |
D | FileObject |
Answer: B | |
36. | Which ADO.NET object is used to communicate with the data source? |
A | Connection |
B | DataReader |
C | DataAdapter |
D | DataRow |
Answer: A | |
37. | ____________ store in a disconnected cache. |
A | DataAdapter |
B | DataColumn |
C | DataSet |
D | Command |
Answer: C | |
38. | Which object is used to hold a read-only and forward-only set of data from the database? |
A | DataTable |
B | DataSet |
C | DataView |
D | DataReader |
Answer: D | |
39. | The ____________ object enables the access to the database commands such as return data, modify data and send data. |
A | Connection |
B | Command |
C | DataSet |
D | DataReader |
Answer: B | |
40. | Which namespace provide the access of microsoft SQL server? |
A | System.Data.SQLClient |
B | System.Data.ODBC |
C | System.Data.OleDB |
D | System.Data.OracleClient |
Answer: A | |
41. | _______ Data source control enables you to access to Microsoft SQL server? |
A | AccessDataSource |
B | SqlDataSource |
C | XMLDataSource |
D | DAODataSource |
Answer: B | |
42. | AccessDataSource enables you to work with ____________ database. |
A | MS Access |
B | SQL Server |
C | Oracle |
D | MySQL |
Answer: A | |
43. | XSL stands for? |
A | eXtended Standard Language. |
B | eXtensible Stylesheet Language. |
C | eXtension Stylesheet Language. |
D | eXtensible Stylesheet Library. |
Answer: B | |
44. | ______ is used by the framework class library to examine the metadata in the .NET assembly files? |
A | Reflection |
B | Enumeration |
C | LINQ |
D | Namespace |
Answer: A | |
45. | Which class of System.io namespace is used to handle the file operations? |
A | File |
B | FileInfo |
C | FileStream |
D | FileMgt |
Answer: A | |
46. | ______ class provide the base class information for both FileInfo and DirectoryInfo object? |
A | FileInfo |
B | FileSystemInfo |
C | DriveInfo |
D | SystemInfo |
Answer: B | |
47. | ____ class help in writing primitive datatype in a binary form for the streams? |
A | StreamWriter |
B | BinaryWriter |
C | ByteWriter |
D | Writer |
Answer: B |