<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS441 Assignment 2 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/714/cs441-assignment-2-solution-and-discussion">CS441 Assignment 2 Solution and Discussion</a></p>
<pre><code>Assignment No. 02
</code></pre>
<p dir="auto">SEMESTER Spring 2020<br />
CS441- Big Data Concepts	<br />
Total Marks: 20</p>
<p dir="auto">Due Date: 18/06/2020</p>
<p dir="auto">Please read the following instructions carefully before submitting assignment:<br />
It should be clear that your assignment will not get any credit if:</p>
<p dir="auto">o	Assignment is submitted after due date.<br />
o	Submitted assignment does not open or file is corrupt.<br />
o	Assignment is copied (From internet/students).</p>
<p dir="auto">Software allowed to develop Assignment</p>
<ul>
<li>Python editor</li>
</ul>
<p dir="auto">Objectives:<br />
To enable students to write, execute a program in Python. Moreover to familiarize students with  the concepts of:</p>
<p dir="auto">•	Classes and objects<br />
•	Constructor<br />
•	Object declaration<br />
•	Methods/functions calling</p>
<p dir="auto">Assignment Submission Instructions<br />
You have to submit <a href="http://only.py" target="_blank" rel="noopener noreferrer nofollow ugc">only.py</a> file on the Assignments interface of CS441 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.</p>
<p dir="auto">Lectures Covered: This assignment covers Weeks # 03 - 05<br />
Deadline<br />
Your assignment must be uploaded/submitted on or before 18/06/2020.</p>
<p dir="auto">Question statement:</p>
<p dir="auto">Write a Python program that will create a class named Employee.</p>
<p dir="auto">This class will have 4 data members:</p>
<ol>
<li>ID</li>
<li>Name</li>
<li>Address</li>
<li>Designation</li>
</ol>
<p dir="auto">The Employee class will have the following setter functions:</p>
<p dir="auto">setID(), which takes a single parameter of appropriate data type<br />
setName (), which takes a single parameter  of appropriate data type<br />
setAddress(), which takes a single parameter of appropriate data type<br />
setDesignation(), which takes a single parameter of appropriate data type</p>
<p dir="auto">The Employee class will have the following getter functions:<br />
getID()<br />
getName()<br />
getAddress()<br />
getDesignation()</p>
<p dir="auto">You are required to write a default constructor for this class.</p>
<p dir="auto">In the default constructor, you will initialize all the data members with the its default values. The message “Default constructor called” should be displayed whenever an object is created with the default constructor.</p>
<p dir="auto">Now, create an object by using the default constructor and display the values of data members through calling getters functions.</p>
<p dir="auto">Then set the values of the data members by calling the setters functions and then display its values by calling getters functions.</p>
<p dir="auto">Sample Output:<br />
<img src="https://i.imgur.com/JFfMC4w.png" alt="ede5c023-3492-4a31-960f-3f69faf84ff8-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">To solve this assignment, you need to install latest Python compiler or you can run (check) your code through online compiler at the following link:</p>
<p dir="auto"><a href="https://www.onlinegdb.com/online_python_compiler" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.onlinegdb.com/online_python_compiler</a><br />
=====================================Ended=======================================</p>
<p dir="auto">For any query about the assignment, contact at <a href="mailto:CS441@vu.edu.pk" target="_blank" rel="noopener noreferrer nofollow ugc">CS441@vu.edu.pk</a></p>
<p dir="auto">GOOD LUCK</p>
]]></description><link>https://community.secnto.com//topic/1952/cs441-assignment-2-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:04:44 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/1952.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jun 2020 07:29:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS441 Assignment 2 Solution and Discussion on Fri, 19 Jun 2020 07:29:37 GMT]]></title><description><![CDATA[<p dir="auto">Pease star idea solution</p>
]]></description><link>https://community.secnto.com//post/5481</link><guid isPermaLink="true">https://community.secnto.com//post/5481</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Fri, 19 Jun 2020 07:29:37 GMT</pubDate></item></channel></rss>