It's UWAweek 47

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying the 4 articles in this topic
Showing 4 of 830 articles.
Currently 40 other people reading this forum.


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported

Login to reply

👍?
helpful
6:32pm Sat 17th Aug, ANONYMOUS

this is a question in the past exam: Roughly, how many standard header files are defined by the C11 standard: A. 10 B. 30 C. 100 D. 300 was this information accessible on the lecture slides? and if so will these types of questions come out in the midsem? just wondering since it doesn't really assess anything more just like a general knowledge question.


SVG not supported

Login to reply

👍?
helpful
7:42am Sun 18th Aug, Christopher M.

ANONYMOUS wrote:
> Roughly, how many standard header files are defined by the C11 standard: > A. 10 > B. 30 > C. 100 > D. 300 > > was this information accessible on the lecture slides?
Not all assessed information comes from lecture slides, but you have been referred to information resources that introduce/discuss the topic of the question.
> and if so will these types of questions come out in the midsem?
All of the questions in this sample test have been taken from past tests.
> just wondering since it doesn't really assess anything more just like a general knowledge question.
It's not a question to be answered with just general knowledge - ask a random student on campus, and they'll have a 1:4 chance of getting it right. It's a question to be answered through your experience gained in the unit. What is *your* answer to the question, and how did you reach that value?


SVG not supported

Login to reply

👍?
helpful
2:20pm Sun 18th Aug, ANONYMOUS

in light of adding clarity to the question, would it be fair to deduct that The C11 standard defines 29 standard header files, covering essential functionalities required for C implementations, as explicitly listed in the ISO/IEC 9899:2011 specification, so thefore it would be b?


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍x1
helpful
6:01am Mon 19th Aug, Christopher M.

ANONYMOUS wrote:
> in light of adding clarity to the question, would it be fair to deduct that The C11 standard defines 29 standard header files, covering essential functionalities required for C implementations, as explicitly listed in the ISO/IEC 9899:2011 specification, so thefore it would be b?
B) is certainly the correct answer. Yes, it's undoubtably defined in the (huge) standards document, but there is no requirement to read it to answer the question. We've highlighted that C is quite a small language by contemporary standards (compare it to either Python and Java, and the number of their standard modules or packages). In lectures, labs, and workshops we've used (about) 8 standard header files. The document https://en.kompf.de/cplus/cliblist.html linked from our "Information Resources" page, lists the contents of at least 15 header files (it's describing an older version of C, but standards never result in language/library features shrinking). When this question was asked on a past mid-semester test, the great majority of students answered it correctly.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy