When executing the following program, it will output ______.def StudentInfo (country=’China’, name): print (‘% s, %s’% (name, country))StudentInfo (‘United States’, ‘David’)()
A. David, United States
B. United States, David
C. David, China
D. Report an error
查看答案
When defining a function, that given in a pair of parentheses after the function name is called ______()
A. parameter
B. argument
C. type parameter
D. name parameter
Among the following options, the correct descriptions inclue ______()
A. pass represents an empty operation, only plays a place-occupied role
B. pass can only be used in conditional statements
C. For the statement sequence under if, it is allowed that there is only one pass statement
D. pass can be used to jump out of the loop statement
When executing the following program, it will output ______.score = 80if score<60: print(‘The score is %d’% score, end=’, ‘)print(‘Failed’)()
A. The score is 80, Failed
B. The score is 80
C. Failed
D. nothing
When drawing a flowchart, the condition judgment should be placed in ______()
A. rounded rectangle
B. circle
C. rectangle
D. diamond