Hub Of Geekz

  • Home
  • About Me
  • Contact Us
  • Home
  • Languages
    • C++
    • Java
    • Perl
    • Prolog
    • Bootstrap
  • Database
    • SQL
    • PL/SQL
  • Study
    • Java
      • Java Collection
      • Java Concurrency
      • Java Interview Questions
      • Java Networking
    • Number System
  • Kavita
  • Entertainment
    • Hinglish Cafe
    • Videos
    • Jokes
  • Windows Tricks
  • How To

Friday, 20 June 2014

Comedy Posts

 Unknown     22:33     Comedy Posts     No comments   

Hi in this post i will share some good jokes and comedy images.

*****
Art ka period start hua.
Teacher:Ek painting banao jisme Ek bus ho aur passengers ho jo usme chad rahe ho
Sabhi students ki copy teacher dekh rahi thi.
Tabhi teacher ek student ke pas pahuchi usne kuch bhi nahi banaya tha.
Teacher:Iske sare passenger kaha gaye
Student:Sare bus me chad gaye
Teacher:To bus kaha gayi
Student:Bus chali gayi.

*****
Pappu: Mujhe apki beti se shadi karni hai
Father:Tumhari salary meri beti ke liye toilet paper bhi afford nahi kar sakti
Pappu:Agar itni potty karti hai to rahne do

This joke has two actors: Son And Dad

Beta: Papa main itna bada kab honga ki mom se bina poochey ghar ke bahar ja sakoo

Papa : Beta, itna bada toh abhi main bhi nahi hua hoon.

*****
Ladkiwale - Hame aisa Ladka chahiye jo Paan, Cigrette, Daru na leta ho....aur sirf Boiled Khana khae..... Din Raat Bhagwan ka Naam le......
Pandit - Aisa ladka to apko wo samane wale Leelavati Hospital ke ICU mein hee milega....

*****
Dukandar- bolo Sahab, kya Chaahiye ?
Aadmi : hone wali Biwi ke Kutte ke liye Cake lene aaya hoon..
milega kya ??

Dukandar : haan.. per yahi Khaaoge ya Pack Kar doon ???

*****
Ek sharabi ne bahut zyada sharab pee le. Jab woh ghar aaya to uss ne jeb se chabi nikali aur tala ko kholney laga.
Haath kaapne ke wajha se chabi kabhi idhar hat jati kabhi udhar hat jati, ek admi pass se guzra toh sharabi ne usey bataya ki tala nahi khul rahi hai.
Uss shaks ne sharabi ke pass ja kar kaha, “lao chabi tala main khol deta hoon”
Aur phir sharabee ne kaha, “Tala toh main hi kholonga bas tum makan ko pakar ke rakhna”

*****
Best pick up line to approach a Girl:
Boy: Is your Dad Terrorist?
.
.
.
.
.
.

Girl: What?
Boy: No! I asked
because you r such a
Bomb!


*****
4 boys on were bike
Police: Triple riding is banned aur tum 4 log ek hi bike par baithe ho.. ??
.
Boys shocked…
.
.
.
.
.
look behind..
.
.
.
.
.
and says: Saalo 5wa kaha gir
gaya.. ??
Jise party deni thi..


*****
A junior in an office dialed his boss number by mistake & said : Hey, send a coffee in my cabin in two minutes!
Boss shouted : Do you know whom you’re talking to ?!
Junior: no!
Boss: I’m the boss of this office.
Junior (in the same tone) : & do u know whom you’re talking to?
Boss: No!
Junior: Thank God. (and disconnected the phone)



*****
Ladki pic upload karke likhti hai:
Hi friendzz kesi lag rahi hoon..?
.
.
.
Boy: tere baap ne 15-20 hazaar ka mobile leke diya hai
to ghar me 500rs. ka sheesha bhi lagaya hoga..
uss mein dekh le,
humse kya poochhti hai ‘Bhootni’ kahi ki…



*****
In a school function
A K.G boy started closing his ears with both hnds,
When girl was about to start her speech …
Others asked him Why r you closing your ears?
He replied: Dude, She is my Girlfriend
n She is gonna start her speech with
.
.
.
.
.
My Dear
Brothers n Sisters ..


                                         More jokes Click Here
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Friday, 6 June 2014

Multiplication of two Hexadecimal Numbers

 Earthcare Foundation NGO     06:36     Number System     No comments   

If we have given two Hexadecimal numbers then there are two ways by which we can get the multiplication of these numbers:

1) By direct multiplication of Hexadecimal Numbers
2) By first converting these Hexadecimal Numbers to Binary Numbers then multiply these numbers and then convert this result in Hexadecimal again.

 So here i will explain the first method since second method is simple and easy to use.

 There are following steps in this procedure:

Step 1)  First we will multiply numbers as decimal numbers and add carry if any.

Step 2)   If we get any remainder in step 2 we put it as result (in hexadecimal format) otherwise we put 0 as result.

Step 3)   The quotient of step 2 becomes the carry for its left digits.

For example
Find the product of 1A816 and AF16.
                               6    5                     ← Digits carried over in second multiplication
                               9    7                     ← Digits carried over in first multiplication.
                               1   A   8
                  x                A   F
                             ---------------
                          1   8   D   8
                     1   0   9   0    0
                   --------------------------
                     1  2   1    D   8
                   ---------------------------

Step 1)    F x 8 = 78.


Step 3)  result=8

Step 4) carry=7

Similarly other digits are multiplied.

F x A = 9616
and 9616 + 716 = 9D16.

F x 1 = F.

and F16 + 916 = 1816 .

Since the multiplication is complete thus the result is 1A816  x  AF16 = 121D816.
       

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Thursday, 5 June 2014

Multiplication of two octal numbers.

 Earthcare Foundation NGO     00:37     Number System     No comments   

If we have given two Octal numbers then there are two ways by which we can get the multiplication of these numbers:

1) By direct multiplication of Octal Numbers
2) By first converting these Octal Numbers to Binary Numbers then multiply these numbers and then convert this result in Octal again

 So here i will explain the first method since second method is simple and easy to use.

Since Octal Numbers are from 1 to 8 so there are following steps in this procedure:

Step 1)  First we will multiply numbers as decimal numbers and add carry if any.

Step 2)   Now the result is divided by 8.

Step 3)   If we get any remainder in step 2 we put it as result otherwise we put 0 as result.

Step 4)   The quotient of step 2 becomes the carry for its left digits.

For example
                  Suppose two numbers are 68 × 238 

Step 1)    6*3=18

Step 2)   18/8=>  quotient=2 and remainder=2

Step 3)  result=2   (remainder)

Step 4) carry=2   (Quotient)

now again,    for  6*2

Step 1)  6*2=12  
              12+2 =14   (where 2 is carry)

Step 2)  12/8=>   quotient=1 and remainder=4

Step 3)  result=4   (remainder)

Step 4) carry=1   (Quotient)


Since the multiplication is complete thus the result is 1628.
         

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Thursday, 15 August 2013

Insertion Sort using C++

 Earthcare Foundation NGO     17:03     C Plus Plus     No comments   



Program Code:

#include<iostream.h>
#include<conio.h>
main()
{
int a[50],size;
char ch;
cout<<"Enter size of array\n";
cin>>size;
cout<<"Enter the order of sorting\n";
cout<<"Enter a for ascending or d for decending\n";
cin>>ch;
cout<<"Enter elements of array\n";
for(int i=0;i<size;i++)
{
cin>>a[i];
}
int t;
for(int i=1;i<=size;i++)
{
t=a[i];
for(int j=0;j<i;j++)
{
if(t<a[j])
{
for(int k=i;k>=j;k--)
{
a[k]=a[k-1];
}
a[j]=t;
break;

}
}
}
cout<<"The sorted array is\n";
if(ch=='a')
{
        for(int i=0;i<size;i++)
        {
cout<<a[i]<<"\t";
}
}
else if(ch=='d')
{
        for(int i=size-1;i>=0;i--)
{
cout<<a[i]<<"\t";
}
}
getch();
}

Output:


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Bubble sort using C++

 Earthcare Foundation NGO     16:52     C Plus Plus     No comments   



Program Code:


#include<iostream.h>
#include<conio.h>
main()
{
int a[50],size;
char ch;
cout<<"Enter size of array\n";
cin>>size;
cout<<"Enter the order of sorting\n";
cout<<"Enter a for ascending or d for decending\n";
cin>>ch;
cout<<"Enter elements of array\n";
for(int i=0;i<size;i++)
{
cin>>a[i];
}
for(int i=0;i<size;i++)
{
for(int j=0;j<size-i;j++)
{
if(a[j+1]<a[j])
{
int temp=a[j];
a[j]=a[j+1];
a[j+1]=temp;
}
}
}
cout<<"The sorted array is\n";
if(ch=='a')
{
        for(int i=0;i<size;i++)
        {
cout<<a[i]<<"\t";
}
}
else if(ch=='d')
{
        for(int i=size-1;i>=0;i--)
{
cout<<a[i]<<"\t";
}
}
getch();
}

Output:


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Selection sort using C++

 Earthcare Foundation NGO     16:42     C Plus Plus     No comments   


Program Code:

#include<iostream.h>
#include<conio.h>
main()
{
int a[50],size;
char ch;
cout<<"Enter size of array\n";
cin>>size;
cout<<"Enter the order of sorting\n";
cout<<"Enter a for ascending or d for decending\n";
cin>>ch;
cout<<"Enter elements of array\n";
for(int i=0;i<size;i++)
{
cin>>a[i];
}
for(int i=0;i<size-1;i++)
{
for(int j=i+1;j<size;j++)
{
if(a[i]<a[j])
{
int temp=a[i];
a[i]=a[j];
a[j]=temp;
}
}
}
cout<<"The sorted array is\n";
if(ch=='d')
{
        for(int i=0;i<size;i++)
        {
cout<<a[i];
}
}
else if(ch=='a')
{
        for(int i=size-1;i>=0;i--)
{
cout<<a[i]<<"\t";
}
}
getch();
}


Output:

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Sunday, 11 August 2013

Binary Search using C++

 Earthcare Foundation NGO     22:23     C Plus Plus     No comments   



Program Code:

#include<iostream.h>
#include<conio.h>
int binarySearch(int a[],int,int);

main()
{
int arr[50],size,index,target;
cout<<"Enter the size of array(max 50):\n";
cin>>size;
cout<<"Enter the elements of the array:\n";
for(int i=0;i<size;i++)
{
cin>>arr[i];
}
cout<<"Enter the element to be searched:\n";
cin>>target;
index=binarySearch(arr,size,target);
if(index==-1)
{
cout<<"Element is not present in the list\n";
}
else
{
cout<<"Element is present at index "<<index+1;
}

getch();
}
int binarySearch(int a[],int s,int t)
{
int beg,last,mid;
beg=0;
last=s-1;
while(beg<=last)
{
mid=(beg+last)/2;
if(a[mid]==t)
{
return mid;
}
else if(t>a[mid])
{
beg=mid+1;
}
else
{
last=mid-1;
}
}
return -1;
}

Output:


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Linear Search using C++

 Earthcare Foundation NGO     22:14     C Plus Plus     No comments   



Program Code:


#include<iostream.h>
#include<conio.h>
int linearSearch(int a[],int,int);

main()
{
int arr[50],size,index,target;
cout<<"Enter the size of array(max 50):\n";
cin>>size;
cout<<"Enter the elements of the array:\n";
for(int i=0;i<size;i++)
{
cin>>arr[i];
}
cout<<"Enter the element to be searched:\n";
cin>>target;
index=linearSearch(arr,size,target);
if(index==-1)
{
cout<<"Element is not present in the list\n";
}
else
{
cout<<"Element is present at index "<<index+1;
}

getch();
}
int linearSearch(int a[],int s,int t)
{
for(int i=0;i<s;i++)
{
if(a[i]==t)
{
return i;
}
}
return -1;
}


Output:

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Newer Posts Older Posts Home

Ad


Jobsmag.inIndian Education BlogThingsGuide

Subscribe

Do you want fresh and hot updates about us? Then subscribe to our Feeds.

Total Pageviews

Popular Posts

  • Write a program in PL/SQL to print the factorial of a number.
    In this post I will explain how to get the factorial of any given number. For that first you need to know what is the procedure to find ...
  • To find the GCD of two numbers in PROLOG.
    gcd(X,Y):-X=Y,write('GCD of two numbers is '),write(X); X=0,write('GCD of two numbers is '),write(Y); Y=0,write('G...
  • Write a PL/SQL code to get the Fibonacci Sequence
    First, I will explain what is Fibonacci Sequence and how to get this series. So, Fibonacci Sequence is a series of numbers 0,1,1,2,3,5,8,1...

Label

All Articles Best Resources Blogging Boost Traffic Bootstrap C Plus Plus Collection Comedy Comedy Posts Comedy Videos Concurrency creative commons website Education Employee Entertainment Fibonacci Sequence free images GirlFriend Hinglish Cafe How To Image Websites Inspirational Java Java Interview Questions Java Networking Kavita Sangrah Life Lock Sreen Love Number System Patterns Perl Picture PL/SQL Plastic Engineering Programming Prolog public domain SEO Servlet Short Story Shortcut Keys Social Media Social Services SQL SuVichar Thread Traffic True Events Ultimate Guide Windows Tricks Windows8.1 WordPress

Blog Archive

  • ▼  2020 (43)
    • ▼  September (41)
      • कुल 33 प्रकार के देवी देवता हैँ हिँदू धर्म मे
      • तीन ऋण -
      • चारपीठ
      • चार युगों के नाम
      • चार धाम
      • चार वेद
      • चार आश्रम
      • चार अंतःकरण
      • पञ्च गव्य
      • पञ्च देव
      • पंच तत्त्व
      • छह दर्शन
      • दो पक्षो के नाम
      • सप्त ऋषियों के नाम
      • सप्त पुरी के नाम
      • आठ योग
      • आठ लक्ष्मी
      • नव दुर्गा
      • दस दिशाओ के नाम
      • प्रभु विष्णु के ११ अवतार
      • सनातन संस्कृति के अनुसार बारह महीनों के नाम
      • बारह राशियों के नाम
      • श्री मद्-भगवत गीता"के बारे में महत्वपूर्ण जानकारी
      • धृतराष्ट्र और गांधारी के सौ पुत्र….. कौरव कहलाए ज...
      • पांच पांडवो की माताओ के नाम
      • पांच पांडव के नाम
      • Important Toll Free numbers in India
      • बारह शिव ज्योतिर्लिंग
      • Full form of technical words
      • Full form of abbreviations
      • Trigonometry formulas
      • Chemistry symbols
      • भारतीय संविधान - प्रश्न उत्तर
      • General knowledge question answer
      • Physics formula and relations
      • General knowledge question answer
      • फल/फुल/सब्जी आदि का वैज्ञानिक नाम
      • Chemistry के इम्पोर्टेन्ट सिम्बल्स
      • गणित के महत्वपूर्ण चिन्ह,,
      • पंद्रह तिथियाँ
      • Phrasal Verbs :
    • ►  August (2)
  • ►  2019 (1)
    • ►  July (1)
  • ►  2018 (9)
    • ►  September (7)
    • ►  July (1)
    • ►  May (1)
  • ►  2017 (8)
    • ►  June (3)
    • ►  May (3)
    • ►  March (1)
    • ►  January (1)
  • ►  2016 (2)
    • ►  September (1)
    • ►  January (1)
  • ►  2015 (91)
    • ►  December (1)
    • ►  November (1)
    • ►  October (6)
    • ►  May (10)
    • ►  March (20)
    • ►  February (50)
    • ►  January (3)
  • ►  2014 (339)
    • ►  December (1)
    • ►  October (55)
    • ►  September (58)
    • ►  August (94)
    • ►  July (64)
    • ►  June (67)
  • ►  2013 (34)
    • ►  August (5)
    • ►  April (29)
  • ►  2012 (20)
    • ►  November (1)
    • ►  October (15)
    • ►  September (4)

Author

  • Earthcare Foundation NGO
  • Kavita house
  • Unknown
  • Unknown

Info

Copyright © Hub Of Geekz | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates