R & Perl, Python Programming Quiz

Exit

Question 1 of 1

  Time Left


0 [{"id":119413,"quiz_id":"8120","answer_id":null,"answerType_id":"1","created_at":"2016-10-27 08:27:34","updated_at":"2016-10-27 08:32:05","questionName":"Boolean Values. Fill-in-the-blanks below:","questionTimeSeconds":"0","questionTimeMinutes":"2","questionImagePath":null,"position":2,"explanation":"","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":119420,"quiz_id":"8120","answer_id":null,"answerType_id":"0","created_at":"2016-10-27 08:54:18","updated_at":"2016-10-27 08:54:18","questionName":"What do you bookend text with to create a multi-line comment in Python?","questionTimeSeconds":"0","questionTimeMinutes":"2","questionImagePath":null,"position":null,"explanation":"Lookup the definition of a docstring for more details.","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":119408,"quiz_id":"8120","answer_id":null,"answerType_id":"0","created_at":"2016-10-27 08:20:05","updated_at":"2016-10-27 08:34:38","questionName":"How should you prefix single-line comments in python?","questionTimeSeconds":"0","questionTimeMinutes":"1","questionImagePath":null,"position":1,"explanation":"# is used to prefix comments in Python","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":119406,"quiz_id":"8120","answer_id":null,"answerType_id":"0","created_at":"2016-10-27 08:13:47","updated_at":"2016-10-27 08:32:36","questionName":"In Python which of the following would allocate a boolean value to the variable my_boolean?","questionTimeSeconds":"0","questionTimeMinutes":"1","questionImagePath":null,"position":0,"explanation":"Only the initial letter of True or False is capitalised when allocating a boolean value in Python.","question_score_id":null,"lang":null,"questionAudioPath":null},{"id":119419,"quiz_id":"8120","answer_id":null,"answerType_id":"0","created_at":"2016-10-27 08:44:12","updated_at":"2016-10-27 08:47:32","questionName":"In Perl which of the following would allocate false boolean value to the variable my_boolean?","questionTimeSeconds":"0","questionTimeMinutes":"2","questionImagePath":null,"position":null,"explanation":"The following scalar values are considered false: undef - the undefined value, 0 the number 0, even if you write it as 000 or 0.0, '' the empty string. '0' the string that contains a single 0 digit. ------ All other scalar values, including the following","question_score_id":null,"lang":null,"questionAudioPath":null}]
119413
0
120
block

Boolean Values. Fill-in-the-blanks below:

Fill in the blanks  

(0/0)



In Python the reserved word

is used to allocate the false boolean value to a variable.

In Python the reserved word

is used to allocate the true boolean value to a variable.

In R the reserved word

is used to allocate the false boolean value to a variable.

In R the reserved word

is used to allocate the true boolean value to a variable.



119420
0
120
none
119408
0
60
none
119406
0
60
none
119419
0
120
none