Click the Exhibit button. Given the fully-qualified class names: com.foo.bar.Dog com.foo.bar.blatz.Book com.bar.Car com.bar.blatz.Sun Which graph represents the correct directory structure for a JAR file from which those classes can be used by the compiler and JVM? ()
A.Jar A
B.Jar B
C.Jar C
D.Jar D
E.Jar E
第1题:
A.使用len(列表名)测量元素的个数names_list=["zhangsan","lisi","wangwu"]print(len(names_list))
B.使用列表名[下标]获取列表的某个元素,例如:names_list=["zhangsan","lisi","wangwu"]print(names_list[2])
C.向列表中添加新元素有三个方法:append、extend、insert,例如:names_list=["zhangsan","lisi","wangwu"]names_list.append("zhaoliu")names_list.extend(["zhaoliu","liqi"])names_list.insert(1,"zhaoliu")print(names_list)
D.已有列表nums=[11,22,33,44,55],使用while循环遍历列表nums=[11,22,33,44,55]i=0 whilei
print(nums[i])i+=1
第2题:
第3题:
多选题:下面哪个是错误的用python实现存储n个人的姓名?
A.names1=n*[0] for i in range(n): names1[i]=input('输入{}个人的姓名:'.format(i+1))
B.names2=[] for i in range(n): names.append(input('输入{}个人的姓名:'.format(i+1)))
C.names3=[] for i in range(n): name=input('输入{}个人的姓名:'.format(i+1)) names3+=name
D.names4=[] for i in range(n): names4[i]=input('输入{}个人的姓名:'.format(i+1))
E.names5=[] for i in range(n): name=input('输入{}个人的姓名:'.format(i+1)) names5+=[name]
第4题:
A.R1
B.R2
C.TheAVG
D.TheAVF
E.Noneoftheotheralternativesapply
第5题:
给出下面一段程序,选择运行结果() public class X{ public static void main(String[] args){ String names[] = new String[5]; for(int x=0; x<args.length; x++) names[x]=args[x]; System.out.println(names[2]); } } 命令行执行:java X 结果是下面哪一个?
A.运行出现异常
B.b
C.null
D.names
第6题:
已知names是一个如下定义的变量: manes byte ‘Tom bush’ 符合汇编语言语法的正确语句是______。
A.mov edi,names
B.mov edi,names[ebx]
C.mov edi,offset names[ebx]
D.lea edi,names[ebx]