tag:blogger.com,1999:blog-36280951338411371312024-03-28T05:23:39.428+05:30Engineer Portal - Prem Sasi Kumar Arivukalanjiamengineering notes question papers answers lab works 2 marks and 16 marks questions for all the departments can be found here
*rar files will have the password as engineerportal.blogspot.inAnonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.comBlogger814125tag:blogger.com,1999:blog-3628095133841137131.post-15370402661244092782023-02-20T21:39:00.008+05:302023-02-20T21:39:57.282+05:30Easy Gitlab Migration <div><br /></div><div><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #444654; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #d1d5db; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 16px; margin: 0px 0px 1.25em; white-space: pre-wrap;">Migrating to GitLab from another version control system or GitLab instance can be a complex process, but there are several steps you can follow to make it as smooth as possible. Here's a general guide on how to do an easy GitLab migration:</p></div><div><br /></div>PPost Before “read more”
<span class="fullpost">
And here is the rest of it
</span><div><span class="fullpost"><br /></span></div><div><span class="fullpost"><br /></span></div><div><span class="fullpost"><br /></span></div><div><span class="fullpost"><div><ol style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #444654; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #d1d5db; counter-reset: item 0; display: flex; flex-direction: column; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 16px; list-style-image: initial; list-style-position: initial; margin: 1.25em 0px; padding: 0px 0px 0px 1rem; white-space: pre-wrap;"><li style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px; padding-left: 0.375em;"><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px;">Prepare the GitLab instance: Make sure your GitLab instance is up and running with the latest version. You may also need to install any additional components that your current system requires.</p></li><li style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px; padding-left: 0.375em;"><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px;">Backup your data: Before you start the migration process, create a backup of your existing Git repositories, issues, merge requests, and other data. This will allow you to restore your data in case something goes wrong during the migration.</p></li><li style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px; padding-left: 0.375em;"><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px;">Export data from the existing system: Depending on the system you're migrating from, there may be different tools or plugins available to help you export your data. For example, if you're migrating from GitHub, you can use the GitHub Importer tool provided by GitLab. If you're migrating from another GitLab instance, you can use the built-in backup and restore functionality to transfer data.</p></li><li style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px; padding-left: 0.375em;"><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px;">Import data to GitLab: Once you have exported the data from the existing system, you can import it into GitLab. GitLab provides several import tools that you can use to import data from different sources. For example, you can use the GitHub Importer to import data from GitHub, or the GitLab Import/Export tool to import data from another GitLab instance.</p></li><li style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px; padding-left: 0.375em;"><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px;">Verify the migration: After importing the data, check if everything is working as expected. Verify that the data is correctly imported, and all the repositories, issues, merge requests, and other data are accessible in GitLab.</p></li><li style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px; padding-left: 0.375em;"><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; margin: 0px;">Update settings: Finally, make sure to update any settings that were previously configured in the old system, such as access controls, permissions, and integrations.</p></li></ol><p style="--tw-border-spacing-x: 0; --tw-border-spacing-y: 0; --tw-ring-color: rgba(59,130,246,0.5); --tw-ring-offset-color: #fff; --tw-ring-offset-shadow: 0 0 transparent; --tw-ring-offset-width: 0px; --tw-ring-shadow: 0 0 transparent; --tw-rotate: 0; --tw-scale-x: 1; --tw-scale-y: 1; --tw-scroll-snap-strictness: proximity; --tw-shadow-colored: 0 0 transparent; --tw-shadow: 0 0 transparent; --tw-skew-x: 0; --tw-skew-y: 0; --tw-translate-x: 0; --tw-translate-y: 0; background-color: #444654; border: 0px solid rgb(217, 217, 227); box-sizing: border-box; color: #d1d5db; font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; font-size: 16px; margin: 1.25em 0px 0px; white-space: pre-wrap;">Overall, the migration process may differ depending on the source system you're migrating from and the amount of data you're transferring. However, by following these general steps, you can perform a successful and easy GitLab migration.</p></div><div><br /></div></span></div><div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Prem Sasi Kumar Arivukalanjiamhttp://www.blogger.com/profile/16051357698097243696noreply@blogger.com2tag:blogger.com,1999:blog-3628095133841137131.post-78828313622272912352015-10-04T10:43:00.000+05:302015-10-04T10:43:17.458+05:30Program to Find the Prime Index elements Prime index sum Duplicate Elements Removal Occurence of the Elements copy an array Element That has occurred Maximum in an Array Using C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: large;"><b><u>Program to Find the Prime Index elements Prime index sum Duplicate Elements Removal Occurence of the Elements copy an array Element That has occurred Maximum in an Array Using C Programming</u></b></span></div>
<br />
<br />
#include<stdio.h><br />
<br />
int main()<br />
{<br />
int n;<br />
int a[100];<br />
int i;<br />
int j;<br />
int temp=0;<br />
int max=0;<br />
int min=0;<br />
int tempa[100];<br />
int dup[100];<br />
int idx=0;<br />
int k;<br />
int dn=0;<br />
int count=0;<br />
int prime[100];<br />
int pidx=0;<br />
int flag=0;<br />
int primesum=0;<br />
int maxoc=0;<br />
int maxoel=0;<br />
<br />
scanf("%d",&n);<br />
printf("getting inputs \n");<br />
for(i=0;i<n;i++)<br />
{<br />
scanf("%d",&a[i]);<br />
}<br />
<br />
printf("Elements in the array\n ");<br />
for(i=0;i<n;i++)<br />
{<br />
printf("%d ",a[i]);<br />
}<br />
<br />
printf("\ncopy elements fom one array to another\n");<br />
for(i=0;i<n;i++)<br />
{<br />
tempa[i]=a[i];<br />
}<br />
for(i=0;i<n;i++)<br />
{<br />
printf("%d ",tempa[i]);<br />
}<br />
<br />
printf("\n prime index elements and prime index sum\n");<br />
for(i=0;i<n;i++)<br />
{<br />
flag=0;<br />
for(j=1;j<=i;j++)<br />
{<br />
if(i%j==0)<br />
{<br />
flag++;<br />
}<br />
}<br />
if(flag==2)<br />
{<br />
primesum=primesum+tempa[i];<br />
prime[pidx]=tempa[i];<br />
pidx++;<br />
}<br />
}<br />
for(i=0;i<pidx;i++)<br />
{<br />
printf("%d ",prime[i]);<br />
}<br />
printf("\nprime index sum : %d",primesum) ;<br />
<br />
<br />
printf("\nSorting the elements \n");<br />
for(i=0;i<n;i++)<br />
{<br />
for(j=i+1;j<n;j++)<br />
{<br />
if(a[i]>a[j])<br />
{<br />
temp=a[i];<br />
a[i]=a[j];<br />
a[j]=temp;<br />
}<br />
}<br />
}<br />
<br />
for(i=0;i<n;i++)<br />
{<br />
printf("%d ",a[i]);<br />
}<br />
<br />
printf("\nMaximum and minimum\n");<br />
max=a[n-1];<br />
min=a[0];<br />
printf("max : %d min : %d",max,min);<br />
<br />
printf("\n descending order\n");<br />
for(i=0;i<n;i++)<br />
{<br />
for(j=i+1;j<n;j++)<br />
{<br />
if(a[i]<=max)<br />
{<br />
temp=a[i];<br />
a[i]=a[j];<br />
a[j]=temp;<br />
}<br />
}<br />
}<br />
for(i=0;i<n;i++)<br />
{<br />
printf("%d ",a[i]);<br />
}<br />
<br />
printf("\nremove duplicate and occurrence \n");<br />
for(i=0;i<n;i++)<br />
{<br />
count=1;<br />
for(j=i+1;j<n;)<br />
{<br />
if(a[i]==a[j])<br />
{<br />
count++;<br />
for(k=j;k<n;k++)<br />
{<br />
a[k]=a[k+1];<br />
}<br />
n--;<br />
dn=n;<br />
}<br />
else<br />
{<br />
j++;<br />
}<br />
}<br />
dup[idx]=a[i];<br />
dup[idx+1]=count;<br />
idx=idx+2;<br />
}<br />
<br />
printf("occurrence of an element\n");<br />
for(i=0;i<idx;i++)<br />
{<br />
printf("%d ",dup[i]);<br />
}<br />
<br />
printf("\nremoved duplicates\n");<br />
for(i=0;i<dn;i++)<br />
{<br />
printf("%d ",a[i]);<br />
}<br />
printf("\nmaximum repeated element\n");<br />
for(i=1;i<idx;i=i+2)<br />
{<br />
if(dup[i]>maxoc)<br />
{<br />
maxoc=dup[i];<br />
maxoel=i;<br />
}<br />
}<br />
printf("maximum count occured: %d\n",maxoc);<br />
printf("maximum times occured element : %d",dup[maxoel-1]);<br />
return 0;<br />
}<br />
<br />
output<br />
-------<br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 10</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> getting inputs </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 1 2 3 1 1 1 2 2 4 5</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> Elements in the array</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 1 2 3 1 1 1 2 2 4 5 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">copy elements fom one array to another</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">1 2 3 1 1 1 2 2 4 5 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> prime index elements and prime index sum</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">3 1 1 2 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">prime index sum : 7</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">Sorting the elements </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">1 1 1 1 2 2 2 3 4 5 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">Maximum and minumum</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">max : 5 min : 1</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black;"><span style="color: white; font-family: ProximaNovaSemibold;"><span style="font-size: 14px; line-height: 16px;"><b>descending order</b></span></span></span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">5 4 3 2 2 2 1 1 1 1 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">remove duplicate and occurence </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">occurence of an element</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">5 1 4 1 3 1 2 3 1 4 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">removed duplicates</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">5 4 3 2 1 </span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">maximum repeated element</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">maximum count : 4</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">maximum count element : 1</span></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com13tag:blogger.com,1999:blog-3628095133841137131.post-2284121328384160002015-10-03T22:30:00.002+05:302015-10-03T22:30:54.093+05:30Program to Find the Sum of Even Numbers Within a limit Using C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<u><b><span style="font-size: large;">Program to Find the Sum of Even Numbers Within a limit Using C Programming</span></b></u></div>
<br />
<br />
#include<stdio.h><br />
void fun(int n);<br />
int main()<br />
{<br />
int n;<br />
scanf("%d",&n);<br />
fun(n);<br />
return 0;<br />
}<br />
<br />
<br />
void fun(int n)<br />
{<br />
int i;<br />
int evensum=0;<br />
for(i=0;i<=n;i++)<br />
{<br />
if(i%2==0)<br />
{<br />
evensum+=i;<br />
}<br />
}<br />
printf("%d",evensum);<br />
}<br />
<br />
output<br />
--------<br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 10</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 30</span></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com1tag:blogger.com,1999:blog-3628095133841137131.post-38964192828534834762015-10-03T22:23:00.002+05:302015-10-03T22:23:30.203+05:30Program to Find the Maximum of the Sum of the Even and Odd Numbers in an Array Using C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<b><span style="font-size: large;"><u>Program to Find the Maximum of the Sum of the Even and Odd Numbers in an Array Using C Programming</u></span></b></div>
<br />
<br />
#include<stdio.h><br />
void fun(int a[],int n);<br />
int main()<br />
{<br />
int n;<br />
int i;<br />
int a[100];<br />
scanf("%d",&n);<br />
for(i=0;i<n;i++)<br />
{<br />
scanf("%d",&a[i]);<br />
}<br />
fun(a,n);<br />
return 0;<br />
}<br />
<br />
<br />
void fun(int a[],int n)<br />
{<br />
int i;<br />
int oddsum=0;<br />
int evensum=0;<br />
int max=0;<br />
for(i=0;i<n;i++)<br />
{<br />
if(a[i]%2==0)<br />
{<br />
evensum+=a[i];<br />
}<br />
else<br />
{<br />
oddsum+=a[i];<br />
}<br />
}<br />
if(evensum>oddsum)<br />
{<br />
max=evensum;<br />
printf("%d",max);<br />
}<br />
else if(oddsum>evensum)<br />
{<br />
max=oddsum;<br />
printf("%d",max);<br />
}<br />
else<br />
{<br />
max=evensum;<br />
printf("both are equal max: %d",max);<br />
}<br />
}<br />
<br />
output:<br />
-------<br />
<br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 10</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 1 2 3 4 5 6 7 8 9 10</span><br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 30</span><br />
<br /></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-43524703904205793202015-10-03T22:14:00.002+05:302015-10-03T22:14:58.827+05:30Program to Find the Sum of the Cubes of the Prime Using C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<b><span style="font-size: large;">Program to Find the Sum of the Cubes of the Prime Using C Programming</span></b></div>
<br />
<br />
<br />
#include<stdio.h><br />
void fun(int n1);<br />
int main()<br />
{<br />
int n1;<br />
scanf("%d",&n1);<br />
fun(n1);<br />
return 0;<br />
}<br />
<br />
void fun(int n1)<br />
{<br />
int i,j;<br />
int flag=0;<br />
int sum=0,temp=0;<br />
for(i=1;i<=n1;i++)<br />
{<br />
flag=0;<br />
for(j=1;j<=i;j++)<br />
{<br />
if(i%j==0)<br />
{<br />
flag++;<br />
}<br />
}<br />
if(flag==2)<br />
{<br />
temp=i*i*i;<br />
sum=sum+temp;<br />
}<br />
}<br />
printf("%d",sum);<br />
}<br />
<br />
output<br />
--------<br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 5</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 160</span><br />
<br /></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com3tag:blogger.com,1999:blog-3628095133841137131.post-84808723403553538812015-10-03T22:08:00.000+05:302015-10-03T22:08:07.820+05:30Program to Find the Largest Element Among Three Numbers Using C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
Program to Find the Largest Element Among Three Numbers Using C Programming<br />
<br />
#include<stdio.h><br />
void fun(int n1,int n2,int n3);<br />
int main()<br />
{<br />
int n1,n2,n3;<br />
scanf("%d",&n1);<br />
scanf("%d",&n2);<br />
scanf("%d",&n3);<br />
fun(n1,n2,n3);<br />
return 0;<br />
}<br />
<br />
void fun(int n1,int n2,int n3)<br />
{<br />
if( (n1>n2) && (n1>n3) )<br />
{<br />
printf("%d",n1);<br />
}<br />
else if(n2>n3)<br />
{<br />
printf("%d",n2);<br />
}<br />
else<br />
{<br />
printf("%d",n3);<br />
}<br />
}<br />
<br />
output:<br />
--------<br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 4 2 3</span><br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 4</span></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com3tag:blogger.com,1999:blog-3628095133841137131.post-3963312676316238462015-10-03T22:00:00.001+05:302015-10-03T22:00:44.214+05:30Program to Eliminate Duplicates in an Array Using C Programming<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<b><span style="font-size: large;">Program to Eliminate Duplicates in an Array Using C Programming</span></b></div>
<br />
#include<stdio.h><br />
void fun(int a[],int n);<br />
int main()<br />
{<br />
int n;<br />
int i;<br />
int a[100];<br />
scanf("%d",&n);<br />
for(i=0;i<n;i++)<br />
{<br />
scanf("%d",&a[i]);<br />
}<br />
fun(a,n);<br />
return 0;<br />
}<br />
<br />
<br />
void fun(int a[],int n)<br />
{<br />
int i;<br />
int j;<br />
int k;<br />
for(i=0;i<n;i++)<br />
{<br />
for(j=i+1;j<n;)<br />
{<br />
if(a[i]==a[j])<br />
{<br />
for(k=j;k<n;k++)<br />
{<br />
a[k]=a[k+1];<br />
}<br />
n--;<br />
}<br />
else<br />
{<br />
j++;<br />
}<br />
}<br />
}<br />
for(i=0;i<n;i++)<br />
{<br />
printf("%d ",a[i]);<br />
}<br />
}<br />
<br />
Output<br />
--------<br />
<br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;">10</span><br style="box-sizing: border-box; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;" /><span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 1 2 3 1 2 3 1 2 3 4</span><br />
<span style="background-color: black; color: white; font-family: ProximaNovaSemibold; font-size: 14px; font-weight: bold; line-height: 16px;"> 1 2 3 4 </span></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com3tag:blogger.com,1999:blog-3628095133841137131.post-89675403318105792082014-11-03T16:08:00.003+05:302014-11-03T16:08:47.961+05:3013MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test </b></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><b>Question Paper</b></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link :</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="http://engineerportal.blogspot.com/2014/11/13mc415-embedded-software-development.html" target="_blank">13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 1 Question Paper</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="http://engineerportal.blogspot.com/2014/11/13mc415-embedded-software-development_3.html" target="_blank">13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 2 Question Paper</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="http://engineerportal.blogspot.com/2014/11/13mc415-embedded-software-development_77.html" target="_blank">13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 3 Question Paper</a></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com3tag:blogger.com,1999:blog-3628095133841137131.post-28887331348194012552014-11-03T16:05:00.005+05:302014-11-03T16:05:52.438+05:3013MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 3 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 3 </b></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><b>Question Paper</b></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link: <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfY2F3dkViLUZNNFU&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfY2F3dkViLUZNNFU&usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-lb70XmNrcl0/VFdaUAF5LlI/AAAAAAAAQnk/S6678uKrhFg/s1600/ESD_Qn3_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-lb70XmNrcl0/VFdaUAF5LlI/AAAAAAAAQnk/S6678uKrhFg/s1600/ESD_Qn3_1.jpg" height="640" width="540" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-CGlHJa6H0og/VFdaTuydOCI/AAAAAAAAQng/EjuafkgxuLE/s1600/ESD_Qn3_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-CGlHJa6H0og/VFdaTuydOCI/AAAAAAAAQng/EjuafkgxuLE/s1600/ESD_Qn3_2.jpg" height="284" width="640" /></a></div>
<div style="text-align: center;">
<br /></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com1tag:blogger.com,1999:blog-3628095133841137131.post-90599809250948283842014-11-03T16:03:00.004+05:302014-11-03T16:03:35.998+05:3013MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 2 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 2 </b></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><b>Question Paper</b></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link : <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfbU1JdlgtbmF3b28&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfbU1JdlgtbmF3b28&usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-074L78rASFU/VFdZyypHvDI/AAAAAAAAQnU/7UV0IHxJVS4/s1600/ESD_Qn2_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-074L78rASFU/VFdZyypHvDI/AAAAAAAAQnU/7UV0IHxJVS4/s1600/ESD_Qn2_1.jpg" height="384" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-5q8NbJ5-Hrs/VFdZywME7NI/AAAAAAAAQnQ/IKUhI_40O-Q/s1600/ESD_Qn2_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-5q8NbJ5-Hrs/VFdZywME7NI/AAAAAAAAQnQ/IKUhI_40O-Q/s1600/ESD_Qn2_2.jpg" height="451" width="640" /></a></div>
<div style="text-align: center;">
<br /></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com2tag:blogger.com,1999:blog-3628095133841137131.post-54458691010758169112014-11-03T16:01:00.001+05:302014-11-03T16:01:30.338+05:3013MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 1 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC415 EMBEDDED SOFTWARE DEVELOPMENT Internal Test 1 </b></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><b>Question Paper</b></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link : <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfYVRNZHFmSTg1OTg&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfYVRNZHFmSTg1OTg&usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-YLAph8O9G6g/VFdZPSEBgLI/AAAAAAAAQnI/4atThoUkdoY/s1600/ESD_Qn1_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-YLAph8O9G6g/VFdZPSEBgLI/AAAAAAAAQnI/4atThoUkdoY/s1600/ESD_Qn1_1.jpg" height="640" width="510" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com6tag:blogger.com,1999:blog-3628095133841137131.post-55184116037083782952014-11-03T15:54:00.003+05:302014-11-03T15:54:54.230+05:3013MC411 Data Mining Techniques Internals/Special Test Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC411 Data Mining Techniques Internals/Special Test Question Paper</b></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<span style="color: #e06666;"><span style="font-size: x-large;">Links</span><span style="font-size: large;"> </span></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="http://engineerportal.blogspot.com/2014/11/13mc411-data-mining-technoques-internal.html" target="_blank">13MC411 Data Mining Techniques Internal Test 1 Question Paper</a></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="http://engineerportal.blogspot.com/2014/11/13mc411-data-mining-technoques-internal_3.html" target="_blank">13MC411 Data Mining Techniques Internal Test 2 Question Paper</a></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="http://engineerportal.blogspot.com/2014/11/13mc411-data-mining-techniques-internal.html" target="_blank">13MC411 Data Mining Techniques Internal Test 3 Question Paper</a></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="http://engineerportal.blogspot.com/2014/11/13mc411-data-mining-techniques-special.html" target="_blank">13MC411 Data Mining Techniques Special Test Question Paper</a></span></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-47459324879752972992014-11-03T15:51:00.000+05:302014-11-03T15:51:13.161+05:3013MC411 Data Mining Techniques Special Test Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC411 Data Mining Techniques Special Test Question Paper</b></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link : <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfVWJyWGhrSG1ESzA&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfVWJyWGhrSG1ESzA&usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-nbkTPbfYoS8/VFdW3Gmb9HI/AAAAAAAAQm0/PZng8zjS6Lg/s1600/DMT_QnSP_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-nbkTPbfYoS8/VFdW3Gmb9HI/AAAAAAAAQm0/PZng8zjS6Lg/s1600/DMT_QnSP_1.jpg" height="640" width="632" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-tGe2ejP_G3M/VFdW4hsxx8I/AAAAAAAAQm8/iB2ZSU-_9dg/s1600/DMT_QnSP_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-tGe2ejP_G3M/VFdW4hsxx8I/AAAAAAAAQm8/iB2ZSU-_9dg/s1600/DMT_QnSP_2.jpg" height="640" width="616" /></a></div>
<div style="text-align: center;">
<br /></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com1tag:blogger.com,1999:blog-3628095133841137131.post-57240266731707618022014-11-03T15:48:00.002+05:302014-11-03T15:48:37.539+05:3013MC411 Data Mining Techniques Internal Test 3 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
13MC411 Data Mining Techniques Internal Test 3 Question Paper</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link : <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfaXU4TWVnTWV0Wm8&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfaXU4TWVnTWV0Wm8&usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-2kFFo1u21dk/VFdWUesem6I/AAAAAAAAQmg/O-GPWwF1sRk/s1600/DMT_Qn3_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-2kFFo1u21dk/VFdWUesem6I/AAAAAAAAQmg/O-GPWwF1sRk/s1600/DMT_Qn3_1.jpg" height="640" width="634" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-RTxFZiy5LPA/VFdWUeKlqSI/AAAAAAAAQmk/24CN06sgn3k/s1600/DMT_Qn3_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-RTxFZiy5LPA/VFdWUeKlqSI/AAAAAAAAQmk/24CN06sgn3k/s1600/DMT_Qn3_2.jpg" height="602" width="640" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<br />
<br /></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-61094832779064625522014-11-03T15:46:00.002+05:302014-11-03T15:55:15.728+05:3013MC411 Data Mining Techniques Internal Test 2 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;">13MC411 Data Mining Techniques Internal Test 2 Question Paper</span></div>
<br />
Link : <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfUWQxdXZDVFN2T2M&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfUWQxdXZDVFN2T2M&usp=sharing</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-2uSD1lcRZBc/VFdVtAUIH1I/AAAAAAAAQmQ/SVoAYEtIoW0/s1600/DMT_Qn2_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-2uSD1lcRZBc/VFdVtAUIH1I/AAAAAAAAQmQ/SVoAYEtIoW0/s1600/DMT_Qn2_1.jpg" height="490" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-_KqsI2wETAg/VFdVuLA1ZaI/AAAAAAAAQmY/_J78zpB73Cs/s1600/DMT_Qn2_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://2.bp.blogspot.com/-_KqsI2wETAg/VFdVuLA1ZaI/AAAAAAAAQmY/_J78zpB73Cs/s1600/DMT_Qn2_2.jpg" height="538" width="640" /></a></div>
<div style="text-align: center;">
<br /></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-2618950063058413422014-11-03T15:44:00.001+05:302014-11-03T15:55:30.495+05:3013MC411 Data Mining Techniques Internal Test 1 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><b>13MC411 Data Mining Techniques Internal Test 1 Question Paper</b></span></div>
<br />
Link : <a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfZWNOcVVhcVhnNEk&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfZWNOcVVhcVhnNEk&usp=sharing</a><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-3sWWlGrvr2E/VFdUiwq7S3I/AAAAAAAAQl8/fCvAKr3CGT0/s1600/DMT_Qn1_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-3sWWlGrvr2E/VFdUiwq7S3I/AAAAAAAAQl8/fCvAKr3CGT0/s1600/DMT_Qn1_1.jpg" height="478" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-ieKJdQfTX4g/VFdUkXW8XkI/AAAAAAAAQmE/nrJTt0PW7a0/s1600/DMT_Qn1_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-ieKJdQfTX4g/VFdUkXW8XkI/AAAAAAAAQmE/nrJTt0PW7a0/s1600/DMT_Qn1_2.jpg" height="528" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-78110890705546189352014-11-03T15:37:00.002+05:302014-11-03T15:38:31.688+05:3013MC101 Parallel Programming Paradigms Internal Test Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<span style="font-size: x-large;"><b style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 14.7840023040771px; text-align: center;">13MC101 </b><b>Parallel Programming Paradigms Internal Test Question Paper</b></span><br />
<br />
<br />
Links :<br />
<b style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 14.7840023040771px; text-align: center;"><a href="http://engineerportal.blogspot.in/2014/11/13mc101-parallel-programming-paradigms.html" target="_blank">Parallel Programming Paradigms Internal Test 1 Question Paper</a></b><br />
<b style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 14.7840023040771px; text-align: center;"> </b><br />
<b style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 14.7840023040771px; text-align: center;"> <a href="http://engineerportal.blogspot.com/2014/11/13mc101-parallel-programming-paradigms_3.html" target="_blank">Parallel Programming Paradigms Internal Test 2 Question Paper</a></b><br />
<b style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 14.7840023040771px; text-align: center;"> </b><br />
<b style="background-color: white; color: #666666; font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; line-height: 14.7840023040771px; text-align: center;"> <a href="http://engineerportal.blogspot.com/2014/11/13mc101-parallel-programming-paradigms_60.html" target="_blank">Parallel Programming Paradigms Internal Test 3 Question Paper</a></b></div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-91898554527818506452014-11-03T15:34:00.002+05:302014-11-03T15:34:24.647+05:3013MC101 Parallel Programming Paradigms Internal Test 3 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;">13MC101 Parallel Programming Paradigms Internal Test 3 Question Paper</span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;">Link : </span><span style="text-align: left;"><span style="font-size: x-large;"><a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfTjAyMjhKeDhfSjA&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfTjAyMjhKeDhfSjA&usp=sharing</a></span></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-GeujgoBZWTM/VFdS4x5ptxI/AAAAAAAAQlw/6Xu42LYiz0I/s1600/PPP_Qn3_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-GeujgoBZWTM/VFdS4x5ptxI/AAAAAAAAQlw/6Xu42LYiz0I/s1600/PPP_Qn3_1.jpg" height="640" width="498" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-4EHDRMd38T0/VFdS3ahUuJI/AAAAAAAAQlo/kauPH0s0QDA/s1600/PPP_Qn3_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-4EHDRMd38T0/VFdS3ahUuJI/AAAAAAAAQlo/kauPH0s0QDA/s1600/PPP_Qn3_2.jpg" height="278" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-12263943339123940542014-11-03T15:32:00.000+05:302014-11-03T15:32:14.632+05:3013MC101 Parallel Programming Paradigms Internal Test 2 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;">13MC101 Parallel Programming Paradigms Internal Test 2 Question Paper</span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;">Link : </span><span style="text-align: left;"><span style="font-size: x-large;"><a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfaFNfS1I5b0pCTzA&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfaFNfS1I5b0pCTzA&usp=sharing</a></span></span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-qZ1kf8pNSYw/VFdSYl6X6iI/AAAAAAAAQlg/f_7u3SDOl9M/s1600/PPP_Qn2_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-qZ1kf8pNSYw/VFdSYl6X6iI/AAAAAAAAQlg/f_7u3SDOl9M/s1600/PPP_Qn2_1.jpg" height="640" width="502" /></a></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-yG7RPLtma_U/VFdSXNvg9pI/AAAAAAAAQlY/3qmmGnmg7Bg/s1600/PPP_Qn2_2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-yG7RPLtma_U/VFdSXNvg9pI/AAAAAAAAQlY/3qmmGnmg7Bg/s1600/PPP_Qn2_2.jpg" height="142" width="640" /></a></div>
<div>
<br /></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-71469278193876432062014-11-03T15:28:00.003+05:302014-11-03T15:30:11.760+05:3013MC101 Parallel Programming Paradigms Internal Test 1 Question Paper<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<b><span style="font-size: x-large;">13MC101 Parallel Programming Paradigms Internal Test 1 Question Paper</span></b></div>
<div style="text-align: center;">
<b><span style="font-size: x-large;"><br /></span></b>
<b><span style="font-size: x-large;">Link : </span></b><span style="font-size: x-large;"><b><a href="https://drive.google.com/folderview?id=0B2HmQFsBTVGfdGU0VjdGUHpCVzQ&usp=sharing">https://drive.google.com/folderview?id=0B2HmQFsBTVGfdGU0VjdGUHpCVzQ&usp=sharing</a></b></span></div>
<div style="text-align: center;">
<b><span style="font-size: x-large;"><br /></span></b></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-G6f1TATcOHk/VFdO9rrZ_nI/AAAAAAAAQlM/K22tUgdA9po/s1600/PPP_Qn1_1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-G6f1TATcOHk/VFdO9rrZ_nI/AAAAAAAAQlM/K22tUgdA9po/s1600/PPP_Qn1_1.jpg" height="640" width="494" /></a></div>
<div style="text-align: center;">
<b><span style="font-size: x-large;"><br /></span></b></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-9973035618002913132014-04-27T14:57:00.000+05:302014-04-27T14:57:47.398+05:30Producer Consumer Program Source Code C <div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: large;"><b><u>Producer Consumer Program Source Code C </u></b></span></div>
<div>
<br /></div>
<div>
<div class="WordSection1">
<div class="MsoNormalCxSpFirst" style="margin-bottom: 0.0001pt;">
<b><u><span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">Header.h ex1:<o:p></o:p></span></u></b></div>
</div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br clear="all" style="mso-break-type: section-break; page-break-before: auto;" />
</span>
<div class="WordSection2">
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#include<stdio.h><o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#include<sys/ipc.h><o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#include<sys/sem.h><o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#include<sys/shm.h><o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#include<sys/types.h><o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#include<sys/stat.h><o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define N 5<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define n1 3<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define MUTEX 1<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define FULL 0<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define EMPTY 5<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define SHM_KEY 502<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define SHM_KEY1 909<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">#define SEM_KEY 703<o:p></o:p></span></div>
</div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br clear="all" style="mso-break-type: section-break; page-break-before: auto;" />
</span>
<div class="WordSection3">
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<b><u><span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">Common to pro & cons<o:p></o:p></span></u></b></div>
</div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br clear="all" style="mso-break-type: section-break; page-break-before: auto;" />
</span>
<div class="WordSection4">
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">int semId,shmId;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">union semun<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int val;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> struct
semid_ds *buf;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> unsigned short
*array;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">};<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> </span><span style="font-size: 9pt;"> </span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">void wait(int semNo)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> struct sembuf s;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> s.sem_num=semNo;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> s.sem_op=-1;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> s.sem_flg=SEM_UNDO;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int r=semop(semId,&s,1);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(r==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
Semop()"); exit(1);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">void signal(int semNo)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> struct sembuf s;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> s.sem_num=semNo;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> s.sem_op=1;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> s.sem_flg=SEM_UNDO;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int r=semop(semId,&s,1);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(r==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
Semop()"); exit(1);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">}<o:p></o:p></span></div>
</div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br /></span></div>
<br clear="all" style="mso-break-type: section-break; page-break-before: auto;" />
</span>
<div class="WordSection5">
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<b><u><span style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt;">Producer:</span></u></b><b><span style="font-size: 10.0pt; mso-bidi-font-size: 11.0pt;"> </span></b></div>
</div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;"><br clear="all" style="mso-break-type: section-break; page-break-before: always;" />
</span>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">int initialize(int semNo,int value)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> union semun u;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> u.val=value;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int
r=semctl(semId,semNo,SETVAL,u);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(r==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
Semctl()");<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> exit(1);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">int main()<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int
*buffer,in=0,x=0,i;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> struct
shmid_ds *data;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">
shmId=shmget(SHM_KEY,N*sizeof(int),0777|IPC_CREAT);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> semId=semget(SEM_KEY,3,0777|IPC_CREAT);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(shmId==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
shmget()"); exit(0);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(semId==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
shmget()"); exit(0);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">
buffer=(int*)shmat(shmId,0,0777);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(buffer==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
shmat()"); exit(0);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">initialize(MUTEX,1); initialize(FULL,0); initialize(EMPTY,5);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> printf("Produced
elements are");<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> for(i=0;i<20;i++)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(in<5)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> x+=1;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> wait(EMPTY); wait(MUTEX);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> buffer[in]=x; printf("\n%d",x);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> signal(MUTEX); signal(FULL);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> in=(in+1)%N; sleep(1); </span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">} </span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">} </span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">}<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<b><u><span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"><br /></span></u></b></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<b><u><span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">Consumer </span></u></b></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<b><u><span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"><br /></span></u></b></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">int main()<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int *buffer,out=0,x,i;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> int output;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> struct shmid_ds *data;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> shmId=shmget(SHM_KEY,N*sizeof(int),0777|IPC_CREAT);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">
semId=semget(SEM_KEY,3,0777|IPC_CREAT);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(shmId==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
shmget()");<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> exit(0);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(semId==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
shmget()");<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> exit(0);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">
buffer=(int*)shmat(shmId,0,0777);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(buffer==-1)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> perror("ERROR:
shmat()");<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> exit(0);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> for(i=0;i<20;i++)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">
{<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> if(out<5)<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> {<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> wait(FULL);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> wait(MUTEX);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> <o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt; text-indent: 36pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;">output= buffer[out];<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> printf("\nConsumed %d",output);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> signal(MUTEX);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> signal(EMPTY);<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> out=(out+1)%N;<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<div class="MsoNormalCxSpMiddle" style="margin-bottom: 0.0001pt;">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"> }<o:p></o:p></span></div>
<span style="font-family: "Calibri","sans-serif"; font-size: 9.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">}</span></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-10501760856674547832014-04-27T14:21:00.001+05:302014-04-27T14:21:52.779+05:30Simple Calculator Android Project Eclipse Download Source Code<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;"><u><b>Simple Calculator Android Project Eclipse Download Source Code</b></u></span></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
here is an android application for calculation wich can do addition, Subtraction,Multiplication and Division </div>
<div>
<br /></div>
<div>
the eclipse project can be downloaded from the below link : </div>
<div>
<br /></div>
<div>
<a href="https://drive.google.com/file/d/0B2HmQFsBTVGfQzdoeldfam55b2s/edit?usp=sharing" target="_blank">Calculator Project eclipse : Download -- >> click here</a></div>
<div>
link : https://drive.google.com/file/d/0B2HmQFsBTVGfQzdoeldfam55b2s/edit?usp=sharing</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-aQTPzup6VBY/U1zEjQi98JI/AAAAAAAAP8s/yhzgEGWBU2g/s1600/android.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-aQTPzup6VBY/U1zEjQi98JI/AAAAAAAAP8s/yhzgEGWBU2g/s1600/android.jpg" height="285" width="400" /></a></div>
<div>
<br /></div>
<div>
MainActivity.java</div>
<div>
<br /></div>
<div>
<div>
import android.support.v7.app.ActionBarActivity;</div>
<div>
import android.os.Bundle;</div>
<div>
import android.view.View;</div>
<div>
import android.widget.Button;</div>
<div>
import android.widget.EditText;</div>
<div>
import android.widget.TextView;</div>
<div>
<br /></div>
<div>
public class MainActivity extends ActionBarActivity </div>
<div>
{</div>
<div>
<br /></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Button add_button,sub_button,mul_button,div_button,clear_button;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>EditText first_num,second_num;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>TextView result;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>protected void onCreate(Bundle savedInstanceState) </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>super.onCreate(savedInstanceState);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>setContentView(R.layout.fragment_main);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>first_num=(EditText) findViewById(R.id.num1);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>second_num=(EditText) findViewById(R.id.num2);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>result=(TextView) findViewById(R.id.result);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>add_button=(Button) findViewById(R.id.add);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>sub_button=(Button) findViewById(R.id.sub);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>mul_button=(Button) findViewById(R.id.mul);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>div_button=(Button) findViewById(R.id.div);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>clear_button=(Button) findViewById(R.id.clear);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>add_button.setOnClickListener(new Addition());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>sub_button.setOnClickListener(new Subtraction());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>mul_button.setOnClickListener(new Multiply());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>div_button.setOnClickListener(new Division());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>clear_button.setOnClickListener(new Clear());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>class Addition implements Button.OnClickListener</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<br /></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>public void onClick(View arg0) </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>// TODO Auto-generated method stub</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>String a,b;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Integer finalValue;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>a=first_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>b=second_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>finalValue=Integer.parseInt(a)+Integer.parseInt(b);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>result.setText(finalValue.toString());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>class Subtraction implements Button.OnClickListener</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<br /></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>public void onClick(View arg0) </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>// TODO Auto-generated method stub</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>String a,b;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Integer finalValue;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>a=first_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>b=second_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>finalValue=Integer.parseInt(a)-Integer.parseInt(b);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>result.setText(finalValue.toString());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>class Multiply implements Button.OnClickListener</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<br /></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>public void onClick(View arg0) </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>// TODO Auto-generated method stub</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>String a,b;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Integer finalValue;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>a=first_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>b=second_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>finalValue=Integer.parseInt(a)*Integer.parseInt(b);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>result.setText(finalValue.toString());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>class Division implements Button.OnClickListener</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<br /></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>public void onClick(View arg0) </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>// TODO Auto-generated method stub</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>String a,b;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>Integer finalValue;</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>a=first_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>b=second_num.getText().toString();</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>finalValue=Integer.parseInt(a)/Integer.parseInt(b);</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>result.setText(finalValue.toString());</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>class Clear implements Button.OnClickListener</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<br /></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>@Override</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>public void onClick(View arg0) </div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>{</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>// TODO Auto-generated method stub</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>first_num.setText("");</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>second_num.setText("");</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>result.setText("");</div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div>
<span class="Apple-tab-span" style="white-space: pre;"> </span>}</div>
<div>
}</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
fragment_mail.xml</div>
<div>
<br /></div>
<div>
<div>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"</div>
<div>
android:layout_width="fill_parent"</div>
<div>
android:layout_height="fill_parent"</div>
<div>
android:orientation="vertical" ></div>
<div>
<br /></div>
<div>
<TextView</div>
<div>
android:id="@+id/textView1"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Enter Number 1"</div>
<div>
android:textAppearance="?android:attr/textAppearanceLarge" /></div>
<div>
<br /></div>
<div>
<EditText</div>
<div>
android:id="@+id/num1"</div>
<div>
android:layout_width="match_parent"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:ems="10" ></div>
<div>
<br /></div>
<div>
<requestFocus /></div>
<div>
</EditText></div>
<div>
<br /></div>
<div>
<TextView</div>
<div>
android:id="@+id/textView2"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Enter Number 2"</div>
<div>
android:textAppearance="?android:attr/textAppearanceLarge" /></div>
<div>
<br /></div>
<div>
<EditText</div>
<div>
android:id="@+id/num2"</div>
<div>
android:layout_width="match_parent"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:ems="10" /></div>
<div>
<br /></div>
<div>
<TextView</div>
<div>
android:id="@+id/textView3"</div>
<div>
android:layout_width="match_parent"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Result"</div>
<div>
android:textAppearance="?android:attr/textAppearanceLarge" /></div>
<div>
<br /></div>
<div>
<TextView</div>
<div>
android:id="@+id/result"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text=""</div>
<div>
android:textAppearance="?android:attr/textAppearanceLarge" /></div>
<div>
<br /></div>
<div>
<Button</div>
<div>
android:id="@+id/add"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Add" /></div>
<div>
<br /></div>
<div>
<Button</div>
<div>
android:id="@+id/sub"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Sub" /></div>
<div>
<br /></div>
<div>
<Button</div>
<div>
android:id="@+id/mul"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Mul" /></div>
<div>
<br /></div>
<div>
<Button</div>
<div>
android:id="@+id/div"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Div" /></div>
<div>
<br /></div>
<div>
<Button</div>
<div>
android:id="@+id/clear"</div>
<div>
android:layout_width="wrap_content"</div>
<div>
android:layout_height="wrap_content"</div>
<div>
android:text="Clear" /></div>
<div>
<br /></div>
<div>
</LinearLayout></div>
</div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com0tag:blogger.com,1999:blog-3628095133841137131.post-7469490819767218472014-03-14T00:19:00.000+05:302014-03-23T07:14:56.126+05:30Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps for Private Cloud Setup<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: x-large;">Openstack Installation Step By step </span></div>
<div style="text-align: center;">
<span style="font-size: x-large;">Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</span><br />
<span style="font-size: x-large;">for Private Cloud Setup</span></div>
<div style="text-align: center;">
<span style="font-size: x-large;"><br /></span></div>
<div style="text-align: left;">
<span style="font-size: large;">Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps : </span></div>
<br />
Keywords : openstack,Ubuntu LTS 12.04,Openstack Nova,Openstack horizon,Openstack KeyStone,Openstack Mysql,Openstack Cinder.<br />
<br />
<br />
//#text record <a href="https://www.facebook.com/hackerx.sasi" target="_blank">Hackerx-PC</a><br />
//<a href="https://www.facebook.com/hackerx.sasi" target="_blank">A.Prem Sasi Kumar</a><br />
//premsasikumar@gmail.com<br />
//installing openstack<br />
<br />
#Lets ROCK >>>..!!!<br />
<br />
//initial instruction for lab purpose<br />
to make easy rememberence make sure that where ever u are asked the password give admin123 and uername as admin<br />
<br />
Note : what ever fails leave that and note them in a notepad or gedit and continue to the next step<br />
is any problem in doing just comment and this post is always on live. Happy to Help ..!!!<br />
the next thing is to note is that there may be problem if you are not using the fresh ubuntu ...the MYSQL will lead to problems in all openstack applications keystone to all as there will be some errors on permission and other credential creations .. so after step 8 its better to remove MYSQL and reinstall it for our goodness.<br />
<br />
Requirements : ubuntu LTS 12.04 (64/32) / (desktop/server)<br />
used here <span class="Apple-tab-span" style="white-space: pre;"> </span> : ubuntu LTS 12.04 (64/32) / (desktop)<br />
<br />
Additional Tip : If you are not planing to do more just to test and check openstack go with 32bit LTS 12.04<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span> Because by using this reduces your time as for 64bit more number of files will be downloaded<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span> and installed in the system.<br />
<br />
IN the Begining ...<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Need a fresh installation of Ubuntu<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>hard disk size min : 150GB<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>2Gb we have used but 4Gb preferable<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>Know the basic details about your ip,dns,gateway and subnet mask<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
Optional things to do ...(for easy installation please avoid doing optional steps)<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>apt-get install openssh-server<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>//to run on remote system with help of ip // login remotely to your rig via ssh<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>apt-get update -y<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>//to preform update on all packages<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>apt-get upgrade -y<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>//to preform upgrade on all opeartions<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
Getting Started ..<br />
// after # and $ is the required command you should be executing<br />
<br />
step 1: change as root and get the required files shell(.sh) to proceed<br />
<br />
open terminal window and then do the followning<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>$sudo su <br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>//it will ask for password to switch to power user<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>#apt-get -y install git<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>//will install tha git package it is required for cloning the set of packages on the network drive at the below given location<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span><br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>#git clone git://github.com/StackGeek/openstackgeek.git<br />
<span class="Apple-tab-span" style="white-space: pre;"> </span>//the files will be copied and placed under /home/cts02/open stack<br />
<br />
step 2 : check whether the files have been copied to your system<br />
<br />
root@cts02:/home/cts02# ls<br />
a.out Documents Music Pictures Templates<br />
config interface Downloads Open stack Public Videos<br />
Desktop examples.desktop openstackgeek sam.c VirtualBox VMs<br />
root@cts02:/home/cts02# <br />
<br />
Step3 : change the directory of PWD to grizzzly where all the required shell files can be found<br />
<br />
#cd openstackgeek/grizzly<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ls<br />
flow.md openstack_loop.sh<br />
images openstack_mysql.sh<br />
openstack_cinder.sh openstack_networking.sh<br />
openstack_cleanup.sh openstack_nova_compute.sh<br />
openstack_drop_databases.sh openstack_nova.sh<br />
openstack_glance.sh openstack_restart_nova.sh<br />
openstack_grizzly.png openstack_server_test.sh<br />
openstack_horizon.sh openstack_setup.sh<br />
openstack_ipv6.sh openstack_system_update.sh<br />
openstack_keystone.sh readme.md<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
Step 4: type the following press enter for staring configuration regarding interfaces<br />
#./openstack_networking.sh<br />
as : root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_networking.sh<br />
<br />
step 5 : to configure the interfaces<br />
<br />
Go and edit your /etc/network/interfaces file to look something like this: (copy only the things between the ** enclosed things)<br />
******************************<br />
<br />
# loopback<br />
auto lo<br />
iface lo inet loopback<br />
iface lo inet6 loopback<br />
<br />
# primary interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 172.16.31.102<br />
netmask 255.255.224.0<br />
gateway 192.168.5.1<br />
dns-nameservers 192.168.5.1<br />
<br />
# ipv6 configuration<br />
iface eth0 inet6 auto<br />
<br />
*******************************<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# gedit /etc/network/interfaces<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# cat /etc/network/interfaces<br />
# loopback<br />
auto lo<br />
iface lo inet loopback<br />
iface lo inet6 loopback<br />
<br />
# primary interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 172.16.31.102<br />
netmask 255.255.224.0<br />
gateway 192.168.5.1<br />
dns-nameservers 192.168.5.1<br />
<br />
# ipv6 configuration<br />
iface eth0 inet6 auto<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly#<br />
<br />
<br />
//information regarding the interfaces file<br />
<br />
# primary interface<br />
auto eth0<br />
iface eth0 inet static<br />
address 172.16.31.102 //ip of the system your are using //labeled on the cpu<br />
netmask 255.255.224.0 // this will be the subnet mask that we will be using on our college<br />
gateway 192.168.5.1<span class="Apple-tab-span" style="white-space: pre;"> </span> // this is the ip address of the gateway and in our college cyberoam acts as a gateway so i have given the ip of cyberoam<br />
dns-nameservers 192.168.5.1 // this is the ip address of the dns and in our college cyberoam acts as a dns so i have given the ip of cyberoam<br />
<br />
<br />
<br />
Step 6 : restart the network to make the change effect , it may some time report for dependency problem or any other problem just give and let it go and follow the other steps after this<br />
<br />
/etc/init.d/networking restart<br />
as :<br />
root@cts02:/home/cts02/openstackgeek/grizzly# /etc/init.d/networking restart<br />
* Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces<br />
* Reconfiguring network interfaces... RTNETLINK answers: File exists<br />
Failed to bring up eth0.<br />
[ OK ]<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
<br />
step 7 : test the server // test your rig for virtualization support<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_server_test.sh<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
cpu-checker is already the newest version.<br />
0 upgraded, 0 newly installed, 0 to remove and 29 not upgraded.<br />
INFO: /dev/kvm exists<br />
KVM acceleration can be used<br />
<br />
#################################################################################################<br />
<br />
Your CPU seems to support KVM extensions. Run './openstack_system_update.sh' to continue setup. <br />
<br />
#################################################################################################<br />
<br />
<br />
step 8:preform the update operation<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_system_update.sh<br />
#################################################################################################<br />
<br />
System updated. Now run './openstack_setup.sh' to run the system setup.<br />
<br />
#################################################################################################<br />
<br />
---------------------------------------------------------<br />
Additional protection steps :<br />
Mysql may cause problem sometimes if its not a fresh instal of ubuntu to try openstack<br />
one such sample error is :<br />
<pre style="white-space: pre-wrap; word-wrap: break-word;">ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'</pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"></pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;">there are may other problems that can occur tooo</pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"></pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;">Mysql has the problem //
tried to solve the problem without uninstalling it but it caused more erors so i removed mysql completely by the code given below
To remove mysql completely from your system Just type in terminal
sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean
then installed mysql by the below command :
sudo apt-get install mysql-server
//it will ask for password give admin123
then the process follows as ::///
what is done :
--------------
clean openstack // this is for if u have fresh install and got into setup and got error there in the sense use this
----------------
root@cts06:/home/ctslab/openstackgeek/grizzly# ./openstack_cleanup.sh</pre>
<pre style="white-space: pre-wrap; word-wrap: break-word;"></pre>
______________________________________________________________________________<br />
<br />
step 9 : before stepping into the next step of starting the system setup of the openstack we need some details<br />
//to find the eth number <br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ifconfig -a | grep eth<br />
eth0 Link encap:Ethernet HWaddr 10:78:d2:df:e9:6b <br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
mine here says that its eth0 now start running the shell setup file as follows<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_setup.sh<br />
<br />
it will ne as follows ..<br />
<br />
################################################################################################<br />
<br />
Please refer to https://github.com/StackGeek/openstackgeek/blob/master/readme.md for setup help.<br />
<br />
################################################################################################<br />
<br />
Enter the device name for this rig's NIC (eth0, etc.) : eth0<br />
<br />
#################################################################################################################<br />
<br />
The IP address on this rig's NIC is probably 172.16.31.102. If that's wrong, ctrl-c and edit this script.<br />
<br />
#################################################################################################################<br />
<br />
<br />
Is this the controller node? y<br />
<br />
Enter a password to be used for the OpenStack services to talk to MySQL: admin123<br />
<br />
Enter the email address for service accounts: premsasikumar1991@gmail.com // just provide your email id<br />
<br />
Enter a short name to use for your default region: india <span class="Apple-tab-span" style="white-space: pre;"> </span>// give anthing as country name home colg anything else <br />
<br />
Is this a multi node install? y <span class="Apple-tab-span" style="white-space: pre;"> </span>// if its multinode install press yer basically prefer yes because most case we use more than one system<br />
// after typing y and press enter then it completes and then the next step is mysql..<br />
//the below are some screen lines that were shown<br />
The following URL will be used for configuring the other rigs in this cluster. Copy it.<br />
<br />
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:<br />
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed<br />
More details here: http://curl.haxx.se/docs/sslcerts.html<br />
<br />
curl performs SSL certificate verification by default, using a "bundle"<br />
of Certificate Authority (CA) public keys (CA certs). If the default<br />
bundle file isn't adequate, you can specify an alternate file<br />
using the --cacert option.<br />
If this HTTPS server uses a certificate signed by a CA represented in<br />
the bundle, the certificate verification probably failed due to a<br />
problem with the certificate (it might be expired, or the name might<br />
not match the domain name in the URL).<br />
If you'd like to turn off curl's verification of the certificate, use<br />
the -k (or --insecure) option.<br />
<br />
##########################################################################################<br />
<br />
Setup configuration complete. Continue the setup by doing a './openstack_mysql.sh'.<br />
<br />
##########################################################################################<br />
<br />
Step 10 : setup installs MySQL and RabbitMQ <br />
// The install script will install Rabbit and MySQL.<br />
//During the MySQL install you will be prompted for the MySQL password you entered earlier to set a password for the MySQL root user.<br />
//You'll be prompted again toward the end of the script when it creates the databases.<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_mysql.sh<br />
Reading package lists... Done<br />
Building dependency tree <br />
// it goes on ..<br />
asks for mysql password :<br />
##############################################################################################<br />
Creating OpenStack databases and users. Use the same password you gave the MySQL setup.<br />
##############################################################################################<br />
<br />
Enter password: <br />
<br />
#######################################################################################<br />
<br />
Run './openstack_keystone.sh' now.<br />
<br />
#######################################################################################<br />
<br />
<br />
Step 11 : Keystone is used by OpenStack to provide central authentication across all installed services. Start the install of Keystone by typing the following:<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_keystone.sh<br />
<br />
Reading package lists... Done<br />
Building dependency tree <br />
<br />
it goes on... as finalise<br />
<br />
Generating RSA private key, 1024 bit long modulus<br />
..++++++<br />
..................++++++<br />
e is 65537 (0x10001)<br />
Generating RSA private key, 1024 bit long modulus<br />
..............++++++<br />
..........++++++<br />
e is 65537 (0x10001)<br />
Using configuration from /etc/keystone/ssl/certs/openssl.conf<br />
Check that the request matches the signature<br />
Signature ok<br />
The Subject's Distinguished Name is as follows<br />
countryName :PRINTABLE:'US'<br />
stateOrProvinceName :PRINTABLE:'Unset'<br />
localityName :PRINTABLE:'Unset'<br />
organizationName :PRINTABLE:'Unset'<br />
commonName :PRINTABLE:'www.example.com'<br />
Certificate is to be certified until Mar 13 11:41:49 2015 GMT (365 days)<br />
<br />
Write out database with 1 new entries<br />
Data Base Updated<br />
keystone start/running, process 10493<br />
keystone stop/waiting<br />
keystone start/running, process 10531<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
+-------------+--------------------------------------------+<br />
| Property | Value |<br />
+-------------+--------------------------------------------+<br />
| adminurl | http://172.16.31.102:8774/v2/$(tenant_id)s |<br />
| id | bbde6f3a8c25421b9925a705dd796658 |<br />
| internalurl | http://172.16.31.102:8774/v2/$(tenant_id)s |<br />
| publicurl | http://172.16.31.102:8774/v2/$(tenant_id)s |<br />
| region | india |<br />
| service_id | 9fbf7d7eff804639be889f3cb34e6319 |<br />
+-------------+--------------------------------------------+<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
+-------------+----------------------------------+<br />
| Property | Value |<br />
+-------------+----------------------------------+<br />
| adminurl | http://172.16.31.102:9292/v2 |<br />
| id | 922b624890894ff6aa797483c9ae4431 |<br />
| internalurl | http://172.16.31.102:9292/v2 |<br />
| publicurl | http://172.16.31.102:9292/v2 |<br />
| region | india |<br />
| service_id | 6f196b9a166b408e80d06ce160d436c5 |<br />
+-------------+----------------------------------+<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
+-------------+--------------------------------------------+<br />
| Property | Value |<br />
+-------------+--------------------------------------------+<br />
| adminurl | http://172.16.31.102:8776/v1/$(tenant_id)s |<br />
| id | 4749ee3891ac4ba890734c3c234e5c3c |<br />
| internalurl | http://172.16.31.102:8776/v1/$(tenant_id)s |<br />
| publicurl | http://172.16.31.102:8776/v1/$(tenant_id)s |<br />
| region | india |<br />
| service_id | 24347650324741e598de5c9af58fe32f |<br />
+-------------+--------------------------------------------+<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
+-------------+----------------------------------+<br />
| Property | Value |<br />
+-------------+----------------------------------+<br />
| adminurl | http://172.16.31.102:35357/v2.0 |<br />
| id | 98803648fb9e4d27b019160a4b8156b1 |<br />
| internalurl | http://172.16.31.102:5000/v2.0 |<br />
| publicurl | http://172.16.31.102:5000/v2.0 |<br />
| region | india |<br />
| service_id | a2f6ceaa8bde4f989c9e283be7933a75 |<br />
+-------------+----------------------------------+<br />
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).<br />
+-------------+------------------------------------------+<br />
| Property | Value |<br />
+-------------+------------------------------------------+<br />
| adminurl | http://172.16.31.102:8773/services/Admin |<br />
| id | 4a875307b082442488aebee23b9c351f |<br />
| internalurl | http://172.16.31.102:8773/services/Cloud |<br />
| publicurl | http://172.16.31.102:8773/services/Cloud |<br />
| region | india |<br />
| service_id | 9039769efef7449f83339d43bf81b181 |<br />
+-------------+------------------------------------------+<br />
########################################################################################<br />
<br />
Your EC2 credentials have been saved into ./ec2rc<br />
<br />
Time to test keystone. Do a '. ./stackrc' then a 'keystone user-list'.<br />
Assuming you get a user list back, go on to install glance with './openstack_glance.sh'.<br />
<br />
########################################################################################<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
step 12: verify them using the below as<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./ec2rc<br />
bash: ./ec2rc: Permission denied<br />
//wont work so do cat<br />
root@cts02:/home/cts02/openstackgeek/grizzly# cat ./ec2rc<br />
ADMIN_ACCESS=dd7106978e4b4a558d16c9a5f81d946f<br />
ADMIN_SECRET=e1391a6ab13e4f63813590985c1b8287<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# . ./stackrc <br />
if . ./stackrc is successful nothing it says goes to next //if it says error then post your comment<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
<br />
step 13 : Glance provides image services for OpenStack.<br />
//Images are comprised of prebuilt operating system images built to run on OpenStack.<br />
//to get more images then visit the site http://docs.openstack.org/image-guide/content/ch_obtaining_images.html<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_glance.sh<br />
<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
in the middle it dislplays as :<br />
#################################################################################################<br />
<br />
Backups of configs for glance are in /etc/glance/<br />
<br />
#################################################################################################<br />
glance-api stop/waiting<br />
glance-api start/running, process 11665<br />
glance-registry stop/waiting<br />
glance-registry start/running, process 11670<br />
glance-api stop/waiting<br />
glance-api start/running, process 11709<br />
glance-registry stop/waiting<br />
glance-registry start/running, process 11714<br />
+------------------+--------------------------------------+<br />
| Property | Value |<br />
+------------------+--------------------------------------+<br />
| checksum | None |<br />
| container_format | bare |<br />
| created_at | 2014-03-13T11:45:04 |<br />
| deleted | False |<br />
| deleted_at | None |<br />
| disk_format | qcow2 |<br />
| id | 3cda20ba-9575-4092-9de5-5f3355c35c5b |<br />
| is_public | True |<br />
| min_disk | 0 |<br />
| min_ram | 0 |<br />
| name | Cirros 0.3.0 |<br />
| owner | e4e53b0dc99d4436933750415682c545 |<br />
| protected | False |<br />
| size | 9761280 |<br />
| status | active |<br />
| updated_at | 2014-03-13T11:45:04 |<br />
+------------------+--------------------------------------+<br />
<br />
#################################################################################################<br />
<br />
Do a 'glance image-list' to see images. You can now run './openstack_cinder.sh' to set up Nova.<br />
<br />
#################################################################################################<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
<br />
step 14 : check the image-list on glance<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# glance image-list<br />
+--------------------------------------+--------------+-------------+------------------+---------+--------+<br />
| ID | Name | Disk Format | Container Format | Size | Status |<br />
+--------------------------------------+--------------+-------------+------------------+---------+--------+<br />
| 3cda20ba-9575-4092-9de5-5f3355c35c5b | Cirros 0.3.0 | qcow2 | bare | 9761280 | active |<br />
+--------------------------------------+--------------+-------------+------------------+---------+--------+<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
Step 15 : Cinder is used to provide additional volume attachments to running instances and snapshot space. Start the install of Cinder by typing:<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_cinder.sh<br />
<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
<br />
<br />
//error problem in x64 bit ubuntu this<br />
<br />
ldconfig deferred processing now taking place<br />
* Starting iSCSI enterprise target service FATAL: Module iscsi_trgt not found.<br />
[fail]<br />
* Setting up iSCSI targets [ OK ] <br />
2014-03-13 17:21:21 INFO [migrate.versioning.api] 0 -> 1... <br />
<br />
then follows as it says<br />
<br />
cinder-scheduler stop/waiting<br />
cinder-scheduler start/running, process 25403<br />
cinder-api stop/waiting<br />
cinder-api start/running, process 25417<br />
<br />
#################################################################################################<br />
<br />
Run ./openstack_loop.sh to setup the cinder-volumes loopback device.<br />
<br />
#################################################################################################<br />
<br />
<br />
Step 16: Once the install of Cinder is complete, determine your space requirements and run the loopback volume creation script<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_loop.sh<br />
<br />
Enter the integer amount in gigabytes (min 1G) to use as a loopback file for Cinder: 10<br />
<br />
Creating loopback file of size 10 GB at /cinder-volumes...<br />
0+0 records in<br />
0+0 records out<br />
0 bytes (0 B) copied, 1.7818e-05 s, 0.0 kB/s<br />
<br />
Physical volume "/dev/loop2" successfully created<br />
Volume group "cinder-volumes" successfully created<br />
#################################################################################################<br />
<br />
When you are done with setting up your volumes, run './openstack_nova.sh'<br />
<br />
#################################################################################################<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
step 17 : Nova provides multiple services to OpenStack for controlling networking, imaging and starting and stopping instances.<br />
//If you are installing a compute rig, please skip to the following section to install the base nova-compute methods needed for running a compute rig.<br />
//Start the controller's nova install by typing the following:<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_nova.sh<br />
<br />
<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
The following extra packages will be installed:<br />
<br />
<br />
it follows as ...<br />
Setting up libblas3gf (1.2.20110419-2ubuntu1) ...<br />
update-alternatives: using /usr/lib/libblas/libblas.so.3gf to provide /usr/lib/libblas.so.3gf (libblas.so.3gf) in auto mode.<br />
Setting up liblapack3gf (3.3.1-1) ...<br />
update-alternatives: using /usr/lib/lapack/liblapack.so.3gf to provide /usr/lib/liblapack.so.3gf (liblapack.so.3gf) in auto mode.<br />
Setting up libtidy-0.99-0 (20091223cvs-1ubuntu2) ...<br />
Setting up python-novnc (2012.2~20120906+dfsg-0ubuntu4~cloud0) ...<br />
Setting up python-carrot (0.10.7-1ubuntu1) ...<br />
Setting up python-cheetah (2.4.4-2ubuntu3) ...<br />
Setting up python-cinderclient (1:1.0.3-0ubuntu1~cloud0) ...<br />
Setting up python-daemon (1.5.5-1ubuntu1) ...<br />
Setting up python-feedparser (5.1-0ubuntu3.1) ...<br />
Setting up python-gflags (1.5.1-1build1) ...<br />
Setting up python-ldap (2.3.13-1build1) ...<br />
Setting up python-netaddr (0.7.5-4build2) ...<br />
Setting up python-novaclient (1:2.13.0-0ubuntu1~cloud0) ...<br />
Setting up python-pyasn1 (0.0.11a-1ubuntu1) ...<br />
Setting up python-cmd2 (0.6.4-1~cloud0) ...<br />
Setting up python-pyparsing (1.5.7+dfsg1-0ubuntu2~cloud0) ...<br />
Setting up python-cliff (1.3.1-0ubuntu1~cloud0) ...<br />
Setting up python-quantumclient (1:2.2.0-0ubuntu1~cloud0) ...<br />
Setting up python-nova (1:2013.1.4-0ubuntu1~cloud0) ...<br />
Setting up nova-common (1:2013.1.4-0ubuntu1~cloud0) ...<br />
Adding system user `nova' (UID 128) ...<br />
Adding new user `nova' (UID 128) with group `nova' ...<br />
Not creating home directory `/var/lib/nova'.<br />
usermod: no changes<br />
Setting up python-numpy (1:1.6.1-6ubuntu1) ...<br />
Setting up websockify (0.3.0-0ubuntu1~cloud0) ...<br />
Setting up novnc (2012.2~20120906+dfsg-0ubuntu4~cloud0) ...<br />
Setting up python-dingus (0.3.2-1ubuntu1) ...<br />
Setting up python-libvirt (1.0.2-0ubuntu11.13.04.5~cloud1) ...<br />
Setting up python-nose (1.1.2-3) ...<br />
Setting up python-stompy (0.2.9-1ubuntu1) ...<br />
Setting up python-utidylib (0.2-8build1) ...<br />
Setting up kpartx (0.4.9-3ubuntu5.1) ...<br />
Setting up nova-ajax-console-proxy (1:2013.1.4-0ubuntu1~cloud0) ...<br />
Setting up nova-api (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-api start/running, process 26766<br />
Setting up nova-cert (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-cert start/running, process 26806<br />
Setting up nova-conductor (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-conductor start/running, process 26846<br />
Setting up nova-consoleauth (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-consoleauth start/running, process 26886<br />
Setting up nova-doc (1:2013.1.4-0ubuntu1~cloud0) ...<br />
Setting up nova-network (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-network start/running, process 26936<br />
Setting up nova-novncproxy (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-novncproxy start/running, process 26976<br />
Setting up nova-scheduler (1:2013.1.4-0ubuntu1~cloud0) ...<br />
nova-scheduler start/running, process 27015<br />
Setting up nova-compute-kvm (1:2013.1.4-0ubuntu1~cloud0) ...<br />
Setting up nova-compute (1:2013.1.4-0ubuntu1~cloud0) ...<br />
Adding user `nova' to group `libvirtd' ...<br />
Adding user nova to group libvirtd<br />
Done.<br />
<br />
step 18 : check the service list and go for nova manage as follows and then the nova image list ..<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# nova service-list<br />
+------------------+-------+----------+---------+-------+----------------------------+<br />
| Binary | Host | Zone | Status | State | Updated_at |<br />
+------------------+-------+----------+---------+-------+----------------------------+<br />
| nova-cert | cts02 | internal | enabled | up | 2014-03-13T12:00:41.000000 |<br />
| nova-compute | cts02 | nova | enabled | up | 2014-03-13T12:00:36.000000 |<br />
| nova-conductor | cts02 | internal | enabled | up | 2014-03-13T12:00:41.000000 |<br />
| nova-consoleauth | cts02 | internal | enabled | up | 2014-03-13T12:00:40.000000 |<br />
| nova-network | cts02 | internal | enabled | up | 2014-03-13T12:00:34.000000 |<br />
| nova-scheduler | cts02 | internal | enabled | up | 2014-03-13T12:00:33.000000 |<br />
+------------------+-------+----------+---------+-------+----------------------------+<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# nova-manage service list<br />
Binary Host Zone Status State Updated_At<br />
nova-consoleauth cts02 internal enabled :-) 2014-03-13 12:01:10<br />
nova-cert cts02 internal enabled :-) 2014-03-13 12:01:11<br />
nova-conductor cts02 internal enabled :-) 2014-03-13 12:01:11<br />
nova-scheduler cts02 internal enabled :-) 2014-03-13 12:01:13<br />
nova-network cts02 internal enabled :-) 2014-03-13 12:01:14<br />
nova-compute cts02 nova enabled :-) 2014-03-13 12:01:07<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# nova image-list<br />
+--------------------------------------+--------------+--------+--------+<br />
| ID | Name | Status | Server |<br />
+--------------------------------------+--------------+--------+--------+<br />
| 3cda20ba-9575-4092-9de5-5f3355c35c5b | Cirros 0.3.0 | ACTIVE | |<br />
+--------------------------------------+--------------+--------+--------+<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
step 19 : check the cylinder type-list<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# cinder type-list<br />
+--------------------------------------+---------+<br />
| ID | Name |<br />
+--------------------------------------+---------+<br />
| 8bcaf3b4-cd30-459d-a79e-9836c1ea763b | Storage |<br />
+--------------------------------------+---------+<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
step 20 : Horizon provides OpenStack's managment interface. Install Horizon by typing:<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# ./openstack_horizon.sh<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
memcached is already the newest version.<br />
<br />
it goes on ...<br />
<br />
<br />
Enabling site default.<br />
Enabling module alias.<br />
Enabling module autoindex.<br />
Enabling module dir.<br />
Enabling module env.<br />
Enabling module mime.<br />
Enabling module negotiation.<br />
Enabling module setenvif.<br />
Enabling module status.<br />
Enabling module auth_basic.<br />
Enabling module deflate.<br />
Enabling module authz_default.<br />
Enabling module authz_user.<br />
Enabling module authz_groupfile.<br />
Enabling module authn_file.<br />
Enabling module authz_host.<br />
Enabling module reqtimeout.<br />
Setting up apache2-mpm-worker (2.2.22-1ubuntu1.4) ...<br />
* Starting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
Setting up apache2 (2.2.22-1ubuntu1.4) ...<br />
Setting up libapache2-mod-wsgi (3.3-4build1) ...<br />
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
... waiting .apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
Setting up python-cloudfiles (1.7.9.2-1) ...<br />
Setting up python-django (1.4.5-1ubuntu0.1~cloud0) ...<br />
Setting up python-appconf (0.5-0ubuntu2~cloud0) ...<br />
Setting up python-compressor (1.2-0ubuntu1~cloud0) ...<br />
Setting up python-openstack-auth (1.0.7-0ubuntu1~cloud0) ...<br />
Setting up python-tz (2011k-0ubuntu5) ...<br />
Setting up python-django-horizon (1:2013.1.4-0ubuntu1.1~cloud0) ...<br />
Setting up openstack-dashboard (1:2013.1.4-0ubuntu1.1~cloud0) ...<br />
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
Setting up openstack-dashboard-ubuntu-theme (1:2013.1.4-0ubuntu1.1~cloud0) ...<br />
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
Processing triggers for libc-bin ...<br />
ldconfig deferred processing now taking place<br />
Reading package lists... Done<br />
Building dependency tree <br />
Reading state information... Done<br />
The following packages will be REMOVED:<br />
openstack-dashboard-ubuntu-theme*<br />
0 upgraded, 0 newly installed, 1 to remove and 35 not upgraded.<br />
After this operation, 222 kB disk space will be freed.<br />
(Reading database ... 181131 files and directories currently installed.)<br />
Removing openstack-dashboard-ubuntu-theme ...<br />
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
Purging configuration files for openstack-dashboard-ubuntu-theme ...<br />
* Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName<br />
[ OK ]<br />
Restarting memcached: memcached.<br />
#######################################################################################<br />
<br />
The horizon dashboard should be at http://172.16.31.102/horizon. Login with admin/admin123<br />
<br />
#######################################################################################<br />
root@cts02:/home/cts02/openstackgeek/grizzly# <br />
<br />
<br />
Step : over : open a browser and go to the http://172.16.31.102/horizon the ip is the one that we gave on interfaces file <br />
the password that i used all that time was admim123 and username admin if u dont know this at the end of horizon installation it says the requied username and password<br />
to enter into the dashboard<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-GZftRQfPvqk/UyH8MaNxp6I/AAAAAAAAPsY/OnlVVF0c_Ms/s1600/Screenshot+from+2014-03-13+17_35_48.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-GZftRQfPvqk/UyH8MaNxp6I/AAAAAAAAPsY/OnlVVF0c_Ms/s1600/Screenshot+from+2014-03-13+17_35_48.png" height="356" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-I7KcnJt3sP0/UyH8MoEb9EI/AAAAAAAAPsc/cYhm0Qa-q1g/s1600/Screenshot+from+2014-03-13+17_36_30.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-I7KcnJt3sP0/UyH8MoEb9EI/AAAAAAAAPsc/cYhm0Qa-q1g/s1600/Screenshot+from+2014-03-13+17_36_30.png" height="358" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-sBEF97o3O-s/UyH8M66Mr3I/AAAAAAAAPsg/FwBNJt1Plms/s1600/Screenshot+from+2014-03-13+17_36_43.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-sBEF97o3O-s/UyH8M66Mr3I/AAAAAAAAPsg/FwBNJt1Plms/s1600/Screenshot+from+2014-03-13+17_36_43.png" height="358" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-j2Bme1OUD7w/UyH8OuhV20I/AAAAAAAAPsw/v4RWoqWL6fM/s1600/Screenshot+from+2014-03-13+17_36_52.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-j2Bme1OUD7w/UyH8OuhV20I/AAAAAAAAPsw/v4RWoqWL6fM/s1600/Screenshot+from+2014-03-13+17_36_52.png" height="358" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-FbiAAxH8gr4/UyH8PdHOC0I/AAAAAAAAPs4/ik1KUSkWPkQ/s1600/Screenshot+from+2014-03-13+17_36_58.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-FbiAAxH8gr4/UyH8PdHOC0I/AAAAAAAAPs4/ik1KUSkWPkQ/s1600/Screenshot+from+2014-03-13+17_36_58.png" height="358" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://4.bp.blogspot.com/-UxmMk58y8Ng/UyH8P8db1QI/AAAAAAAAPtA/_8P44dqSglE/s1600/Screenshot+from+2014-03-13+17_37_36.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://4.bp.blogspot.com/-UxmMk58y8Ng/UyH8P8db1QI/AAAAAAAAPtA/_8P44dqSglE/s1600/Screenshot+from+2014-03-13+17_37_36.png" height="358" width="640" /></a></div>
<br />
<br />
<br />
PPost Before “read more” <span class="fullpost">And here is the rest of it</span><br />
<span class="fullpost"></span><br />
<a name='more'></a><span class="fullpost"><br /></span>
<br />
//these step are later on steps for additional checking of the sytem ..afer doing all the 20 steps and go to browser do check all links there<br />
then come back to terminal ..while u are in broser check for the cylinder allocation on storage now by using this we will be making some changes that take effect<br />
<br />
<br />
root@cts02:/home/cts02/openstackgeek/grizzly# cinder type-list<br />
+--------------------------------------+---------+<br />
| ID | Name |<br />
+--------------------------------------+---------+<br />
| 8bcaf3b4-cd30-459d-a79e-9836c1ea763b | Storage |<br />
+--------------------------------------+---------+<br />
root@cts02:/home/cts02/openstackgeek/grizzly# cinder create --volume-type Storage --display-name test 1<br />
+---------------------+--------------------------------------+<br />
| Property | Value |<br />
+---------------------+--------------------------------------+<br />
| attachments | [] |<br />
| availability_zone | nova |<br />
| bootable | false |<br />
| created_at | 2014-03-13T12:09:46.136681 |<br />
| display_description | None |<br />
| display_name | test |<br />
| id | 400400c3-2496-405c-82bf-aca50edaa0b0 |<br />
| metadata | {} |<br />
| size | 1 |<br />
| snapshot_id | None |<br />
| source_volid | None |<br />
| status | creating |<br />
| volume_type | Storage |<br />
+---------------------+--------------------------------------+<br />
root@cts02:/home/cts02/openstackgeek/grizzly#<br />
<br />
am facing some proble with that cylinder wull be back with a solution<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-A4T-g7gZ1VU/UyH8p1FXbkI/AAAAAAAAPtU/7iqPRwV0YuA/s1600/Screenshot+from+2014-03-13+17_40_59.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://1.bp.blogspot.com/-A4T-g7gZ1VU/UyH8p1FXbkI/AAAAAAAAPtU/7iqPRwV0YuA/s1600/Screenshot+from+2014-03-13+17_40_59.png" height="358" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-lvP7diAxiCQ/UyH8qdYM07I/AAAAAAAAPtY/YXw09SVVlVo/s1600/Screenshot+from+2014-03-13+17_41_30.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/-lvP7diAxiCQ/UyH8qdYM07I/AAAAAAAAPtY/YXw09SVVlVo/s1600/Screenshot+from+2014-03-13+17_41_30.png" height="358" width="640" /></a></div>
<br />
//after this again check by typing cinder type-list<br />
#exit<br />
$exit<br />
<br />
<br />
special thanks to ubuntu lts 12.04 openstack 10 Minutes but it really takes 30 to 40mins to work with.. :D :p<br />
<a class="g-profile" href="https://plus.google.com/102598372246437426538" target="_blank">+sasi arivukalanjiam</a><br />
<br />
<br />
<br />
<br />
<br />
Search this page by ,<br />
<br />
<div style="text-align: center;">
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div style="text-align: center;">
<div style="text-align: left;">
for Private Cloud Setup</div>
<div>
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div>
<div style="text-align: left;">
for Private Cloud Setup</div>
<div>
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div>
<div style="text-align: left;">
for Private Cloud Setup</div>
<div>
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div>
<div style="text-align: left;">
for Private Cloud SetupOpenstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
<div>
<div style="text-align: left;">
for Private Cloud SetupOpenstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
<div>
<div style="text-align: left;">
for Private Cloud SetupOpenstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
<div>
<div style="text-align: left;">
for Private Cloud SetupOpenstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
<div>
<div style="text-align: left;">
for Private Cloud Setup</div>
<div>
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div>
<div style="text-align: left;">
for Private Cloud SetupOpenstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
<div>
<div style="text-align: left;">
for Private Cloud Setup</div>
<div>
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div>
<div style="text-align: left;">
for Private Cloud Setup</div>
<div>
<div style="text-align: left;">
Openstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
</div>
<div>
<div style="text-align: left;">
for Private Cloud SetupOpenstack Installation Step By step Using Ubuntu LTS 12.04 ( 40 Minutes approx.) 20 Easy Steps</div>
<div>
<div style="text-align: left;">
for Private Cloud Setup</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com3tag:blogger.com,1999:blog-3628095133841137131.post-15690733630410470182013-09-25T18:32:00.000+05:302013-09-25T18:32:02.268+05:30Computer Architecture- john l. hennessy and david a. patterson [Fifth-Edition] A QuantitativeApproach.pdf ebook download<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<span style="font-size: large;"><b><u>Computer Architecture- </u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><b><u>john l. hennessy and david a. patterson </u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><b><u>[Fifth-Edition] </u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><b><u>A QuantitativeApproach.pdf</u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><b><u><br /></u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><b><u>Computer Architecture- john l. hennessy and david a. patterson [Fifth-Edition] A QuantitativeApproach.pdf ebook download </u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><b><u><br /></u></b></span></div>
<div style="text-align: center;">
<span style="font-size: large;">File Size : 11.9Mb</span></div>
<div style="text-align: center;">
<span style="font-size: large;"></span></div>
<a name='more'></a><span style="font-size: large;"><br /></span><br />
<div style="text-align: center;">
<span style="font-size: large;">Link to download : </span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing">https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing</a></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing" target="_blank">Click here to Download : Download </a></span></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing" target="_blank"><img border="0" height="640" src="http://2.bp.blogspot.com/-YCA9zbn_Olo/UkLdpin3ZwI/AAAAAAAAPGM/JQc7KC2X23Q/s640/Hennessy+CompArch+750+Cover.jpg" width="518" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<span style="font-size: large;">File Size : 11.9Mb</span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;">Link to download : </span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing">https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing</a></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><br /></span></div>
<div style="text-align: center;">
<span style="font-size: large;"><a href="https://docs.google.com/file/d/0B-Rb64QiDg8wbUNhNGVfc3FZWGc/edit?usp=sharing" target="_blank">Click here to Download : Download </a></span></div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com1tag:blogger.com,1999:blog-3628095133841137131.post-40217731291219555812013-09-24T18:19:00.003+05:302013-09-24T18:19:58.722+05:30Advanced Data Structures_ Peter Brass_ Cambridge University Press 2008.pdf ebook Download<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: center;">
<b><u><span style="font-size: x-large;">Advanced Data Structures</span></u></b></div>
<div style="text-align: center;">
<b><u><span style="font-size: x-large;"> Peter Brass_ Cambridge University Press </span></u></b></div>
<div style="text-align: center;">
<b><u><span style="font-size: x-large;">2008.pdf Ebook Download</span></u></b></div>
<div style="text-align: center;">
<b><u><span style="font-size: x-large;"><br /></span></u></b></div>
<div style="text-align: center;">
2 Advanced Data Structures_ Peter Brass_ Cambridge University Press 2008.pdf</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
File Size : 2.02Mb</div>
<div style="text-align: center;">
</div>
<a name='more'></a><br /><br />
<div style="text-align: center;">
Link to download the file : </div>
<div style="text-align: center;">
<a href="https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing">https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing" target="_blank">Click here to download the file : Dowload</a> </div>
<div style="text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing" target="_blank"><img border="0" src="http://3.bp.blogspot.com/-rjvG05i8g0I/UkGJfwP5eXI/AAAAAAAAPFk/nDOKi-ZPNbY/s1600/2+Advanced+Data+Structures_+Peter+Brass_+Cambridge+University+Press+2008_001.png" height="640" width="392" /></a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
File Size : 2.02Mb</div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
Link to download the file : </div>
<div style="text-align: center;">
<a href="https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing">https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing</a></div>
<div style="text-align: center;">
<br /></div>
<div style="text-align: center;">
<a href="https://docs.google.com/file/d/0B-Rb64QiDg8wMHRsM0cwOGh5blU/edit?usp=sharing" target="_blank">Click here to download the file : Dowload</a> </div>
</div>
<div class="blogger-post-footer">powered by Engineer Portal
http://engineerportal.blogspot.in/</div>Anonymoushttp://www.blogger.com/profile/10999784841330172369noreply@blogger.com1