SAN JOSE — A federal judge said Thursday she believes that Samsung’s Galaxy tablets do infringe Apple Inc.’s iPad patents.

To illustrate her point, U.S. District Judge Lucy Koh held up a Galaxy tablet and an Apple iPad and asked lawyers for Samsung to guess which product was their client’s. Several minutes went by before Quinn Emanuel Urquhart & Sullivan partner Kathleen Sullivan and her team made the right choice.