
【名词&注释】
可读性(readability)、程序设计风格(programming style)、关键是、不符合(inconformity)、看起来、下划线(underline)
[单选题]下列叙述中,不符合良好程序设计风格要求的是
A. 程序的效率第一,清晰第二
B. 程序的可读性好
C. 程序中要有必要的注释
D. 输入数据前要有提示信息
查看答案&解析
点击获取本科目所有试题
举一反三:
[多选题]用VC实现Ftp查询的程序编写中,如果连接成功,使用()得到服务器的缺省目录。
A. GetFtpDirectory()
B. GetFtpHost()
C. GetCurrentDirectory()
D. GetCurrentHost()
[单选题]在下面附属类方法中的下划线(underline)处应填入的正确参数是( )。 public void writeData( ______ ) throws IOException{ GregorianCalendar calendar=new GregorianCalendar(); calendar.setTime(hireDay); out.println(name+"|"+salary+"|" +calendar.get(Calendar.YEAR)+"I" +(calendar.get(Calendar.MONTH)+1)+"|" +calendar.get(Calendar.DAY_OF_MONTH)); }
A. Employee[]e
B. employee.dat
C. PrintWriter out
D. BufferedWriter
[单选题]若有说明:long *p,a;则不能通过scanf语句正确给输入项读入数据的程序段是______。
A. *p=&a;scanf("%ld",p);
B. p=(long*)malloc(8);scanf("%ld",p);
C. scanf("%ld",p=&a);
D. scanf("%ld",&a);
[单选题]在面向对象的方法中, ( )描述的是具有相似属性与操作的一组对象。
A. 属性
B. 事件
C. 方法
D. 类
本文链接:https://www.zhukaozhuanjia.com/download/595o8z.html