<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Engineering Tutorials &#187; Computer Science &amp; Engineering</title>
	<atom:link href="http://engineering.myindialist.com/category/engineering-syu/mdu-syllabus/computer-science-engineering/feed/" rel="self" type="application/rss+xml" />
	<link>http://engineering.myindialist.com</link>
	<description>All Types of Engineering Tutorials</description>
	<lastBuildDate>Thu, 15 Sep 2011 07:08:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MDU Syllabus &#124; F-Scheme &#124; CSE 214 F Internets Lab.</title>
		<link>http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/</link>
		<comments>http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 14:40:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computer Science & Engineering]]></category>
		<category><![CDATA[MDU Syllabus]]></category>
		<category><![CDATA[Syllabus]]></category>
		<category><![CDATA[CSE]]></category>
		<category><![CDATA[Engineering Syllabus]]></category>
		<category><![CDATA[mdu]]></category>
		<category><![CDATA[MDU F-Scheme]]></category>

		<guid isPermaLink="false">http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/' addthis:title='MDU Syllabus &#124; F-Scheme &#124; CSE 214 F Internets Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>CSE 214 F Internets Lab. Exercises involving: Sending and receiving mails. Chatting on the net. Using FTP and Tel net server. Using HTML Tags (table, form, image, anchor etc.). Making a Web page of your college using HTML tags. Note: At least 10 exercise to be given by the teacher concerned. Related posts: MDU Syllabus [...]<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/' addthis:title='MDU Syllabus &#124; F-Scheme &#124; CSE 214 F Internets Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>
Related posts:<ol>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-212-f-database-management-systems-lab/' rel='bookmark' title='MDU Syllabus | F-Scheme | CSE- 212 F Database Management Systems Lab'>MDU Syllabus | F-Scheme | CSE- 212 F Database Management Systems Lab</a></li>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-208-f-internet-fundamentals/' rel='bookmark' title='MDU Syllabus | F-Scheme | CSE-208 F Internet Fundamentals'>MDU Syllabus | F-Scheme | CSE-208 F Internet Fundamentals</a></li>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-201-f-pc-lab/' rel='bookmark' title='MDU Syllabus | F-Scheme | IT-201 F PC Lab.'>MDU Syllabus | F-Scheme | IT-201 F PC Lab.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/' addthis:title='MDU Syllabus | F-Scheme | CSE 214 F Internets Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p><b>CSE 214 F</b><b> </b><b>Internets Lab.</b></p>
<p><u>Exercises involving:</u></p>
<p>Sending and receiving mails.</p>
<p>Chatting on the net.</p>
<p>Using FTP and Tel net server.</p>
<p>Using HTML Tags (table, form, image, anchor etc.).</p>
<p>Making a Web page of your college using HTML tags.</p>
<p><b>Note: At least 10 exercise to be given by the teacher concerned.</b></p>
<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/' addthis:title='MDU Syllabus | F-Scheme | CSE 214 F Internets Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Related posts:<ol>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-212-f-database-management-systems-lab/' rel='bookmark' title='MDU Syllabus | F-Scheme | CSE- 212 F Database Management Systems Lab'>MDU Syllabus | F-Scheme | CSE- 212 F Database Management Systems Lab</a></li>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-208-f-internet-fundamentals/' rel='bookmark' title='MDU Syllabus | F-Scheme | CSE-208 F Internet Fundamentals'>MDU Syllabus | F-Scheme | CSE-208 F Internet Fundamentals</a></li>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-201-f-pc-lab/' rel='bookmark' title='MDU Syllabus | F-Scheme | IT-201 F PC Lab.'>MDU Syllabus | F-Scheme | IT-201 F PC Lab.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-214-f-internets-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MDU Syllabus &#124; F-Scheme &#124; IT-206 F C ++ Programming Lab.</title>
		<link>http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/</link>
		<comments>http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 14:39:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Computer Science & Engineering]]></category>
		<category><![CDATA[MDU Syllabus]]></category>
		<category><![CDATA[Syllabus]]></category>
		<category><![CDATA[CSE]]></category>
		<category><![CDATA[Engineering Syllabus]]></category>
		<category><![CDATA[mdu]]></category>
		<category><![CDATA[MDU F-Scheme]]></category>

		<guid isPermaLink="false">http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/</guid>
		<description><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/' addthis:title='MDU Syllabus &#124; F-Scheme &#124; IT-206 F C ++ Programming Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>IT-206 F C ++ Programming Lab. Q1. Raising a number n to a power p is the same as multiplying n by itself p times. Write a function called power ( ) that takes a double value for n and an int value for p, and returns the result as double value. Use a default [...]<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/' addthis:title='MDU Syllabus &#124; F-Scheme &#124; IT-206 F C ++ Programming Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div>
Related posts:<ol>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-205-f-data-structures-using-c-lab/' rel='bookmark' title='MDU Syllabus | F-Scheme | CSE-205 F Data Structures using &lsquo;C&rsquo; Lab.'>MDU Syllabus | F-Scheme | CSE-205 F Data Structures using &lsquo;C&rsquo; Lab.</a></li>
<li><a href='http://engineering.myindialist.com/2009/cse-409-e-visual-programming-lab/' rel='bookmark' title='CSE-409 E Visual Programming Lab.'>CSE-409 E Visual Programming Lab.</a></li>
<li><a href='http://engineering.myindialist.com/2009/cse-205-e-data-structures-algorithms-lab/' rel='bookmark' title='CSE-205 E Data Structures &amp; Algorithms Lab.'>CSE-205 E Data Structures &amp; Algorithms Lab.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/' addthis:title='MDU Syllabus | F-Scheme | IT-206 F C ++ Programming Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p><b>IT-206 F</b><b> </b><b>C ++ Programming Lab.</b></p>
<p>Q1. Raising a number n to a power p is the same as multiplying n by itself p times. Write a function called power ( ) that takes a double value for n and an int value for p, and returns the result as double value. Use a default argument of 2 for p, so that if this argument is omitted, the number will be squared. Write a main ( ) function that gets values from the user to test this function.</p>
<p>Q2. A point on the two dimensional plane can be represented by two numbers: an X coordinate and a Y coordinate. For example, (4,5) represents a point 4 units to the right of the origin along the X axis and 5 units up the Y axis. The sum of two points can be defined as a new point whose X coordinate is the sum of the X coordinates of the points and whose Y coordinate is the sum of their Y coordinates.</p>
<p>W rite a program that uses a structure called point to model a point. Define three points, and</p>
<p>have the user input values to two of them. Than set the third point equal to the sum of the other two, and display the value of the new point. Interaction with the program might look like this:</p>
<p>Enter coordinates for P1: 3 4</p>
<p>Enter coordinates for P2: 5 7</p>
<p>Coordinates of P1 + P2 are : 8, 11 Q 3. Create the equivalent of a four function calculator. The program should request the user to enter a number, an operator, and another number. It should then carry out the specified arithmetical operation: adding, subtracting, multiplying, or dividing the two numbers. (It should use a switch statement to select the operation). Finally it should display the result. When it finishes the calculation, the program should ask if the user wants to do another calculation. The response can be ‘Y’ or ‘N’. Some sample interaction with the program might look like this.</p>
<p>Enter first number, operator, second number: 10/ 3 Answer = 3.333333</p>
<p>Do another (Y/ N)? Y</p>
<p>Enter first number, operator, second number 12 + 100</p>
<p>Answer = 112</p>
<p>Do another (Y/ N) ? N Q4. A phone number, such as (212) 767-8900, can be thought of as having three parts: the area code (212), the exchange (767) and the number (8900). Write a program that uses a structure to store these three parts of a phone number separately. Call the structure phone.</p>
<p>Create two structure variables of type phone. Initialize one, and have the user input a number</p>
<p>for the other one. Then display both numbers. The interchange might look like this:</p>
<p>Enter your area code, exchange, and number: 415 555 1212</p>
<p>My number is (212) 767-8900</p>
<p>Your number is (415) 555-1212</p>
</p>
<p> <span id="more-1489"></span>
<p>Q 5. Create two classes DM and DB which store the value of distances. DM stores distances in metres and centimeters and DB in feet and inches. Write a program that can read values fortheclass objects and add one object of DM with another object of DB.</p>
<p>Use a friend function to carry out the addition operation. The object that stores the results maybe a DM object or DB object, depending on the units in which the results are required.</p>
<p>The display should be in the format of feet and inches or metres and cenitmetres depending on the object on display.</p>
<p>Q 6. Create a class rational which represents a numerical value by two double values-   <br />NUMERATOR &amp; DENOMINATOR. Include the following public member Functions:</p>
<p>• constructor with no arguments (default).<b></b></p>
<p>• constructor with two arguments.<b></b></p>
<p>• void reduce( ) that reduces the rational number by eliminating the highest common factor between the numerator and denominator.<b></b></p>
<p>• Overload + operator to add two rational number.<b></b></p>
<p>• Overload &gt;&gt; operator to enable input through cin.<b></b></p>
<p>• Overload &lt;&lt; operator to enable output through cout.<b></b></p>
<p>• Write a main ( ) to test all the functions in the class.<b></b></p>
<p>Q 7. Consider the following class definition class father { protected : int age; public;</p>
<p>father (int x) {age = x;}</p>
<p>virtual void iam ( )</p>
<p>{ cout &lt; &lt; “I AM THE FATHER, my age is : ”&lt;&lt; age&lt;&lt; end1:} };</p>
<p>Derive the two classes son and daughter from the above class and for each, define iam ( ) to write</p>
<p>our similar but appropriate messages. You should also define suitable constructors for these classes.</p>
<p>Now, write a main ( ) that creates objects of the three classes and then calls iam ( ) for them. Declare pointer to father. Successively, assign addresses of objects of the two derived classes to this pointer and in each case, call iam ( ) through the pointer to demonstrate polymorphism in action. Q 8. Write a program that creates a binary file by reading the data for the students from the terminal.</p>
<p>The data of each student consist of roll no., name ( a string of 30 or lesser no. of   <br />characters) and marks.</p>
<p>Q9. A hospital wants to create a database regarding its indoor patients. The information to</p>
<p>store include</p>
<p>a) Name of the patient</p>
<p>b) Date of admission</p>
<p>c) Disease</p>
<p>d) Date of discharge</p>
<p>Create a structure to store the date (year, month and date as its members). Create a base class to store the above information. The member function should include functions to enter information and display a list of all the patients in the database. Create a derived class to store the age of the patients. List the information about all the to store the age of the patients. List the information about all the pediatric patients (less than twelve years in age).</p>
<p>Q 10. Make a class <b>Employee </b>with a name and salary. Make a class <b>Manager </b>inherit from    <br /><b>Employee</b>. Add an instance variable, named department, of type string. Supply a method    <br />to <b>toString </b>that prints the manager’s name, department and salary. Make a class</p>
<p><b>Executive </b>inherit from <b>Manager</b>. Supply a method <b>to String </b>that prints the string</p>
<p><b>“Executive” </b>followed by the information stored in the <b>Manager </b>superclass object. Supply a test program that tests these classes and methods.</p>
<p>Q11. Imagine a tollbooth with a class called toll Booth. The two data items are a type   <br />unsigned int to hold the total number of cars, and a type double to hold the total</p>
<p>amount of money collected. A constructor initializes both these to 0. A member</p>
<p>function called payingCar ( ) increments the car total and adds 0.50 to the cash total. Another   <br />function, called nopayCar ( ), increments the car total but adds nothing to the cash</p>
<p>total. Finally, a member function called displays the two totals.</p>
<p>Include a program to test this class. This program should allow the user to push one key to</p>
<p>count a paying car, and another to count a nonpaying car. Pushing the ESC kay should cause the program to print out the total cars and total cash and then exit.</p>
<p>Q12. Write a function called reversit ( ) that reverses a string (an array of char). Use a for   <br />loop that swaps the first and last characters, then the second and next to last characters</p>
<p>and so on. The string should be passed to reversit ( ) as an argument.</p>
<p>Write a program to exercise reversit ( ). The program should get a string from the user, call reversit ( ), and print out the result. Use an input method that allows embedded blanks. Test</p>
<p>the program with Napoleon’s famous phrase, “Able was I ere I saw Elba)”.</p>
<p>Q13. Create some objects of the string class, and put them in a Deque-some at the head of   <br />the Deque and some at the tail. Display the contents of the Deque using the forEach ( )    <br />function and a user written display function. Then search the Deque for a particular string,    <br />using the first That ( ) function and display any strings that match. Finally remove all the    <br />items from the Deque using the getLeft ( ) function and display each item. Notice the order    <br />in which the items are displayed: Using getLeft ( ), those inserted on the left (head) of the    <br />Deque are removed in “last in first out” order while those put on the right side are</p>
<p>removed in “first in first out” order. The opposite would be true if getRight ( ) were used.</p>
<p>Q 14. Create a base class called shape. Use this class to store two double type values that   <br />could be used to compute the area of figures. Derive two specific</p>
<p>classes called triangle and rectangle from the base shape. Add to the base</p>
<p>class, a member function get_data ( ) to initialize base class data</p>
<p>members and another member function display_area ( ) to compute and display the</p>
<p>area of figures. Make display_area ( ) as a virtual function and redefine this   <br />function in the derived classes to suit their requirements.</p>
<p>Using these three classes, design a program that will accept dimensions of a triangle or a rectangle interactively and display the area.</p>
<p>Remember the two values given as input will be treated as lengths of two sides in the case of   <br />rectangles and as base and height in the case of triangles and used as follows:    <br />Area of rectangle = x * y    <br />Area of triangle = ½ * x * y</p>
<div class="addthis_toolbox addthis_default_style" addthis:url='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/' addthis:title='MDU Syllabus | F-Scheme | IT-206 F C ++ Programming Lab. ' ><a class="addthis_button_google_plusone" g:plusone:size="medium" ></a><a class="addthis_counter addthis_pill_style"></a></div><p>Related posts:<ol>
<li><a href='http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-cse-205-f-data-structures-using-c-lab/' rel='bookmark' title='MDU Syllabus | F-Scheme | CSE-205 F Data Structures using &lsquo;C&rsquo; Lab.'>MDU Syllabus | F-Scheme | CSE-205 F Data Structures using &lsquo;C&rsquo; Lab.</a></li>
<li><a href='http://engineering.myindialist.com/2009/cse-409-e-visual-programming-lab/' rel='bookmark' title='CSE-409 E Visual Programming Lab.'>CSE-409 E Visual Programming Lab.</a></li>
<li><a href='http://engineering.myindialist.com/2009/cse-205-e-data-structures-algorithms-lab/' rel='bookmark' title='CSE-205 E Data Structures &amp; Algorithms Lab.'>CSE-205 E Data Structures &amp; Algorithms Lab.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://engineering.myindialist.com/2010/mdu-syllabus-f-scheme-it-206-f-c-programming-lab/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

