
【名词&注释】
体系结构(architecture)、可读性(readability)、自增运算符(self-added operator)、有利于(beneficial to)、程序结构(program structure)、操作符(operator)、实际情况(actual situation)、无规律(irregularity)、发生变化
[单选题]关系表中的每一横行称为一个______。
A. 元组
B. 字段
C. 属性
D. 码
查看答案&解析
举一反三:
[单选题]在某类的公共部分有声明string operator++( );和string operator++(int);则说明
A. string operator++( );是前置自增运算符声明
B. string( )perator++( );是后置自增运算符声明
C. string operator++(int);是前置自增运算符声明
D. 两条语句无区别
[单选题]下列不属于FileInputStream输入流的read()成员函数的是( )。
A. int read (byte b[],int offset,int len)
B. int read (int line)
C. int read ()
D. int read (byte b[])
[单选题]有以下程序: main() {int m,n,p; scanf("m=%dn=%dp=%d",&m,&n,&p); printf("%d%d%\n",m,n,p); } 若想从键盘上输入数据,使变量m中的值为123,n中的值为456;p中的值为789,则正确的输入是 ______ 。
A. m=123 n=456p=789
B. m=123 n=456 p=789
C. m=123,n=456,p=789
D. 123 456 789
[单选题]选择正确的语句填在下列程序的横线处,使程序正常运行。 package ch1; import java. io. *; import j ava. util. *; class C45 implements Seritizable ______Public Thread t = new Thread(new T45(), "t"); public intcnt = 0; public C45() { t. start ( ) class T45 implements Runnable public int[] a = new int[4]; public void run() { for(int i - 0; i 4; i++) { a[i] - i +4; } } } public class ex45 { static String fileName = "ch1\\file45.txt"; public static void main(String[] args) throws Exception { C45 bj = new C45 (); FileOutputStream fos = new FileOutputStream(fileName); ObjectOutputStream os = new ObjectOutputStream(fos); oos. writeObject (obj); oos.clese (); fos.close (); System. out, println (obj . toString ( ) ); } }
A. transient
B. protected
C. package
D. final
[单选题]下面列出的关于“视图(View)”的条目中,哪一条是不正确的?( )
A. 视图是外模式
B. 视图是虚表
C. 使用视图可以加快查询语句的执行速度
D. 使用视图可以简化查询语句的编写
[单选题]在设计程序时,应采纳的原则之一是
A. 不限制go to语句的使用
B. 减少或取消注解行
C. 程序越短越好
D. 程序结构应有助于读者理解
本文链接:https://www.zhukaozhuanjia.com/download/54oe4p.html