<?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>TechnoExam</title>
	<atom:link href="http://www.technoexam.com/programs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.technoexam.com/programs</link>
	<description>Think Better ! Do Better !!</description>
	<lastBuildDate>Mon, 23 Apr 2012 18:31:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>C Program to find Number of Three Digits Numbers Greater Than 100</title>
		<link>http://www.technoexam.com/programs/2012/04/24/three-digits-numbers-greater-than-100/</link>
		<comments>http://www.technoexam.com/programs/2012/04/24/three-digits-numbers-greater-than-100/#comments</comments>
		<pubDate>Mon, 23 Apr 2012 18:29:00 +0000</pubDate>
		<dc:creator>Dinesh Kudache</dc:creator>
				<category><![CDATA[C]]></category>
		<category><![CDATA[c programs]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1138</guid>
		<description><![CDATA[Q. Write a C Program to find the number of three digit numbers greater than 100 in which digits appear in strictly increasing order. e.g. 123, 124, 125, 134, 135, 136, 145, 146, 147,&#8230;.,689,789. (IIT-JAM-2011) Source Code: Output: Version/Compatibility: Turbo C++ Version 3.0 (Borland International, Inc.) Download Now (.Zip File – 36KB)…]]></description>
			<content:encoded><![CDATA[<h3>Q. Write a C Program to find the number of three digit numbers greater than 100 in which digits appear in strictly increasing order.<br />
e.g. 123, 124, 125, 134, 135, 136, 145, 146, 147,&#8230;.,689,789. (IIT-JAM-2011)</h3>
<p><span style="color: #008000;"><strong>Source Code:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
#include &lt;stdio.h&gt;
#include &lt;conio.h&gt;

int main(void)
{
int i,j,k,temp=0;
clrscr();
for(i=1;i&lt;=9;i++)
{
         for(j=1;j&lt;=9;j++)
         {
                for(k=1;k&lt;=9;k++)
                {
                      if(i&lt;j &amp;&amp; j&lt;k)
                      {
                      temp++;
                      printf(&quot;\n\n\t Count %d : %d%d%d&quot;,temp,i,j,k);
                      }
                }
         }
}
getch();
return 0;
}
</pre>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<div id="attachment_1140" class="wp-caption aligncenter" style="width: 245px"><img class="size-full wp-image-1140" title="greater-three-digit-numbers" src="http://www.technoexam.com/programs/wp-content/uploads/2012/04/greater-three-digit-numbers.png" alt="C Program to find the number of three digit numbers greater than 100 in which digits appear in strictly increasing order." width="235" height="390" /><p class="wp-caption-text">Fig.: C Program to find the number of three digit numbers greater than 100 in which digits appear in strictly increasing order.</p></div>
<p><span style="color: #008000;"><strong>Version/Compatibility:</strong></span> Turbo C++ Version 3.0 (Borland International, Inc.)</p>
<p><span style="color: #ff6600;"><strong><a title="Download Now..." href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/greater-three-digit-numbers.zip"><span style="color: #ff6600;">Download Now (.Zip File – 36KB)…</span></a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/24/three-digits-numbers-greater-than-100/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Find Which Key is Pressed In Vb.Net</title>
		<link>http://www.technoexam.com/programs/2012/04/22/find-which-key-is-pressed-in-vb-net/</link>
		<comments>http://www.technoexam.com/programs/2012/04/22/find-which-key-is-pressed-in-vb-net/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 06:05:45 +0000</pubDate>
		<dc:creator>Vijay Vipte</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1123</guid>
		<description><![CDATA[Q.: Create a Windows Application in VB.Net which is used to Find Which Key is pressed. In VB.Net 2008, sometimes we have require to Find Which Key is pressed. This Example Shows to Find Which Key is pressed. Compatibility/Version:  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5) Source Code: Output: Download Now (.Zip File 115 KB)…]]></description>
			<content:encoded><![CDATA[<h3>Q.: Create a Windows Application in VB.Net which is used to Find Which Key is pressed.</h3>
<p>In VB.Net 2008, sometimes we have require to Find Which Key is pressed. This Example Shows to Find Which Key is pressed.</p>
<p><span style="color: #008000;"><strong>Compatibility/Version</strong>:</span>  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5)</p>
<p><span style="color: #008000;"><strong>Source Code:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
Public Class Form1
 Dim a(4) As Char
 Private Sub Control_KeyPress(ByVal sender As System.Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
 Static Dim i As Integer
 a(i) = e.KeyChar
 i = i + 1
 End Sub
 Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

 MsgBox(&quot;Your password is: &quot; + a(0) + a(1) + a(2) + a(3) + a(4))
 End

End Sub
End Class
</pre>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<p><img class="aligncenter size-full wp-image-1125" src="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Find-key.png" alt="" width="247" height="276" /></p>
<p><strong><span style="color: #ff6600;"><a href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Key-pressed-In-Vb.Net_.zip"><span style="color: #ff6600;">Download Now (.Zip File 115 KB)…</span></a></span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/22/find-which-key-is-pressed-in-vb-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to ShutDown Restart Logoff Computer In VB.Net</title>
		<link>http://www.technoexam.com/programs/2012/04/22/shutdown-restart-logoff-pc-in-vb-net/</link>
		<comments>http://www.technoexam.com/programs/2012/04/22/shutdown-restart-logoff-pc-in-vb-net/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 06:00:42 +0000</pubDate>
		<dc:creator>Vijay Vipte</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1130</guid>
		<description><![CDATA[Q.: Create a Windows Application in VB.Net which is used to ShutDown or Restart or Log Off computer. In VB.Net 2008, sometimes we have require to Shut Down Restart Logoff computer. This Example Shows to ShutDown Restart Logoff computer. Compatibility/Version:  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5) Source Code: Output: Download Now (.Zip File 250 [...]]]></description>
			<content:encoded><![CDATA[<h3>Q.: Create a Windows Application in VB.Net which is used to ShutDown or Restart or Log Off computer.</h3>
<p>In VB.Net 2008, sometimes we have require to Shut Down Restart Logoff computer. This Example Shows to ShutDown Restart Logoff computer.</p>
<p><span style="color: #008000;"><strong>Compatibility/Version</strong>:</span>  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5)</p>
<p><span style="color: #008000;"><strong>Source Code:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
Public Class form1

Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
 End
 End Sub

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
 System.Diagnostics.Process.Start(&quot;shutdown&quot;, &quot;-l -t 00&quot;)
 End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
 System.Diagnostics.Process.Start(&quot;shutdown&quot;, &quot;-s -t 00&quot;)
 End Sub

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click
 System.Diagnostics.Process.Start(&quot;shutdown&quot;, &quot;-r -t 00&quot;)
 End Sub
End Class
</pre>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<p><img class="aligncenter size-medium wp-image-1132" src="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Shutdown-300x212.png" alt="" width="300" height="212" /></p>
<p><span style="color: #ff6600;"><strong><a href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/ShutDown-Restart-Logoff-computer-In-Vb.Net_.zip"><span style="color: #ff6600;">Download Now (.Zip File 250 KB)…</span></a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/22/shutdown-restart-logoff-pc-in-vb-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert Numbers to Words &#124; Convert Digits to Figures in Java</title>
		<link>http://www.technoexam.com/programs/2012/04/08/convert-numbers-to-words-convert-digits-to-figures-in-java/</link>
		<comments>http://www.technoexam.com/programs/2012/04/08/convert-numbers-to-words-convert-digits-to-figures-in-java/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 16:14:06 +0000</pubDate>
		<dc:creator>Dinesh Kudache</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1117</guid>
		<description><![CDATA[Q.: Write a java program to convert amount from digit to figures. OR Q. Write a java program to convert numbers to words OR Q. Write a java program to convert digits to figures. Compatibility/Version: Java 2 Platform Standard Edition Version 1.5 (Java 2 SDK, SE v1.5.0) Code: Output: Download Now (.Zip File &#8211; 16KB)&#8230;]]></description>
			<content:encoded><![CDATA[<h3>Q.: Write a java program to convert amount from digit to figures.</h3>
<p><strong>OR</strong></p>
<h3>Q. Write a java program to convert numbers to words</h3>
<p><strong>OR</strong></p>
<h3>Q. Write a java program to convert digits to figures.</h3>
<p><span style="color: #008000;"><strong>Compatibility/Version</strong></span>: Java 2 Platform Standard Edition Version 1.5 (Java 2 SDK, SE v1.5.0)</p>
<p><span style="color: #008000;"><strong>Code:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
import java.util.*;
public class notowords
{
    private static String amt;
	private static int num;
    private static String[] units={&quot;&quot;,&quot; One&quot;,&quot; Two&quot;,&quot; Three&quot;,&quot; Four&quot;,&quot; Five&quot;,&quot; Six&quot;,&quot; Seven&quot;,&quot; Eight&quot;,&quot; Nine&quot;};
    private static String[] teen={&quot; Ten&quot;,&quot; Eleven&quot;,&quot; Twelve&quot;,&quot; Thirteen&quot;,&quot; Fourteen&quot;,&quot; Fifteen&quot;,&quot; Sixteen&quot;,&quot; Seventeen&quot;,&quot; Eighteen&quot;,&quot; Nineteen&quot;};
    private static String[] tens={&quot; Twenty&quot;,&quot; Thirty&quot;,&quot; Fourty&quot;,&quot; Fifty&quot;,&quot; Sixty&quot;,&quot; Seventy&quot;,&quot; Eighty&quot;,&quot; Ninety&quot;};
    private static String[] maxs={&quot;&quot;,&quot;&quot;,&quot; Hundred&quot;,&quot; Thousand&quot;,&quot; Lakh&quot;,&quot; Crore&quot;};
    public notowords()
    {
        amt=&quot;&quot;;
    }
    public String convToWord(int n)
    {
        amt=noToStr(n);
		String conv=&quot;&quot;;
		int pos=1;
		boolean hun=false;
        while(amt.length()&gt;0)
        {
            if(pos==1)
            {
				if(amt.length()&gt;=2)
                {
					String C=amt.substring(amt.length()-2,amt.length());
					amt=amt.substring(0,amt.length()-2);
					conv+=digits(C);
				}
                else if(amt.length()==1)
                {
					conv+=digits(amt);
					amt=&quot;&quot;;
				}
				pos++;
            }
            else if(pos==2)
            {
				String C=amt.substring(amt.length()-1,amt.length());
				amt=amt.substring(0,amt.length()-1);
                if(conv.length()&gt;0 &amp;&amp; digits(C)!=&quot;&quot;)
				{
					conv=(digits(C)+maxs[pos]+&quot; and&quot;)+conv;
					hun=true;
				}
				else
				{
					if(digits(C)==&quot;&quot;);
					else
						conv=(digits(C)+maxs[pos])+conv;
						hun=true;
				}
				pos++;
            }
            else if(pos&gt;2)
            {
                if(amt.length()&gt;=2)
                {
					String C=amt.substring(amt.length()-2,amt.length());
					amt=amt.substring(0,amt.length()-2);
                    if(!hun &amp;&amp; conv.length()&gt;0)
						conv=digits(C)+maxs[pos]+&quot; and&quot;+conv;
					else
					{
						if(digits(C)==&quot;&quot;);
						else conv=digits(C)+maxs[pos]+conv;
					}
				}
                else if(amt.length()==1)
                {
					if(!hun &amp;&amp; conv.length()&gt;0)conv=digits(amt)+maxs[pos]+&quot; and&quot;+conv;
					else
					{
						if(digits(amt)==&quot;&quot;);
						else
							conv=digits(amt)+maxs[pos]+conv;
							amt=&quot;&quot;;
					}
				}
				pos++;
            }
        }
        return conv;
    }

    private String digits(String C)
    {
        String conv=&quot;&quot;;
        for(int i=C.length()-1;i&gt;=0;i--)
        {
			int ch=C.charAt(i)-48;
            if(i==0 &amp;&amp; ch&gt;1 &amp;&amp; C.length()&gt;1)
				conv=tens[ch-2]+conv;
            else if(i==0 &amp;&amp; ch==1 &amp;&amp; C.length()==2)
            {
				int sum=0;
				for(int j=0;j&lt;2;j++)
					sum=(sum*10)+(C.charAt(j)-48);
					return teen[sum-10];
			}
            else
			{
				if(ch&gt;0)conv=units[ch]+conv;
			}
        }
		return conv;
    }

    private String noToStr(int n)
    {
        String num=&quot;&quot;;
		while(n!=0)
		{
			num=((char)((n%10)+48))+num;
			n/=10;
		}
		return num;
    }

    private void inp()
    {
        Scanner in=new Scanner(System.in);
        try
		{
			System.out.print(&quot;Enter Amount in Digits/Numbers : &quot;);
			num=in.nextInt();
		}
		catch(Exception e)
		{
			System.out.println(&quot;Number should be less than 1 Arab(1,00,00,00,000) !&quot;);
			System.exit(1);
		}
    }

    public static void main(String arg[])
    {
        notowords obj=new notowords();
        obj.inp();
        System.out.println(&quot;Amount in Words/Figures : &quot;+obj.convToWord(num) + &quot; !&quot;);
    }
}
</pre>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<div id="attachment_1121" class="wp-caption aligncenter" style="width: 671px"><img class="size-full wp-image-1121" title="digits-to-figures" src="http://www.technoexam.com/programs/wp-content/uploads/2012/04/digits-to-figures.png" alt="Digits to Figures" width="661" height="211" /><p class="wp-caption-text">Fig.: Convert from Digits to Figures in Java</p></div>
<p><span style="color: #ff6600;"><strong><a title="Download Now..." href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/digits-to-words-java.zip"><span style="color: #ff6600;">Download Now (.Zip File &#8211; 16KB)&#8230;</span></a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/08/convert-numbers-to-words-convert-digits-to-figures-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Program to Check Internet Connection is Available or Not In VB.Net</title>
		<link>http://www.technoexam.com/programs/2012/04/08/check-internet-connection-in-vb-net/</link>
		<comments>http://www.technoexam.com/programs/2012/04/08/check-internet-connection-in-vb-net/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 05:54:17 +0000</pubDate>
		<dc:creator>Vijay Vipte</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1104</guid>
		<description><![CDATA[Q.: Create a Windows Application in VB.Net which is used to Check Internet Connection is available or not. In VB.Net 2008, sometimes we have require to Check Internet Connection. This Example Shows to Check Internet Connection whether it is available or not. Compatibility/Version:  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5) Source Code: Output: Download Now [...]]]></description>
			<content:encoded><![CDATA[<h3>Q.: Create a Windows Application in VB.Net which is used to Check Internet Connection is available or not.</h3>
<p>In VB.Net 2008, sometimes we have require to Check Internet Connection. This Example Shows to Check Internet Connection whether it is available or not.</p>
<p><span style="color: #008000;"><strong>Compatibility/Version</strong>:</span>  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5)</p>
<p><span style="color: #008000;"><strong>Source Code:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
Public Class Form1
    Private Function InternetConnection() As Boolean
        Dim req As System.Net.WebRequest =
System.Net.WebRequest.Create(&quot;http://www.google.com/&quot;)
        Dim resp As System.Net.WebResponse
        Try
            resp = req.GetResponse()
            resp.Close()
            req = Nothing
            Return True
        Catch ex As Exception
            req = Nothing
            Return False
        End Try
    End Function

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button1.Click
        If InternetConnection() = False Then
            MessageBox.Show(&quot;No internet connection!&quot;)
        Else
            MessageBox.Show(&quot;Internet connection detected!&quot;)
        End If
    End Sub
End Class
</pre>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<p><img class="aligncenter size-full wp-image-1106" src="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Internet.png" alt="" width="234" height="222" /><span style="color: #ff6600;"><strong><a href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Internetconnection-In-Vb.Net_.zip"><span style="color: #ff6600;">Download Now (.Zip File 94 KB)…</span></a></strong></span></p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/08/check-internet-connection-in-vb-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Extract or Read Website/Webpage URL Content In VB.Net</title>
		<link>http://www.technoexam.com/programs/2012/04/08/read-webapage-url-content-in-vb-net/</link>
		<comments>http://www.technoexam.com/programs/2012/04/08/read-webapage-url-content-in-vb-net/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 05:39:26 +0000</pubDate>
		<dc:creator>Vijay Vipte</dc:creator>
				<category><![CDATA[VB.Net]]></category>
		<category><![CDATA[vb.net]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1109</guid>
		<description><![CDATA[Q.: Create a Windows Application in VB.Net 2008 which is used to Read/Extract URL content of a webpage from website. In VB.Net 2008, sometimes we have require to Read URL content. This Example Shows How to Read URL content. We can read/extract source code of a webpage of website easily. This helps in getting objects [...]]]></description>
			<content:encoded><![CDATA[<h3>Q.: Create a Windows Application in VB.Net 2008 which is used to Read/Extract URL content of a webpage from website.</h3>
<p>In VB.Net 2008, sometimes we have require to Read URL content. This Example Shows How to Read URL content. We can read/extract source code of a webpage of website easily. This helps in getting objects used on webpages like textbox, elements.</p>
<p><span style="color: #008000;"><strong>Compatibility/Version</strong>:</span>  Microsoft Visual Studio 2008 (Microsoft .Net Framework 3.5)</p>
<p><span style="color: #008000;"><strong>Source Code:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
Imports System.Net
Imports System.IO
Public Class Form1
    Private Sub Button1_Click(ByVal sender As System.Object, _
    ByVal e As System.EventArgs) Handles Button1.Click
        Dim inStream As StreamReader
        Dim webRequest As WebRequest
        Dim webresponse As WebResponse
        webRequest = webRequest.Create(TextBox1.Text)
        webresponse = webRequest.GetResponse()
        inStream = New StreamReader(webresponse.GetResponseStream())
        TextBox2.Text = inStream.ReadToEnd()
    End Sub
End Class
</pre>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<p><img class="aligncenter size-medium wp-image-1110" src="http://www.technoexam.com/programs/wp-content/uploads/2012/04/ReadURL-300x281.png" alt="" width="300" height="281" /><span style="color: #ff6600;"><strong><a href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Read-URL-content-In-Vb.Net_.zip"><span style="color: #ff6600;">Download Now (.Zip File 100 KB)…</span></a></strong></span></p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/08/read-webapage-url-content-in-vb-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/SQL Program For Multilevel Collection Of PL/SQL Table</title>
		<link>http://www.technoexam.com/programs/2012/04/07/multilevel-collection-of-plsql-table/</link>
		<comments>http://www.technoexam.com/programs/2012/04/07/multilevel-collection-of-plsql-table/#comments</comments>
		<pubDate>Sat, 07 Apr 2012 03:56:20 +0000</pubDate>
		<dc:creator>Amey Kumbhar</dc:creator>
				<category><![CDATA[Oracle PL/SQL]]></category>
		<category><![CDATA[PL/SQL]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1098</guid>
		<description><![CDATA[Q. Write PL/SQL Program For Multilevel Collection Of PL/SQL Table. Output: Compatibility (Tested on): Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product Download Now&#8230; (.Zip File &#8211; 2KB)]]></description>
			<content:encoded><![CDATA[<h3><strong>Q. Write PL/SQL Program For Multilevel Collection Of PL/SQL Table.</strong></h3>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
DECLARE
	TYPE my_tab IS TABLE OF NUMBER index by PLS_INTEGER;
	TYPE my_tab1 is TABLE OF my_tab index by PLS_INTEGER;
	tab my_tab1;
Begin
	FOR i IN 1..5 LOOP
		FOR j IN 1..4 LOOP
			tab(i)(j):=i + j;
				DBMS_OUTPUT.PUT_LINE('tab('||(i)||')('||(j)||') = '||tab(i)(j));
		END LOOP;
	END LOOP;
End;
/

tab(1)(1) = 2
tab(1)(2) = 3
tab(1)(3) = 4
tab(1)(4) = 5
tab(2)(1) = 3
tab(2)(2) = 4
tab(2)(3) = 5
tab(2)(4) = 6
tab(3)(1) = 4
tab(3)(2) = 5
tab(3)(3) = 6
tab(3)(4) = 7
tab(4)(1) = 5
tab(4)(2) = 6
tab(4)(3) = 7
tab(4)(4) = 8
tab(5)(1) = 6
tab(5)(2) = 7
tab(5)(3) = 8
tab(5)(4) = 9

PL/SQL procedure successfully completed.
</pre>
<p><span style="color: #008000;"><strong>Compatibility (Tested on):</strong></span></p>
<p>Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product</p>
<p><span style="color: #ff6600;"><a title="Download Now..." href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Multilevel-Collection-Of-PLSQL-Table.zip"><span style="color: #ff6600;"><strong>Download Now&#8230; (.Zip File &#8211; 2KB)</strong></span></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/07/multilevel-collection-of-plsql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/SQL Program For First And Last Method Of PL/SQL Table</title>
		<link>http://www.technoexam.com/programs/2012/04/06/first-and-last-method-of-plsql-table/</link>
		<comments>http://www.technoexam.com/programs/2012/04/06/first-and-last-method-of-plsql-table/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 20:15:36 +0000</pubDate>
		<dc:creator>Amey Kumbhar</dc:creator>
				<category><![CDATA[Oracle PL/SQL]]></category>
		<category><![CDATA[PL/SQL]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1084</guid>
		<description><![CDATA[Q. Write PL/SQL Program For First And Last Method Of PL/SQL Table. Output: Compatibility (Tested on): Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product Download Now (.Zip File – 2KB)&#8230;]]></description>
			<content:encoded><![CDATA[<h3><strong>Q. Write PL/SQL Program For First And Last Method Of PL/SQL Table.</strong></h3>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
DECLARE
	TYPE my_type IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
	my_num my_type;
BEGIN
	For i in 1..1000 LOOP
		my_num(i) := i ;
	END LOOP;
	DBMS_OUTPUT.PUT_LINE('First Number Is '||my_num.FIRST);
	DBMS_OUTPUT.PUT_LINE('Last Number Is ' ||my_num.LAST);
End ;
/

First Number Is 1

Last Number Is 1000

PL/SQL procedure successfully completed.
</pre>
<p><span style="color: #008000;"><strong>Compatibility (Tested on):</strong></span></p>
<p>Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product</p>
<p><span style="color: #ff6600;"><a title="Download Now..." href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/First-and-Last-Method-Of-PLSQL-Table.zip"><span style="color: #ff6600;"><strong>Download Now (.Zip File – 2KB)&#8230;</strong></span></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/06/first-and-last-method-of-plsql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/SQL Program For Trim Method Of PL/SQL Table</title>
		<link>http://www.technoexam.com/programs/2012/04/06/trim-method-of-plsql-table/</link>
		<comments>http://www.technoexam.com/programs/2012/04/06/trim-method-of-plsql-table/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 20:06:47 +0000</pubDate>
		<dc:creator>Amey Kumbhar</dc:creator>
				<category><![CDATA[Oracle PL/SQL]]></category>
		<category><![CDATA[PL/SQL]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1081</guid>
		<description><![CDATA[Q. Write PL/SQL Program For Trim Method Of PL/SQL Table. Output: Compatibility (Tested on): Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product Download Now (.Zip File – 2KB)&#8230;]]></description>
			<content:encoded><![CDATA[<h3><strong>Q. Write PL/SQL Program For Trim Method Of PL/SQL Table.</strong></h3>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
DECLARE
	TYPE my_frnds IS TABLE OF VARCHAR2(100) ;
	names my_frnds;
Begin
	names :=my_frnds('ALLEN','SMITH','JOHN','LAKE','KING');
	For i IN names.FIRST..names.LAST LOOP
		DBMS_OUTPUT.PUT_LINE('My Friend Names Is '||names(i));
	END LOOP;
	DBMS_OUTPUT.PUT_LINE('Delete The Last Name !');
	names.TRIM ;
	FOR i IN names.FIRST..names.LAST LOOP
		DBMS_OUTPUT.PUT_LINE('My Friend Names Is '||names(i) );
	END LOOP;
End;
/

My Friend Names Is ALLEN

My Friend Names Is SMITH

My Friend Names Is JOHN

My Friend Names Is LAKE

My Friend Names Is KING

Delete The Last Name !

My Friend Names Is ALLEN

My Friend Names Is SMITH

My Friend Names Is JOHN

My Friend Names Is LAKE

PL/SQL procedure successfully completed.
</pre>
<p><span style="color: #008000;"><strong>Compatibility (Tested on):</strong></span></p>
<p>Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product</p>
<p><span style="color: #ff6600;"><strong><a title="Download Now..." href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Trim-Method-Of-PLSQL-Table.zip"><span style="color: #ff6600;">Download Now (.Zip File – 2KB)&#8230;</span></a></strong></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/06/trim-method-of-plsql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PL/SQL Program For Limit Method Of PL/SQL Table</title>
		<link>http://www.technoexam.com/programs/2012/04/06/limit-method-of-plsql-table/</link>
		<comments>http://www.technoexam.com/programs/2012/04/06/limit-method-of-plsql-table/#comments</comments>
		<pubDate>Thu, 05 Apr 2012 19:57:40 +0000</pubDate>
		<dc:creator>Amey Kumbhar</dc:creator>
				<category><![CDATA[Oracle PL/SQL]]></category>
		<category><![CDATA[PL/SQL]]></category>

		<guid isPermaLink="false">http://www.technoexam.com/programs/?p=1073</guid>
		<description><![CDATA[Q. Write PL/SQL Program For Limit Method Of PL/SQL Table. Output: Compatibility (Tested on): Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product Download Now (.Zip File – 2KB)..]]></description>
			<content:encoded><![CDATA[<h3><strong>Q. Write PL/SQL Program For Limit Method Of PL/SQL Table.</strong></h3>
<p><span style="color: #008000;"><strong>Output:</strong></span></p>
<pre class="brush: plain; title: ; notranslate">
DECLARE
	TYPE array_type IS ARRAY(100) OF NUMBER ;
	my_array array_type:=array_type(1,2,3,4,5,6,7,8,9,10);
BEGIN
	DBMS_OUTPUT.PUT_LINE('Maximum Array Size Is '||my_array.LIMIT);
End;
/

Maximum Array Size Is 100

PL/SQL procedure successfully completed.
</pre>
<p><span style="color: #008000;"><strong>Compatibility (Tested on):</strong></span></p>
<p>Oracle Database 10g Express Edition Release 10.2.0.1.0 – Product</p>
<p><span style="color: #ff6600;"><a title="Download Now..." href="http://www.technoexam.com/programs/wp-content/uploads/2012/04/Limit-Method-Of-PLSQL-Table.zip"><span style="color: #ff6600;"><strong>Download Now (.Zip File – 2KB)..</strong></span></a></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.technoexam.com/programs/2012/04/06/limit-method-of-plsql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
