#
试题名
热度
更新日期
3701 18、以下不属于冯·诺依曼体系计算机组成部分的是( )   A、逻辑器 B、运算器 C、存储器 D、控制器 64 2024-04-21
3702 17、已知字符串s='Data Science',提取单词'Data'的选项是( )   A、s[0:3] B、s[:4] C、s[5:] D、s[1: 48 2024-04-21
3703 16、执行下面代码,最终输出的结果是( )   m, n = 6, 88  def fn(n):      global m       34 2024-04-21
3704 15、下列Python代码,在输入5时输出'Five'的是( )   A、代码如下 x = input()  if x==5:      pr 99 2024-04-21
3705 14、在Python中,以下哪个表达式可以将字符串'123'中的每个字符转换为对应的ASCII码值,并以列表形式返回?( ) A 61 2024-04-21
3706 13、想要在python中打开文件,在文件末尾添加新的内容,横线上应该填写的是( )   A、'r' B、'w' C、'a' D、 37 2024-04-21
3707 12、对列表中的元素进行排序,应该使用哪个Python内置函数( )   A、sorted() B、max() C、abs() D、sum() 92 2024-04-21
3708 11、现有一个名为data的字典,要获得键为'name'所对应的值,正确的代码是( ) A、data(name) B、data('name') C 61 2024-04-21
3709 10、在Python中,专门用于生成随机数的库是( )   A、random B、math C、os D、sys 51 2024-04-21
3710 9、阅读以下程序,请问运行结束后会显示的是( ) x, y, z = 10, 20, 40  x, y = z/x, z-y  z = x 44 2024-04-21
3711 8、python表达式8-3**2%5( )   A、-19 B、0 C、2 D、4 58 2024-04-21
3712 7、已知字符串s='? an you ?an a ?an as a ?anner ?an?an a ?an'为被破坏的英文绕口令,想要复原绕口令,就需要 97 2024-04-21
3713 6、某位初出茅庐的python初学者写出如下代码,程序执行后输出结果为 m = 2if m//3 != 0: print(m,'不能被3整 49 2024-04-21
3714 5、阅读下面程序,假设键盘输入666,正确的输出是( )  number = input()  str(number)  int(number)  p 34 2024-04-21
3715 4、阅读下面的代码,正确的输出是( ) x = ['N','O','C']  for i in x:      x.append(i.l 35 2024-04-21
3716 3、使用字典统计字符串中每个字符出现的次数,横线上应该填写的代码是 dic = {}  for c in 'an appl 64 2024-04-21
3717 2、执行完下面代码后,输出的结果为( ) ls = [6, 1, 8, 6, 9, 6]  n = len(ls)  for i in range 65 2024-04-21
3718 1、下面的程序,会无限循环下去的是( ) A:代码如下   for a in range(10000):    time.sleep(10)   B 96 2024-04-21
3719 列表是包含0个或多个元素的无序类型 49 2024-04-21
3720 39 #include <iostream> using namespace std; int main() int n,m; cin >n >m; int x =1,y 1; 0 2024-04-21
3721 40 #include <iostream> using namespace std; int main() { int n,m; cin >n>>m; int x 1, 0 2024-04-21
3722 38 #include <iostream> using namespace std; int main( { int n,m; cin >n>>m; int x =1, 0 2024-04-21
3723 37 #include <iostream> using namespace std; struct point { int x,y; : void add(point &a,point 0 2024-04-21
3724 36 已知二叉树的前序遍历顺序为ABDCEGHF,中序遍历顺序为DBAGEHCF,该二叉树的后序遍历为___ 0 2024-04-21
3725 35 int fun(int a,int b) if (b =0)return a; return fun(b,a b); 执行fun(84,119)函数返回值为___ 0 2024-04-21