Examen Asp.Net

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Cristina Medina
Cristina Medina, QA and Testing
Cristina, a seasoned QA Engineer with nineteen years of experience in object-oriented software, thrives on continuous learning and collaborative teamwork. Her expertise ensures the quality and efficiency of software development processes.
Quizzes Created: 2 | Total Attempts: 23,367
| Attempts: 9,786 | preguntas: 28
Please wait...
Permite evaluar su nivel en asp. Net. Es indispensable que ingrese su nombre completo para poder seguir con su proceso, de otra forma su prueba no tendra validez. Piense bien  su repuesta ya que no podra regresar a revisar las mismas. Su tiempo para la prueba es de 25 minutos.
Question 1 / 28
0 %
0/100
Score 0/100
1. 2. ¿Cuando una página .aspx es solicitada por el servidor web, el resultado será renderizado al browser en el siguiente formato?

Explanation

When a .aspx page is requested by the web server, the result will be rendered to the browser in HTML format. HTML is the standard markup language used for creating web pages, and it is supported by all web browsers. XML, WML, and JSP are not typically used for rendering web pages in the context of .aspx files.

Submit
Please wait...
About This Quiz
Examen Asp.Net - Quiz

Personalize your quiz and earn a certificate with your name on it!
2. 4.¿Postback ocurre en cual de las siguientes formas?

Explanation

Postback occurs in Webforms.

Submit
3. 6. ¿A qué método se invoca en el control Data Adapter para cargar el dataset generado?

Explanation

The correct answer is Fill( ). The Fill() method is used in the Data Adapter control to load the dataset that has been generated. This method retrieves the data from the data source and populates the dataset with the retrieved data.

Submit
4. 25. Seleccione el control que no tiene una interfaz visible.

Explanation

The correct answer is Repeater. The Repeater control does not have a visible interface. It is used to display repeated sets of data without any predefined layout or formatting. Unlike the other controls listed, the Repeater control does not have built-in visual elements such as dropdown menus or data grids.

Submit
5. 1. ¿Cuál de los siguientes lenguajes puede ser usado para escribir un script del lado del servidor en ASP.NET?

Explanation

La respuesta correcta es A y B. Tanto C-sharp como VB son lenguajes que pueden ser utilizados para escribir un script del lado del servidor en ASP.NET. ASP.NET es una tecnología de Microsoft que permite la creación de aplicaciones web dinámicas y escalables, y admite varios lenguajes de programación, incluyendo C-sharp y VB. Estos lenguajes se utilizan para escribir el código del lado del servidor que se ejecuta en el servidor web y genera la página web que se envía al cliente. C++ no es un lenguaje comúnmente utilizado para escribir scripts del lado del servidor en ASP.NET.

Submit
6. 22. ¿EnableViewState permite a una página guardar lo ingresado por el  usuario en un formulario?

Explanation

EnableViewState es una propiedad en ASP.NET que permite a una página guardar y restaurar el estado de los controles de servidor, incluyendo los datos ingresados por el usuario en un formulario. Esto significa que cuando un usuario envía un formulario y la página se vuelve a cargar, los datos ingresados por el usuario se mantienen en los campos correspondientes. Por lo tanto, la afirmación "EnableViewState permite a una página guardar lo ingresado por el usuario en un formulario" es verdadera.

Submit
7. 5. ¿A qué namespace pertenece la página Web en la jerarquía de clases en el Framework de .NET?

Explanation

The correct answer is System.web.UI.Page. This is because in the hierarchy of classes in the .NET Framework, the namespace to which the web page belongs is System.web.UI. The Page class is a part of this namespace and is used for creating web pages in ASP.NET.

Submit
8. 20. Seleccione el tipo de caching soportado por ASP.NET

Explanation

The correct answer is "a y b" which means "a and b" in English. This suggests that both Output Caching and Data Caching are supported by ASP.NET. Output Caching refers to the caching of the rendered output of a web page, while Data Caching involves caching data retrieved from a data source. Therefore, ASP.NET supports both types of caching mechanisms for improved performance and efficiency in web applications.

Submit
9. 11. ¿En qué se diferencia el ASP.NET del ASP clásico?

Explanation

In ASP.NET, the scripting is separated from the HTML, and the code is compiled as a DLL (Dynamic Link Library). This means that the code can be executed on the server. This is different from classic ASP, where the scripting is also separated from the HTML, but the code is interpreted separately.

Submit
10. 12. ¿Cuál es la diferencia entre Response.Write() y Response.Output.Write()?

Explanation

The difference between Response.Write() and Response.Output.Write() is that Response.Output.Write() allows writing the output with formatting.

Submit
11. 21. ¿Seleccione el tipo de modelo de procesamiento que simula el ASP.NET?

Explanation

The correct answer is "Event-driven". In ASP.NET, the event-driven model of processing is used to simulate the behavior of the web application. This means that the application responds to user actions or events, such as button clicks or form submissions. The event-driven model allows for a more interactive and dynamic user experience, as the application can react and update in real-time based on user input.

Submit
12. 3. ¿El primer evento que se dispara en una página aspx es?

Explanation

The correct answer is Page_Init(). In an ASPX page, the Page_Init() event is the first event that is triggered when the page is loaded. This event is used to initialize the page and its controls before any other events or controls are processed. It is commonly used for tasks such as setting initial values, binding data to controls, or dynamically creating controls. The Page_Load() event is triggered after the Page_Init() event and is used for tasks that need to be performed every time the page is loaded. The Page_click() event does not exist in ASPX pages.

Submit
13. 15.¿Cuál es la extensión para un web user control file?

Explanation

The correct answer is .Ascx. A web user control file in ASP.NET has the file extension .ascx. This file is used to define a reusable user interface element that can be added to web pages. It contains a combination of HTML markup and server-side code, allowing developers to encapsulate and reuse specific UI components across multiple pages in a web application. The .ascx extension is used to identify and differentiate these specific files from other file types in the ASP.NET framework.

Submit
14. 13. ¿Para qué es usada Global.asax?

Explanation

Global.asax es utilizado para implementar eventos de aplicación y niveles de sesión en una aplicación web. Permite manejar eventos como el inicio y finalización de la aplicación, así como el inicio y finalización de una sesión de usuario. Esto es útil para realizar tareas específicas cuando se inicia o finaliza la aplicación, como configurar variables globales, establecer la configuración de la aplicación o gestionar la autenticación de los usuarios. Además, permite gestionar eventos de sesión, como el inicio de sesión de un usuario, el cierre de sesión o el tiempo de espera de la sesión.

Submit
15. 18. ¿Cómo se gestiona los estados en una aplicación ASP.NET?

Explanation

La respuesta correcta es "Todas las anteriores". En una aplicación ASP.NET, los estados se pueden gestionar utilizando objetos de sesión, objetos de aplicación y el Viewstate. Los objetos de sesión permiten almacenar y recuperar información específica de un usuario durante su sesión en la aplicación. Los objetos de aplicación permiten compartir información entre todos los usuarios de la aplicación. El Viewstate es una técnica que permite mantener el estado de los controles en una página web entre las solicitudes del servidor. Por lo tanto, todas estas opciones son formas válidas de gestionar los estados en una aplicación ASP.NET.

Submit
16. 7. ¿Cómo se registra un control de usuario?

Explanation

To register a user control, you need to add the "Src" attribute to specify the path of the user control file, and also add the "Tagprefix" and "Tagname" attributes to define the prefix and name of the user control respectively. This combination of attributes is necessary to properly register and include the user control in the page.

Submit
17. 9. ¿Para añadir un control personalizado a un Web Form se debe registrar con cuál de los siguientes?

Explanation

To add a custom control to a Web Form, it must be registered using the TagPrefix, the namespace of the referenced dll, and the Assemblyname. All of these options are necessary for registering a custom control in a Web Form.

Submit
18. 16. ¿Cuál de las siguientes sentencias es verdadera?

Explanation

IsPostBack is a read-only property of the System.Web.UI.Page class.

Submit
19. 14. ¿Puede haber mas de un archivo machine.config en un sistema?

Explanation

Yes, there can be more than one machine.config file in a system. The machine.config file is a configuration file in the .NET framework that contains settings and configurations for the entire machine or server. In some cases, there may be multiple versions of the .NET framework installed on a system, and each version may have its own machine.config file. Additionally, different applications or components may have their own machine.config files with specific configurations. Therefore, it is possible to have multiple machine.config files in a system.

Submit
20. 17. ¿El número de formularios que se puede añadir a una página aspx es?

Explanation

There is only one correct answer to this question, which is 1. This means that the number of forms that can be added to an aspx page is limited to one.

Submit
21. 27. ¿Cuál de los siguientes no es un miembro del objeto ADODBCommand?

Explanation

The Open method is not a member of the ADODBCommand object. The ADODBCommand object is used to execute commands and retrieve data from a database using ActiveX Data Objects (ADO). The ExecuteReader method is used to execute a command and return a DataReader object, which allows for forward-only access to the data. The ExecuteScalar method is used to execute a command and return a single value. The ExecuteStream method is not a valid method for the ADODBCommand object. The CommandText property is used to set or get the text of the command to be executed.

Submit
22. 23. ¿Qué DLL traduce XML a SQL en IIS?

Explanation

SQLISAPI.dll is the correct answer because it is a DLL (Dynamic Link Library) file that is specifically designed to translate XML to SQL in IIS (Internet Information Services). DLL files contain code and data that multiple programs can use simultaneously, making them useful for tasks like translating XML to SQL. The other options, SQLXML.dll, LISXML.dll, and SQLIIS.dll, do not have the specific functionality mentioned in the question.

Submit
23. 26. ¿Cómo mata usted explícitamente a una sesión de usuario?

Explanation

To explicitly kill a user session, you can use the Session.Abandon method. This method terminates the session and releases any resources associated with it.

Submit
24. 10. ¿Los controles personalizados provienen de cuál de las siguientes clases?

Explanation

The correct answer is System.Web.UI.Customcontrols.Webcontrol. This is because custom controls are created by inheriting from the WebControl class in the System.Web.UI namespace. Therefore, the custom controls would come from the System.Web.UI.Customcontrols.Webcontrol class.

Submit
25. 24. ¿Cuál es el máximo número de cookies que se puede permitir en un sitio web?

Explanation

The correct answer is 20. This is the maximum number of cookies that can be allowed on a website. Cookies are small text files that are stored on a user's computer and are used to track their activity on the website. Having too many cookies can slow down the website and potentially invade the user's privacy. Therefore, it is recommended to limit the number of cookies to ensure a smooth browsing experience.

Submit
26. 28. ¿Cuál de los siguientes namespaces contiene la definición para IdbConnection?

Explanation

The correct answer is System.Data. This namespace contains the definition for IdbConnection, which is used for establishing and managing connections to a database.

Submit
27. 19. ¿Qué propiedad del objeto sesión es usada para poner un identificador local?

Explanation

LCID is the property of the session object that is used to set a local identifier.

Submit
28. 8.¿Cuál de las siguientes sentencias es verdadera?

Explanation

The correct answer states that "Los controles personalizados son mostrados correctamente en el Diseñador de Visual Studio .NET" which means that custom controls are displayed correctly in Visual Studio .NET Designer. This implies that the designer is capable of rendering and displaying custom controls without any issues.

Submit
View My Results

Quiz Review Timeline (Updated): Jul 22, 2024 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jul 22, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Oct 21, 2009
    Quiz Created by
    Cristina Medina
Cancel
  • All
    All (28)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
2. ¿Cuando una página .aspx es solicitada por el servidor web, el...
4.¿Postback ocurre en cual de las siguientes formas?
6. ¿A qué método se invoca en el control Data Adapter para cargar...
25. Seleccione el control que no tiene una interfaz visible.
1. ¿Cuál de los siguientes lenguajes puede ser usado para escribir...
22. ¿EnableViewState permite a una página guardar lo ingresado por...
5. ¿A qué ...
20. Seleccione el tipo de caching soportado por ASP.NET
11. ¿En qué se diferencia el ASP.NET del ASP clásico?
12. ¿Cuál ...
21. ¿Seleccione el tipo de modelo de procesamiento que simula el...
3. ¿El primer evento que se dispara en una página aspx es?
15.¿Cuál es la extensión para un web user control file?
13. ¿Para qué es usada Global.asax?
18. ¿Cómo se gestiona los estados en una aplicación ASP.NET?
7. ¿Cómo se registra un control de usuario?
9. ¿Para añadir un control personalizado a un Web Form se debe...
16. ¿Cuál de las siguientes sentencias es verdadera?
14. ¿Puede haber mas de un archivo machine.config en un sistema?
17. ¿El número ...
27. ¿Cuál ...
23. ¿Qué DLL traduce XML a SQL en IIS?
26. ¿Cómo mata usted explícitamente a una sesión de usuario?
10. ¿Los controles personalizados provienen de cuál de las...
24. ¿Cuál es el máximo número de cookies que se puede permitir en...
28. ¿Cuál de los siguientes namespaces contiene la definición para...
19. ¿Qué propiedad del objeto sesión es usada para poner un...
8.¿Cuál de las siguientes sentencias es verdadera?
Alert!

Advertisement