Está en la página 1de 5

Preguntas de Programación Orientada a Objetos

¿Qué es un objeto?

Es la representación de una clase el cual es autónomo

¿Qué es una clase?

Es el modelo de un objeto.

¿Qué es abstracción?

Es la forma que se concibe los objetos y elementos que van a tener las reglas del negocio.

¿Qué es polimorfismo?

Es la capacidad de un objeto de ser representado de diferentes formas.

¿Qué es encapsulamiento?

Es el nivel de acceso que se desea dar a los atributos y las funciones de una determinada clase.

¿Qué es herencia?

Es la capacidad de una clase de poder obtener funcionalidades de una clase “padre”.

¿Qué es una interfaz?

Es una instancia la cual solo posee definiciones de métodos y constantes.

¿Qué es una clase abstracta?

Diferencias entre una clase abstracta y una interfaz

¿Qué es sobrecarga?

Es la propiedad que tienen algunos lenguajes que permiten a los métodos tener el mismo nombre
se diferencian en el tipo y en sus parámetros.

¿Qué es sobrescribir?

Es la propiedad que permite a una clase hija modificar métodos que se heredan y que no sean
necesariamente igual a los del padre.

Preguntas de la web
¿Qué es HTTP?

Es un protocolo que permite el traspaso de archivos entre 2 máquinas.


¿Qué tipos de servicios web existen?

Existen varios tipos de servicios web REST y SOAP son ejemplos que existen

¿Qué es CORS?

Permite la seguridad de un servicio web para que no sea utilizado por aplicaciones externas no
autorizadas

¿De qué maneras se puede guardar datos temporales?

Se pueden guardar de manera local en la memoria del computador, o en una sesión

¿Qué es integración continua?

Es hacer integraciones lo más frecuente que se pueda esto implica versionar, probar, compilar y
desplegar.

Diferencia entre get y post

GET POST

BACK Harmless Data will be re-submitted (the


button/Reloa browser should alert the user
d that the data are about to be
re-submitted)

Bookmarked Can be bookmarked Cannot be bookmarked

Cached Can be cached Not cached

Encoding type application/x-www-form-urlencoded application/x-www-form-


urlencoded or multipart/form-
data. Use multipart encoding
for binary data
History Parameters remain in browser history Parameters are not saved in
browser history

Restrictions Yes, when sending data, the GET No restrictions


on data method adds the data to the URL; and
length the length of a URL is limited
(maximum URL length is 2048
characters)

Restrictions Only ASCII characters allowed No restrictions. Binary data is


on data type also allowed

Security GET is less secure compared to POST POST is a little safer than GET
because data sent is part of the URL because the parameters are
not stored in browser history or
Never use GET when sending in web server logs
passwords or other sensitive
information!

Visibility Data is visible to everyone in the URL Data is not displayed in the
URL

¿Qué otras peticiones existen?

PUT, PATCH, HEAD, DELETE, OPTIONS.

¿Qué status code de HTTP conoce?

Componentes de una petición http

Header y Body
Preguntas de ingeniería
¿Qué es un atributo de calidad?

Características no funcionales deseables en un sistema

¿Qué es escalabilidad?

Es la capacidad de un sistema para trabajar con diferentes cantidades de trabajo, como cambios
en el volumen de datos o flujo de pedidos.

¿Qué es mantenibilidad?

La facilidad de extender, modificar, y corregir errores del sistema

¿Qué es SOLID y cuáles son sus principios?

¿Qué es un patrón de diseño?

Preguntas de .Net

¿Qué es refactor?

¿Qué es linq?

(Language Integrated Query) is uniform query syntax in C# and VB.NET to


retrieve data from different sources and formats. It is integrated in C# or VB,
thereby eliminating the mismatch between programming languages and
databases, as well as providing a single querying interface for different types of
data sources.

Diferencias entre .net framework y .net core

Developers use the .NET framework to create Windows desktop applications and server based
applications. This includes ASP.NET web applications. .NET Core is used to create server
applications that run on Windows, Linux and Mac. It does not currently support creating desktop
applications with a user interface. Developers can write applications and libraries in VB.NET, C#
and F# in both runtimes.

¿Qué es assembly?

Assemblies form the fundamental units of deployment, version control, reuse, activation scoping,
and security permissions for .NET-based applications. An assembly is a collection of types and
resources that are built to work together and form a logical unit of functionality. Assemblies take
the form of executable (.exe) or dynamic link library (.dll) files, and are the building blocks of .NET
applications. They provide the common language runtime with the information it needs to be
aware of type implementations.
¿Qué es async await y cómo funciona?

¿Que son lambdas?

¿Que son objetos administrados y no administrados?

¿Cuáles son los componentes de .net?

Common language specification (CLS) defines how objects are implemented so they work
everywhere .NET works. CLS is a subset of Common Type System (CTS) — which sets a common
way to describe all types.

Framework class library (FCL) is a standard library that collects reusable classes, interfaces, and
value types.

Common language runtime (CLR) is the virtual machine that runs the framework and manages the
execution of .NET programs.

Tools such as Visual Studio to create standalone applications, interactive websites, web
applications and web services.

¿Qué es delegate?

Se almacena un método por referencia

¿Que son los extension methods?

Métodos que son extensibles a otros objetos. Este método debe tener como parámetro un objeto
del tipo que se va a modificar, este se reconoce con la palabra reservada this.

Diferencia de almacenar por valor y por referencia

¿Qué es un struct?

Es un objeto que se guarda por valor, generalmente es mejor que no se relacione y que este
objeto sea pequeño

¿Qué es CLR y CLI?

Events

Generics

Nullable Types

Dynamics

También podría gustarte