Not logged in. Log in with GitHub. About Websheets.

List of all available Websheets


Viewing cpp/cs102/practice11/arraysTF by jmell@usc.edu. You have unsaved changes. Log in above to create, edit, preview and publish Websheets.
PropertyValue
Description
html markup
shown to student
 
<p>Mark all the statements that are true about arrays.</p>
<p>Assume the following items have been declared earlier in the program:</p>
<pre><code>
char message[10]= {'H','e','l','l','o',' ','C','S'};
int numbers[5];
</code></pre>
Remarks
Comments, history, license, etc.
 
Copied from problem cpp/cs102/practice9/compiling (author: jmell@usc.edu)
remove
Engine
Choices
json list of string, bool pairs
e.g. [["good", true],
["bad", false]]
 
[["Looping through and printing message will print \"Hello CS\"", null], ["We can store the message \"Hello CSCI102\" in message.", null], ["The value of message[8] is guranteed to be '\\0'.", null], ["int[4] = int[2]; is valid code.", null], ["numbers[1] = (int)message[2]; is valid code.", null], ["After writing: message[3] = message[3] + 1, printing message will print \"Hemlo CS\"", null], ["numbers[3] = 33; message[9] = (char)numbers[3]; is valid code.", null]]


Optional properties:

Note: problems are open-source by default (see 'Public permissions'). Assumed license for open problems is Creative Commons 4.0 Attribution-ShareAlike unless specified in 'Remarks'.