Susan:Thanks. 2 .What time is the show?
第1题:
1、定义了一个窗体Form2,正确的打开方式是________。
A.Form2.Show()
B.Form2.ShowDialog()
C.Form2.Load()
D.Dim f as New Form2 f.Show()
第2题:
给出以下4个重载的方法show,调用show方法时,下面哪个说法是错误的() (1)show(int a ,int b,int c) (2)show(int a ,int b,double c) (3)show(int a ,double b,double c) (4)show(double a,double b,int c)
A.调用show(1,2,3); 1,2,3,4方法都是可行方法,所有参数完全匹配
B.调用show(1.0,2.0,3.0); 没有一个可行方法
C.调用show(1.0,2,3); 没有一个可行方法
D.调用show(1,2.0,3); 3,4都是可行方法,没有最佳可行方法,编译器会报错
第3题:
2、下列语句的输出结果是? d = { } d['susan'] = 50 d['jim'] = 45 d['joan'] = 54 d['susan'] = 51 d['john'] = 55 print len(d)
第4题:
定义了一个窗体Form2,正确的打开方式是________。
A.Form2.Show()
B.Form2.ShowDialog()
C.Form2.Load()
D.Dim f as New Form2 f.Show()
第5题:
4、输出如下程序结果,并简要说明程序运行原理: import Netimport random name='小明' time=0 print(name,'上网时间、行为统计:') time += Net.net_play(1.5) time += Net.Watch_videos(2) time += Net.Play_game(3) time += Net.Study(2) Net.times(time)