#TC201 #Topic2 #Topic3 #Topic11 What is abstraction, encapsulation, inheritance and polymorphism?

Abstraction means that we can have an idea or a concept that is completely separate from any specific instance, these means that an idea can be many objects and those objects have different attributes but at the same time it’s the same idea.

Encapsulation is used to reduce dependencies, so if you want to change something you can change it and it won’t affect other classes because it was encapsulated and it only affects that class.

Inheritance allows once class to be created based on the definition of another class, the new class inherits all the instance data and methods for the base class, this to reduce data redundancy

 

POST NOT FINISHED 

#TC201 #Topic2 #Topic3 #Topic11 What is abstraction, encapsulation, inheritance and polymorphism?

Abstraction means that we can have an idea or a concept that is completely separate from any specific instance, these means that an idea can be many objects and those objects have different attributes but at the same time it’s the same idea.

Encapsulation is used to reduce dependencies, so if you want to change something you can change it and it won’t affect other classes because it was encapsulated and it only affects that class.

Inheritance allows once class to be created based on the definition of another class, the new class inherits all the instance data and methods for the base class, this to reduce data redundancy

 

POST NOT FINISHED 

#TC201 #Topic2 #Topic3 #Topic11 What is abstraction, encapsulation, inheritance and polymorphism?

--Originally published at Venkon Programming

Abstraction means that we can have an idea or a concept that is completely separate from any specific instance, these means that an idea can be many objects and those objects have different attributes but at the same time it's the same idea.

Encapsulation is used to reduce dependencies, so if you want to change something you can change it and it won't affect other classes because it was encapsulated and it only affects that class.

Inheritance allows once class to be created based on the definition of another class, the new class inherits all the instance data and methods for the base class, this to reduce data redundancy

 

POST NOT FINISHED 

#TC201 #Topic1 What is an object, attribute and method?

--Originally published at Venkon Programming

An object is an instance of a class, but what is an instance, an instance indicates the relationship of an object to its class, and what is a class, a class is a blueprint which you use to create objects.

Attributes are also data members and properties of a class, they are variables declared inside class.

Methods perform operations on objects that already exist, methods must be declared to return something, although it can be void.

We can explain this with an example:

#TC201 #Topic1 What is an object, attribute and method?Sources:

ObjectAttribute and Method

#WSQ04 #Java #TC201 – Flipped Learning / #AbolishGrades

To begin with this WSQ i have to say that I already have a class with Ken that involve Flipped Learning, and I think this is the best way to learn, because this type of learning makes the students to know if they actually like what they are studying, in my case I like my career, because of my past class, so yes, it is awesome to have again this kind of class.

All students prefer this against some experience teacher talking and talking about something you actually not getting because maybe this teacher is talking that much that you don’t really get anything, because you’re focused on writting what he is saying.

Pros:

  • Helps kids who were absent, stay current.

  • Helps kids who don’t get the lesson the first time in class.

  • Good resource for teacher assistants or student support staff who may not know the curriculum or may not know what to focus on.

  • Can attach Google spreadsheets or other online quizzes to check for comprehension, along with the video link sent to students

Cons:

  • I have a long way to go in my skill set in making the videos interesting (they, to me anyway, are really boring to watch).

  • I’m not sure how much they (the videos) are being utilized. There are just certain items that are learned better through direct one on one contact.

  • I know as I’m teaching, I get direct feedback from my students by looking at their faces and gauging comprehension. I, as a teacher, don’t get that feedback as I’m designing and creating my videos.

Source from: Pros and Cons of Flipped Class

#WSQ04 #Java #TC201 – Flipped Learning / #AbolishGrades

--Originally published at Venkon Programming

To begin with this WSQ i have to say that I already have a class with Ken that involve Flipped Learning, and I think this is the best way to learn, because this type of learning makes the students to know if they actually like what they are studying, in my case I like my career, because of my past class, so yes, it is awesome to have again this kind of class.

All students prefer this against some experience teacher talking and talking about something you actually not getting because maybe this teacher is talking that much that you don't really get anything, because you're focused on writting what he is saying.

Pros:

  • Helps kids who were absent, stay current.

  • Helps kids who don't get the lesson the first time in class.

  • Good resource for teacher assistants or student support staff who may not know the curriculum or may not know what to focus on.

  • Can attach Google spreadsheets or other online quizzes to check for comprehension, along with the video link sent to students

Cons:

  • I have a long way to go in my skill set in making the videos interesting (they, to me anyway, are really boring to watch).

  • I’m not sure how much they (the videos) are being utilized. There are just certain items that are learned better through direct one on one contact.

  • I know as I'm teaching, I get direct feedback from my students by looking at their faces and gauging comprehension. I, as a teacher, don't get that feedback as I'm designing and creating my videos.

Source from: Pros and Cons of Flipped Class

#WSQ03 #Java #TC201 Object-Oriented Basics

--Originally published at Venkon Programming

In object oriented programming we approach a poll by trying first to decompose it into budget data types and of course another paradigm you end up defining in your code both, data types and access.

Static language: do type checking at compile time.

Dynamic language: do type checking at run time.

Class: a class is simply a definition other data type and it's class each data type is defined by the members which make it up, members come in two basic kinds fields and methods. is a collection of objects and it is a logical entity.

Fields: are the data members their the data which actually makes up the type

Method: is basically a function associated with that class, 

Object: is a piece of data, instance of a class and has states and behaviors. Any entity that has state and behavior is known as an object.  

Encapsulation: The idea of encapsulation is simply that the fields of an object an instance should only be read or written by method so that instance class. Binding code and data together into a single unit is known as encapsulation. For example: a capsule it is wrapped with different medicines. A java class is the example of encapsulation. Java bean is the fully encapsulated class because all the data members are private here.

Polymorphism: when one taks is performed by different ways. For example: to convense the customer differently, in java, we use a method overloading and method overriding to achieve polymorphism.

Inheritance: The idea of inheritance is simply that when one object acquires all the properties and behaviours of parent object, it provides code reusability and it is used to achieve runtime polymorphism.

Abstraction: Hiding details and showing functionality. For example: phone call, we don't know the internal processing. In java, we use abstract class and interface to achieve abstraction.

Constructor: Method which is run in order to set up an instance of classes. How he looks like is context dependent.

Interface: If there are different classes which are not related but share the same set of methods in common, interface can be created to form a bundle of methods which can be used by those classes.

 

Advantage of OOPs over Procedure-oriented programming language

1)OOPs makes development and maintenance easier where as in Procedure-oriented programming language it is not easy to manage if code grows as project size grows.

2)OOPs provides data hiding whereas in Procedure-oriented prgramming language a global data can be accessed from anywhere.

3)OOPs provides ability to simulate real-world event much more effectively. We can provide the solution of real word problem if we are using the Object-Oriented Programming language.

Sources where I learned all this concepts:

Java OOPs Concepts

Object-Oriented Programming

#WSQ05 #Java #TC201 – Project #FirstEntry

--Originally published at Venkon Programming

So our first idea of what are we going to work on is an Arcade that will be composed with two games that are Tic Tac Toe and Hangman, and if we finish this two games with a functional menu, we might work for the third one that will be a Ping Pong.

My team is composed by Gilberto Rogel, Oscar López, Itzel Cordero and me Luis Eduardo Vargas Victoria.

In our first entry we are trying to figure out how to make our menu functional.