In the exam you may also get programming theory questions based on subtopics from programming. Please see below for examples from past papers.
"A computer would deserve to be called intelligent if it could deceive a human into believing that it was human." - Alan Turing, the Father of modern day Computer Science