100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Ensayo

Unit 15: Object Oriented Programming { P2 M2 }

Puntuación
-
Vendido
-
Páginas
2
Grado
A+
Subido en
26-02-2021
Escrito en
2020/2021

P2 demonstrate the use of object oriented tools and techniques M2 give reasons for the tools and techniques used in the production of an object oriented application

Institución
Grado








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Libro relacionado

Escuela, estudio y materia

Nivel de Estudio
Editores
Tema
Curso

Información del documento

Subido en
26 de febrero de 2021
Número de páginas
2
Escrito en
2020/2021
Tipo
Ensayo
Profesor(es)
Desconocido
Grado
A+

Temas

Vista previa del contenido

Tool and techniques
Tool and techniques, I have used in my program are:
Class Diagram
I have used class diagram because if it a useful diagram that allows me to create clear map
of structure such as understanding and planning. The components of my class diagram
consist of class and method. The classes of my program are person, prisoner, staff and
visitor. I used class diagram to express the methods in my class so it will be easy for me to
create my program and making sure I have lists everything.

Class
Class summarises the data and its behaviour. Objects with similar purpose and meaning
grouped together as class. I have created a person class because the prisoner, staff and
visitor have some same basic questions so by creating the person class, I do not have to
repeat the same questions again for every class.

Methods
Methods determine the action that an object can perform of a class. The statements of
method are executed when it called by program. I have used method to return certain text, it
allows string variable set as parameters of method. I have to specify an argument of the
method so it can be applied in the end of result.
Example of method I have used in the program are WriteLine (), this message is used to
display required message to the user on the output stream and ReadLine (), it will read an
input stream from the console window and return the input string when user presses the
Enter Key. I have also used Clear (), it is used to delete content of screen and Convert.Tont32,
it converts predefined class which is a part of system base class library as well as method will
be converted given value to int type data.

Data types
Data Types is the classifiers that define data values and type of logical operations or
mathematical can be applied. I have used an integer is a data type to classify whole numbers
and string is a data type user to classify a text. Data types is important as it store variables
to let the program know the type of data that each variable will hold. For example, in my
program I have stored Date of Birth as integras because it is a date and it can be written as
whole numbers.

Access modifiers
Access modifier is used to specify the scope accessibility of a member of a class. I have used
access modifiers because I wanted to define who can and who cannot access to a certain
information in my program. Public (+) modifier has no restrictions and can be accessed by all
classes. However, Private (-) modifier code can on be accessible within the same class and
Protected (#) modifier code can be accessible within the same class, or in a class that is
inherited from that class.
$8.26
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
jessykaur Staffordshire University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
31
Miembro desde
4 año
Número de seguidores
23
Documentos
36
Última venta
1 año hace

2.3

12 reseñas

5
2
4
0
3
2
2
3
1
5

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes