Google Bard vs ChatGPT: Which One is better?

We know that Google has announced Google Bard AI to complete Chat GPT. I have compared both chatbots with different types of queries and got different answers from both.

I tested two smart AI chatbot programs called ChatGPT 3.5 and Bard to see which one was better. It was like a battle of brains! In this article, I will share what I found out about their strengths, weaknesses, and personalities. Did Google spend 10 years making a good program? Did ChatGPT do well against the new one? Let’s find out together! Get ready to be amazed!

Math Questions:

I have asked a few math questions. I have got the following answers.

Prompt: The sum of the age of the Grandfather, father, and grandson is 140 years. Grandson’s age in months is equal to grandfather’s age in years and Grandson’s age in days is equal to Father’s age in weeks. Now, Find out the age of all three.

Answer from ChatGPT: It has given the Wrong answer.

Let’s solve the problem step by step.

Let’s assume: Grandfather’s age = G years Father’s age = F years Grandson’s age = S years

According to the given information:

  1. The sum of their ages is 140 years: G + F + S = 140
  2. The grandson’s age in months is equal to the grandfather’s age in years: 12S = G
  3. The grandson’s age in days is equal to the father’s age in weeks: 365S = 7F

Now, we can solve these equations to find the ages.

From equation 2, we can rewrite it as: S = G/12

Substituting this value into equations 1 and 3:

G + F + G/12 = 140 (Equation A) 365(G/12) = 7F (Equation B)

Let’s simplify Equation B: 365G/12 = 7F 365G = 84F (Equation C)

Now, let’s solve the system of equations A and C simultaneously.

From Equation C, we can rewrite it as: G = (84F)/365

Substituting this value into Equation A: (84F)/365 + F + (84F)/365/12 = 140

Multiplying the equation by 365 to remove the denominators: 84F + 365F + 7F = 140 * 365 456F = 140 * 365 F = (140 * 365)/456

Calculating F: F ≈ 112

Now, substituting the value of F back into Equation C to find G: G = (84F)/365 G = (84 * 112)/365

Calculating G: G ≈ 25

Finally, substituting the value of G into Equation 2 to find S: 12S = G 12S = 25

Calculating S: S = 25/12

Calculating S: S ≈ 2.08

So, the ages of the three individuals are approximately: Grandfather: 25 years Father: 112 years Grandson: 2 years (rounded from 2.08)

Answer from Google Bard: It has given the Right answer. Google Bard Is the winner for this query.
Answer
: The ages of the grandfather, father, and grandson are 7, 49, and 84, respectively.

Let x be the grandson’s age in years. We know that the sum of the ages of the grandfather, father, and grandson is 140 years, so we have the equation x+12x+90x/13=140. Solving for x, we find that x=7.

Therefore, the grandson’s age is 7 years. The grandfather’s age is 12 times the grandson’s age, or 84 years. The father’s age is 90 times the grandson’s age divided by 13, or 49 years.

Rhyming and Poems Writing Skills

Prompt: write a poem for a kid for Mother’s day, wearing red clothes

Answer from ChatGPT:

In a world of colors, bright and bold,
Where love and joy are stories told,
On Mother’s Day, a special time,
Let’s celebrate with a joyful rhyme.
Moms are like rainbows, shining so bright,
Guiding us through each day and night.
With hearts full of love and arms open wide,
They stand by our side, forever our guide.

Today, let’s honor our amazing mom,
With a poem that’s sweet, like a honeycomb.
Dressed in red, the color of love’s embrace,
Let’s show her our gratitude and grace.

Oh, dear mom, you’re a shining star,
You light up our lives, no matter how far.
Your red clothes symbolize your fiery love,
A warmth that fits like a cozy glove.

With hugs and kisses, we express our care,
In red clothes, we celebrate you, so rare.
You’re our superhero, strong and true,
A mom like you is a dream come true.

Thank you, mom, for all that you do,
Your love and kindness, shining through.
On this Mother’s Day, in red we stand,
Forever grateful, holding your hand.

So, let’s rejoice, let’s sing and play,
On this special Mother’s Day.
Wearing red, we honor and cheer,
For the best mom, so dear.

By ChatGPT

Answer from Google Bard:

My Red Dress

I put on my red dress today
To celebrate you, Mom.
You’re the best mom in the whole wide world
And I love you so much.
You always know how to make me smile
When I’m feeling down.
You’re always there to help me when I need it
And you always know what to say.
I’m so lucky to have you as my mom
And I’m so grateful for everything you do.
I love you more than words can say
And I hope you have a wonderful Mother’s Day.

By google Bard

Jokes and Comedy Creativity Skills

Prompt: tell me joke on donkey, dog and lion

Answer from ChatGPT:

Sure, here’s a light-hearted animal joke for you:
Why did the donkey invite the dog and the lion to a party?
Because he wanted to have a roaring good time and some pawsome company!

by ChatGPT

Answer from Google Bard:

Sure, here is a joke about a donkey, a dog, and a lion:
A donkey, a dog, and a lion were walking through the forest when they came across a group of hunters. The hunters started to shoot at the animals, and the donkey was hit in the leg. The dog was hit in the shoulder, and the lion was hit in the paw.
The donkey started to limp, and the dog started to limp, but the lion kept walking. The hunters were surprised, and they asked the lion why he wasn’t limping.
The lion said, “I’m not limping because I’m not afraid of death. I’m limping because I’m afraid of the donkey and the dog.”

By Google Bard

Code development skills

Prompt: write a code async await function in react js

import React, { useState, useEffect } from 'react';

const MyComponent = () => {
  const [data, setData] = useState(null);
  const [isLoading, setIsLoading] = useState(true);

  useEffect(() => {
    fetchData();
  }, []);

  const fetchData = async () => {
    try {
      const response = await fetch('https://api.example.com/data');
      const json = await response.json();
      setData(json);
      setIsLoading(false);
    } catch (error) {
      console.error('Error fetching data:', error);
    }
  };

  return (
    <div>
      {isLoading ? (
        <p>Loading...</p>
      ) : (
        <p>Data: {data}</p>
      )}
    </div>
  );
};

export default MyComponent;

Answer from Google Bard:

const fetchData = async () => {
  const response = await fetch("https://api.github.com/users/bard");
  const data = await response.json();
  return data;
};

const App = () => {
  const [data, setData] = useState(null);

  useEffect(() => {
    fetchData().then(setData);
  }, []);

  return (
    <div>
      {data && (
        <h1>{data.name}</h1>
      )}
    </div>
  );
};

Conclusion:

I am very impressed with Google Bard’s performance. Bard is giving accurate results as compared to chatGPT.

Microsoft already invested in OpenAI Chatgpt to fight with Google. Google did a great job in the AI field.

In the coming days, Google Bard will become more popular as people use it day by day.

Leave a Comment