|
Thursday, December 12, 2013
Notes of Digital Logics
CLICK THE BELOW LINK TO DOWNLOAD:
--->>> DOWNLOAD <<<------
NOTES: This notes is for the students of BSc.CSIT, BIM, Computer Engineering.. and others even.
If you want any other help please contact to my email ..
Id: axe_deep007@yahoo.com
Please remember to comment below....................
Monday, December 2, 2013
Internet Download Manager 6.15
To download the IDM manager 6.15
Click the following links:
http://download1088.mediafire.com/sdc5t7u41cbg/3tq2f9qcdc5x81y/idman615.exe
To download the crack ,
Click the following links:
http://download1455.mediafire.com/60roep2s7qlg/d20cee6c4hp0ism/IDMan.exe
After Downloading the files:
1. Install the first idman615
2. Copy the second downloaded files to the following location in your computer;
C:\Program Files\Internet Download Manager
Please write the comment below .......
Click the following links:
http://download1088.mediafire.com/sdc5t7u41cbg/3tq2f9qcdc5x81y/idman615.exe
To download the crack ,
Click the following links:
http://download1455.mediafire.com/60roep2s7qlg/d20cee6c4hp0ism/IDMan.exe
After Downloading the files:
1. Install the first idman615
2. Copy the second downloaded files to the following location in your computer;
C:\Program Files\Internet Download Manager
Please write the comment below .......
Tuesday, September 3, 2013
Algorithm To Draw Ellipse
//This code is Written in ---> C++ Builder
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include "ellipse.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TForm1 *Form1;
void eplot(float, float);
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
/*float xc=StrToFloat(Edit1->Text);
float yc=StrToFloat(Edit2->Text);*/
float rx=StrToFloat(Edit3->Text);
float ry=StrToFloat(Edit4->Text);
float x=0,y=ry;
eplot(x,y);
float p1=(ry*ry)-(rx*rx*ry)+((rx*rx)/4);
while((2*ry*ry*x)<=(2*rx*rx*y))
{
x++;
if(p1<=0)
{
p1=p1+(2*ry*ry*x)+(ry*ry);
}
else
{
y--;
p1=p1+(2*ry*ry*x)+(ry*ry)-(2*rx*rx*y);
}
eplot(x,y);
}
float p2=(rx*rx)+(2*ry*ry*rx)+((ry*ry)/4);
x++;
y++;
while(y>=0)
{
y--;
if(p2>0)
{
p2=p2+(rx*rx)-(2*rx*rx*y);
}
else
{
x=x++;
p2=p2+(2*ry*ry*x)-(2*rx*rx*y)+(rx*rx);
}
eplot(x,y);
}
}
//---------------------------------------------------------------------------
void eplot(float x, float y)
{
float xc=StrToFloat(Form1->Edit1->Text);
float yc=StrToFloat(Form1->Edit2->Text);
Form1->Image1->Canvas->Pixels[xc+x][yc-y]=clRed;
Form1->Image1->Canvas->Pixels[xc-x][yc+y]=clRed;
Form1->Image1->Canvas->Pixels[xc+x][yc+y]=clRed;
Form1->Image1->Canvas->Pixels[xc-x][yc-y]=clRed;
}
DOWNLOAD CODE
DOWNLOAD *.exe application format files to draw ellipse
Note: If you want to see how does it work then see the demonstration downloading following
Application (*.exe) file. Click "Download"
DOWNLOAD
//---------------------------------------------------------------------------
#include <vcl\vcl.h>
#pragma hdrstop
#include "ellipse.h"
//---------------------------------------------------------------------------
#pragma resource "*.dfm"
TForm1 *Form1;
void eplot(float, float);
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm1::Button1Click(TObject *Sender)
{
/*float xc=StrToFloat(Edit1->Text);
float yc=StrToFloat(Edit2->Text);*/
float rx=StrToFloat(Edit3->Text);
float ry=StrToFloat(Edit4->Text);
float x=0,y=ry;
eplot(x,y);
float p1=(ry*ry)-(rx*rx*ry)+((rx*rx)/4);
while((2*ry*ry*x)<=(2*rx*rx*y))
{
x++;
if(p1<=0)
{
p1=p1+(2*ry*ry*x)+(ry*ry);
}
else
{
y--;
p1=p1+(2*ry*ry*x)+(ry*ry)-(2*rx*rx*y);
}
eplot(x,y);
}
float p2=(rx*rx)+(2*ry*ry*rx)+((ry*ry)/4);
x++;
y++;
while(y>=0)
{
y--;
if(p2>0)
{
p2=p2+(rx*rx)-(2*rx*rx*y);
}
else
{
x=x++;
p2=p2+(2*ry*ry*x)-(2*rx*rx*y)+(rx*rx);
}
eplot(x,y);
}
}
//---------------------------------------------------------------------------
void eplot(float x, float y)
{
float xc=StrToFloat(Form1->Edit1->Text);
float yc=StrToFloat(Form1->Edit2->Text);
Form1->Image1->Canvas->Pixels[xc+x][yc-y]=clRed;
Form1->Image1->Canvas->Pixels[xc-x][yc+y]=clRed;
Form1->Image1->Canvas->Pixels[xc+x][yc+y]=clRed;
Form1->Image1->Canvas->Pixels[xc-x][yc-y]=clRed;
}
DOWNLOAD CODE
DOWNLOAD *.exe application format files to draw ellipse
Note: If you want to see how does it work then see the demonstration downloading following
Application (*.exe) file. Click "Download"
DOWNLOAD
Wednesday, August 14, 2013
War

When a man is born, he has to face a lot of difficulties in life but the worst form of it all is war. Wars have not only brought difficulties to people, but have ruined nations and civilizations.
The first question that we ask is, “Why do we fight war?” The answers that we get are not very simple. Since the days of Ramayana and Mahabharata, there is evidence and records of wars being fought and thousands of people are getting killed. Wars have been fought for all kinds of reasons and sometimes very SILLY reasons.
Many wars were fought because people were greedy. They wanted other people and other counties’ wealth. Among the most infamous plunderers were Genghis Khan and Timurlane. They rode across Asia plundering cities and their wealth. Others were fought to expand territories as Alexander the Great did. There have been many civil wars too. Civil wars mean two sides within a country fighting each other.
True friend are forever
Everyone makes friend in this world. There is not a single person who doesn’t have a friend. For each person the meaning is different. Friendship is the thing which cannot be seen, expressed or denied, it is a thing which can only be felt. True friend comes when the rest of the world goes out. When we think about the full forms or the meaning of a friend then it is:
F= Finds the answers to all your problems
R= Radiates happiness and makes you feel good
I= Inspires you to be a better person
E= Encourages, dreams and hopes
N= Never stops caring and loving
D= Discovers your potential and motivates you
A friend should have these qualities. A true friend is:
A push when you are stopped,
A guide when you are searching,
A song when you are glad,
A word when you are lonely,
A smile when you are sad.
So,
Change your pleasure but do not change your “Friends”.
Smile as a Key Factor
It has been said that a person’s smile is the key to both personal as well as professional success. Regardless of where one comes from or what language one speaks, one’s smile is an important form of communication. A brilliant and alluring smile radiates joy, excitement and vitality. People always wish to have healthy and attractive teeth to present beautiful smiles to the onlookers.
Science Fiction
Thomas got up early in the morning and found that his friend, Mary had already reached his house. They started to talk with each other. Mary showed a structure to Thomas and said that this book is a through which her grandfather used to get knowledge. Thomas said, “How could they get knowledge from this book?” Mary told him about school and teachers. Thomas and Mary thought about those days.
Thomas and the other children would read and get education from the computer which was the teacher of each and every subject. They could know all the things from computer and played games with it.
After about two hours, they went to tiffin, same as their breakfast and went to play with their robot animal that would do anything for them. Mary again showed the book and they started to unfold it reading some letters and looking at the pictures. The book was about school, teachers and students.
Producer-Consumer and Sleeping Barber problem in Operating System
//Producer-Consumer programming in Operating system
#include<stdio.h>
#include<conio.h>
int scustomer_entry(lastcust,dly)
{
delay(dly);
printf("customer %d just enter the queue \n",++lastcust);
return 0;
}
int teller_delay( int i){
int k,p=i;
switch(p)
{
case 1:
k=500;
break;
case 2:
k=2000;
break;
case 3:
k=1500;
break;
default :
k=0;
}
return k;
}
int main()
{
int lastcust=0,i,k,k1,k2,teller[3],last_served_cust=0;
teller[1]=0;

teller[3]=0;
printf("Press any key to start \t\tand x to quit.\n");
while(1)
{
k1=random(1000);
customer_entry(++lastcust,k1);
if(lastcust>=last_served_cust)
{
for(i=1;i<=3;i++)
{
k=random(2)+1;
if(teller[k]==0)
{
teller[k]=1;
printf("\nteller %d is free so customer %d entered \n",k,++last_served_cust);
if(k1<teller_delay(k))
{
k1=randim(1000);
customer_entry(++lastcust,k1);
break;
}
if(k1<200)
{
k1=random(1000);
continue;
}
teller[k]=0;
break;
}
}
}
else
{
printf("There are no more customers in queue,tellers are sleeping .");
}
}
return 0;
}
// Sleeping Barber problem
#include<stdio.h>
#include<conio.h>
int scustomer_entry(lastcust,dly)
{
delay(dly);
printf("customer %d just enter the queue \n",++lastcust);
return 0;
}
int teller_delay(i){
int k,p=i;
switch(p)
{
case 1:
k=500;
break;
case 2:
k=2000;
break;
case 3:
k=1500;
break;
default :
k=0;
}
return k;
}
void main()
{
int lastcust=0,i,k,k1,k2,teller[3],last_served_cust=0;
teller[1]=0;
teller[2]=0;
teller[3]=0;
printf("Press any key to start \t\tand x to quit.\n");
while(1)
{
k1=random(1000);
customer_entry(++lastcust,k1);
if(lastcust>=last_served_cust)
{
for(i=1;i<=3;i++)
{
k=random(2)+1;
if(teller[k]==0)
{
teller[k]=1;
printf("\nteller %d is free so customer %d entered \n",k,++last_served_cust);
if(k1<teller_delay(k))
{
k1=randim(1000);
customer_entry(++lastcust,k1);
break;
}

{
k1=random(1000);
continue;
}
teller[k]=0;
break;
}
}
}
else
{
printf("There are no more customers in queue,tellers are sleeping .");
}
}
return 0;
}
Love in My Mind
since a long days have passed yet i have those long memories.............yet i have those long truth ,yet i have those long wishes and yet i have those long pain....and yet i have those long hope.though days passes as it does,but it never passes normally for me,coz i have something that i miss everyday......i have some thing i pray would be mine everyday and i have something to live for everyday and thats........................... ,,,waiting is all i can do now coz i loved,i missed,i wished for you.........every day i wonder if i can be forgived and if i can adore all the pain i have now coz i donno what i have done and i regret,its the cause i die everyday,i wish to survive everyday and i wish to wonder everyday if my angle would give me enough power to remain at a distance from you...the day kills me everyday and the night wont let me sleep.i die breathing without my love ,and i wish to die too without my love.plzzzzzzzzzzzzzzzz........the pain you have within and the pain i have in me is the cause of................................i know but what can i do rather than regreting.........the life is a misery without my love and i donnt want my life without my love........if i could sacrifice anything for you ,i would sacrifice my love and the god knows as well that i miss something that the god wanted himself....i miss you ...i missed your every single breathe, i miss the closeness,i miss the touch,i miss the laughs ,i miss the happiness i had,i miss your smile,i miss your happiness when i was with you....... and i miss our love...........every single day is a pain for me dear coz i miss the day we had it together,i miss everything.........i miss th
alwys your dear
DKLS_X
Note: it’s written from Heart Language so do not bother about grammatical errors….
Importance of Social Service
Social service simply refers to the service that we render to poor, needy, helpless and orphan for the benefit of mankind and global human development. Man, a social creature, lives in a society, grows there and even ends his life there in the same society where he was born. Thus, a man, the supreme creature on earth and living in a group it’s very much necessary for him to help others.
Social service is a feeling that comes from the inner core of heart, a practice if fulfilling other’s need and it’s an indeed a great attitude. One should cross all the boundaries of house, travel from place to place and above all are willing to give. After all “We receive twice as much as we give” and love does not count less than money or anything else.
Today, our society has grown up to war field, and we have been more attached to several natural calamities.
Education in Nepal
It is well known that ‘Education for All by 2015’ is one of the major prioritized national goals of Nepal.
This is distinctly addressed in the 10th 5 year plan and also in the ‘National Education Plan of Action’ published recently. In order to review general education status one has to see the literacy rate, school enrollment and drop out rate.
Education is the source of knowledge and wisdom. In other words, it is the third eye of a man which is essential for all. Man and woman are the two wings of a bird. A bird needs two healthy wings to fly freely in the blue sky. According to 2001 census the literacy rate of Nepal is 57.6%. Out of which male literacy rate is 70% whereas female literacy rate is 49.9%. Among them 72.6% are in urban areas (82.2% for male and 62.8% for female) and 55.5% (68.3% for male and 42.4% for female) in rural areas.
Binary Tree
//C programming for designing Binary Tree
#include<stdio.h>
#include<conio.h>
#include<alloc.h>
#include<stdlib.h>
struct bst
{
int data ;
struct bst *leftlink;
struct bst *rightlink;
};
void insert(struct bst **root ,int num)
{
struct bst *temp;
temp=(struct bst *)malloc(sizeof(struct bst));
temp->data=num;
temp->leftlink=NULL;
temp->rightlink=NULL;
if(*root==NULL)
{
*root=temp;
}
else if(num<(*root)->data)
{
insert(&((*root)->leftlink),num);
}
else if(num>(*root)->data)
{
insert(&((*root)->rightlink),num);
}
else
printf("duplicate entry.\n");
}
void inorder(struct bst *root)
{
if(root==NULL)
return;
else
{
inorder(root->leftlink);
printf("%d\t",root->data);
inorder(root->rightlink);
}
}
void preorder(struct bst *root)
{
if(root==NULL)
return;
else
{
printf("%d\t",root->data);
preorder(root->leftlink);
preorder(root->rightlink);
}
}
void postorder(struct bst *root)
{
if(root==NULL)
return;
else
{
postorder(root->leftlink);
postorder(root->rightlink);
printf("%d\t",root->data);
}
}
void main()
{
struct bst *root;
int num,choice;
root =NULL;
printf("1-->INSERTION\n2-->INORDER\n3-->PREORDER\n4-->POSTORDER\n5-->EXIT\n");
while(1)
{
printf("\nenter your choice:");
scanf("%d",&choice);
switch(choice)
{
case 1:
printf("enter the data of binary tree:");
scanf("%d",&num);
insert(&root,num);
break;
case 2:
inorder(root);
break;
case 3:
preorder(root);
break;
case 4:
postorder(root);
break;
case 5:
exit(0);
default :
printf("\n INVAlID CHOICE\n");
}
}
getch();
}
#include<conio.h>
#include<alloc.h>
#include<stdlib.h>
struct bst
{
int data ;
struct bst *leftlink;
struct bst *rightlink;
};
void insert(struct bst **root ,int num)
{
struct bst *temp;
temp=(struct bst *)malloc(sizeof(struct bst));
temp->data=num;
temp->leftlink=NULL;
temp->rightlink=NULL;
if(*root==NULL)
{
*root=temp;
}
else if(num<(*root)->data)
{
insert(&((*root)->leftlink),num);
}
else if(num>(*root)->data)
{
insert(&((*root)->rightlink),num);
}
else
printf("duplicate entry.\n");
}
void inorder(struct bst *root)
{
if(root==NULL)
return;
else
{
inorder(root->leftlink);
printf("%d\t",root->data);
inorder(root->rightlink);
}
}
void preorder(struct bst *root)
{
if(root==NULL)
return;
else
{
printf("%d\t",root->data);
preorder(root->leftlink);
preorder(root->rightlink);
}
}
void postorder(struct bst *root)
{
if(root==NULL)
return;
else
{
postorder(root->leftlink);
postorder(root->rightlink);
printf("%d\t",root->data);
}
}
void main()
{
struct bst *root;
int num,choice;
root =NULL;
printf("1-->INSERTION\n2-->INORDER\n3-->PREORDER\n4-->POSTORDER\n5-->EXIT\n");
while(1)
{
printf("\nenter your choice:");
scanf("%d",&choice);
switch(choice)
{
case 1:
printf("enter the data of binary tree:");
scanf("%d",&num);
insert(&root,num);
break;
case 2:
inorder(root);
break;
case 3:
preorder(root);
break;
case 4:
postorder(root);
break;
case 5:
exit(0);
default :
printf("\n INVAlID CHOICE\n");
}
}
getch();
}
Are we failure or it happens in Nepal?
Among 365 days in a year, we have 52 Saturdays which are obviously government holidays. We also have 52 Fridays, which means half holidays and total 26 holidays. Altogether 78 days as holidays. If we deduct 78 days from 365 days, we have 287 days in hands. Among which we have summer and winter holidays of 45 days altogether 76 days.
Deducting 76 days from 287 days we get 211 days left. As human being, we have other essential works like eating, drinking, playing and bathroom course. We spent 4-5 hours daily which is about 1925 hours yearly, which is 77 days approximately. Now, we have 134 days in hand. Men are not machines. They get tired of working, so, they need rest. We spent 6-7 hours in daily sleeping, which is about 2,555 hours in a year, which is equivalent to 107 days. Now, we have 27 days in hand. We get holidays for Krishna Asthami, Ram Navami, Holi, Shivaratri and different national holidays etc. 24 days are spent celebrating these festivals in a year.
Now, we have 3 days left which are the result distribution days for 3 terminal exams. Now, we can make out how many days are left to study?

Now, we have 3 days left which are the result distribution days for 3 terminal exams. Now, we can make out how many days are left to study?
Subscribe to:
Posts (Atom)