<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[VU Help - Current paper 2011]]></title>
		<link>https://staging.vuhelp.net/</link>
		<description><![CDATA[VU Help - https://staging.vuhelp.net]]></description>
		<pubDate>Sat, 24 Oct 2026 15:25:48 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[BNK603 Consumer Banking Mid Term Papers Fall Semester 2012]]></title>
			<link>https://staging.vuhelp.net/Thread-BNK603-Consumer-Banking-Mid-Term-Papers-Fall-Semester-2012</link>
			<pubDate>Sat, 24 Nov 2012 06:28:52 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-BNK603-Consumer-Banking-Mid-Term-Papers-Fall-Semester-2012</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b"><br />
<br />
<br />
BNK603 Consumer Banking Mid Term Papers Fall Semester 2012 <br />
<br />
All latest papers of midterm fall 2011 month of May<br />
<br />
PAPER#1<br />
<br />
Total=27 q<br />
MCQ=22<br />
3 marks question=3<br />
5 marks question=5<br />
Q1): what type of risk and implication are associated to growth of<br />
customer finance? (3)<br />
Q2): why consumer say that info disclosure practices are poor in bank?(3)<br />
Q3): what is difference between doorstep delivery and point of sale delivery?(3)<br />
Q4): What is CFC? (5)<br />
Q5): money laundering? (5)<br />
<br />
PAPER#2<br />
<br />
<br />
Total 27 Questions....22 mcqz and subjective is below<br />
<br />
<br />
Question No: 23 ( Marks: 3 )<br />
How the banker will ensure the reliability of the person not introduced by the branch employee of the bank?<br />
<br />
Question No: 24 ( Marks: 3 )<br />
Discuss the relationship-based approach for high-potential clients.<br />
<br />
Question No: 25 ( Marks: 3 )<br />
What is the difference between point of sale and doorstep delivery?<br />
<br />
Question No: 26 ( Marks: 5 )<br />
From a consumer’s point of view, why high interest rate spread and variable interest rate are important issues in consumer financing? (Marks=2.5+2.5)<br />
<br />
<br />
Question No: 27 ( Marks: 5 )<br />
What challenges did the financial companies face at the time of entry into consumer finance?<br />
<br />
<br />
<br />
<br />

<br />
<img src="https://staging.vuhelp.net/images/attachtypes/doc.png" title="Microsoft Word Document" border="0" alt=".doc" />
&nbsp;&nbsp;<a href="attachment.php?aid=6212" target="_blank" title="">BNK603.doc</a> (Size: 24.5 KB / Downloads: 176)
<br />
</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b"><br />
<br />
<br />
BNK603 Consumer Banking Mid Term Papers Fall Semester 2012 <br />
<br />
All latest papers of midterm fall 2011 month of May<br />
<br />
PAPER#1<br />
<br />
Total=27 q<br />
MCQ=22<br />
3 marks question=3<br />
5 marks question=5<br />
Q1): what type of risk and implication are associated to growth of<br />
customer finance? (3)<br />
Q2): why consumer say that info disclosure practices are poor in bank?(3)<br />
Q3): what is difference between doorstep delivery and point of sale delivery?(3)<br />
Q4): What is CFC? (5)<br />
Q5): money laundering? (5)<br />
<br />
PAPER#2<br />
<br />
<br />
Total 27 Questions....22 mcqz and subjective is below<br />
<br />
<br />
Question No: 23 ( Marks: 3 )<br />
How the banker will ensure the reliability of the person not introduced by the branch employee of the bank?<br />
<br />
Question No: 24 ( Marks: 3 )<br />
Discuss the relationship-based approach for high-potential clients.<br />
<br />
Question No: 25 ( Marks: 3 )<br />
What is the difference between point of sale and doorstep delivery?<br />
<br />
Question No: 26 ( Marks: 5 )<br />
From a consumer’s point of view, why high interest rate spread and variable interest rate are important issues in consumer financing? (Marks=2.5+2.5)<br />
<br />
<br />
Question No: 27 ( Marks: 5 )<br />
What challenges did the financial companies face at the time of entry into consumer finance?<br />
<br />
<br />
<br />
<br />

<br />
<img src="https://staging.vuhelp.net/images/attachtypes/doc.png" title="Microsoft Word Document" border="0" alt=".doc" />
&nbsp;&nbsp;<a href="attachment.php?aid=6212" target="_blank" title="">BNK603.doc</a> (Size: 24.5 KB / Downloads: 176)
<br />
</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[cs401 midterm paper november2011]]></title>
			<link>https://staging.vuhelp.net/Thread-cs401-midterm-paper-november2011</link>
			<pubDate>Tue, 29 Nov 2011 07:02:13 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=12789">thewaqasyaqoob</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-cs401-midterm-paper-november2011</guid>
			<description><![CDATA[question no 1:LES and LDS Instructions  5 marks<br />
question no 2:ak program bananah tha jo pshedo code yeah tha  5 marks.<br />
if<br />
(bl&gt;al) and (bl&gt;cl)<br />
{<br />
<br />
AX=0<br />
<br />
}<br />
mcqs mostly news thay .]]></description>
			<content:encoded><![CDATA[question no 1:LES and LDS Instructions  5 marks<br />
question no 2:ak program bananah tha jo pshedo code yeah tha  5 marks.<br />
if<br />
(bl&gt;al) and (bl&gt;cl)<br />
{<br />
<br />
AX=0<br />
<br />
}<br />
mcqs mostly news thay .]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[ACC501 Midterm subjective paper shared by student 26th Noivember, 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-ACC501-Midterm-subjective-paper-shared-by-student-26th-Noivember-2011</link>
			<pubDate>Sat, 26 Nov 2011 08:46:35 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=0">Xpert</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-ACC501-Midterm-subjective-paper-shared-by-student-26th-Noivember-2011</guid>
			<description><![CDATA[<span style="font-size: 4pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="http://vuhelp.net/vu-midterm/16864-acc501-solved-mcqs-mega-file-midterm-final-term-fall-2011-a.html" target="_blank" rel="noopener" class="mycode_url">ACC501 MCQ's MEGA File for midterm</a><br />
Q1.</span></span><span style="font-weight: bold;" class="mycode_b"> <br />
<br />
Miss naila is going to chose an annuity with cash flow of Rs 12,000 for cash of 5 year. <br />
accuming that interest pay mein occur at the begining of each year and miss nalia can earn 12% on her investment. <br />
what will be the future value of the annuity after 5 year????<br />
<br />
<br />
<span style="font-size: 4pt;" class="mycode_size">Q2</span><br />
<br />
How can we calculate yield to maturity for a bond???<br />
<br />
<br />
<span style="font-size: 4pt;" class="mycode_size">Q3</span><br />
<br />
what is the difference between ordinary annuity and annuity due???</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">1: dividend payout and retention ratio and their relationship<br />
2: calculation of real interest rate when nominal rate and inflation was given.<br />
3: how we calculate the yield to maturity of a bond<br />
4:FV calculation ? when principal was 12000 and 9% interest rate four years investment period.</span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">Premium bond, discount bond &amp; par value of bond (3)</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">Why Ordinary annuity is less than annuity due (3)</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">What is dividend pay out ratio &amp; Retention ratio and what is relation between them? (5)</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">What are the basics about Bond Pricing Theorem? (5)</span></span></span><br />
<div style="text-align: left;" class="mycode_align"><span style="color: #000000;" class="mycode_color"><br />
</span></div>]]></description>
			<content:encoded><![CDATA[<span style="font-size: 4pt;" class="mycode_size"><span style="font-weight: bold;" class="mycode_b"><a href="http://vuhelp.net/vu-midterm/16864-acc501-solved-mcqs-mega-file-midterm-final-term-fall-2011-a.html" target="_blank" rel="noopener" class="mycode_url">ACC501 MCQ's MEGA File for midterm</a><br />
Q1.</span></span><span style="font-weight: bold;" class="mycode_b"> <br />
<br />
Miss naila is going to chose an annuity with cash flow of Rs 12,000 for cash of 5 year. <br />
accuming that interest pay mein occur at the begining of each year and miss nalia can earn 12% on her investment. <br />
what will be the future value of the annuity after 5 year????<br />
<br />
<br />
<span style="font-size: 4pt;" class="mycode_size">Q2</span><br />
<br />
How can we calculate yield to maturity for a bond???<br />
<br />
<br />
<span style="font-size: 4pt;" class="mycode_size">Q3</span><br />
<br />
what is the difference between ordinary annuity and annuity due???</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">1: dividend payout and retention ratio and their relationship<br />
2: calculation of real interest rate when nominal rate and inflation was given.<br />
3: how we calculate the yield to maturity of a bond<br />
4:FV calculation ? when principal was 12000 and 9% interest rate four years investment period.</span><br />
<span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">Premium bond, discount bond &amp; par value of bond (3)</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">Why Ordinary annuity is less than annuity due (3)</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">What is dividend pay out ratio &amp; Retention ratio and what is relation between them? (5)</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b"><span style="font-size: 3pt;" class="mycode_size"><span style="color: Black;" class="mycode_color">What are the basics about Bond Pricing Theorem? (5)</span></span></span><br />
<div style="text-align: left;" class="mycode_align"><span style="color: #000000;" class="mycode_color"><br />
</span></div>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[eng201 midterm paper subjective 26th November, 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-eng201-midterm-paper-subjective-26th-November-2011</link>
			<pubDate>Sat, 26 Nov 2011 08:36:11 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=0">Xpert</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-eng201-midterm-paper-subjective-26th-November-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">There was total 17 Questions out of which 10 was MCQs and rest of all was subjective<br />
Total Question 17<br />
MCQ's 10<br />
Short Ques (2) 2<br />
Short Ques (3) 2<br />
Long Ques (5) 3<br />
<br />
Q1: Define "Disability bias"? (2)<br />
Briefly describe Random List (2)<br />
what steps are involve in writing reports? marks (3)<br />
4. What are the characteristics of a good opening of a report?<br />
What is Coherence and why it is important?(5)<br />
what is biased language give examples?(5)</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">There was total 17 Questions out of which 10 was MCQs and rest of all was subjective<br />
Total Question 17<br />
MCQ's 10<br />
Short Ques (2) 2<br />
Short Ques (3) 2<br />
Long Ques (5) 3<br />
<br />
Q1: Define "Disability bias"? (2)<br />
Briefly describe Random List (2)<br />
what steps are involve in writing reports? marks (3)<br />
4. What are the characteristics of a good opening of a report?<br />
What is Coherence and why it is important?(5)<br />
what is biased language give examples?(5)</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[cs403 database management midterm  current paper of fall 2011 on 26th November]]></title>
			<link>https://staging.vuhelp.net/Thread-cs403-database-management-midterm-current-paper-of-fall-2011-on-26th-November</link>
			<pubDate>Sat, 26 Nov 2011 08:35:05 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=0">Xpert</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-cs403-database-management-midterm-current-paper-of-fall-2011-on-26th-November</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Jasmine:</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.1                                            (6 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">There is a relation from “Property Rental system.” is as under.</span><br />
 <br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Property-info</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Property-ID</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Owner-ID</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Property-Address</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Rental-Demanded</span><br />
</li>
</ol>
 <span style="font-weight: bold;" class="mycode_b">You have required changing the higher form of NF in to NF another form, if 1NF convert in to 2NF.</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.2                                            (6 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">Draw an ERD of “Patient Management System”</span><br />
 <span style="font-weight: bold;" class="mycode_b">The entities are:</span><br />
 <br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Patient</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Doctor</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Bed</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Outdoor patient</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Admitted Patient</span><br />
</li>
</ol>
 <span style="font-weight: bold;" class="mycode_b">Question.3                                            (3 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">If we map a unary relationship into relationship and ERD has one to one cardinality then what would be the mapping producer?</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.4                                            (3 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">Make relation b/w two tables with foreign key? With example.</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.5                                            (2 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">If we have two entities make it one to one relationship?</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.6                                            (2 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">Define main functionality of subtype discriminator?</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b"><span style="font-style: italic;" class="mycode_i"><span style="text-decoration: underline;" class="mycode_u">Jasmine:</span></span></span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.1                                            (6 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">There is a relation from “Property Rental system.” is as under.</span><br />
 <br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Property-info</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Property-ID</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Owner-ID</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Property-Address</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Rental-Demanded</span><br />
</li>
</ol>
 <span style="font-weight: bold;" class="mycode_b">You have required changing the higher form of NF in to NF another form, if 1NF convert in to 2NF.</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.2                                            (6 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">Draw an ERD of “Patient Management System”</span><br />
 <span style="font-weight: bold;" class="mycode_b">The entities are:</span><br />
 <br />
<ol type="1" class="mycode_list"><li><span style="font-weight: bold;" class="mycode_b">Patient</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Doctor</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Bed</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Outdoor patient</span><br />
</li>
<li><span style="font-weight: bold;" class="mycode_b">Admitted Patient</span><br />
</li>
</ol>
 <span style="font-weight: bold;" class="mycode_b">Question.3                                            (3 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">If we map a unary relationship into relationship and ERD has one to one cardinality then what would be the mapping producer?</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.4                                            (3 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">Make relation b/w two tables with foreign key? With example.</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.5                                            (2 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">If we have two entities make it one to one relationship?</span><br />
 <span style="font-weight: bold;" class="mycode_b">Question.6                                            (2 marks)</span><br />
 <span style="font-weight: bold;" class="mycode_b">Define main functionality of subtype discriminator?</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CS507 mid term  exam of today fall november 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-CS507-mid-term-exam-of-today-fall-november-2011</link>
			<pubDate>Sat, 26 Nov 2011 05:23:21 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-CS507-mid-term-exam-of-today-fall-november-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Total Marks           =38<br />
Total Question=     =23<br />
MCQS =                 16<br />
Subjective 2 marks = 3<br />
Subjective 3 marks = 2<br />
Subjective 5 marks = 2 <br />
 <br />
Write the department names of an educational organization (University/)                  (2)<br />
How would you differentiate the term architechture and information architechture?     (2)<br />
What are the task performed by CRM ?                                                                 (2)<br />
 <br />
What is the term "iterative" means in Spiral model?                                                (3)<br />
What would be the document of software project which is developed under the<br />
procedural development phase?                                                                             (3)<br />
 <br />
The difference between incremental model and iterative model with one exmple?        (5)<br />
 <br />
The benefits of HRIS (Human Resources Information System) of an orgnization          (5)<br />
 </span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Total Marks           =38<br />
Total Question=     =23<br />
MCQS =                 16<br />
Subjective 2 marks = 3<br />
Subjective 3 marks = 2<br />
Subjective 5 marks = 2 <br />
 <br />
Write the department names of an educational organization (University/)                  (2)<br />
How would you differentiate the term architechture and information architechture?     (2)<br />
What are the task performed by CRM ?                                                                 (2)<br />
 <br />
What is the term "iterative" means in Spiral model?                                                (3)<br />
What would be the document of software project which is developed under the<br />
procedural development phase?                                                                             (3)<br />
 <br />
The difference between incremental model and iterative model with one exmple?        (5)<br />
 <br />
The benefits of HRIS (Human Resources Information System) of an orgnization          (5)<br />
 </span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[eco401 mid term today current paper fall november 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-eco401-mid-term-today-current-paper-fall-november-2011</link>
			<pubDate>Sat, 26 Nov 2011 05:21:17 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-eco401-mid-term-today-current-paper-fall-november-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Q:1<br />
why monopolists produce lower quantities at higher prices compared to perfectly competative firms?<br />
<br />
<br />
<br />
Q:2<br />
 draw indefference curve for two commodities apples and oranges.<br />
<br />
<br />
Q:3<br />
(A)<br />
<br />
why a marginal revenue  and price are equal under perfect competition <br />
<br />
(B) <br />
<br />
from information given below <br />
TR=25Q-Q2<br />
<br />
calculate marginal revenue and the slop of marginal.<br />
<br />
Q:4<br />
<br />
If a consumer facing some budget constraint and having many indifference curves then what will be the optimum point where he can maximize his utility?<br />
<br />
also draw the diagram.</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Q:1<br />
why monopolists produce lower quantities at higher prices compared to perfectly competative firms?<br />
<br />
<br />
<br />
Q:2<br />
 draw indefference curve for two commodities apples and oranges.<br />
<br />
<br />
Q:3<br />
(A)<br />
<br />
why a marginal revenue  and price are equal under perfect competition <br />
<br />
(B) <br />
<br />
from information given below <br />
TR=25Q-Q2<br />
<br />
calculate marginal revenue and the slop of marginal.<br />
<br />
Q:4<br />
<br />
If a consumer facing some budget constraint and having many indifference curves then what will be the optimum point where he can maximize his utility?<br />
<br />
also draw the diagram.</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[acc501 mid term current solve paper fall November  2011]]></title>
			<link>https://staging.vuhelp.net/Thread-acc501-mid-term-current-solve-paper-fall-November-2011</link>
			<pubDate>Sat, 26 Nov 2011 05:08:50 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-acc501-mid-term-current-solve-paper-fall-November-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">acc501 mid term current solve paper fall November  2011 for full solve papers see attachment </span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Question No: 1 ( Marks: 1 ) - Please choose one<br />
A major disadvantage of the corporate form of organization is the ______________.<br />
&#9658;<br />
Inability of the firm to raise large sums of additional capital<br />
&#9658;<br />
Double taxation of dividends<br />
&#9658;<br />
Limited liability of shareholders<br />
&#9658;<br />
Limited life of the corporate firm<br />
Question No: 2 ( Marks: 1 ) - Please choose one<br />
Which one of the following current asset is not treated as a cash flow from operating activities?<br />
&#9658;<br />
Trade receivable<br />
&#9658;<br />
Cash and cash equivalent<br />
&#9658;<br />
Inventory<br />
&#9658;<br />
Short term investment<br />
Question No: 3 ( Marks: 1 ) - Please choose one<br />
Suppose you can earn a 7.2 percent interest rate per year. According to the rule of 72, it will take approximately ___________ years to double your money.<br />
&#9658;<br />
5.00<br />
&#9658;<br />
7.20<br />
&#9658;<br />
10.00<br />
&#9658;<br />
100.0<br />
Question No: 4 ( Marks: 1 ) - Please choose one<br />
Rahim Corporation has a cash coverage ratio of 7 times. It’s earning before interest and tax is Rs.900 million. It has total assets of Rs.3 billion. The company has a policy of charging 5 % annual depreciation. By using the above information, what would be the interest expense for the year?<br />
&#9658;<br />
90 million<br />
&#9658;<br />
120 million<br />
&#9658;<br />
140 million<br />
&#9658;<br />
150 million<br />
Question No: 5 ( Marks: 1 ) - Please choose one<br />
Suppose ZM Corporation has a debt to equity ratio of 1.50 times. It has the return on assets of 14%. The return on equity would be ____________.<br />
&#9658;<br />
25%<br />
&#9658;<br />
30%<br />
&#9658;<br />
35%<br />
&#9658;<br />
40%</span><br />
<br />
<img src="https://staging.vuhelp.net/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
&nbsp;&nbsp;<a href="attachment.php?aid=3089" target="_blank" title="">ACC501_MID_FALL2006_S3.pdf</a> (Size: 351.01 KB / Downloads: 424)
<br />
<br />
<img src="https://staging.vuhelp.net/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
&nbsp;&nbsp;<a href="attachment.php?aid=3090" target="_blank" title="">ACC501_MID_SPRING2007_S1.pdf</a> (Size: 386.15 KB / Downloads: 381)
]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">acc501 mid term current solve paper fall November  2011 for full solve papers see attachment </span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Question No: 1 ( Marks: 1 ) - Please choose one<br />
A major disadvantage of the corporate form of organization is the ______________.<br />
&#9658;<br />
Inability of the firm to raise large sums of additional capital<br />
&#9658;<br />
Double taxation of dividends<br />
&#9658;<br />
Limited liability of shareholders<br />
&#9658;<br />
Limited life of the corporate firm<br />
Question No: 2 ( Marks: 1 ) - Please choose one<br />
Which one of the following current asset is not treated as a cash flow from operating activities?<br />
&#9658;<br />
Trade receivable<br />
&#9658;<br />
Cash and cash equivalent<br />
&#9658;<br />
Inventory<br />
&#9658;<br />
Short term investment<br />
Question No: 3 ( Marks: 1 ) - Please choose one<br />
Suppose you can earn a 7.2 percent interest rate per year. According to the rule of 72, it will take approximately ___________ years to double your money.<br />
&#9658;<br />
5.00<br />
&#9658;<br />
7.20<br />
&#9658;<br />
10.00<br />
&#9658;<br />
100.0<br />
Question No: 4 ( Marks: 1 ) - Please choose one<br />
Rahim Corporation has a cash coverage ratio of 7 times. It’s earning before interest and tax is Rs.900 million. It has total assets of Rs.3 billion. The company has a policy of charging 5 % annual depreciation. By using the above information, what would be the interest expense for the year?<br />
&#9658;<br />
90 million<br />
&#9658;<br />
120 million<br />
&#9658;<br />
140 million<br />
&#9658;<br />
150 million<br />
Question No: 5 ( Marks: 1 ) - Please choose one<br />
Suppose ZM Corporation has a debt to equity ratio of 1.50 times. It has the return on assets of 14%. The return on equity would be ____________.<br />
&#9658;<br />
25%<br />
&#9658;<br />
30%<br />
&#9658;<br />
35%<br />
&#9658;<br />
40%</span><br />
<br />
<img src="https://staging.vuhelp.net/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
&nbsp;&nbsp;<a href="attachment.php?aid=3089" target="_blank" title="">ACC501_MID_FALL2006_S3.pdf</a> (Size: 351.01 KB / Downloads: 424)
<br />
<br />
<img src="https://staging.vuhelp.net/images/attachtypes/pdf.png" title="Adobe Acrobat PDF" border="0" alt=".pdf" />
&nbsp;&nbsp;<a href="attachment.php?aid=3090" target="_blank" title="">ACC501_MID_SPRING2007_S1.pdf</a> (Size: 386.15 KB / Downloads: 381)
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[pak301- Final Term Solved Papers for 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-pak301-Final-Term-Solved-Papers-for-2011</link>
			<pubDate>Mon, 08 Aug 2011 09:36:07 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=0">Xpert</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-pak301-Final-Term-Solved-Papers-for-2011</guid>
			<description><![CDATA[<span style="text-decoration: underline;" class="mycode_u">[U]<span style="font-weight: bold;" class="mycode_b"><br />
<br />
<br />
</span></span>[/U]<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Download Pak301 final term papers<br />
</span></span>]]></description>
			<content:encoded><![CDATA[<span style="text-decoration: underline;" class="mycode_u">[U]<span style="font-weight: bold;" class="mycode_b"><br />
<br />
<br />
</span></span>[/U]<span style="text-decoration: underline;" class="mycode_u"><span style="font-weight: bold;" class="mycode_b">Download Pak301 final term papers<br />
</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MGT101 today's 25 july 2011 final term paper (subjective)]]></title>
			<link>https://staging.vuhelp.net/Thread-MGT101-today-s-25-july-2011-final-term-paper-subjective</link>
			<pubDate>Mon, 25 Jul 2011 08:30:26 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8721">naveed004</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-MGT101-today-s-25-july-2011-final-term-paper-subjective</guid>
			<description><![CDATA[Q: What journal entry would be passed for profit distribution of Rs. 9,000 among Mr. A, Mr. B and Mr. C with the ratio of 1:3:5 respectively? Show complete working.<br />
Q: Briefly explain the cash system of accounting with the help of example.<br />
Q: ABC Inc. had the following positive and negative cash flows during the year<br />
Positive cash flows:<br />
Rec from custom	250,000<br />
Interest and dividend	50,000<br />
Sale of plant asset	350,000<br />
Issued stock	500,000<br />
Negative Cash Flows:<br />
Paid to suppliers and employees	130,000<br />
Purchase of inventory	40,000<br />
Purchase of treasury stock	35,000<br />
Payment of interest	20,000<br />
Paid cash dividend	50,000<br />
Q: Determine the amount of cash provided by or used for operating act?<br />
Q: If accounts receivable at beginning: 	250,000<br />
Account receivable at the end: 190,000<br />
Credit sales:	300,000<br />
Then you are required to calculate the cash receipts from sales by preparing the accounts receivable account.<br />
Q: What do you know about the fluctuating capital in a partnership?<br />
What is gen ledger? List down the comp of standard gen ledger?<br />
Q: If the capitals of the partners are fixed, pass journal entries for the following:<br />
•	Drawing made by partner<br />
•	Excess drawn amount is returned by partner<br />
•	Profit distribution among partner<br />
<br />
Q: Listed below are corporations that receive cash from customers prior to earning revenue:<br />
•	PIA<br />
•	Nawa-e-Waqt<br />
•	ABC group of colleges (for profit comm. College)<br />
•	Model town club<br />
•	XYZ incorporation (health insurance)<br />
Listed below are the accounts used by these corporations to report unearned revenues<br />
(I was unable to note remaining part of this question)]]></description>
			<content:encoded><![CDATA[Q: What journal entry would be passed for profit distribution of Rs. 9,000 among Mr. A, Mr. B and Mr. C with the ratio of 1:3:5 respectively? Show complete working.<br />
Q: Briefly explain the cash system of accounting with the help of example.<br />
Q: ABC Inc. had the following positive and negative cash flows during the year<br />
Positive cash flows:<br />
Rec from custom	250,000<br />
Interest and dividend	50,000<br />
Sale of plant asset	350,000<br />
Issued stock	500,000<br />
Negative Cash Flows:<br />
Paid to suppliers and employees	130,000<br />
Purchase of inventory	40,000<br />
Purchase of treasury stock	35,000<br />
Payment of interest	20,000<br />
Paid cash dividend	50,000<br />
Q: Determine the amount of cash provided by or used for operating act?<br />
Q: If accounts receivable at beginning: 	250,000<br />
Account receivable at the end: 190,000<br />
Credit sales:	300,000<br />
Then you are required to calculate the cash receipts from sales by preparing the accounts receivable account.<br />
Q: What do you know about the fluctuating capital in a partnership?<br />
What is gen ledger? List down the comp of standard gen ledger?<br />
Q: If the capitals of the partners are fixed, pass journal entries for the following:<br />
•	Drawing made by partner<br />
•	Excess drawn amount is returned by partner<br />
•	Profit distribution among partner<br />
<br />
Q: Listed below are corporations that receive cash from customers prior to earning revenue:<br />
•	PIA<br />
•	Nawa-e-Waqt<br />
•	ABC group of colleges (for profit comm. College)<br />
•	Model town club<br />
•	XYZ incorporation (health insurance)<br />
Listed below are the accounts used by these corporations to report unearned revenues<br />
(I was unable to note remaining part of this question)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[today New paper MGT503 Current Final Term Papers Spring 24  July 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-today-New-paper-MGT503-Current-Final-Term-Papers-Spring-24-July-2011</link>
			<pubDate>Sun, 24 Jul 2011 03:12:42 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-today-New-paper-MGT503-Current-Final-Term-Papers-Spring-24-July-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">    Q.1: Explain three types of leadership styles described by Kurt Lewin.<br />
    Q.2: Explain the concepts of Synergy and Negative Entropy.<br />
    Q.3: How would you differentiate Power from Authority?<br />
    Q.4: Define network communication capabilities in your own words.<br />
    Q.5: Explain five techniques for overcoming communication barriers.<br />
    Q.6: "Leadership is both process and a property" Explain.<br />
    Q.7: Define organizational structure and what are the basic building blocks that managers can use in constructing an organization's structure.<br />
    Q.8: On what grounds, "Decision Making" and "Decision Taking" are considered dissimilar?<br />
<br />
    Note: There were total 56 mcqs and 8 questions.<br />
<br />
</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">    Q.1: Explain three types of leadership styles described by Kurt Lewin.<br />
    Q.2: Explain the concepts of Synergy and Negative Entropy.<br />
    Q.3: How would you differentiate Power from Authority?<br />
    Q.4: Define network communication capabilities in your own words.<br />
    Q.5: Explain five techniques for overcoming communication barriers.<br />
    Q.6: "Leadership is both process and a property" Explain.<br />
    Q.7: Define organizational structure and what are the basic building blocks that managers can use in constructing an organization's structure.<br />
    Q.8: On what grounds, "Decision Making" and "Decision Taking" are considered dissimilar?<br />
<br />
    Note: There were total 56 mcqs and 8 questions.<br />
<br />
</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[CS501 Current Final Term Papers Spring 23 July 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-CS501-Current-Final-Term-Papers-Spring-23-July-2011</link>
			<pubDate>Sat, 23 Jul 2011 13:12:28 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-CS501-Current-Final-Term-Papers-Spring-23-July-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">4 question from DMA nad Interrupt I/O<br />
what is pipelining ?with or without<br />
Consider a LAN, using bus topology. If we replace the bus with a<br />
switch, what change<br />
will occur in such a configuration?<br />
floating poit numerical qs 5 marks<br />
<br />
</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">4 question from DMA nad Interrupt I/O<br />
what is pipelining ?with or without<br />
Consider a LAN, using bus topology. If we replace the bus with a<br />
switch, what change<br />
will occur in such a configuration?<br />
floating poit numerical qs 5 marks<br />
<br />
</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[cs201 final term paper current spring 23 July 2011 virtual university]]></title>
			<link>https://staging.vuhelp.net/Thread-cs201-final-term-paper-current-spring-23-July-2011-virtual-university</link>
			<pubDate>Sat, 23 Jul 2011 03:10:59 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-cs201-final-term-paper-current-spring-23-July-2011-virtual-university</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Question No: 1      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
float  floatArry[10] = {1.0,2.0,3.0,4.0};<br />
<br />
 <br />
<br />
Question No: 2      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write the general syntax for the declaration of pre-increment and post-increment member operator function.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Classname operator ++(); ---- pre increment<br />
<br />
Classname operator ++(int)  ---- post increment<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 3      ( Marks: 2 )<br />
<br />
 <br />
<br />
Give the general syntax of class template.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
template<br />
<br />
class myclass { ---} ;<br />
<br />
 <br />
<br />
Question No: 4      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is a truth Table?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
There are some areas where the decision structures become very complicated. Sometimes, we find it difficult to evaluate a complicated logical expression. Sometimes the logic becomes extremely complicated so that even writing it as a simple syntax statement in any language. It becomes complicated to determine what will be evaluated in what way. We know the concept of truth table. The truth tables are very important. These are still a tool available for analyzing logical expressions. We will read logic design in future, which is actually to do with chips and gates. How we put these things together.<br />
<br />
 <br />
<br />
Question No: 5      ( Marks: 2 )<br />
<br />
 <br />
<br />
What will be the output of following code, if user input a number 123?<br />
<br />
 <br />
<br />
int input ;<br />
<br />
cin &gt;&gt; oct &gt;&gt; input;<br />
<br />
cout hex input ;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
53<br />
<br />
 <br />
<br />
Rational: it will take 123 as octal and print it in hex form which is 53.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 6      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is principle of friendship in the context of functions and classes?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Class can declare a friend function and someone from outside the class cannot declare itself friend of a class.<br />
<br />
A friend function can access the private variables of class just like a member function<br />
<br />
 <br />
<br />
Question No: 7      ( Marks: 2 )<br />
<br />
 <br />
<br />
How many arguments a Unary Operator take? Can we make a binary operator as unary operator?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Unary operator takes only one argument like i++ or i— (Post increment or post decrement operators for integers) or ++i,--i  (Pre increment or pre decrement operators for integers) ,we can not make Unary operator as binary or binary as Unary operator.<br />
<br />
 <br />
<br />
Question No: 8      ( Marks: 2 )<br />
<br />
 <br />
<br />
Which arithmetic operators cannot have a floating point operand?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Modulus operator:<br />
<br />
This operator can only be used with integer operands ONLY<br />
<br />
 <br />
<br />
Question No: 9      ( Marks: 2 )<br />
<br />
 <br />
<br />
What are manipulators? Give one example.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
The manipulators are like something that can be inserted into stream, effecting a change in the behavior. For example, if we have a floating point number, say pi (&#1083<img src="https://staging.vuhelp.net/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />, and have written it as float pi = 3.1415926 ; Now there is need of printing the value of pi up to two decimal places i.e. 3.14. This is a formatting functionality. For this, we have a manipulator that tells about width and number of decimal points of a number being printed.<br />
<br />
 <br />
<br />
Question No: 10      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write down piece of code that will declare a matrix of 3x3. And initialize all its locations with 0;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
int matrix [3] [3] ;<br />
<br />
 <br />
<br />
include<br />
<br />
 <br />
<br />
 <br />
<br />
main () {<br />
<br />
    int matrix [3][3];<br />
<br />
    int inivalue = 0;<br />
<br />
 <br />
<br />
    for (int a=0;a&lt;3;a++)<br />
<br />
    { for (int b = 0;b&lt;3;b++)<br />
<br />
   { matrix[a][b]= inivalue;<br />
<br />
    cout/p&gt;<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 11      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is the difference between switch statement and if statement.<br />
<br />
Answer:<br />
<br />
The “If” statement is used to select among two alternatives. It uses a Boolean expression to decide which alternative should be executed. The switch statement is used to select among multiple alternatives. It uses an int expression to determine which alternative should be executed.<br />
<br />
 <br />
<br />
Question No: 12      ( Marks: 2 ) <br />
<br />
 <br />
<br />
How can we initialize data members of contained object at construction time?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Initializer list is used to initialize the contained objects at the construction time.<br />
<br />
 <br />
<br />
Question No: 13      ( Marks: 2 )<br />
<br />
 <br />
<br />
Can we overload new and delete operators?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Yes, it is possible to overload new and delete operators to customize memory management. These operators can be overloaded in global (non-member) scope and in class scope as member operators.<br />
<br />
 <br />
<br />
Question No: 14      ( Marks: 2 )<br />
<br />
 <br />
<br />
 Suppose there is a template function ‘func’ having argument of type U and return type T. What will be the C++ syntax to call this function, passing a variable ‘x’ of type double and returning an int type?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
template<br />
<br />
T func (T a, U b) {<br />
<br />
  return (a<br />
<br />
}<br />
<br />
calling<br />
<br />
int  i;<br />
<br />
double x;<br />
<br />
x = func<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 15      ( Marks: 2 )<br />
<br />
 <br />
<br />
Which variable will be used in inner code block if we have the same names of variable at outer code block and inner code block?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Simply: variable of the inner code is use in the inner code block.<br />
<br />
 <br />
<br />
Question No: 16      ( Marks: 2 )<br />
<br />
 <br />
<br />
 <br />
<br />
What is the benefit of reference and where can we use it?<br />
<br />
 <br />
<br />
 Answer:<br />
<br />
In references we give the memory address of the object, due to references we pass values without making the copy. Hence, when we have many values &amp; we want efficiency we use references to avoid copy.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 17      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write the C++ code for the declaration of overloaded stream insertion and stream extraction operator for the object d of type Date.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Date operator &gt;&gt; (date &amp; d1){<br />
<br />
cout&lt;”-”&lt;”-”/p&gt;<br />
<br />
}<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 18      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is difference between endl and \n? <br />
<br />
 <br />
<br />
Answer:<br />
<br />
Endl is manipulator and it inserts new line character and flushes the stream.<br />
<br />
 <br />
<br />
\n is control character which is used to insert line break.<br />
<br />
 <br />
<br />
Question No: 19      ( Marks: 2 )<br />
<br />
 <br />
<br />
What does code optimization mean?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
It is process by which we make our code in such a way that it improves the speed of program. By use of optimization we refine program codes in such a way that it run faster and consume less memory. We do it in such a way that output quality is not compromised.<br />
<br />
 <br />
<br />
Question No: 20      ( Marks: 3 )<br />
<br />
 <br />
<br />
How is the following cout statement interpreted by compiler?<br />
<br />
 <br />
<br />
cout a b c ;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
It will give a compiler error because a,b,c are not declared.<br />
<br />
 <br />
<br />
Question No: 21      ( Marks: 3 )<br />
<br />
 <br />
<br />
Suppose an object of class A is declared as data member of class B.<br />
<br />
 <br />
<br />
(i)                                     The constructor of which class will be called first? <br />
<br />
Answer: A<br />
<br />
(ii)                                   The destructor of which class will be called first?<br />
<br />
Answer: B<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 22      ( Marks: 3 )<br />
<br />
  <br />
<br />
What will be the output of following functions if we call these functions three times?<br />
<br />
 <br />
<br />
1)<br />
<br />
void func1(){<br />
<br />
int x = 0;<br />
<br />
x++;<br />
<br />
cout x endl;<br />
<br />
}<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
1<br />
<br />
1<br />
<br />
1<br />
<br />
2)<br />
<br />
void func2(){<br />
<br />
static int x = 0 ;<br />
<br />
x++;<br />
<br />
cout x endl ;<br />
<br />
} <br />
<br />
 <br />
<br />
Answer:<br />
<br />
1<br />
<br />
2<br />
<br />
3<br />
<br />
 <br />
<br />
Question No: 23      ( Marks: 3 )<br />
<br />
 <br />
<br />
If is not available in the system then what does calloc/malloc and new operator return?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
calloc/malloc and new operator return returns a null pointer to indicate that no memory is available<br />
<br />
 <br />
<br />
 Question No: 24      ( Marks: 3 )<br />
<br />
 <br />
<br />
What is the keyword ‘this’ and what are the uses of ‘this’ pointer?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
'this' is use to refer the current class member without using the name of the class.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 25      ( Marks: 3 )<br />
<br />
 <br />
<br />
Which one (copy constructor or assignment operator) will be called in each of the following code segment?<br />
<br />
 <br />
<br />
1) Matrix m1 (m2);<br />
<br />
2) Matrix m1, m2;<br />
<br />
m1 = m2;<br />
<br />
3) Matrix m1 = m2;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
1) Matrix m1 (m2);   copy constructor<br />
<br />
2) Matrix m1, m2;   <br />
<br />
m1 = m2;               assignment operator<br />
<br />
3) Matrix m1 = m2; assignment operator<br />
<br />
 <br />
<br />
Question No: 26      ( Marks: 3 )<br />
<br />
 <br />
<br />
What will be the output of following function if we call this function by passing int 5?<br />
<br />
 <br />
<br />
template T reciprocal(T x) {return (1/x); }<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
0<br />
<br />
The output will zero as 1/5 and its .05 but conversion to int make it zero<br />
<br />
Above is prototype of template class so assume passing an int and returning an int<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 27      ( Marks: 3 )<br />
<br />
 <br />
<br />
Identify the errors in the following member operator function and also correct them.<br />
<br />
 <br />
<br />
math * operator(math m);<br />
<br />
math * operator (math m)<br />
<br />
{<br />
<br />
     math temp;<br />
<br />
     temp.number= number * number;<br />
<br />
     return number;<br />
<br />
   <br />
<br />
}<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
The errors are in the arguments of the member operation function and also in the body of operator member function.<br />
<br />
Correct function should be<br />
<br />
math *operator (math *m)<br />
<br />
{<br />
<br />
     math temp;<br />
<br />
     temp = m;<br />
<br />
     temp.number= number * number;<br />
<br />
     return temp.number;<br />
<br />
 <br />
<br />
}<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 28      ( Marks: 3 )<br />
<br />
 <br />
<br />
What are the limitations of the friendship relation between classes?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
friendship relation between classes is a one way relation that is if one class declare friend another class then the another class is the friend of first class but not the first class if the friend of another class.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 29      ( Marks: 3 )<br />
<br />
 <br />
<br />
Define static variable. Also explain life time of static variable?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
When you declare a static variable (native data type or object) inside a function, it is created and initialized only once during the lifetime of the program.<br />
<br />
 <br />
<br />
Question No: 30      ( Marks: 5 )<br />
<br />
 <br />
<br />
What is difference between Unary and binary operators and how they can be overloaded?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Unary operator takes one argument.<br />
<br />
a ++ is an example of unary operator<br />
<br />
 <br />
<br />
Binary take two operators<br />
<br />
+,-,* are example of binary operators<br />
<br />
Overloaded binary operator may return any type<br />
<br />
 <br />
<br />
Here is general syntax of overloading<br />
<br />
Return-type operator symbol (parameters);<br />
<br />
 <br />
<br />
Operator is keyword<br />
<br />
 <br />
<br />
Question No: 31      ( Marks: 5 )<br />
<br />
 <br />
<br />
What steps we must follow to design good program?<br />
<br />
 <br />
<br />
Answer 1:<br />
<br />
 <br />
<br />
Hence to design a program properly, we must:<br />
<br />
    Analyze a problem statement, typically expressed as a word problem.<br />
    Express its essence, abstractly and with examples.<br />
    Formulate statements and comments in a precise language.<br />
    Evaluate and revise the activities in light of checks and tests and<br />
    Pay attention to detail.<br />
<br />
 <br />
<br />
Answer 2:<br />
<br />
 <br />
<br />
Details:  we must check very details of any program. It is very important aspect of any program.  We must pay complete attention to calculation.<br />
<br />
We must give attention to logic and its flow should be smooth.<br />
<br />
 <br />
<br />
Reusable: We must write program in such a way that we can reuse them in other program. Like we define function in such a way that in future if we need any similar kind of function is requires in that case we can easily modify or reuse it.<br />
<br />
 <br />
<br />
Comments: we write the details of important steps in the form of comments. We should use comments in such a way if any body else wanted to reuse or debug or codes he can easily understand it.<br />
<br />
 <br />
<br />
 <br />
<br />
Code readability: We should use Tab and spaces so codes are easily readable.<br />
<br />
 <br />
<br />
User interface: we make interface user friendly. Use polite prompts for user while take input.<br />
<br />
 <br />
<br />
Question No: 32      ( Marks: 5 )<br />
<br />
 <br />
<br />
Write a program which defines five variables which store the salaries of five employees, using setw and setfill manipulators to display all these salaries in a column.<br />
<br />
Note: Display all data with in a particular width and the empty space should be filled with character x<br />
<br />
Output should be displayed as given below:<br />
<br />
xxxxxx1000<br />
<br />
xxxxxx1500<br />
<br />
xxxxx20000<br />
<br />
xxxxx30000<br />
<br />
xxxxx60000<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
#include<br />
<br />
#include<br />
<br />
main(){<br />
<br />
       int sal1 =1000;<br />
<br />
       int sal2 =1500;<br />
<br />
       int sal3 =20000;<br />
<br />
       int sal4 =30000;<br />
<br />
       int sal5 =60000;<br />
<br />
 <br />
<br />
 <br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal1/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal2/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal3/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal4/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal5/p&gt;<br />
<br />
int i=0; <br />
<br />
cin&gt;&gt;i; // to stop the screen to show the output<br />
<br />
}<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 33      ( Marks: 5 )<br />
<br />
 <br />
<br />
Suppose we have the following class.<br />
<br />
 <br />
<br />
class Matrix<br />
<br />
{<br />
<br />
private:<br />
<br />
int Elements[3][3];<br />
<br />
};<br />
<br />
 <br />
<br />
Write the operator function of stream extraction operator (&gt;&gt;) for this class.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Element operator &gt;&gt; (Element &amp;element){<br />
<br />
cout/p&gt;<br />
<br />
cout/p&gt;<br />
<br />
cout/p&gt;<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 34      ( Marks: 5 )<br />
<br />
 <br />
<br />
 <br />
<br />
What is meant by user interface and class interface in C++ ? And what role a class interfaces can play in user interface [Marks 5]<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 35      ( Marks: 5 )<br />
<br />
 <br />
<br />
Write the general syntax of a class that has one function as a friend of a class along with definition of friend function.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
class frinedclass{<br />
<br />
public:<br />
<br />
friend int compute(exforsys e1)<br />
<br />
};<br />
<br />
Int compute(exforsys e1)<br />
{<br />
//Friend Function Definition which has access to private data<br />
return int(e1.a+e2.b)-5;<br />
}<br />
<br />
 <br />
<br />
Question No: 36      ( Marks: 5 )<br />
<br />
 <br />
<br />
What are the advantages and disadvantages of using templates?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Many things can be possible without using templates but it does offer several clear advantages not offered by any other techniques:<br />
<br />
 <br />
<br />
Advantages:<br />
<br />
    Templates are easier to write than writing several versions of your similar code for different types. You create only one generic version of your class or function instead of manually creating specializations.<br />
    Templates are type-safe. This is because the types that templates act upon are known at compile time, so the compiler can perform type checking before errors occur.<br />
    Templates can be easier to understand, since they can provide a straightforward way of abstracting type information.<br />
    It helps in utilizing compiler optimizations to the extreme. Then of course there is room for misuse of the templates. On one hand they provide an excellent mechanism to create specific type-safe classes from a generic definition with little overhead.<br />
<br />
 <br />
<br />
Disadvantages:<br />
<br />
On the other hand, if misused<br />
<br />
    Templates can make code difficult to read and follow depending upon coding style.<br />
    They can present seriously confusing syntactical problems esp. when the code is large and spread over several header and source files.<br />
    Then, there are times, when templates can "excellently" produce nearly meaningless compiler errors thus requiring extra care to enforce syntactical and other design constraints. A common mistake is the angle bracket problem.<br />
<br />
 <br />
<br />
Question No: 37      ( Marks: 5 )<br />
<br />
 <br />
<br />
Suppose a program has a math class having only one data member number.<br />
<br />
Write the declaration and definition of operator function to overload + operator for the statements of main function.<br />
<br />
         math obj1, obj2;<br />
<br />
         obj2= 10 + obj1  ; <br />
<br />
 <br />
<br />
Answer:<br />
<br />
#include<br />
<br />
math<br />
<br />
{<br />
<br />
mth operator + (obj1,int x)<br />
<br />
{<br />
<br />
 <br />
<br />
number temp;<br />
<br />
temp=obj1.number+x;<br />
<br />
return temp.number;<br />
<br />
}<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 38      ( Marks: 5 )<br />
<br />
 <br />
<br />
Write a program which defines three variables of type double which store three different values including decimal points, using setprecision manipulators to print all these values with different number of digits after the decimal number.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
#include<br />
<br />
#include<br />
<br />
main () {<br />
<br />
double a = 12.12345;<br />
<br />
double b = 13.123456;<br />
<br />
double c = 14.1234567;<br />
<br />
cout setprecision (5) a endl;<br />
<br />
cout setprecision (2) a endl;<br />
<br />
cout setprecision (3) a endl;<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 39      ( Marks: 5 )<br />
<br />
 <br />
<br />
Let we have a class,<br />
<br />
class String<br />
<br />
{<br />
<br />
private:<br />
<br />
char  buf[25];<br />
<br />
};<br />
<br />
Write code for assignment (=) operator function which assign one String object to other object. Your code should also avoid self assignment<br />
<br />
 <br />
<br />
Answer:<br />
<br />
void String::operator = ( const String &amp;other )<br />
<br />
 { int length ;<br />
<br />
 length = other.length();<br />
<br />
delete buf;<br />
<br />
 buf = new char [length + 1];<br />
<br />
 strcpy( buf, other.buf ); }<br />
<br />
 <br />
<br />
Question No: 40      ( Marks: 5 )<br />
<br />
 <br />
<br />
Read the given below code and explain what task is being performed by this function<br />
<br />
Matrix :: Matrix ( int row , int col )<br />
<br />
{<br />
<br />
    numRows = row ;<br />
<br />
    numCols = col ;<br />
<br />
    elements = new ( double * ) [ numRows ] ;<br />
<br />
    for ( int  i = 0 ; i &lt; numRows ; i ++ )<br />
<br />
{<br />
<br />
        elements [ i ] = new double [ numCols ] ;<br />
<br />
        for ( int j = 0 ; j &lt; numCols ; j ++ )<br />
<br />
                elements [ i ] [ j ] = 0.0 ;<br />
<br />
     }<br />
<br />
}<br />
<br />
Hint : This function belong to a matrix class, having<br />
<br />
Number of Rows = numRows<br />
<br />
Number of Columns = numCols<br />
<br />
 <br />
<br />
Answer:<br />
<br />
In the above mentioned code, first of all programmer call the constructor who have two parameters for the number of rows &amp; columns in the matrix. Then this constructor also dynamically allocates the memory for the elements of the matrix &amp; also initializes the value of the all elements of matrix with 0.0<br />
<br />
</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Question No: 1      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
float  floatArry[10] = {1.0,2.0,3.0,4.0};<br />
<br />
 <br />
<br />
Question No: 2      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write the general syntax for the declaration of pre-increment and post-increment member operator function.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Classname operator ++(); ---- pre increment<br />
<br />
Classname operator ++(int)  ---- post increment<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 3      ( Marks: 2 )<br />
<br />
 <br />
<br />
Give the general syntax of class template.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
template<br />
<br />
class myclass { ---} ;<br />
<br />
 <br />
<br />
Question No: 4      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is a truth Table?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
There are some areas where the decision structures become very complicated. Sometimes, we find it difficult to evaluate a complicated logical expression. Sometimes the logic becomes extremely complicated so that even writing it as a simple syntax statement in any language. It becomes complicated to determine what will be evaluated in what way. We know the concept of truth table. The truth tables are very important. These are still a tool available for analyzing logical expressions. We will read logic design in future, which is actually to do with chips and gates. How we put these things together.<br />
<br />
 <br />
<br />
Question No: 5      ( Marks: 2 )<br />
<br />
 <br />
<br />
What will be the output of following code, if user input a number 123?<br />
<br />
 <br />
<br />
int input ;<br />
<br />
cin &gt;&gt; oct &gt;&gt; input;<br />
<br />
cout hex input ;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
53<br />
<br />
 <br />
<br />
Rational: it will take 123 as octal and print it in hex form which is 53.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 6      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is principle of friendship in the context of functions and classes?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Class can declare a friend function and someone from outside the class cannot declare itself friend of a class.<br />
<br />
A friend function can access the private variables of class just like a member function<br />
<br />
 <br />
<br />
Question No: 7      ( Marks: 2 )<br />
<br />
 <br />
<br />
How many arguments a Unary Operator take? Can we make a binary operator as unary operator?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Unary operator takes only one argument like i++ or i— (Post increment or post decrement operators for integers) or ++i,--i  (Pre increment or pre decrement operators for integers) ,we can not make Unary operator as binary or binary as Unary operator.<br />
<br />
 <br />
<br />
Question No: 8      ( Marks: 2 )<br />
<br />
 <br />
<br />
Which arithmetic operators cannot have a floating point operand?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Modulus operator:<br />
<br />
This operator can only be used with integer operands ONLY<br />
<br />
 <br />
<br />
Question No: 9      ( Marks: 2 )<br />
<br />
 <br />
<br />
What are manipulators? Give one example.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
The manipulators are like something that can be inserted into stream, effecting a change in the behavior. For example, if we have a floating point number, say pi (&#1083<img src="https://staging.vuhelp.net/images/smilies/wink.png" alt="Wink" title="Wink" class="smilie smilie_2" />, and have written it as float pi = 3.1415926 ; Now there is need of printing the value of pi up to two decimal places i.e. 3.14. This is a formatting functionality. For this, we have a manipulator that tells about width and number of decimal points of a number being printed.<br />
<br />
 <br />
<br />
Question No: 10      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write down piece of code that will declare a matrix of 3x3. And initialize all its locations with 0;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
int matrix [3] [3] ;<br />
<br />
 <br />
<br />
include<br />
<br />
 <br />
<br />
 <br />
<br />
main () {<br />
<br />
    int matrix [3][3];<br />
<br />
    int inivalue = 0;<br />
<br />
 <br />
<br />
    for (int a=0;a&lt;3;a++)<br />
<br />
    { for (int b = 0;b&lt;3;b++)<br />
<br />
   { matrix[a][b]= inivalue;<br />
<br />
    cout/p&gt;<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 11      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is the difference between switch statement and if statement.<br />
<br />
Answer:<br />
<br />
The “If” statement is used to select among two alternatives. It uses a Boolean expression to decide which alternative should be executed. The switch statement is used to select among multiple alternatives. It uses an int expression to determine which alternative should be executed.<br />
<br />
 <br />
<br />
Question No: 12      ( Marks: 2 ) <br />
<br />
 <br />
<br />
How can we initialize data members of contained object at construction time?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Initializer list is used to initialize the contained objects at the construction time.<br />
<br />
 <br />
<br />
Question No: 13      ( Marks: 2 )<br />
<br />
 <br />
<br />
Can we overload new and delete operators?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Yes, it is possible to overload new and delete operators to customize memory management. These operators can be overloaded in global (non-member) scope and in class scope as member operators.<br />
<br />
 <br />
<br />
Question No: 14      ( Marks: 2 )<br />
<br />
 <br />
<br />
 Suppose there is a template function ‘func’ having argument of type U and return type T. What will be the C++ syntax to call this function, passing a variable ‘x’ of type double and returning an int type?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
template<br />
<br />
T func (T a, U b) {<br />
<br />
  return (a<br />
<br />
}<br />
<br />
calling<br />
<br />
int  i;<br />
<br />
double x;<br />
<br />
x = func<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 15      ( Marks: 2 )<br />
<br />
 <br />
<br />
Which variable will be used in inner code block if we have the same names of variable at outer code block and inner code block?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Simply: variable of the inner code is use in the inner code block.<br />
<br />
 <br />
<br />
Question No: 16      ( Marks: 2 )<br />
<br />
 <br />
<br />
 <br />
<br />
What is the benefit of reference and where can we use it?<br />
<br />
 <br />
<br />
 Answer:<br />
<br />
In references we give the memory address of the object, due to references we pass values without making the copy. Hence, when we have many values &amp; we want efficiency we use references to avoid copy.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 17      ( Marks: 2 )<br />
<br />
 <br />
<br />
Write the C++ code for the declaration of overloaded stream insertion and stream extraction operator for the object d of type Date.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Date operator &gt;&gt; (date &amp; d1){<br />
<br />
cout&lt;”-”&lt;”-”/p&gt;<br />
<br />
}<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 18      ( Marks: 2 )<br />
<br />
 <br />
<br />
What is difference between endl and \n? <br />
<br />
 <br />
<br />
Answer:<br />
<br />
Endl is manipulator and it inserts new line character and flushes the stream.<br />
<br />
 <br />
<br />
\n is control character which is used to insert line break.<br />
<br />
 <br />
<br />
Question No: 19      ( Marks: 2 )<br />
<br />
 <br />
<br />
What does code optimization mean?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
It is process by which we make our code in such a way that it improves the speed of program. By use of optimization we refine program codes in such a way that it run faster and consume less memory. We do it in such a way that output quality is not compromised.<br />
<br />
 <br />
<br />
Question No: 20      ( Marks: 3 )<br />
<br />
 <br />
<br />
How is the following cout statement interpreted by compiler?<br />
<br />
 <br />
<br />
cout a b c ;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
It will give a compiler error because a,b,c are not declared.<br />
<br />
 <br />
<br />
Question No: 21      ( Marks: 3 )<br />
<br />
 <br />
<br />
Suppose an object of class A is declared as data member of class B.<br />
<br />
 <br />
<br />
(i)                                     The constructor of which class will be called first? <br />
<br />
Answer: A<br />
<br />
(ii)                                   The destructor of which class will be called first?<br />
<br />
Answer: B<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 22      ( Marks: 3 )<br />
<br />
  <br />
<br />
What will be the output of following functions if we call these functions three times?<br />
<br />
 <br />
<br />
1)<br />
<br />
void func1(){<br />
<br />
int x = 0;<br />
<br />
x++;<br />
<br />
cout x endl;<br />
<br />
}<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
1<br />
<br />
1<br />
<br />
1<br />
<br />
2)<br />
<br />
void func2(){<br />
<br />
static int x = 0 ;<br />
<br />
x++;<br />
<br />
cout x endl ;<br />
<br />
} <br />
<br />
 <br />
<br />
Answer:<br />
<br />
1<br />
<br />
2<br />
<br />
3<br />
<br />
 <br />
<br />
Question No: 23      ( Marks: 3 )<br />
<br />
 <br />
<br />
If is not available in the system then what does calloc/malloc and new operator return?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
calloc/malloc and new operator return returns a null pointer to indicate that no memory is available<br />
<br />
 <br />
<br />
 Question No: 24      ( Marks: 3 )<br />
<br />
 <br />
<br />
What is the keyword ‘this’ and what are the uses of ‘this’ pointer?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
'this' is use to refer the current class member without using the name of the class.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 25      ( Marks: 3 )<br />
<br />
 <br />
<br />
Which one (copy constructor or assignment operator) will be called in each of the following code segment?<br />
<br />
 <br />
<br />
1) Matrix m1 (m2);<br />
<br />
2) Matrix m1, m2;<br />
<br />
m1 = m2;<br />
<br />
3) Matrix m1 = m2;<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
1) Matrix m1 (m2);   copy constructor<br />
<br />
2) Matrix m1, m2;   <br />
<br />
m1 = m2;               assignment operator<br />
<br />
3) Matrix m1 = m2; assignment operator<br />
<br />
 <br />
<br />
Question No: 26      ( Marks: 3 )<br />
<br />
 <br />
<br />
What will be the output of following function if we call this function by passing int 5?<br />
<br />
 <br />
<br />
template T reciprocal(T x) {return (1/x); }<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
0<br />
<br />
The output will zero as 1/5 and its .05 but conversion to int make it zero<br />
<br />
Above is prototype of template class so assume passing an int and returning an int<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 27      ( Marks: 3 )<br />
<br />
 <br />
<br />
Identify the errors in the following member operator function and also correct them.<br />
<br />
 <br />
<br />
math * operator(math m);<br />
<br />
math * operator (math m)<br />
<br />
{<br />
<br />
     math temp;<br />
<br />
     temp.number= number * number;<br />
<br />
     return number;<br />
<br />
   <br />
<br />
}<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
The errors are in the arguments of the member operation function and also in the body of operator member function.<br />
<br />
Correct function should be<br />
<br />
math *operator (math *m)<br />
<br />
{<br />
<br />
     math temp;<br />
<br />
     temp = m;<br />
<br />
     temp.number= number * number;<br />
<br />
     return temp.number;<br />
<br />
 <br />
<br />
}<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 28      ( Marks: 3 )<br />
<br />
 <br />
<br />
What are the limitations of the friendship relation between classes?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
friendship relation between classes is a one way relation that is if one class declare friend another class then the another class is the friend of first class but not the first class if the friend of another class.<br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 29      ( Marks: 3 )<br />
<br />
 <br />
<br />
Define static variable. Also explain life time of static variable?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
When you declare a static variable (native data type or object) inside a function, it is created and initialized only once during the lifetime of the program.<br />
<br />
 <br />
<br />
Question No: 30      ( Marks: 5 )<br />
<br />
 <br />
<br />
What is difference between Unary and binary operators and how they can be overloaded?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Unary operator takes one argument.<br />
<br />
a ++ is an example of unary operator<br />
<br />
 <br />
<br />
Binary take two operators<br />
<br />
+,-,* are example of binary operators<br />
<br />
Overloaded binary operator may return any type<br />
<br />
 <br />
<br />
Here is general syntax of overloading<br />
<br />
Return-type operator symbol (parameters);<br />
<br />
 <br />
<br />
Operator is keyword<br />
<br />
 <br />
<br />
Question No: 31      ( Marks: 5 )<br />
<br />
 <br />
<br />
What steps we must follow to design good program?<br />
<br />
 <br />
<br />
Answer 1:<br />
<br />
 <br />
<br />
Hence to design a program properly, we must:<br />
<br />
    Analyze a problem statement, typically expressed as a word problem.<br />
    Express its essence, abstractly and with examples.<br />
    Formulate statements and comments in a precise language.<br />
    Evaluate and revise the activities in light of checks and tests and<br />
    Pay attention to detail.<br />
<br />
 <br />
<br />
Answer 2:<br />
<br />
 <br />
<br />
Details:  we must check very details of any program. It is very important aspect of any program.  We must pay complete attention to calculation.<br />
<br />
We must give attention to logic and its flow should be smooth.<br />
<br />
 <br />
<br />
Reusable: We must write program in such a way that we can reuse them in other program. Like we define function in such a way that in future if we need any similar kind of function is requires in that case we can easily modify or reuse it.<br />
<br />
 <br />
<br />
Comments: we write the details of important steps in the form of comments. We should use comments in such a way if any body else wanted to reuse or debug or codes he can easily understand it.<br />
<br />
 <br />
<br />
 <br />
<br />
Code readability: We should use Tab and spaces so codes are easily readable.<br />
<br />
 <br />
<br />
User interface: we make interface user friendly. Use polite prompts for user while take input.<br />
<br />
 <br />
<br />
Question No: 32      ( Marks: 5 )<br />
<br />
 <br />
<br />
Write a program which defines five variables which store the salaries of five employees, using setw and setfill manipulators to display all these salaries in a column.<br />
<br />
Note: Display all data with in a particular width and the empty space should be filled with character x<br />
<br />
Output should be displayed as given below:<br />
<br />
xxxxxx1000<br />
<br />
xxxxxx1500<br />
<br />
xxxxx20000<br />
<br />
xxxxx30000<br />
<br />
xxxxx60000<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
#include<br />
<br />
#include<br />
<br />
main(){<br />
<br />
       int sal1 =1000;<br />
<br />
       int sal2 =1500;<br />
<br />
       int sal3 =20000;<br />
<br />
       int sal4 =30000;<br />
<br />
       int sal5 =60000;<br />
<br />
 <br />
<br />
 <br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal1/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal2/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal3/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal4/p&gt;<br />
<br />
cout setfill ('x') setw (10);<br />
<br />
cout sal5/p&gt;<br />
<br />
int i=0; <br />
<br />
cin&gt;&gt;i; // to stop the screen to show the output<br />
<br />
}<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 33      ( Marks: 5 )<br />
<br />
 <br />
<br />
Suppose we have the following class.<br />
<br />
 <br />
<br />
class Matrix<br />
<br />
{<br />
<br />
private:<br />
<br />
int Elements[3][3];<br />
<br />
};<br />
<br />
 <br />
<br />
Write the operator function of stream extraction operator (&gt;&gt;) for this class.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Element operator &gt;&gt; (Element &amp;element){<br />
<br />
cout/p&gt;<br />
<br />
cout/p&gt;<br />
<br />
cout/p&gt;<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 34      ( Marks: 5 )<br />
<br />
 <br />
<br />
 <br />
<br />
What is meant by user interface and class interface in C++ ? And what role a class interfaces can play in user interface [Marks 5]<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
 <br />
<br />
 <br />
<br />
Question No: 35      ( Marks: 5 )<br />
<br />
 <br />
<br />
Write the general syntax of a class that has one function as a friend of a class along with definition of friend function.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
class frinedclass{<br />
<br />
public:<br />
<br />
friend int compute(exforsys e1)<br />
<br />
};<br />
<br />
Int compute(exforsys e1)<br />
{<br />
//Friend Function Definition which has access to private data<br />
return int(e1.a+e2.b)-5;<br />
}<br />
<br />
 <br />
<br />
Question No: 36      ( Marks: 5 )<br />
<br />
 <br />
<br />
What are the advantages and disadvantages of using templates?<br />
<br />
 <br />
<br />
Answer:<br />
<br />
Many things can be possible without using templates but it does offer several clear advantages not offered by any other techniques:<br />
<br />
 <br />
<br />
Advantages:<br />
<br />
    Templates are easier to write than writing several versions of your similar code for different types. You create only one generic version of your class or function instead of manually creating specializations.<br />
    Templates are type-safe. This is because the types that templates act upon are known at compile time, so the compiler can perform type checking before errors occur.<br />
    Templates can be easier to understand, since they can provide a straightforward way of abstracting type information.<br />
    It helps in utilizing compiler optimizations to the extreme. Then of course there is room for misuse of the templates. On one hand they provide an excellent mechanism to create specific type-safe classes from a generic definition with little overhead.<br />
<br />
 <br />
<br />
Disadvantages:<br />
<br />
On the other hand, if misused<br />
<br />
    Templates can make code difficult to read and follow depending upon coding style.<br />
    They can present seriously confusing syntactical problems esp. when the code is large and spread over several header and source files.<br />
    Then, there are times, when templates can "excellently" produce nearly meaningless compiler errors thus requiring extra care to enforce syntactical and other design constraints. A common mistake is the angle bracket problem.<br />
<br />
 <br />
<br />
Question No: 37      ( Marks: 5 )<br />
<br />
 <br />
<br />
Suppose a program has a math class having only one data member number.<br />
<br />
Write the declaration and definition of operator function to overload + operator for the statements of main function.<br />
<br />
         math obj1, obj2;<br />
<br />
         obj2= 10 + obj1  ; <br />
<br />
 <br />
<br />
Answer:<br />
<br />
#include<br />
<br />
math<br />
<br />
{<br />
<br />
mth operator + (obj1,int x)<br />
<br />
{<br />
<br />
 <br />
<br />
number temp;<br />
<br />
temp=obj1.number+x;<br />
<br />
return temp.number;<br />
<br />
}<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 38      ( Marks: 5 )<br />
<br />
 <br />
<br />
Write a program which defines three variables of type double which store three different values including decimal points, using setprecision manipulators to print all these values with different number of digits after the decimal number.<br />
<br />
 <br />
<br />
Answer:<br />
<br />
 <br />
<br />
#include<br />
<br />
#include<br />
<br />
main () {<br />
<br />
double a = 12.12345;<br />
<br />
double b = 13.123456;<br />
<br />
double c = 14.1234567;<br />
<br />
cout setprecision (5) a endl;<br />
<br />
cout setprecision (2) a endl;<br />
<br />
cout setprecision (3) a endl;<br />
<br />
}<br />
<br />
 <br />
<br />
Question No: 39      ( Marks: 5 )<br />
<br />
 <br />
<br />
Let we have a class,<br />
<br />
class String<br />
<br />
{<br />
<br />
private:<br />
<br />
char  buf[25];<br />
<br />
};<br />
<br />
Write code for assignment (=) operator function which assign one String object to other object. Your code should also avoid self assignment<br />
<br />
 <br />
<br />
Answer:<br />
<br />
void String::operator = ( const String &amp;other )<br />
<br />
 { int length ;<br />
<br />
 length = other.length();<br />
<br />
delete buf;<br />
<br />
 buf = new char [length + 1];<br />
<br />
 strcpy( buf, other.buf ); }<br />
<br />
 <br />
<br />
Question No: 40      ( Marks: 5 )<br />
<br />
 <br />
<br />
Read the given below code and explain what task is being performed by this function<br />
<br />
Matrix :: Matrix ( int row , int col )<br />
<br />
{<br />
<br />
    numRows = row ;<br />
<br />
    numCols = col ;<br />
<br />
    elements = new ( double * ) [ numRows ] ;<br />
<br />
    for ( int  i = 0 ; i &lt; numRows ; i ++ )<br />
<br />
{<br />
<br />
        elements [ i ] = new double [ numCols ] ;<br />
<br />
        for ( int j = 0 ; j &lt; numCols ; j ++ )<br />
<br />
                elements [ i ] [ j ] = 0.0 ;<br />
<br />
     }<br />
<br />
}<br />
<br />
Hint : This function belong to a matrix class, having<br />
<br />
Number of Rows = numRows<br />
<br />
Number of Columns = numCols<br />
<br />
 <br />
<br />
Answer:<br />
<br />
In the above mentioned code, first of all programmer call the constructor who have two parameters for the number of rows &amp; columns in the matrix. Then this constructor also dynamically allocates the memory for the elements of the matrix &amp; also initializes the value of the all elements of matrix with 0.0<br />
<br />
</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[today latest final term cs201 paper spring 23 July 2011 virtual university]]></title>
			<link>https://staging.vuhelp.net/Thread-today-latest-final-term-cs201-paper-spring-23-July-2011-virtual-university</link>
			<pubDate>Sat, 23 Jul 2011 03:09:21 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-today-latest-final-term-cs201-paper-spring-23-July-2011-virtual-university</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">Paper Detail<br />
Total 80 Marks<br />
<br />
40 Mcqs = 40 Marks<br />
subjective=40 Marks<br />
4 Question = 2Marks<br />
4 Question =3 Marks<br />
4 Question = 4 Marks<br />
<br />
<br />
Q.41<br />
What does it happen if an object id assign to another object without overloading an assignment operator.2marks<br />
<br />
Q.42<br />
Describe the first parameter to stream insurtionand stream extraction&gt;&gt; operator function? 2Marks<br />
<br />
Q.43<br />
Write the meaning of given line code where m is object of class matrix<br />
<br />
If (&amp;m! = this)<br />
<br />
Q.44<br />
Why always array start with index 0(zero) ? 2Marks<br />
<br />
Q.45<br />
What will be the output of following function if we call this function by passing int 5? 3 marks<br />
template T reciprocal(T x) {return (1/x); } <br />
<br />
Q.46<br />
Identify all the given functions as member function of input stream or output stream<br />
Get, unget, and put, getline, Peek, Putline, 3Marks<br />
<br />
Q.47<br />
Write the general syntax for unary member operator 3Marks<br />
<br />
Q.48<br />
Write the output of this code 3Marks<br />
<br />
Main()<br />
{<br />
int x,y,z;<br />
x=5;<br />
y=3+x++;<br />
<br />
Q.49<br />
What are the advantages and disadvantages of using templates? 5Marks<br />
<br />
Q.50<br />
Find the errors in given code and correct them; also write the output of the code-5 Marks<br />
<br />
Q.51<br />
Describe the effect of an overflow condition if it occurs within a program 5 Marks<br />
<br />
Q.52<br />
Make a program instruction was given in the code 5Marks<br />
<br />
</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">Paper Detail<br />
Total 80 Marks<br />
<br />
40 Mcqs = 40 Marks<br />
subjective=40 Marks<br />
4 Question = 2Marks<br />
4 Question =3 Marks<br />
4 Question = 4 Marks<br />
<br />
<br />
Q.41<br />
What does it happen if an object id assign to another object without overloading an assignment operator.2marks<br />
<br />
Q.42<br />
Describe the first parameter to stream insurtionand stream extraction&gt;&gt; operator function? 2Marks<br />
<br />
Q.43<br />
Write the meaning of given line code where m is object of class matrix<br />
<br />
If (&amp;m! = this)<br />
<br />
Q.44<br />
Why always array start with index 0(zero) ? 2Marks<br />
<br />
Q.45<br />
What will be the output of following function if we call this function by passing int 5? 3 marks<br />
template T reciprocal(T x) {return (1/x); } <br />
<br />
Q.46<br />
Identify all the given functions as member function of input stream or output stream<br />
Get, unget, and put, getline, Peek, Putline, 3Marks<br />
<br />
Q.47<br />
Write the general syntax for unary member operator 3Marks<br />
<br />
Q.48<br />
Write the output of this code 3Marks<br />
<br />
Main()<br />
{<br />
int x,y,z;<br />
x=5;<br />
y=3+x++;<br />
<br />
Q.49<br />
What are the advantages and disadvantages of using templates? 5Marks<br />
<br />
Q.50<br />
Find the errors in given code and correct them; also write the output of the code-5 Marks<br />
<br />
Q.51<br />
Describe the effect of an overflow condition if it occurs within a program 5 Marks<br />
<br />
Q.52<br />
Make a program instruction was given in the code 5Marks<br />
<br />
</span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[today cs201 final term paper spring 23  July 2011]]></title>
			<link>https://staging.vuhelp.net/Thread-today-cs201-final-term-paper-spring-23-July-2011</link>
			<pubDate>Sat, 23 Jul 2011 03:07:13 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://staging.vuhelp.net/member.php?action=profile&uid=8479">Vuhelper</a>]]></dc:creator>
			<guid isPermaLink="false">https://staging.vuhelp.net/Thread-today-cs201-final-term-paper-spring-23-July-2011</guid>
			<description><![CDATA[<span style="font-weight: bold;" class="mycode_b">TOTAL 52 QUESTIONS<br />
<br />
12 LONG AND 40 MCQ’S<br />
<br />
AND  MOSTLY  MCQ’S ARE NOT FROM PAST PAPERS, ITS FROM LAST CHAPTERS… L<br />
<br />
Q: 41:  Write a program with different variables V1 and V2 and print out it (hexadecimal, decimal, octal) form use one manipulator.   5 marks ..<br />
<br />
Q:42: What is structure and union structure? 3 marks.<br />
<br />
Q:43: What is template and write general syntax   of templates. 3marks..<br />
<br />
Q:44: How many types of structure? 2 marks<br />
<br />
Q:45: Write the rules for using of Dynamic memory allocations…  5marks..<br />
<br />
Page 479<br />
<br />
Q:46: Describe the first parameter to stream insertionand stream extraction&gt;&gt; operator function?  2marks<br />
<br />
Q:47: See the following code segment <br />
<br />
Template &lt;class T&gt;<br />
<br />
Class myclass<br />
<br />
{<br />
<br />
Private :<br />
<br />
Tx;<br />
<br />
Public<br />
<br />
Myclass(ta)<br />
<br />
{<br />
<br />
X=a;<br />
<br />
};<br />
<br />
 Write the main function which creates  two  objects  of class for int &amp; double types?<br />
<br />
Q:48: If the requested memory is not available in the system then what does calloc/malloc and new operator<br />
<br />
return?  3marks …<br />
<br />
<br />
</span>]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;" class="mycode_b">TOTAL 52 QUESTIONS<br />
<br />
12 LONG AND 40 MCQ’S<br />
<br />
AND  MOSTLY  MCQ’S ARE NOT FROM PAST PAPERS, ITS FROM LAST CHAPTERS… L<br />
<br />
Q: 41:  Write a program with different variables V1 and V2 and print out it (hexadecimal, decimal, octal) form use one manipulator.   5 marks ..<br />
<br />
Q:42: What is structure and union structure? 3 marks.<br />
<br />
Q:43: What is template and write general syntax   of templates. 3marks..<br />
<br />
Q:44: How many types of structure? 2 marks<br />
<br />
Q:45: Write the rules for using of Dynamic memory allocations…  5marks..<br />
<br />
Page 479<br />
<br />
Q:46: Describe the first parameter to stream insertionand stream extraction&gt;&gt; operator function?  2marks<br />
<br />
Q:47: See the following code segment <br />
<br />
Template &lt;class T&gt;<br />
<br />
Class myclass<br />
<br />
{<br />
<br />
Private :<br />
<br />
Tx;<br />
<br />
Public<br />
<br />
Myclass(ta)<br />
<br />
{<br />
<br />
X=a;<br />
<br />
};<br />
<br />
 Write the main function which creates  two  objects  of class for int &amp; double types?<br />
<br />
Q:48: If the requested memory is not available in the system then what does calloc/malloc and new operator<br />
<br />
return?  3marks …<br />
<br />
<br />
</span>]]></content:encoded>
		</item>
	</channel>
</rss>