Pragmatics is concerned with reasoning with the semantic representation of a sentence. It is the study of the relationship between language and the context in which it is used to refer (and re-refer) to people and objects, and how a listener can interpret a conversational partner.
There are two broad classifications of sentences; those that convey or require information, and those that simply change the state of the world.
An example of the first is ``The time is 11 O'Clock'' which can be compared to an example of the second type of sentence ``I name this ship Junipation''. It would be strange to give truth values about the second class of sentences, whilst the first is certainly either true or false.
The pragmatic response to sentences varies wildly depending on both the class of sentence and the sentence itself. Given the semantics of a question, pragmatics attempts to find the correct answer, or given the semantics of an action, pragmatics will attempt to decide how to go about carrying that action out.
Although a syntactically and semantically correct response to the question ``do you have the time, please?'' could be ``yes'', this is clearly pragmatically incorrect as the interviewer is requesting the actual time.