[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$f6F4SOcp8W7SotLuXtrBIm7kFwRg7USxOIDL9uRFGfZ8":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":24,"type":25},[],"2024-06-07 10:30:17",149408696,[8,9,10,11],"not","pass","出错","None",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},28,"778f4ac451a3349b01362cecf3f02202","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F8fd227fc5136f1363b5e4da97c24bc70.png","计算机基础-Python程序设计","work_35523355","测验二","以下程序的输出结果是( ). def f(x, y = 0, z = 0): pass f(1, , 3)",[21,26,35,44,52,61,70,80,89,98],{"answer":22,"createTime":5,"id":6,"options":23,"question":19,"source":24,"type":25},[],[8,9,10,11],"v1",0,{"answer":27,"createTime":5,"id":28,"options":29,"question":34,"source":24,"type":25},[],149408698,[30,31,32,33],"20","5","9","5555","以下程序的输出结果是( ). def fun(x): try: return x*4 except: return x print( fun(&quot;5&quot;))",{"answer":36,"createTime":5,"id":37,"options":38,"question":43,"source":24,"type":25},[],149408700,[39,40,41,42],"getcwd()","rmdir()","split()","rename()","以下选项中不是Python文件目录操作方法的是()",{"answer":45,"createTime":5,"id":46,"options":47,"question":51,"source":24,"type":25},[],149408702,[48,49,50,30],"31","30","19","设栈的存储空间为 S(1:50),初始状态为 top=0.现经过一系列正常的入栈与退栈操作后,top=30,则栈中的元素个数为",{"answer":53,"createTime":5,"id":54,"options":55,"question":60,"source":24,"type":25},[],149408704,[56,57,58,59],"import numpy as np","import ndarray from numpy","from numpy import *","import numpy","下面哪一种导入方式是错误的( )",{"answer":62,"createTime":5,"id":63,"options":64,"question":69,"source":24,"type":25},[],149408706,[65,66,67,68],"函数名","一对圆括号","关键字 def","可选参数列表","1.Python 中,函数定义可以不包括以下( )",{"answer":71,"createTime":72,"id":73,"options":74,"question":79,"source":24,"type":25},[],"2024-06-07 10:30:18",149408708,[75,76,77,78],"4","10","6","16","一棵二叉树共有25个节点,其中5各是叶子节点,则度为1的节点数为( )",{"answer":81,"createTime":72,"id":82,"options":83,"question":88,"source":24,"type":25},[],149408710,[84,85,86,87],"列表","字符串","复数","字典","在Python中,使用for&hellip;in&hellip;方式形成的循环不能遍历的类型是()",{"answer":90,"createTime":72,"id":91,"options":92,"question":97,"source":24,"type":25},[],149408712,[93,94,95,96],"设定相同种子,每次调用随机函数生成的随机数相同","通过import random可以引入random库","random库是Python的第三方库","通过from random import *可以引入random库","以下关于random库的描述,错误的是( )",{"answer":99,"createTime":72,"id":100,"options":101,"question":104,"source":24,"type":25},[],149408714,[10,102,103,30],"40","无输出","以下程序的输出结果是( ). def func(num): num *= 2 x = 20 func(x) print(x)"]