Originally Posted by
grumpy
Your lecturer may not have told you specifically how to answer these questions. However, the questions you are asking are VERY VERY BASIC.
Your lecture almost certainly included items of information that, when combined with things you should know or combined with other information in the lectures, allow you to solve each question.
As an example, you will almost certainly have been told what a string is in C, and what sort of code is needed to read one. You can reasonably be expected to know what upper and lower case letters are (it is a basic bit of knowledge to read and write english, and you have demonstrated you know how to do that). Put those three bits of information together, and you will be able to solve the first question.
While there are some lousy lecturers out there, there are not that many who would deliberately set up students for failure. In my experience, when a lecturer is accused of such things, the most common reason is unrealistic expectations of students (for examples, students expecting to be spoon fed or students who have not bothered to take notes during lectures).
If all else fails, any introductory text on C will be enough to help you solve the problems. Again, however, the books will probably not answer the questions directly. You will need to do some work of actually reading the book, breaking each question into pieces, relating those pieces to information in the textbook, and assembling an answer that way.
Given that computer programming is all about problem-solving, just submitting nothing would actually provide evidence you are not cut out to be software developer. The easiest way to provide evidence otherwise is to TRY.