Preheat oven to 325 degrees. Coat a 9x13 baking dish with cooking spray.
In a large bowl, combine chicken, salt, pepper, cornstarch and flour. Toss to coat. Beat eggs in small bowl.
In a large skillet, heat oil. Dip chicken in egg mixture, a few pieces at a time, and then cook in oil until golden, about 2 minutes. Transfer chicken to plate and continue with the rest of the chicken--about 3 batches total. Add chicken to baking dish.
In a small bowl, whisk together sugar, vinegar, ketchup, soy sauce, garlic and onion powders. Pour sauce over chicken and stir to coat. Add carrot slices and stir again.
Bake for 20 minutes. Stir to coat with sauce. Bake for 15 minutes more. Add pineapple chunks, stir to coat and bake for 15 minutes more.
Serve over rice, and top with green onions and sesame seeds.