100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada
logo-home
BTEC LEVEL 3 - Unit 15 - Object Oriented Programming $14.45   Añadir al carrito

Ensayo

BTEC LEVEL 3 - Unit 15 - Object Oriented Programming

15 reseñas
 5959 vistas  43 veces vendidas
  • Grado
  • Institución
  • Book

P1, P2, P3, P4, P5, P6, M1, M2, M3, D1, D2

Última actualización de este documento: 6 año hace

Vista previa 3 fuera de 19  páginas

  • 15 de agosto de 2017
  • 18 de abril de 2018
  • 19
  • 2015/2016
  • Ensayo
  • Desconocido
  • Desconocido

15  reseñas

review-writer-avatar

Por: libraxu • 3 año hace

review-writer-avatar

Por: gavinchee22 • 4 año hace

review-writer-avatar

Por: empresstmt • 5 año hace

Although it was acceptable, I don't think it covered all areas in P3 and P4 and it would be good to see the assignment it was based on.

reply-writer-avatar

Por: xeon • 3 año hace

Hey, thanks for your review. The P3 and P4 was covered. I suppose it's mostly because how my teacher designed the assignment in which seemed like he didn't ask/want much information for p3 and p4 compared to the other sections. I don't have the original assignment, but it was based on getting the area of a circle if I recall correctly.

review-writer-avatar

Por: umarzgaming • 5 año hace

reply-writer-avatar

Por: xeon • 5 año hace

What was the issue with the work?

review-writer-avatar

Por: owenlang • 5 año hace

No where near enough information on the D1 and D2. All the pass marks are fine

reply-writer-avatar

Por: xeon • 5 año hace

What details are missing from the D1 and D2?

reply-writer-avatar

Por: owenlang • 5 año hace

It does not mention enough about the features and tools in D1 and neither of them go into any real depth. D1 should include: 1. What is a graphical application? 2. What are the built tools/techniques and features? 3. How good are they at building a graphical application? 4. How well can OOP deal with complex problems And much more.

reply-writer-avatar

Por: xeon • 5 año hace

In my coursework, I wasn't needed to define what a graphical application was. For P2 and M2 I was required to include tools and techniques which were used, and I did include them. I don't know what you are referring to as how good "they" are at building a graphical application. I did include how OOP is suitable for complex problems in my opinion.

reply-writer-avatar

Por: xeon • 5 año hace

Respuesta eliminada por el usuario

reply-writer-avatar

Por: xeon • 5 año hace

Had to make another reply since my previous reply ran out of characters. My lecturer had said he was fine with what I had written, and met the criterias. But I suppose it does depend on the lecturer marking your work. Had you asked your lecturer how much they expect you to write? or what level of detail they want you to include?

review-writer-avatar

Por: madani202020 • 5 año hace

review-writer-avatar

Por: prianpatel678 • 6 año hace

reply-writer-avatar

Por: xeon • 6 año hace

What was the issue with the work? Thanks.

Mostrar mas comentarios  
avatar-seller
UNIT 15
P1 – Features of OOP
Object
 An object is known as a ‘thing’ is used to relate actiitese The actiites which objects are used
perform decides the object behaiioure One example would be the foot is able to kick somethinge
In OOP (object oriented programming) an object is an instance of a classe
 For example:
 Box box1;
 Box Box2;

Classes

 A class represents a type of objecte It is a blueprint which will giie details of the objecte A class is
a blueprint in which indiiidual objects are madee Class contains: names, atributes, and
operatonse
 For example
 class box
 {
 };



Inheritance

 Inheritance is being able to make a new class from an already existng class by expanding on ite
Inheritance allows programmers to defne a class in terms of another class which makes it
simple to make and maintain applicatonse hich proiides the chance to reuse code
functonality and implement quuickere
 Example:
 class circle
 circle circle1

Encapsulation
 Encapsulaton is the additon in a program object requuired for a functon or objecte In OOP
encapsulaton is usually done by making classes, the classes show public methods and
propertese A class is a capsule which encapsulates methods, atributes and propertese To
proiide functons to other classese Encapsulaton also lets a class to change the internal
implementaton without damaging the oierall functon of the systeme
Example:
class rectangle {

,public:
double get area(ioid)
{
return length * height;
}
priiate:
double length
double height;
};


Polymorphism
 Polymorphism is a term which means being able to requuest same operatons by a range of types
or thingse In OOP polymorphisms is done by using diferent techniquues method, oierloading,
operator oierloading, and method oierridinge
 class shape {

 Public:

 Double height

 Double weight

 Double area

 };

 Class squuare: public shape

 Class rectangle: public shape

 Int main()

 {

 Squuare squuare2

 Squuare2eheight = 5e5

 Squuare2ewidth = 4e5

 area = squuare2eheight * squaure2ewidth

 rectangle2eheight = 3e5

 rectangle2ewidth = 6e5

 area = rectangle2eheight * rectangle2ewidth

 ]:

, Data abstraction

 Abstracton priorites the idea, quualites and propertes than partcularse The importance of
abstracton is depriied from abilites to hide irreleiant details from use of names to reference
objectse Abstracton is used to construct programse It priorites what an object is rather than
how the object is represented or how the object workse
 #include <iostream>
 using namespace std;
 Int main ( )
 {
 cout << “Hello MY NAME IS RAJ”<<endl;
 return 0;
 }




P2 - Demonstrate the use of object oriented tools and
techniques
Program 1 code:


#include "stdafx.h"
#include <iostream>

using namespace std;

int main()
{
int firstnumber, secondnumber, output;
cout << "Input first number:"";
cin >> firstnumber;
cout << "Input second number:"";
cin >> secondnumber;
cout << "What is the answer to this equation:" " << firstnumber << " + " <<
secondnumber << " ";
cin >> output;

if (output == firstnumber + secondnumber)
{
cout << "Answer is correct, Good job.";
system("pause");
}
else
{
cout << "Answer is incorrect, the correct answer was:" " << firstnumber +
secondnumber << "\n";
system("pause");
}
return 0;

Los beneficios de comprar resúmenes en Stuvia estan en línea:

Garantiza la calidad de los comentarios

Garantiza la calidad de los comentarios

Compradores de Stuvia evaluaron más de 700.000 resúmenes. Así estas seguro que compras los mejores documentos!

Compra fácil y rápido

Compra fácil y rápido

Puedes pagar rápidamente y en una vez con iDeal, tarjeta de crédito o con tu crédito de Stuvia. Sin tener que hacerte miembro.

Enfócate en lo más importante

Enfócate en lo más importante

Tus compañeros escriben los resúmenes. Por eso tienes la seguridad que tienes un resumen actual y confiable. Así llegas a la conclusión rapidamente!

Preguntas frecuentes

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

100% de satisfacción garantizada: ¿Cómo funciona?

Nuestra garantía de satisfacción le asegura que siempre encontrará un documento de estudio a tu medida. Tu rellenas un formulario y nuestro equipo de atención al cliente se encarga del resto.

Who am I buying this summary from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller xeon. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy this summary for $14.45. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

45,681 summaries were sold in the last 30 days

Founded in 2010, the go-to place to buy summaries for 14 years now

Empieza a vender
$14.45  43x  vendido
  • (15)
  Añadir