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

<channel>
	<title>Symphony Teleca interview questions and answers - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/symphony-teleca-interview-questions-and-answers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/symphony-teleca-interview-questions-and-answers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Sat, 18 Sep 2021 06:51:04 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>Symphony Teleca interview questions and answers - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/symphony-teleca-interview-questions-and-answers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Why we don’t use 2-20mA, 1-20mA, 3-20mA or 10-50mA signal instead of 4-20mA ?</title>
		<link>https://www.wikitechy.com/interview-questions/instrumentation/why-we-dont-use-2-20ma-1-20ma-3-20ma-or-10-50ma-signal-instead-of-4-20ma/</link>
					<comments>https://www.wikitechy.com/interview-questions/instrumentation/why-we-dont-use-2-20ma-1-20ma-3-20ma-or-10-50ma-signal-instead-of-4-20ma/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 07:07:00 +0000</pubDate>
				<category><![CDATA[Instrumentation]]></category>
		<category><![CDATA[1-20mA]]></category>
		<category><![CDATA[120db]]></category>
		<category><![CDATA[2-20mA]]></category>
		<category><![CDATA[3-20mA or 10-50mA signal instead of 4-20mA]]></category>
		<category><![CDATA[4 20 ma control circuit]]></category>
		<category><![CDATA[4 20 ma generator]]></category>
		<category><![CDATA[4 20 ma test circuit]]></category>
		<category><![CDATA[4 20 milliamp]]></category>
		<category><![CDATA[4 20 milliamp circuit]]></category>
		<category><![CDATA[4 20ma analog to digital converter]]></category>
		<category><![CDATA[4 20ma calculation formula]]></category>
		<category><![CDATA[4 20ma circuit]]></category>
		<category><![CDATA[4 20ma current source]]></category>
		<category><![CDATA[4 20ma current source manufacturers]]></category>
		<category><![CDATA[4 20ma hart protocol]]></category>
		<category><![CDATA[4-20ma circuit schematic]]></category>
		<category><![CDATA[4-20ma tester]]></category>
		<category><![CDATA[4-20ma vs 0-10]]></category>
		<category><![CDATA[4ma to 20ma current loop receiver]]></category>
		<category><![CDATA[4to20ma circuit]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Amity University interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[AVEVA Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[Cipla interview questions and answers]]></category>
		<category><![CDATA[Cummins interview questions and answers]]></category>
		<category><![CDATA[current time in massachusetts]]></category>
		<category><![CDATA[difference between 0- 20ma and 4-20ma]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[electrical instrumentation]]></category>
		<category><![CDATA[electronics and instrumentation]]></category>
		<category><![CDATA[electronics and instrumentation engineering]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Feedback Infra Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Godrej and Boyce Mfg.Co.Ltd interview questions and answers]]></category>
		<category><![CDATA[history of 4-20ma]]></category>
		<category><![CDATA[how does a 4 to 20ma loop work]]></category>
		<category><![CDATA[how to build a 4-20ma signal generator]]></category>
		<category><![CDATA[how to measure 4 to 20ma with multimeter]]></category>
		<category><![CDATA[how to measure milliamps with a fluke digital multimeter]]></category>
		<category><![CDATA[how to measure milliamps with multimeter]]></category>
		<category><![CDATA[how to test a 4-20ma pressure transducer]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[industrial instrumentation]]></category>
		<category><![CDATA[instrumentation]]></category>
		<category><![CDATA[instrumentation and control]]></category>
		<category><![CDATA[instrumentation and control engineering]]></category>
		<category><![CDATA[instrumentation engineer]]></category>
		<category><![CDATA[instrumentation engineering]]></category>
		<category><![CDATA[instrumentation engineering jobs]]></category>
		<category><![CDATA[instrumentation jobs]]></category>
		<category><![CDATA[instrumentation technician]]></category>
		<category><![CDATA[instrumentation technology]]></category>
		<category><![CDATA[Jubilant Life Sciences interview questions and answers]]></category>
		<category><![CDATA[leds c4]]></category>
		<category><![CDATA[Matrimony.com Limited interview questions and answers]]></category>
		<category><![CDATA[measurement and instrumentation]]></category>
		<category><![CDATA[Murugappa Group interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[plc analog input 4-20ma]]></category>
		<category><![CDATA[RANDSTAD interview questions and answers]]></category>
		<category><![CDATA[Saipem interview questions and answers]]></category>
		<category><![CDATA[Schneider Electric interview questions and answers]]></category>
		<category><![CDATA[Sodexo Food Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tata Projects Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[transmit meaning]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[vbenefits of 4-20ma over 0-10v signals]]></category>
		<category><![CDATA[what type of signal is 0-20ma]]></category>
		<category><![CDATA[why 3-15 psi standard is used]]></category>
		<category><![CDATA[why 4-20ma standard is used]]></category>
		<category><![CDATA[why we use 4 20ma in instrumentation]]></category>
		<category><![CDATA[why we use the 4-20ma in transmitting signal]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<category><![CDATA[yashmun engineers interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1485</guid>

					<description><![CDATA[Answer : Generally, in a transistor some amount of voltage is required for turning it on...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">Why we don’t use 2-20mA, 1-20mA, 3-20mA or 10-50mA signal instead of 4-20mA ?</p>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Generally, in a transistor some amount of voltage is required for turning it on.</li>
<li>This voltage is the cut in voltage. Up to this voltage it exists a nonlinearity in its characteristics. Beyond this cut in voltage the characteristics of transistor is linear.</li>
<li>This nonlinear region lays between 0-4mA, beyond 4ma it linear. That&#8217;s why 4-20 mA range is used.</li>
</ul>
</div>
</div>
<div class="subheading">
<p><strong>Due to some following reasons 4-20mA signal is used,</strong></p>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>4-20mA has an inherent &#8216;live zero&#8217;. Zero engineering unit is 4mA not 0.0mA indicates an open circuit, fault in the line which is not valid.</li>
<li>4-20 mA has little, if any, signal loss in its circuit; current regulation compensates for minor resistances in terminal boxes, whereas voltage drop across resistances for voltage signals creates an error.</li>
<li>S 4-20 mA signal is less susceptible to noise pickup than a voltage circuit. So it is free from interference from other signals.</li>
<li>4-20 mA works at a relatively long distance(&gt;1 Km ) boosting the power supply voltage will drive the signal further.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/instrumentation/why-we-dont-use-2-20ma-1-20ma-3-20ma-or-10-50ma-signal-instead-of-4-20ma/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to calculate the flow rate in Vortex flow meter ? What is K factor ? Can you give me an example calculation to understand the same as better ?</title>
		<link>https://www.wikitechy.com/interview-questions/instrumentation/how-to-calculate-the-flow-rate-in-vortex-flow-meter-what-is-k-factor-can-you-give-me-an-example-calculation-to-understand-the-same-as-better/</link>
					<comments>https://www.wikitechy.com/interview-questions/instrumentation/how-to-calculate-the-flow-rate-in-vortex-flow-meter-what-is-k-factor-can-you-give-me-an-example-calculation-to-understand-the-same-as-better/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 05 Aug 2021 07:05:18 +0000</pubDate>
				<category><![CDATA[Instrumentation]]></category>
		<category><![CDATA[Accel Frontline Ltd interview questions and answers]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Amity University interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Asian Paints Ltd. interview questions and answers]]></category>
		<category><![CDATA[AVEVA Software interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[Cipla interview questions and answers]]></category>
		<category><![CDATA[Cummins interview questions and answers]]></category>
		<category><![CDATA[difference between k factor and meter factor]]></category>
		<category><![CDATA[differential pressure flow meter working principle]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Elico HealthCare Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Feedback Infra Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[flow measurement]]></category>
		<category><![CDATA[flow meter]]></category>
		<category><![CDATA[flow meter k factor calculation flow meter k factor calculation]]></category>
		<category><![CDATA[flow meter principle]]></category>
		<category><![CDATA[Godrej and Boyce Mfg.Co.Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Jubilant Life Sciences interview questions and answers]]></category>
		<category><![CDATA[k factor calculator]]></category>
		<category><![CDATA[k factor flow formula]]></category>
		<category><![CDATA[k factor table]]></category>
		<category><![CDATA[Matrimony.com Limited interview questions and answers]]></category>
		<category><![CDATA[Murugappa Group interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[RANDSTAD interview questions and answers]]></category>
		<category><![CDATA[Saipem interview questions and answers]]></category>
		<category><![CDATA[Schneider Electric interview questions and answers]]></category>
		<category><![CDATA[Sodexo Food Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tata Projects Ltd interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[The Linde Group interview questions and answers]]></category>
		<category><![CDATA[turbine flow meter k factor]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[vortex flow meter k factor calculation]]></category>
		<category><![CDATA[vortex flow meter principle]]></category>
		<category><![CDATA[vortex flow meter working principle]]></category>
		<category><![CDATA[vortex flow transmitter]]></category>
		<category><![CDATA[vortex mass flow meter]]></category>
		<category><![CDATA[vortex meter]]></category>
		<category><![CDATA[what is vortex flow meter]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<category><![CDATA[Zadco Interview Questions and Answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1484</guid>

					<description><![CDATA[Answer : Vortex flow meters are flow sensors that detect the frequency of vortices...]]></description>
										<content:encoded><![CDATA[<div class="row">
<div class="col-sm-12">
<div class="TextHeading">
<div class="hddn">
<p class="color-pink">How to calculate the flow rate in Vortex flow meter ? What is K factor ? Can you give me an example calculation to understand the same as better ?</p>
</div>
</div>
<ul>
<li>Vortex flow meters are flow sensors that detect the frequency of vortices shed by a bluff body placed in a flow stream.</li>
<li>The frequency of the vortices is proportional to the flow velocity.</li>
</ul>
<p><img decoding="async" class="alignnone size-medium" src="https://cdn.wikitechy.com/interview-questions/Instrumentation/vortex-flow-meter.png" alt="Vortex flow Meter" width="317" height="85" /></p>
</div>
</div>
<p>Where:</p>
<div class="Content">
<div class="hddn">
<ul>
<li>f<sub>v</sub> is the frequency of vortex shedding.</li>
<li>D is the diameter of the pipe.</li>
<li>w is the width of bluff body over diameter of pipe.</li>
<li>K is the a constant for all fluids given design of meter. A k factor is introduced to compensate for the non-uniform profile of pipe flow.</li>
<li>S is the Strouhal number, determined experimentally.</li>
</ul>
</div>
</div>
<ul>
<li>Flow rate information can be output as an analog current signal.</li>
</ul>
<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-k-factor" class="color-green">What is K factor ?</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>K-factor is a dividing factor.</li>
<li>The term is usually encountered when dealing with pulse signals although analog K-factors are sometimes used.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/instrumentation/how-to-calculate-the-flow-rate-in-vortex-flow-meter-what-is-k-factor-can-you-give-me-an-example-calculation-to-understand-the-same-as-better/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the advantages of VB.NET ?</title>
		<link>https://www.wikitechy.com/interview-questions/vb-net/what-is-the-advantages-of-vb-net/</link>
					<comments>https://www.wikitechy.com/interview-questions/vb-net/what-is-the-advantages-of-vb-net/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 07:43:21 +0000</pubDate>
				<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Advantages and Disadvantages of .NET and Java]]></category>
		<category><![CDATA[Advantages And Disadvantages of Visual Basic]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[benefits of vb.net]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[features of visual basicuses of visual basic in industry]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[The Benefits of Visual Basic .NET]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[vb vs c# which is better]]></category>
		<category><![CDATA[vb.net vs c# 2017]]></category>
		<category><![CDATA[vb.net vs c# performance]]></category>
		<category><![CDATA[vb.net vs c# popularity]]></category>
		<category><![CDATA[vb.net vs c# syntax]]></category>
		<category><![CDATA[vba vs c#]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[visual basic code]]></category>
		<category><![CDATA[visual basic download]]></category>
		<category><![CDATA[visual basic for applications]]></category>
		<category><![CDATA[visual basic programming]]></category>
		<category><![CDATA[visual basic tutorial]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[What are the advantages and disadvantages of using VB.Net?]]></category>
		<category><![CDATA[What are the advantages of VB.NET?]]></category>
		<category><![CDATA[What is the advantage of .NET?]]></category>
		<category><![CDATA[What is the advantages of VB.NET?]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[zansa interview question and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1213</guid>

					<description><![CDATA[Answer : VB.NET offers code execution that runs under the Common Language Runtime (CLR)...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading" style="text-align: justify;"></div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">VB.NET offers code execution that runs under the Common Language Runtime (CLR), resulting in robust, stable and secure applications. Both features of the .NET framework are eagerly obtainable in VB.NET.</li>
<li style="text-align: justify;">VB.NET is object oriented. This is a major addition that VB6 and other earlier releases didn&#8217;t have.</li>
<li style="text-align: justify;">The .NET framework comes with ADO.NET, which follows the disconnected paradigm, i.e. once the required records are fetched the connection no longer exists.</li>
<li style="text-align: justify;">It also retrieves the records that are expected to be accessed in the immediate future.</li>
<li style="text-align: justify;">This enhances Scalability of the application to a great extent.</li>
<li style="text-align: justify;">VB.NET uses XML to transfer data between the various layers in the DNA Architecture i.e. data are passed as simple text strings.</li>
<li style="text-align: justify;">Error handling has changed in VB.NET. A new Try-Catch-Finally block has been introduced to handle errors and exceptions as a unit, allowing appropriate action to be taken at the place the error occurred thus discouraging the use of ON ERROR GOTO statement. This again credits to the maintainability of the code.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/vb-net/what-is-the-advantages-of-vb-net/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the difference between vb and vb.net ?</title>
		<link>https://www.wikitechy.com/interview-questions/vb-net/what-is-the-difference-between-vb-and-vb-net/</link>
					<comments>https://www.wikitechy.com/interview-questions/vb-net/what-is-the-difference-between-vb-and-vb-net/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 07:41:06 +0000</pubDate>
				<category><![CDATA[VB.NET]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[advantage in vb.net]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[c# vb]]></category>
		<category><![CDATA[c++ vs vb net]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[code converter vb to c#]]></category>
		<category><![CDATA[comparison of visual basic and visual basic .net]]></category>
		<category><![CDATA[convert c to vb]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between c# and vb net pdf]]></category>
		<category><![CDATA[difference between vb and vb.net]]></category>
		<category><![CDATA[features of visual basicuses of visual basic in industry]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[program visual basic]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[vb codes]]></category>
		<category><![CDATA[vb dot net]]></category>
		<category><![CDATA[vb dotnet]]></category>
		<category><![CDATA[vb net]]></category>
		<category><![CDATA[vb programming language]]></category>
		<category><![CDATA[vb programs]]></category>
		<category><![CDATA[vb to c# converter online]]></category>
		<category><![CDATA[vb vs c# which is bettervb.net vs c# 2017]]></category>
		<category><![CDATA[vb vs vb.net]]></category>
		<category><![CDATA[vb.net vs c# performance]]></category>
		<category><![CDATA[vb.net vs c# popularity]]></category>
		<category><![CDATA[vb.net vs c# syntax]]></category>
		<category><![CDATA[vb6 vs vb.net]]></category>
		<category><![CDATA[vba vs c#]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[visual basic 2008]]></category>
		<category><![CDATA[visual basic 6 and visual basic .net: what's the difference?]]></category>
		<category><![CDATA[visual basic code]]></category>
		<category><![CDATA[visual basic dot net]]></category>
		<category><![CDATA[visual basic download]]></category>
		<category><![CDATA[visual basic for applications]]></category>
		<category><![CDATA[visual basic net]]></category>
		<category><![CDATA[visual basic programming]]></category>
		<category><![CDATA[visual basic to c#]]></category>
		<category><![CDATA[visual basic tutorial]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is the difference between vb & vb.net?]]></category>
		<category><![CDATA[what is the difference between vb and vb.net?]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[zansa interview question and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1212</guid>

					<description><![CDATA[Answer : VB stands for Visual Basic. It is a high level programming...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="" class="color-pink"></h2>
<table class="table-bordered table-striped table table-responsive">
<tbody>
<tr>
<th>VB</th>
<th>VB.NET</th>
</tr>
<tr>
<td class="text-leftalign">VB stands for Visual Basic.<br />
It is a high level programming language<br />
that is used for the fast development<br />
of Windows based programs.</td>
<td class="text-leftalign">VB.NET stands for Visual Basic Network Enabled Technology. It is one of the languages for the .NET framework by Microsoft. This language has been created specifically for VB developers. It belongs to the category of object oriented computer programming languages that is implemented on the .NET framework.</td>
</tr>
<tr>
<td class="text-leftalign">Interpreter based Language</td>
<td class="text-leftalign">Compiled language</td>
</tr>
<tr>
<td class="text-leftalign">VB Runtime</td>
<td class="text-leftalign">Common Language Specification</td>
</tr>
<tr>
<td class="text-leftalign">This type of language is not safe.</td>
<td class="text-leftalign">This language is safe compared to visual basic.</td>
</tr>
<tr>
<td class="text-leftalign">Multithreaded applications Cannot be developed.</td>
<td class="text-leftalign">Multithreaded applications Can be developed.</td>
</tr>
<tr>
<td class="text-leftalign">Data is handled using DAO protocol, then RDO,<br />
followed by ADO (ActiveX Data Objects)</td>
<td class="text-leftalign">Data is handled using ADO.net</td>
</tr>
<tr>
<td class="text-leftalign">An object based language.</td>
<td class="text-leftalign">A true object oriented language.</td>
</tr>
<tr>
<td class="text-leftalign">Most of the parameters passed by reference.</td>
<td class="text-leftalign">Parameters passing by Default value.</td>
</tr>
<tr>
<td class="text-leftalign">Objects support default property</td>
<td class="text-leftalign">Objects does not support default property</td>
</tr>
<tr>
<td class="text-leftalign">Replaced by elements in Collection QBColor,<br />
RGB DateAdd, DateDiff, DatePart, DateSerial,<br />
DateValue, TimeSerial, TimeValue</td>
<td class="text-leftalign">System.Collection System.Drawing.Color Replaced by elements in System.DateTime</td>
</tr>
<tr>
<td class="text-leftalign">End Type structure can be used in declare function.</td>
<td class="text-leftalign">Declared using the Structure&#8230;End Structure construct.</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="text-center row"></div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/vb-net/what-is-the-difference-between-vb-and-vb-net/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the difference between sqoop and pig ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-the-difference-between-sqoop-and-pig/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-the-difference-between-sqoop-and-pig/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:59:29 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[difference between sqoop and hive]]></category>
		<category><![CDATA[hive vs pig vs hbase]]></category>
		<category><![CDATA[hive vs pig vs spark]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[pig and hive tutorial]]></category>
		<category><![CDATA[pig and sqoop tutorial]]></category>
		<category><![CDATA[pig hive sqoop flume]]></category>
		<category><![CDATA[pig vs hive comparison]]></category>
		<category><![CDATA[pig vs hive performance]]></category>
		<category><![CDATA[pig vs sqoop performance]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop incremental import with query]]></category>
		<category><![CDATA[sqoop incremental load example]]></category>
		<category><![CDATA[sqoop incremental update example]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is pig and hive]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1203</guid>

					<description><![CDATA[Answer : Sqoop is a simple tool used for transferring large amount of data...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="pig" class="color-purple" style="text-align: justify;"><span style="font-family: inherit; font-size: 2rem;">Pig:</span></h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Pig is a platform for managing large data.</li>
<li>It uses high level programming to analyse the data.</li>
<li>The programming is done using the language pig latin.</li>
<li>It is simple and highly specific.</li>
<li>The pig Metastore stores all info about the tables. And we can execute spark sql queries because spark can interact with pig Metastore</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="sqoop">Sqoop:</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Sqoop is a simple tool used for transferring large amount of data.</li>
<li>It is used for transferring data from hadoop to relational database.</li>
<li>sqoop can import data from Oracle,MYSQL,SQl.</li>
<li>Sqoop metastore is a tool for using hosts in a shared metadata repository. Multiple users and remote users execute saved jobs in metastore.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img fetchpriority="high" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sqoop/difference-between-sqoop-and-pig.png" alt=" difference between sqoop and pig" width="595" height="336" /></div>
</div>
<p style="text-align: justify;" align="center">
<div class="ImageContent">
<div class="hddn" style="text-align: justify;"></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-the-difference-between-sqoop-and-pig/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is staging table in sqoop ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-staging-table-in-sqoop/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-staging-table-in-sqoop/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:53:48 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop classpath]]></category>
		<category><![CDATA[sqoop command line]]></category>
		<category><![CDATA[sqoop commands list]]></category>
		<category><![CDATA[sqoop compression]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop eval]]></category>
		<category><![CDATA[sqoop list tables]]></category>
		<category><![CDATA[sqoop merge]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[sqoop target-dir]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1201</guid>

					<description><![CDATA[Answer : Staging table is used to stage the exported data...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="staging-table-in-sqoop" class="color-purple" style="text-align: justify;">Staging table in sqoop:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn"></div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Staging table is used to stage the exported data.</li>
<li>Sqoop breaks down method into multiple transactions. A failing job may create partial knowledge.</li>
<li>This could result in job failing because it could cause duplication of data or even collision while insertion.</li>
<li>Staging tables are simple database tables that contain business details.</li>
<li>Staging table acts as an auxiliary table that&#8217;s used to transferred data.</li>
<li>Sqoop breaks down export method into multiple transactions, it&#8217;s possible that a failing export job may lead to partial data being committed to the database</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-staging-table-in-sqoop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is update command in sqoop ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-update-command-in-sqoop/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-update-command-in-sqoop/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:52:07 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[how will you update the rows that are already exported in sqoop]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop export command]]></category>
		<category><![CDATA[sqoop export update-key example]]></category>
		<category><![CDATA[sqoop import update]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[sqoop update mode]]></category>
		<category><![CDATA[sqoop upsert]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[update-mode allow insert]]></category>
		<category><![CDATA[update-mode in sqoop]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1200</guid>

					<description><![CDATA[Answer : There are two approaches to update in sqoop...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="update-command-in-sqoop" class="color-purple">Update command in sqoop:</h2>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="Content">
<div class="hddn">
<ul>
<li>There are two approaches to update in sqoop.
<ul>
<li>The records inserted are to be added to the target table.</li>
<li>The sqoop provides an update mode by providing “update-key &lt;column(s)&gt;” command.</li>
</ul>
</li>
<li>This command is used to generate the SQl update statement.</li>
<li>If the value in column 1 matches the data is updated else the data is inserted into the table.</li>
<li>This technique is also refered to as upsert where the default action is update but insertion takes place when matching data is not available.</li>
</ul>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">$ sqoop export (Generic Arguments)<br/>  --table target-relational-table <br/>  --update-key column1<br/>  --export-dir /user/my-hdfs-file<br/>  ...<br/>Generates =&gt; UPDATE target-relational-table SET<br/>                    column2=1000,column3=2000<br/>		          WHERE column1=100;</code></pre> </div></figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-update-command-in-sqoop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the use of sqoop ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-the-use-of-sqoop/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-the-use-of-sqoop/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:49:42 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[apache sqoop]]></category>
		<category><![CDATA[apache sqoop tutorial]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[hbase interview questions and answers]]></category>
		<category><![CDATA[how sqoop works internally]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop architecture]]></category>
		<category><![CDATA[sqoop command]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop example]]></category>
		<category><![CDATA[sqoop interview questions and answers]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[sqoop tutorial]]></category>
		<category><![CDATA[sqoop vs flume]]></category>
		<category><![CDATA[sqoop2 architecture]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1199</guid>

					<description><![CDATA[Answer : Sqoop is a simple tool that is used for moving data...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="sqoop-uses" class="color-purple">Sqoop uses:</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Sqoop is a simple tool that is used for moving data.</li>
<li>It is generally used move data from non hadoop data stores.</li>
<li>These non hadoop data stores are the relational databases and data warehouses .</li>
<li>Sqoop allows the users to specify the target (i.e) the place where the data is to be moved inside of hadoop from relational databases like Oracle,Teredata.</li>
<li>Data ingestion is important in any big data project because the volume of data is generally in petabytes or exabytes.</li>
<li>Hadoop <b>Sqoop </b>and Hadoop Flume are the two tools in Hadoop which is <b>used</b> to gather data from different sources and load them into HDFS.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn"><img decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sqoop/overview-of-sqoop-metastore.png" alt="Overview of sqoop metastore" width="796" height="466" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-the-use-of-sqoop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is sqoop metastore ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-sqoop-metastore/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-sqoop-metastore/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:47:16 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[cloudera sqoop metastore]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop default metastore]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop interview questions]]></category>
		<category><![CDATA[sqoop metastore configuration]]></category>
		<category><![CDATA[sqoop metastore example]]></category>
		<category><![CDATA[sqoop metastore location]]></category>
		<category><![CDATA[sqoop metastore tables]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[sqoop-site.xml configuration]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is sqoop metastore]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1198</guid>

					<description><![CDATA[Answer : Sqoop metastore is an internally implemented database that can hold the definition of a given job...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="sqoop-metastore" class="color-purple" style="text-align: justify;">Sqoop Metastore:</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Sqoop metastore is an internally implemented database that can hold the definition of a given job.</li>
<li>It includes details like which database,which table,which approach,what query to extract from,what target to write to and so on.</li>
<li>Consider an array of SQL databases that have the same structure, but are partitioned by for performance reasons.</li>
<li>Thus we have the same sqoop job running against multiple database instances at the same time, all unified at a single table in Hadoop.</li>
<li>In order to get parallelization, we generate a job that manages the Sqoop sub-workflows. This results in 500 distinct sqoop jobs.</li>
<li>Metastore is used to handle these complexities.</li>
</ul>
</div>
</div>
<div class="ImageContent">
<div class="hddn" style="text-align: justify;"><img loading="lazy" decoding="async" class="alignnone size-medium" src="https://cdn.wikitechy.com/interview-questions/sqoop/overview-of-sqoop-metastore.png" alt="overview of sqoop metastore" width="796" height="466" /></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-sqoop-metastore/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is sqoop ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-sqoop/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-sqoop/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:22:24 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[apache sqoop]]></category>
		<category><![CDATA[apache sqoop documentation]]></category>
		<category><![CDATA[apache sqoop tutorial]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[qoop tutorial]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop architecture]]></category>
		<category><![CDATA[sqoop big data]]></category>
		<category><![CDATA[sqoop commands]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop example]]></category>
		<category><![CDATA[sqoop export example]]></category>
		<category><![CDATA[sqoop hadoop]]></category>
		<category><![CDATA[sqoop import example]]></category>
		<category><![CDATA[sqoop imports]]></category>
		<category><![CDATA[sqoop interview questions]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[sqoop tutorial]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[what is sqoop]]></category>
		<category><![CDATA[what is sqoop in hadoop]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1197</guid>

					<description><![CDATA[Answer : Apache Sqoop is efficiently transferring data between Relational databases and Apache Hadoop.]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="sqoop" class="color-purple">Sqoop:</h2>
</div>
</div>
<div class="Content">
<div class="hddn"><img loading="lazy" decoding="async" class="alignnone size-medium aligncenter" src="https://cdn.wikitechy.com/interview-questions/sqoop/sqoop-tutorial.gif" alt="Sqoop Tutorial" width="743" height="414" /></div>
</div>
<div class="ImageContent">
<div class="hddn"></div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Apache Sqoop is efficiently transferring data between Relational databases and Apache Hadoop.</li>
<li>It is used to import data from relational databases such as MySQL, Oracle to Hadoop HDFS, and export from Hadoop file system to relational databases.</li>
<li>It improves the efficiency of data analysis by combining structured data and unstructured data.</li>
<li>Sqoop stands for SQL for Hadoop.SQL + HADOOP =SQOOP</li>
</ul>
</div>
</div>
<div class="text-center row">
<div class="col-sm-12"></div>
</div>
<div class="ImageContent"><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/sqoop/overview-of-sqoop-diagram.png" alt="Overview Of Sqoop Diagram" width="600" height="280" /></p>
<div class="hddn"></div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-sqoop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Print pyramid triangle in C++</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/print-pyramid-triangle-in-cpp/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/print-pyramid-triangle-in-cpp/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 00:20:02 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[area of a triangular pyramid]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c program to print patterns of numbers]]></category>
		<category><![CDATA[c program to print patterns of numbers and alphabets]]></category>
		<category><![CDATA[c program to print patterns of numbers and stars in a pyramid shape]]></category>
		<category><![CDATA[c program to print pyramid of numbers in reverse order]]></category>
		<category><![CDATA[c program to print pyramid pattern of numbers]]></category>
		<category><![CDATA[c++ pattern programs]]></category>
		<category><![CDATA[c++ program to print diamond of stars]]></category>
		<category><![CDATA[c++ program to print pyramid of numbers]]></category>
		<category><![CDATA[c++ program to print pyramid using *]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[cstar programme]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Diamond pattern programs in c]]></category>
		<category><![CDATA[difficult number pattern programs in c]]></category>
		<category><![CDATA[double pyramid pattern in c]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[letter pyramid c++]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[nested loop c++ shapes]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[pascal triangle in c++ using array]]></category>
		<category><![CDATA[pascal's triangle formula]]></category>
		<category><![CDATA[pascal's triangle patterns]]></category>
		<category><![CDATA[pattern code]]></category>
		<category><![CDATA[pattern programs in c]]></category>
		<category><![CDATA[pattern programs in java]]></category>
		<category><![CDATA[patterns in c]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[print and pattern]]></category>
		<category><![CDATA[print pascal triangle c++]]></category>
		<category><![CDATA[print pattern]]></category>
		<category><![CDATA[programming patterns]]></category>
		<category><![CDATA[pyramid of numbers]]></category>
		<category><![CDATA[pyramid program in c]]></category>
		<category><![CDATA[pyramid program in c with explanation]]></category>
		<category><![CDATA[pyramid shape]]></category>
		<category><![CDATA[right triangle c++]]></category>
		<category><![CDATA[square based pyramid]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[star pattern]]></category>
		<category><![CDATA[star pattern in c]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[toughest pattern programs in c]]></category>
		<category><![CDATA[triangular pyramid]]></category>
		<category><![CDATA[volume of a square based pyramid]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=406</guid>

					<description><![CDATA[Answer : To print pyramid triangle in C++, we have use two for loop...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="print-pyramid-triangle-in-c" class="color-pink" style="text-align: justify;">Print pyramid triangle in C++</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>To print pyramid <a href="https://www.wikitechy.com/tutorials/csharp/csharp-fibonacci-series" target="_blank" rel="noopener">triangle</a> in C++, we have use two for loop, the outer for loop and the inner for loop.</li>
<li>The outer for loop is responsible for rows and the inner for loop is responsible for column.</li>
<li>C++ programs to print different types of <a href="https://www.wikitechy.com/technology/c-program-to-print-patterns-of-numbers-and-stars/" target="_blank" rel="noopener">patterns using stars(*)</a>, numbers, and characters or alphabets.</li>
<li>This C++ program prints the full pyramid using stars(*).</li>
</ul>
<h2 id="sample-code-in-c" class="color-purple">Sample Code in C++</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include &lt;iostream&gt;<br/>using namespace std;<br/>   int main()<br/>{<br/>    int j, rows;<br/>       cout &lt;&lt;&quot;Enter number of rows: &quot;;<br/>    cin &gt;&gt; rows;<br/>       for(int i = 1, k = 0; i &lt;= rows; ++i, k = 0)<br/>    {<br/>        for(j = 1; j &lt;= rows-i; ++j)<br/>        {<br/>            cout &lt;&lt;&quot;  &quot;;<br/>        }<br/>        while(k != 2*i-1)<br/>        {<br/>            cout &lt;&lt; &quot;* &quot;;<br/>            ++k;<br/>        }<br/>        cout &lt;&lt; endl;<br/>    }    <br/>    return 0;<br/>}</code></pre> </div>
<h2 id="output" class="color-purple">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">Enter number of rows : 7   <br/>            * <br/>          * * * <br/>        * * * * * <br/>      * * * * * * * <br/>    * * * * * * * * * <br/>  * * * * * * * * * * * <br/>* * * * * * * * * * * * * </code></pre> </div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/print-pyramid-triangle-in-cpp/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C++ Inheritance</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/c-inheritance/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/c-inheritance/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 00:10:41 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[basic c++ program examples]]></category>
		<category><![CDATA[best c++ compiler]]></category>
		<category><![CDATA[best way to learn c++]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c programming examples]]></category>
		<category><![CDATA[c++ book]]></category>
		<category><![CDATA[c++ compiler download]]></category>
		<category><![CDATA[c++ compiler windows 10]]></category>
		<category><![CDATA[c++ compiler windows 7]]></category>
		<category><![CDATA[c++ derived class]]></category>
		<category><![CDATA[c++ friend functions]]></category>
		<category><![CDATA[c++ inheritance]]></category>
		<category><![CDATA[c++ inheritance example]]></category>
		<category><![CDATA[c++ inheritance example program]]></category>
		<category><![CDATA[c++ inheritance program]]></category>
		<category><![CDATA[c++ learn]]></category>
		<category><![CDATA[c++ program for multilevel inheritance]]></category>
		<category><![CDATA[c++ tutorial for beginners]]></category>
		<category><![CDATA[C++ Tutorial for Complete Beginners]]></category>
		<category><![CDATA[c++ tutorial pdf]]></category>
		<category><![CDATA[c++ tutorial point]]></category>
		<category><![CDATA[C++ Tutorials]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[define inheritance]]></category>
		<category><![CDATA[definition of inheritance]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[hierarchical inheritance]]></category>
		<category><![CDATA[hierarchical inheritance in c++]]></category>
		<category><![CDATA[hierarchical inheritance in c++ with example program]]></category>
		<category><![CDATA[hybrid inheritance c++ program]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[inheritance]]></category>
		<category><![CDATA[inheritance c++]]></category>
		<category><![CDATA[inheritance example]]></category>
		<category><![CDATA[inheritance in c++]]></category>
		<category><![CDATA[inheritance in c++ programming]]></category>
		<category><![CDATA[inheritance in c++ with example]]></category>
		<category><![CDATA[inheritance in c++ with example program]]></category>
		<category><![CDATA[inheritance in oop]]></category>
		<category><![CDATA[inheritance meaning]]></category>
		<category><![CDATA[intel c++ compiler]]></category>
		<category><![CDATA[khan academy c++]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[learn c++ codecademy]]></category>
		<category><![CDATA[learn c++ pdf]]></category>
		<category><![CDATA[learn c++ programming in 21 days for beginners]]></category>
		<category><![CDATA[learn c++ reddit]]></category>
		<category><![CDATA[learn c++ the hard way]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[multilevel inheritance]]></category>
		<category><![CDATA[multiple inheritance]]></category>
		<category><![CDATA[multiple inheritance c++ example]]></category>
		<category><![CDATA[multiple inheritance c++ program]]></category>
		<category><![CDATA[multiple inheritance in c++ example]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Online C/C++ Tutorial Academy]]></category>
		<category><![CDATA[online turbo c++ compiler]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[types of inheritance]]></category>
		<category><![CDATA[types of inheritance in c++ with example program]]></category>
		<category><![CDATA[virtual inheritance]]></category>
		<category><![CDATA[what is inheritance]]></category>
		<category><![CDATA[what is inheritance in cpp]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=404</guid>

					<description><![CDATA[Answer : Inheritance is one of the key features of Object-oriented programming...]]></description>
										<content:encoded><![CDATA[<div class="ImageContent">
<div class="hddn" style="text-align: justify;"><a href="https://cdn.wikitechy.com/interview-questions/c++/c++-inheritance.gif"><img decoding="async" class="img-responsive center-block" src="https://www.wikitechy.com/tutorials/c++/img/c++-images/c++-inheritance.gif" alt=" c++-inheritance" /></a></div>
<div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><a href="https://cdn.wikitechy.com/interview-questions/c++/c++-inheritance.jpg"><img decoding="async" class="img-responsive center-block aligncenter" src="https://www.wikitechy.com/tutorials/c++/img/c++-images/c++-inheritance.jpg" alt=" c++ inheritance" /></a></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="inheritance-in-c" class="color-pink">Inheritance in C++</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Inheritance is one of the key features of Object-oriented programming in C++. It allows user to create a new class (derived class) from an existing class(base class).</li>
<li>The derived class inherits all the features from the base class and can have additional features of its own</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://www.wikitechy.com/tutorials/c++/img/c++-images/multiple-inheritance-1.gif" alt="learn c++ tutorials - inheritance in c++" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="base-derived-classes" class="color-green">Base &amp; Derived Classes</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>A class can be derived from more than one classes, which means it can inherit data and functions from multiple base classes.</li>
<li>To define a derived class, we use a class derivation list to specify the base class(es).</li>
<li>A class derivation list names one or more base classes and has the form:</li>
</ul>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="c++ hljs typescript" data-lang="c++"><span class="nt"><span class="hljs-keyword">class</span> derived-<span class="hljs-keyword">class</span>: access-specifier base-<span class="hljs-keyword">class</span></span></code></pre>
</figure>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Where access-specifier is one of public, protected, or private, and base-class is the name of a previously defined class.</li>
<li>If the access-specifier is not used, then it is private by default.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="why-inheritance-should-be-used" class="color-pink">Why inheritance should be used?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Suppose, in your game, you want three characters &#8211; a maths teacher, a footballer and a businessman.</li>
<li>Since, all of the characters are persons, they can walk and talk. However, they also have some special skills. A maths teacher can teach maths, a footballer can play football and a businessman can run a business.</li>
<li>You can individually create three classes who can walk, talk and perform their special skill as shown in the figure below.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><a href="https://cdn.wikitechy.com/interview-questions/c++/c++-inherit.jpg"><img decoding="async" class="img-responsive center-block aligncenter" src="https://www.wikitechy.com/tutorials/c++/img/c++-images/c++-inherit.jpg" alt=" c++ inheritances" /></a></div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In each of the classes, you would be copying the same code for walk and talk for each character.</li>
<li>If you want to add a new feature &#8211; eat, you need to implement the same code for each character. This can easily become error prone (when copying) and duplicate codes.</li>
<li>It&#8217;d be a lot easier if we had a Person class with basic features like talk, walk, eat, sleep, and add special skills to those features as per our characters. This is done using inheritance.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><a href="https://cdn.wikitechy.com/interview-questions/c++/c+ineritance-multiple.jpg"><img decoding="async" class="img-responsive center-block" src="https://www.wikitechy.com/tutorials/c++/img/c++-images/c+ineritance-multiple.jpg" alt=" c++ inheritances multiple" /></a></div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Using inheritance, now you don&#8217;t implement the same code for walk and talk for each class. You just need to inherit them.</li>
<li>This makes your code cleaner, understandable and extendable</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h6 id="learn-c-c-tutorial-c-programming-c-language-cplusplus" style="text-align: justify;">Learn C++ , C++ Tutorial , C++ programming &#8211; C++ Language -Cplusplus</h6>
<h5 id="implementation-of-inheritance-in-c-programming" class="color-blue" style="text-align: justify;">Implementation of Inheritance in C++ Programming</h5>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">class Person <br/>{<br/>  ... .. ...<br/>};<br/>class MathsTeacher : public Person <br/>{<br/>  ... .. ...<br/>};<br/>class Footballer : public Person<br/>{<br/>  .... .. ...<br/>};</code></pre> </div>
<ul style="text-align: justify;">
<li>In the above example, class Person is a base class and classes MathsTeacher andFootballer are the derived from Person.</li>
<li>The derived class appears with the declaration of a class followed by a colon, the keywordpublic and the name of base class from which it is derived.</li>
<li>Since, MathsTeacher and Footballer are derived from Person, all data member and member function of Person can be accessible from them</li>
</ul>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="example-inheritance-in-c-programming" class="color-red">Example: Inheritance in C++ Programming</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul style="text-align: justify;">
<li>Create game characters using the concept of inheritance.</li>
</ul>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include &lt;iostream&gt;<br/>using namespace std;<br/><br/>class Person<br/>{<br/>     public:<br/>        string profession;<br/>        int age;<br/><br/>        Person(): profession(&quot;unemployed&quot;), age(16) { }<br/>        void display()<br/>        {<br/>             cout &lt;&lt; &quot;My profession is: &quot; &lt;&lt; profession &lt;&lt; endl;<br/>             cout &lt;&lt; &quot;My age is: &quot; &lt;&lt; age &lt;&lt; endl;<br/>             walk();<br/>             talk();<br/>        }<br/>        void walk() { cout &lt;&lt; &quot;I can walk.&quot; &lt;&lt; endl; }<br/>        void talk() { cout &lt;&lt; &quot;I can talk.&quot; &lt;&lt; endl; }<br/>};<br/><br/>// MathsTeacher class is derived from base class Person.<br/>class MathsTeacher : public Person<br/>{<br/>    public:<br/>       void teachMaths() { cout &lt;&lt; &quot;I can teach Maths.&quot; &lt;&lt; endl; }<br/>};<br/><br/>// Footballer class is derived from base class Person.<br/>class Footballer : public Person<br/>{<br/>    public:<br/>       void playFootball() { cout &lt;&lt; &quot;I can play Football.&quot; &lt;&lt; endl; }<br/>};<br/><br/>int main()<br/>{<br/>     MathsTeacher teacher;<br/>     teacher.profession = &quot;Teacher&quot;;<br/>     teacher.age = 23;<br/>     teacher.display();<br/>     teacher.teachMaths();<br/><br/>     Footballer footballer;<br/>     footballer.profession = &quot;Footballer&quot;;<br/>     footballer.age = 19;<br/>     footballer.display();<br/>     footballer.playFootball();<br/><br/>     return 0;<br/>}</code></pre> </div>
<h2 id="output" class="color-purple" style="text-align: justify;">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">My profession is: Teacher<br/>My age is: 23<br/>I can walk.<br/>I can talk.<br/>I can teach Maths.<br/>My profession is: Footballer<br/>My age is: 19<br/>I can walk.<br/>I can talk.<br/>I can play Football.</code></pre> </div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In this program, Person is a base class, while MathsTeacher and Footballer are derived from Person</li>
<li>Person class has two data members &#8211; profession and age. It also has two member functions &#8211; walk() and talk().</li>
<li>Both MathsTeacher and Footballer can access all data members and member functions of Person.</li>
<li>However, MathsTeacher and Footballer have their own member functions as well:teachMaths() and playFootball() respectively. These functions are only accessed by their own class.</li>
<li>In the main() function, a new MathsTeacher object teacher is created.</li>
<li>Since, it has access to Person&#8217;s data members, profession and age of teacher is set. This data is displayed using the display() function defined in the Person class. Also, the teachMaths() function is called, defined in the MathsTeacher class.</li>
<li>Likewise, a new Footballer object footballer is also created. It has access to Person&#8217;s data members as well, which is displayed by invoking the display() function. The playFootball() function only accessible by the footballer is called then after.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="access-specifiers-in-inheritance" class="color-orange">Access specifiers in Inheritance</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>When creating a derived class from a base class, you can use different access specifiers to inherit the data members of the base class.</li>
<li>These can be public, protected or private.</li>
<li>In the above example, the base class Person has been inherited public-ly by MathsTeacherand Footballer.</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="member-function-overriding-in-inheritance" class="color-green" style="text-align: justify;">Member Function Overriding in Inheritance</h2>
<ul style="text-align: justify;">
<li>Suppose, base class and derived class have member functions with same name and arguments.</li>
<li>If you create an object of the derived class and try to access that member function, the member function in derived class is only invoked.</li>
<li>The member function of derived class overrides the member function of base class.</li>
</ul>
<p style="text-align: justify;">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/c-inheritance/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Dangling Pointer ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/dangling-pointer/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/dangling-pointer/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 23:36:28 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[dangling examples]]></category>
		<category><![CDATA[dangling meaning]]></category>
		<category><![CDATA[dangling memory]]></category>
		<category><![CDATA[dangling memory in c]]></category>
		<category><![CDATA[dangling pointer]]></category>
		<category><![CDATA[dangling pointer and memory leak]]></category>
		<category><![CDATA[dangling pointer definition]]></category>
		<category><![CDATA[dangling pointer example]]></category>
		<category><![CDATA[dangling pointer in c example]]></category>
		<category><![CDATA[dangling pointer in c language]]></category>
		<category><![CDATA[dangling pointer in c++]]></category>
		<category><![CDATA[dangling pointer in cmemory leak in c]]></category>
		<category><![CDATA[dangling pointer in cpp]]></category>
		<category><![CDATA[dangling pointer in data structure]]></category>
		<category><![CDATA[dangling pointer in java]]></category>
		<category><![CDATA[dangling pointer mcq]]></category>
		<category><![CDATA[dangling pointer points to]]></category>
		<category><![CDATA[dangling pointer tutorialspoint]]></category>
		<category><![CDATA[dangling reference]]></category>
		<category><![CDATA[dangling tool]]></category>
		<category><![CDATA[define dangling]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[how can you create a dangling pointer]]></category>
		<category><![CDATA[how to avoid dangling pointer in c]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[null pointer in cnull pointer c++]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[types of pointers in c]]></category>
		<category><![CDATA[uninitialized pointer]]></category>
		<category><![CDATA[void pointer in c]]></category>
		<category><![CDATA[what is dangling]]></category>
		<category><![CDATA[what is dangling pointer]]></category>
		<category><![CDATA[what is dangling pointer and how to avoid it]]></category>
		<category><![CDATA[what is dangling pointer in c]]></category>
		<category><![CDATA[what is dangling reference]]></category>
		<category><![CDATA[what is the meaning of dangling]]></category>
		<category><![CDATA[wild pointer in c]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=402</guid>

					<description><![CDATA[Answer : A dangling pointer is pointing to a memory location...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="dangling-pointer" class="color-pink" style="text-align: justify;">Dangling Pointer</h2>
</div>
</div>
<div class="Content">
<div class="hddn" style="text-align: justify;">
<ul>
<li>A dangling pointer is pointing to a memory location that has been deleted (or freed). The dangling pointer act as a different ways there are,
<ul>
<li>De-allocation of memory</li>
<li>Function Call</li>
<li>Variable goes out of scope</li>
</ul>
</li>
</ul>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/cpp/dangling-pointers.png" alt=" " /></div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="de-allocation-of-memory" class="color-blue" style="text-align: justify;">De-allocation of memory</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include&lt;stdlib.h&gt;<br/>void main()<br/>{<br/>    char *ptr = malloc(Constant_Value);<br/>    free (ptr); //ptr now becomes a dangling pointer<br/>}</code></pre> </div>
<ul style="text-align: justify;">
<li>First we have declared in the character pointer. After execution of some statements we have de-allocated memory which is allocated previously for the pointer.</li>
<li>Immediately memory is de-allocated for pointer, pointer becomes dangling pointer.</li>
</ul>
<h2 id="function-call" class="color-blue" style="text-align: justify;">Function Call</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">int * func ( void )<br/>{<br/>    int num = 14;<br/>    return #<br/>}</code></pre> </div>
<ul style="text-align: justify;">
<li>The pointer may be return the correct value (1234) for a while after calling <b>func</b>, but any functions called thereafter will overwrite the stack storage allocated for <b>num</b> with other values and the pointer would no longer work correctly.</li>
<li>If a pointer to num must be returned, num must have scope beyond the function it might be declared as static.</li>
</ul>
<h2 id="variable-goes-out-of-scope" class="color-blue" style="text-align: justify;">Variable goes out of scope</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include&lt;stdlib.h&gt;<br/>void main()<br/>{<br/>    char *ptr = NULL;<br/>    {<br/>        char ch;<br/>        ptr = &amp;ch;<br/>    }//dp is now a dangling pointer<br/>}</code></pre> </div>
<ul style="text-align: justify;">
<li>First we have declared in the Character Pointer.</li>
<li>Next the Pointer Variable ‘ptr’ is pointing to Character Variable ‘ch’ declared in the inner block .</li>
<li>As character variable is non-visible in Outer Block , then Pointer is still pointing to Same Invalid memory location in Outer block , then Pointer becomes “Dangling”.</li>
</ul>
<p style="text-align: justify;">
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/dangling-pointer/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Finding all substrings of a given number that are divisible by 11</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/finding-all-substrings-of-a-given-number-that-are-divisible-by-11/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/finding-all-substrings-of-a-given-number-that-are-divisible-by-11/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 23:25:00 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[array maximum sum divisible by n in c]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c++ int to string]]></category>
		<category><![CDATA[c++ string]]></category>
		<category><![CDATA[c++ string contains charfind position of character in string c++]]></category>
		<category><![CDATA[c++ string length]]></category>
		<category><![CDATA[c++ string nposfind substring in char array c++]]></category>
		<category><![CDATA[c++ string to int]]></category>
		<category><![CDATA[c++ substring]]></category>
		<category><![CDATA[c++ substring before character]]></category>
		<category><![CDATA[c++ substring from end]]></category>
		<category><![CDATA[c++ substring from index to end]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[consecutive subsequences whose sum is divisible by k.]]></category>
		<category><![CDATA[continuous subarray sum multiple of k]]></category>
		<category><![CDATA[count subarrays with sum k]]></category>
		<category><![CDATA[declare string in c++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[find all occurrences of a substring in a string c++]]></category>
		<category><![CDATA[find character in string c++]]></category>
		<category><![CDATA[find occurrence of character in string c++]]></category>
		<category><![CDATA[find substring in string c++]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[function of library]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[how to divide a string into substrings in c++]]></category>
		<category><![CDATA[how to find a letter in a string c++]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[MagicBricks Interview Questions and Answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[number of subsequences divisible by n]]></category>
		<category><![CDATA[number of subsequences in a array divisible by n]]></category>
		<category><![CDATA[number of subsequences in a string]]></category>
		<category><![CDATA[number of subsequences in a string divisible by n]]></category>
		<category><![CDATA[number of subsequences whose sum is divisible by n]]></category>
		<category><![CDATA[number of times a string occurs as a subsequence]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[print string in c++]]></category>
		<category><![CDATA[program to find substring in a string in c++]]></category>
		<category><![CDATA[reverse substring c++]]></category>
		<category><![CDATA[sort substring c++]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[string functions in c++]]></category>
		<category><![CDATA[string in c++ programming]]></category>
		<category><![CDATA[string length in c++]]></category>
		<category><![CDATA[string match c++]]></category>
		<category><![CDATA[string programs in c++]]></category>
		<category><![CDATA[string to int c++]]></category>
		<category><![CDATA[strings in c]]></category>
		<category><![CDATA[subsequence sum divisible by k]]></category>
		<category><![CDATA[subset with sum divisible by m]]></category>
		<category><![CDATA[substr c++]]></category>
		<category><![CDATA[substr in c]]></category>
		<category><![CDATA[substring c++]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[what is string in c++]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=400</guid>

					<description><![CDATA[Answer : Query(l, r) : find if the sub-string between the indices l and r....
]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="finding-all-substrings-of-a-given-number-that-are-divisible-by-11" class="color-pink" style="text-align: justify;">Finding all substrings of a given number that are divisible by 11</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<p>To find easy to way of Divisibility by 11,</p>
<ul>
<li>The multiples of 11: 22, 33, 44, 55, etc. But we did&#8217;t easy to find the number 2728, 54695 is divisible by 11.</li>
<li>Here an easy way to test for divisibility by 11. Take the alternating sum of the digits in the number, read from left to right. If that is divisible by 11, so is the original number.</li>
<li>So, for example, 2728 has alternating sum of digits 2-7+2-8 = -11. Since -11 is divisible by 11, so is 2728.</li>
<li>Similarly, for 54695, the alternating sum of digits is 5-4+6-9+5 = 3. This is not divisible by 11, so neither is 54695.</li>
</ul>
<div class="TextHeading">
<div class="hddn">
<h2 id="given-a-large-number-n-having-number-digits-up-to-106-and-various-queries-of-the-below-form" class="color-purple">Given a large number, n (having number digits up to 10^6) and various queries of the below form :</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>Query(l, r) : find if the <a href="https://www.wikitechy.com/technology/longest-even-length-substring-sum-first-second-half/" target="_blank" rel="noopener">sub-string</a> between the indices l and r (Both inclusive) are divisible by 11.</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h2 id="input" class="color-green">Input</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">n = 122164154695<br/>Queries: l = 0 r = 3, l = 1 r = 2, l = 5 r = 9, l = 0 r = 11</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-green">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">True<br/>True<br/>False<br/>True</code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="explanation" class="color-red">Explanation</h2>
</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>In the first query, 1221 is divisible by 11.</li>
<li>In the second query, 22 is divisible by 11 and so on.</li>
<li>We know that any number is divisible by 11 if the difference between sum of odd indexed digits and the sum of even indexed digits is divisible by 11, i.e.,</li>
</ul>
</div>
</div>
<div class="TextHeading">
<div class="hddn">
<h4 id="sumdigits-at-odd-places-sumdigits-at-even-places-should-be-divisible-by-11" class="color-blue">Sum(digits at odd places) &#8211; Sum(digits at even places) should be divisible by 11.</h4>
<h2 id="sample-code" class="color-red">Sample code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include &lt;iostream&gt; <br/>using namespace std; <br/>  <br/>const int MAX = 1000005; <br/>  <br/>// To store sums of even and odd digits <br/>struct OddEvenSums <br/>{ <br/>    int e_sum; // Sum of even placed digits <br/>  <br/>    int o_sum; // Sum of odd placed digits <br/>}; <br/>  <br/>OddEvenSums sum[MAX]; // Auxiliary array <br/>  <br/>// Utility function to evaluate a character&#039;s <br/>// integer value <br/>int toInt(char x) <br/>{ <br/>    return int(x) - 48; <br/>} <br/>  <br/>// This function receives the string representation <br/>// of the number and precomputes the sum array <br/>void preCompute(string x) <br/>{  <br/>    sum[0].e_sum = sum[0].o_sum = 0; // Initialize everb <br/>  <br/>    // Add the respective digits depending on whether <br/>    // they&#039;re even indexed or odd indexed <br/>    for (int i=0; i&lt;x.length(); i++) <br/>    { <br/>        if (i%2==0) <br/>        { <br/>            sum[i+1].e_sum = sum[i].e_sum+toInt(x[i]); <br/>            sum[i+1].o_sum = sum[i].o_sum; <br/>        } <br/>        else<br/>        { <br/>            sum[i+1].o_sum = sum[i].o_sum+toInt(x[i]); <br/>            sum[i+1].e_sum = sum[i].e_sum; <br/>        } <br/>    } <br/>} <br/>  <br/>// This function receives l and r representing <br/>// the indices and prints the required output <br/>bool query(int l,int r) <br/>{ <br/>    int diff = (sum[r+1].e_sum - sum[r+1].o_sum) - (sum[l].e_sum - sum[l].o_sum); <br/>  <br/>    return (diff%11==0); <br/>} <br/>  <br/>//driver function to check the program <br/>int main() <br/>{ <br/>    string s = &quot;122164154695&quot;; <br/>  <br/>    preCompute(s); <br/>  <br/>    cout &lt;&lt; query(0, 3) &lt;&lt; endl; <br/>    cout &lt;&lt; query(1, 2) &lt;&lt; endl; <br/>    cout &lt;&lt; query(5, 9) &lt;&lt; endl; <br/>    cout &lt;&lt; query(0, 11) &lt;&lt; endl; <br/>  <br/>    return 0; <br/>} </code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output-2" class="color-red">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">1 <br/>1<br/>0<br/>1</code></pre> </div>
</div>
</div>
</div>
</div>
</figure>
</div>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/finding-all-substrings-of-a-given-number-that-are-divisible-by-11/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the best way to sort an array of 0s and 1s ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/what-is-the-best-way-to-sort-an-array-of-0s-and-1s/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/what-is-the-best-way-to-sort-an-array-of-0s-and-1s/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 23:13:59 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[all sorting programs in c++]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[array sort]]></category>
		<category><![CDATA[array sort c++]]></category>
		<category><![CDATA[array sorting in c]]></category>
		<category><![CDATA[arraylist sort]]></category>
		<category><![CDATA[ascending order program in c++ using for loop]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[bubble sort c++]]></category>
		<category><![CDATA[c++ container sort]]></category>
		<category><![CDATA[c++ program to sort an array in ascending order using functionsort array c++ ascending function]]></category>
		<category><![CDATA[c++ program to sort an array in descending order]]></category>
		<category><![CDATA[c++ set sort]]></category>
		<category><![CDATA[c++ sort array]]></category>
		<category><![CDATA[c++ sort array alphabetically]]></category>
		<category><![CDATA[c++ sort custom comparator]]></category>
		<category><![CDATA[c++ sort vector of doubles]]></category>
		<category><![CDATA[c++ sort vector of strings]]></category>
		<category><![CDATA[c++ sort vector of strings alphabetically]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[compro technologies interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[how to sort an array]]></category>
		<category><![CDATA[how to sort an array in c++]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[q sort function in c++]]></category>
		<category><![CDATA[sort array c++ ascending]]></category>
		<category><![CDATA[sort deque c++]]></category>
		<category><![CDATA[sort float vector c++]]></category>
		<category><![CDATA[sort function in c]]></category>
		<category><![CDATA[sort part of array c++]]></category>
		<category><![CDATA[sort part of vector c++]]></category>
		<category><![CDATA[sort string array in java]]></category>
		<category><![CDATA[sort vector in descending order c++]]></category>
		<category><![CDATA[sorting an array in c++ program]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=398</guid>

					<description><![CDATA[Answer : Sort an array elements means arrange...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-the-best-way-to-sort-an-array-of-0s-and-1s" class="color-pink" style="text-align: justify;">What is the best way to sort an array of 0s and 1s ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li><a href="https://www.wikitechy.com/tutorials/java/how-to-sort-string-array-in-java" target="_blank" rel="noopener">Sort an array</a> elements means arrange elements of array in <a href="https://www.wikitechy.com/angularjs/angularjs-orderby-filter" target="_blank" rel="noopener">ascending order and descending order</a>.</li>
</ul>
</div>
</div>
<p style="text-align: justify;">Given an array A[] consisting 0s, 1s and 2s, write a function that sorts A[]. The functions should put all 0s first, then all 1s and all 2s in last.</p>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="example" class="color-purple">Example</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">Input :  {0, 1, 2, 0, 1, 2}<br/>Output : {0, 0, 1, 1, 2, 2}<br/>Input :  {0, 1, 1, 0, 1, 2, 1, 2, 0, 0, 0, 1}<br/>Output : {0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2}</code></pre> </div>
</div>
</div>
<div class="Output" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<pre><code class="hljs" data-lang=""></code><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/cpp/sort-an-array-of-0s-and-1s.gif" alt=" Sort" /></pre>
</figure>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight">
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-c" class="color-purple">Sample code in C++</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">#include &lt;bits/stdc++.h&gt;<br/>using namespace std; <br/>  <br/>// Function to segregate 0s and 1s <br/>void segregate0and1(intarr[], int n) <br/>{ <br/>    int count = 0; // Counts the no of zeros in arr<br/>  	<br/>    for (inti = 0; i&lt; n; i++) { <br/>        if (arr[i] == 0) <br/>            count++; <br/>    } <br/>  <br/>    // Loop fills the arr with 0 until count <br/>    for (inti = 0; i&lt; count; i++) <br/>        arr[i] = 0; <br/>  <br/>    // Loop fills remaining arr space with 1 <br/>    for (inti = count; i&lt; n; i++) <br/>        arr[i] = 1; <br/>} <br/>  <br/>// Function to print segregated array <br/>void print(intarr[], int n) <br/>{ <br/>    cout&lt;&lt; &quot;Array after segregation is &quot;; <br/>  <br/>    for (inti = 0; i&lt; n; i++) <br/>        cout&lt;&lt;arr[i] &lt;&lt; &quot; &quot;; <br/>} <br/>  <br/>// Driver function <br/>int main() <br/>{ <br/>    intarr[] = { 0, 1, 0, 1, 1, 1 }; <br/>    int n = sizeof(arr) / sizeof(arr[0]); <br/>      <br/>    segregate0and1(arr, n); <br/>    print(arr, n); <br/>      <br/>    return 0; <br/>} </code></pre> </div>
<div class="TextHeading">
<div class="hddn">
<h2 id="output" class="color-purple">Output</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">Array after segregation is 0 0 1 1 1 1</code></pre> </div>
</div>
</div>
</div>
</div>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/what-is-the-best-way-to-sort-an-array-of-0s-and-1s/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Find Largest number from set of given numbers ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/find-largest-number-from-set-of-given-numbers/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/find-largest-number-from-set-of-given-numbers/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 23:08:03 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[arrange given numbers to form the biggest number c#]]></category>
		<category><![CDATA[arrange given numbers to form the biggest number in c++]]></category>
		<category><![CDATA[arrange given numbers to form the biggest number in python]]></category>
		<category><![CDATA[arrange given numbers to form the biggest number java]]></category>
		<category><![CDATA[arrange given numbers to form the biggest number javascript]]></category>
		<category><![CDATA[arrange the numbers to form the biggest number]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[biggest number ever]]></category>
		<category><![CDATA[biggest numbers list]]></category>
		<category><![CDATA[biggest possible number]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[find largest number possible by rearranging the number.]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[infrrd interview questions and answers]]></category>
		<category><![CDATA[largest concatenated number in c]]></category>
		<category><![CDATA[largest number formed from an array in c++]]></category>
		<category><![CDATA[largest possible number with digits in c]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[the biggest number]]></category>
		<category><![CDATA[what is the biggest four digit number]]></category>
		<category><![CDATA[what is the biggest number]]></category>
		<category><![CDATA[what is the biggest number besides infinity]]></category>
		<category><![CDATA[what is the biggest number ever]]></category>
		<category><![CDATA[what is the biggest number possibleis google the biggest number]]></category>
		<category><![CDATA[what is the biggest number with three 3's]]></category>
		<category><![CDATA[what's the biggest number]]></category>
		<category><![CDATA[which is the biggest number]]></category>
		<category><![CDATA[which number is the biggest]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[write a program to arrange them such that they form the largest number.]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=396</guid>

					<description><![CDATA[Answer : Find number of digits in the largest number. Let us assume number of digits be n...
]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="find-largest-number-from-set-of-given-numbers" class="color-pink" style="text-align: justify;">Find Largest number from set of given numbers ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Find number of digits in the largest number. Let us assume number of digits be n.</li>
<li>Create extended version of all numbers. In extended version, we have n+1 digit formed by concatenating the number of with itself and <a href="https://www.wikitechy.com/tutorials/sql/truncate-table" target="_blank" rel="noopener">truncating</a> extra digits.</li>
<li><a href="https://www.wikitechy.com/tutorials/golang/sorting-in-golang" target="_blank" rel="noopener">Sorting</a> the value from original numbers according to their extended values.</li>
<li><a href="https://www.wikitechy.com/tutorials/sql/concat-sql" target="_blank" rel="noopener">Concatenating</a> to the sorted numbers produce the required result.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;"></div>
<div class="TextHeading">
<div class="hddn">
<h2 id="sample-code-in-c" class="color-blue" style="text-align: justify;">Sample Code in C++</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">/ Given an array of numbers, program to arrange the numbers to form the <br/>// largest number <br/>#include &lt;iostream&gt; <br/>#include &lt;string&gt; <br/>#include &lt;vector&gt; <br/>#include &lt;algorithm&gt; <br/>using namespace std; <br/>  <br/>// A comparison function which is used by sort() in printLargest() <br/>int myCompare(string X, string Y) <br/>{ <br/>    // first append Y at the end of X <br/>    string XY = X.append(Y); <br/>  <br/>    // then append X at the end of Y <br/>    string YX = Y.append(X); <br/>  <br/>    // Now see which of the two formed numbers is greater <br/>    return XY.compare(YX) &gt; 0 ? 1: 0; <br/>} <br/>  <br/>// The main function that prints the arrangement with the largest value. <br/>// The function accepts a vector of strings <br/>void printLargest(vector&lt;string&gt; arr) <br/>{ <br/>    sort(arr.begin(), arr.end(), myCompare); <br/>  <br/>    for (int i=0; i &lt; arr.size() ; i++ ) <br/>        cout &lt;&lt; arr[i]; <br/>} <br/>  <br/>// driver program to test above functions <br/>int main() <br/>{ <br/>    vector&lt;string&gt; arr; <br/>  <br/>    //output should be 5545727825 <br/>	arr.push_back(&quot;25&quot;); <br/>	arr.push_back(&quot;457&quot;); <br/>	arr.push_back(&quot;278&quot;); <br/>	arr.push_back(&quot;55&quot;); <br/>	printLargest(arr); <br/>  <br/>  <br/>   return 0; <br/>} </code></pre> </div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-blue">Output</h2>
</div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs" data-lang=""><span class="nt">5545727825</span></code></pre>
</figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/find-largest-number-from-set-of-given-numbers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The operator when overloaded in a class ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/the-operator-when-overloaded-in-a-class/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/the-operator-when-overloaded-in-a-class/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 23:03:08 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[compile time polymorphism in c++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[oops concepts]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[polymorphism c++]]></category>
		<category><![CDATA[polymorphism c++ shapes]]></category>
		<category><![CDATA[polymorphism example]]></category>
		<category><![CDATA[polymorphism in c++]]></category>
		<category><![CDATA[polymorphism in c++ with example program]]></category>
		<category><![CDATA[polymorphism in oops]]></category>
		<category><![CDATA[polymorphism in oops with example in c++]]></category>
		<category><![CDATA[polymorphism programming]]></category>
		<category><![CDATA[polymorphism types]]></category>
		<category><![CDATA[polymorphism vs inheritance]]></category>
		<category><![CDATA[runtime polymorphism]]></category>
		<category><![CDATA[runtime polymorphism in c++]]></category>
		<category><![CDATA[Sapient Technical and HR Interview Questions]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[types of polymorphism]]></category>
		<category><![CDATA[types of polymorphism in c++]]></category>
		<category><![CDATA[types of polymorphism in oops]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=392</guid>

					<description><![CDATA[Answer : B. Ad-hoc polymorphism]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h3 id="the-operator-when-overloaded-in-a-class" class="color-pink" style="text-align: justify;">The operator when overloaded in a class ?</h3>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. Virtual polymorphism</p>
</div>
<div class="col-sm-6">
<p>B. Ad-hoc polymorphism</p>
</div>
<div class="col-sm-6">
<p>C. Transient polymorphism</p>
</div>
<div class="col-sm-6">
<p>D. Pseudo polymorphism</p>
</div>
</div>
<h3 id="answer-b-ad-hoc-polymorphism" style="text-align: justify;"><b>Answer : </b>B. Ad-hoc polymorphism</h3>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Polymorphism means having many forms that in a single entity can takes more than one form.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div><img loading="lazy" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/c++/polymorphism-in-cpp.jpg" alt="polymorphism in cpp" width="650" height="360" /></div>
<div class="hddn">The polymorphism classes are given below:</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>
<ul>
<li style="text-align: justify;">Subtype polymorphism is also known as <b>runtime polymorphism</b></li>
<li style="text-align: justify;">Parametric polymorphism is also known as <b>compile-time polymorphism</b></li>
<li style="text-align: justify;">Ad-hoc polymorphism is also known as <b>overloading</b></li>
<li style="text-align: justify;">Coercion is also known as (implicit or explicit) <b>casting</b></li>
</ul>
</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/the-operator-when-overloaded-in-a-class/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Syntax for Pure Virtual Function is ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/syntax-for-pure-virtual-function-is/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/syntax-for-pure-virtual-function-is/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 22:58:10 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[abstract class in c++ with simple example]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[advantages of virtual function in c++]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[can pure virtual function]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[explain pure virtual function with example program]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[pure virtual function]]></category>
		<category><![CDATA[pure virtual function c++]]></category>
		<category><![CDATA[pure virtual function in c++]]></category>
		<category><![CDATA[pure virtual function in c++ with example program]]></category>
		<category><![CDATA[Sapient Technical and HR Interview Questions]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[use of abstract class in c++]]></category>
		<category><![CDATA[use of pure virtual function in c++]]></category>
		<category><![CDATA[use of virtual function in c++]]></category>
		<category><![CDATA[virtual base class in c++]]></category>
		<category><![CDATA[virtual class c++]]></category>
		<category><![CDATA[virtual class in c++]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=388</guid>

					<description><![CDATA[Answer : D. void virtual show()=0]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h3 id="syntax-for-pure-virtual-function-is" class="color-pink" style="text-align: justify;">Syntax for Pure Virtual Function is ?</h3>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. virtual void show()==0</p>
</div>
<div class="col-sm-6">
<p>B. void virtual show()==0</p>
</div>
<div class="col-sm-6">
<p>C. virtual void show()=0</p>
</div>
<div class="col-sm-6">
<p>D. void virtual show()=0</p>
</div>
</div>
</div>
</div>
<h3 id="answer-b-virtual-void-show0" style="text-align: justify;"><b>Answer : </b>B. virtual void show()==0</h3>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>In C++, A <a href="https://www.wikitechy.com/interview-questions/c-2/what-is-pure-virtual-function-in-cpp/">pure virtual function</a> or abstract function is a virtual function for which we don’t have implementation, we only declare it. A pure virtual function is declared by assigning 0 in declaration.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="syntax" class="color-green">Syntax</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">// An abstract class <br/>class Sample<br/>{    <br/>    // Data members of class <br/>public: <br/>    // Pure Virtual Function <br/>    virtual void show() = 0; <br/>    <br/>   /* Other members */<br/>};</code></pre> </div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/syntax-for-pure-virtual-function-is/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Find the wrong statement about Abstract Class ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/find-the-wrong-statement-about-abstract-class/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/find-the-wrong-statement-about-abstract-class/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 22:54:00 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[abstract class in c++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[c++ abstract class]]></category>
		<category><![CDATA[c++ abstract class constructor]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[interface and abstract class in c++]]></category>
		<category><![CDATA[interface is partial abstract class true or false]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[pure virtual class in c++]]></category>
		<category><![CDATA[pure virtual function in c++]]></category>
		<category><![CDATA[Sapient Technical and HR Interview Questions]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[use of abstract class in c++]]></category>
		<category><![CDATA[use of virtual function in c++]]></category>
		<category><![CDATA[uses of abstract class in c++]]></category>
		<category><![CDATA[virtual base class in c++]]></category>
		<category><![CDATA[virtual destructor in c++]]></category>
		<category><![CDATA[Virtual Function in C++]]></category>
		<category><![CDATA[we can declare abstract method outside of abstract class mcq]]></category>
		<category><![CDATA[we can declare abstract method outside of abstract class true or false]]></category>
		<category><![CDATA[which of the following is true about abstract classes]]></category>
		<category><![CDATA[which of the following is used to make an abstract class mcq]]></category>
		<category><![CDATA[which of the following statement is false about abstract classes]]></category>
		<category><![CDATA[which statement is incorrect with respect to abstract class]]></category>
		<category><![CDATA[which statement is incorrect with respect to abstract class in c++]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=386</guid>

					<description><![CDATA[Answer : B. We can’t create pointers to an abstract class]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h3 id="find-the-wrong-statement-about-abstract-class" class="color-pink" style="text-align: justify;">Find the wrong statement about Abstract Class ?</h3>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. We can’t create its objects</p>
</div>
<div class="col-sm-6">
<p>B. We can’t create pointers to an abstract class</p>
</div>
<div class="col-sm-6">
<p>C. It contains at least one pure virtual function</p>
</div>
<div class="col-sm-6">
<p>D. We can create references to an abstract class</p>
</div>
</div>
<h3 id="answer-b-we-cant-create-pointers-to-an-abstract-class" style="text-align: justify;"><b>Answer : </b>B. We can’t create pointers to an abstract class</h3>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Abstract Class is a class which contains atleast one Pure Virtual function.</li>
<li>An abstract class is a class that is designed to be specifically used as a base class.</li>
<li>It is used to provide an Interface for its sub classes.</li>
<li>Classes inheriting an Abstract Class must provide definition to the pure virtual function, otherwise they will also become abstract class.</li>
<li>You declare a pure virtual function by using a <b>pure specifier (= 0)</b> in the declaration of a virtual member function in the class declaration.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="example" class="color-green">Example</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-cpp code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-cpp code-embed-code">class AB {<br/>public:<br/>  virtual void f() = 0;<br/>};</code></pre> </div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/find-the-wrong-statement-about-abstract-class/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C++ supports run time polymorphism with the help of virtual functions, which is called ______ binding</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 22:49:38 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[compile time polymorphism in c++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[how runtime polymorphism is achieved in c++]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[need of virtual function in c++]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[polymorphism and virtual function in c++]]></category>
		<category><![CDATA[polymorphism example]]></category>
		<category><![CDATA[polymorphism in c++ with example programpolymorphism in c++]]></category>
		<category><![CDATA[polymorphism programming]]></category>
		<category><![CDATA[polymorphism programmingcompile time polymorphism in c++]]></category>
		<category><![CDATA[pure virtual function in c++]]></category>
		<category><![CDATA[runtime polymorphism]]></category>
		<category><![CDATA[runtime polymorphism in c++]]></category>
		<category><![CDATA[runtime polymorphism is achieved by virtual function in c++]]></category>
		<category><![CDATA[Sapient Technical and HR Interview Questions]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[types of polymorphism in c++]]></category>
		<category><![CDATA[use of virtual function in c++]]></category>
		<category><![CDATA[Virtual Function in C++]]></category>
		<category><![CDATA[virtual function in c++ with example]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=384</guid>

					<description><![CDATA[Answer : A. Dynamic]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h3 id="c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding" class="color-pink" style="text-align: justify;">C++ supports run time polymorphism with the help of virtual functions, which is called ______ binding.</h3>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. Dynamic</p>
</div>
<div class="col-sm-6">
<p>B. Run time</p>
</div>
<div class="col-sm-6">
<p>C. Early binding</p>
</div>
<div class="col-sm-6">
<p>D. Static</p>
</div>
</div>
<h3 id="answer-a-dynamic" style="text-align: justify;"><b>Answer : </b>A. Dynamic</h3>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Dynamic binding (dynamic dispatch) means that a block of code executed with reference to a procedure call is determined at run time.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
