Can you contract AIDS while having oral or anal sex?
No, you cant contract AIDS, because AIDS is defined as a CD4+ T cell count below 200 cells per L, and a low blood cell count is not infectious. If that were the case, anemia would be infectious too. But, you can contract the virus that will eventually result in a low count of CD4 T cells if untreated. That virus is called HIV, and can be transmitted in several ways (Including the ones you mentioned) as long as you engage in them with a partner thats HIV positive. You can find more information about it here: HIV Transmission