Yes. God has of Himself a speculative knowledge only because He Himself is not operable.
But of all other things He has both speculative and practical knowledge.
He has speculative knowledge as regards the mode; for whatever we know speculatively in things by defining and dividing, God knows all this much more perfectly.
Therefore, since the knowledge of God is in every way perfect, He must know what is operable by Him, formally as such, and not only insofar as they are speculative. Nevertheless this does not impair the nobility of His speculative knowledge, forasmuch as He sees all things other than Himself in Himself, and He knows Himself speculatively; and so in the speculative knowledge of Himself, he possesses both speculative and practical knowledge of all other things.
Now of things which He can make, but does not make at any time, He has not a practical knowledge, according as knowledge is called practical from the end. But He has a practical knowledge of what He makes in some period of time.
And, as regards evil things, although they are not operable by Him, yet they fall under His practical knowledge, like good things, inasmuch as He permits, or impedes, or directs them; as also sicknesses fall under the practical knowledge of the physician, inasmuch as he cures them by his art.
The knowledge of God is the cause, not indeed of Himself, but of other things. He is actually the cause of some, that is, of things that come to be in some period of time; and He is virtually the cause of others, that is, of things which He can make, and which nevertheless are never made.