Assignment No. 01
Total Marks: 20
Due Date: 10 /11/2016
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:
Note: All types of plagiarism are strictly prohibited.
For any query about the assignment, contact at CS304@vu.edu.pk
The objective of this assignment is:
For any query about the assignment, contact at email@example.com
The galaxy is composed of the stars, satellite and planets etc. In earth’s home galaxy, the solar system is comprised of sun (average star) and objects that orbits around it. Following are the 8 largest objects (planets):
The first four planets are called inner planets while the remaining four are outer planets. All planets revolve around the Sun and Satellites revolve around the planet.
The tasks you have to do are:
Note: You can use any drawing tool such as MS Visio, MS Paint or online drawing tool etc. but you have to paste your diagram in MS Word (.doc) file and submit this file on LMS. Images submitted as solution files will not be accepted.
Lectures Covered: This assignment covers Lecture # 1-6
Deadline: Your assignment must be uploaded/submitted at or before November,10, 2016
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.
what kind of model we will make ??and how??
sir kr le theee but kisi ko dekhna tha kese bolte han
help me this assignment ..........?
koi tu upload kry plz....
assalam u alikum. its easy but how to make this on computer plz guide me sir
mil jati hai
please send the functions and attributes of objects
yaar koi to idea o
A.o.A please send any idea to solve this assignment please
Class :This is a programmer-defined data type, which includes local functions as well as local data. You can think of a class as a template for making many instances of the same kind (or class) of object.
Object An individual instance of the data structure defined by a class. You define a class once and then make many objects that belong to it. Objects are also known as instance.
Classes and objects are separate but related concepts. Every object belongs to a class and every class contains one or more related objects.
So what exactly are classes and objects and what is the difference between them?
A Class is static. All of the attributes of a class are fixed before, during, and after the execution of a program. The attributes of a class don't change.
The class to which an object belongs is also (usually) static. If a particular object belongs to a certain class at the time that it is created then it almost certainly will still belong to that class right up until the time that it is destroyed.
An Object on the other hand has a limited lifespan. Objects are created and eventually destroyed. Also during that lifetime, the attributes of the object may undergo significant change.
A class is the core of any modern Object Oriented Programming language Class is a blueprint of an object that contains variables for storing data and functions to performing operations on these data.
Objects are the basic run-time entities in an object oriented system.They may represent a person,a place or any item that the program has to handle.
"Object is a Software bundle of related variable and methods. "
“Object is an instance of a class”
what are data member and functions
Instance of Object
An instance is an object in memory. Basically you create object and instantiate them when you are using them.
Instance: instance means just creating a reference (copy)