A: yes
B: Error!
C: no
D: none of the choice is correct
举一反三
- Which one is the output of the following code? ( )[img=325x160]17da657328ecbda.png[/img] A: 0 B: 21 C: none of these is correct D: 36
- What will be the output of the following Python code? ( )[img=301x161]17da6573e3914ba.png[/img] A: 13x B: 13 C: x D: Error
- Given the following code: A: When compilation some error will occur. B: It is correct when compilation but will cause error when running. C: The output is zero. D: The output is null.
- What will be the output of the following Python code? ( )[img=430x205]17d5ffff4a8d9fe.png[/img] A: Runs normally, doesn’t display anything B: Displays 0, which is the automatic default value C: Reports error as one argument is required while creating the object D: Reports error as display function requires additional argument
- What will be the output of the following Python code? ( )[img=430x205]17da65746ac0efc.png[/img] A: Reports error as display function requires additional argument B: Reports error as one argument is required while creating the object C: Runs normally, doesn’t display anything D: Displays 0, which is the automatic default value
内容
- 0
What will be the output of the following Python code? ( )[img=464x290]17da65747e8eecd.png[/img] A: 0 0 B: 0 1 C: Error because class B inherits A but variable x isn’t inherited D: Error, the syntax of the invoking method is wrong
- 1
What will be the output of the following Python code? ( )[img=329x140]17da65734f63053.png[/img] A: 4 12 B: 4 15 C: 12 4 D: Error
- 2
What will be the output of the following Python code? ( )[img=309x192]17d6037e9c8eadb.png[/img] A: 21232 B: None of the mentioned C: 927 D: 56798
- 3
What will be the output of the following Python code? ( )[img=400x238]17da6573b62270b.png[/img] A: The numbers are equal B: 2 C: None of the mentioned D: 3
- 4
What will be the output of the following Python code? ( )[img=400x159]17da6574f6fb8aa.png[/img] A: [1, -2, -3] B: Error C: [1, 4, 5 ] D: [-2, -3]