CLASS | |||
CLASS_ID | CLASS_NAME | HOURS_CREDIT | INSTRUCTOR_ID |
1 | Incroduction to Accouncting | 3 | 4 |
2 | Computer Basics | 3 | 1 |
3 | Tax Accouncing Principles | 3 | 4 |
4 | American History | 3 | 2 |
5 | Basic Engineering | 3 |
CLASS | |||
CLASS_ID | CLASS_NAME | HOURS_CREDIT | INSTRUCTOR_ID |
1 | Introduction to Accounting | 3 | 4 |
2 | Computer Basics | 3 | 1 |
3 | Tax Accounting Principles | 3 | 4 |
4 | American History | 3 | 2 |
5 | Basic Engineering | 3 |
INSTRUCTOR | ||
INSTRUCTOR_ID | LAST_NAME
A. SELECT i.last_name, i.first_name, c.class_name B. SELECT i.last name, i.first_name,c.class_name C. SELECT i.last_name, i.first_name, c.class_name D. SELECT i.last_name, i.first_name, c.class_name E. SELECT i.last_name, i.first_name, c.class_name F. SELECT i.last_name, i.first_name, c.class_name [单项选择]
—The door was open. A. can’t be B. mustn’t be C. can’t have been D. mustn’t have been [单项选择]What class does the woman go to
[A] English class. [B] Fitness class. [C] English and fitness classes. [单项选择]
Who will open the window A. Neither of them. B. The woman. C. The man. [单项选择]
A. (A) Every day of the week. B. (B) Only on Monday. C. (C) Only on Friday. D. (D) Monday through Friday. [单项选择]When is the library open
A. It is open on Sundays. B. It is not open on Sundays. C. It is open every day except Sunday. D. It is open every day except Saturday. [填空题]#include<iostream.h>
template<class T> class f private: T x,y; public: void f1(T a,T b)x=a;y=b; T max( )return(x>y) x:y; ; void main( ) f<int>a; a.f1(3.5,3.8); cout<<a.max( )<<endl; [单项选择]下面程序段的输出结果为
package test; public class Class A int x=20; static int y=6; public static void main(String args[]) Class B b=new Class B( ); b.go(10); System.out.println("x"+b.x); class ClassB int x; void go(int y) ClassA a=new ClassA( ); x=a.y; A. x=10 B. x-20 C. x=6 D. 编译不通过 [填空题]有如下的类的模板定义:
template <class T> class MyClass private: T number; public: MyClass(T k); … ; 其中构造函数MyClass( )用k的值初始化数据成员n。因此在模板类体外,构造函数 MyClass应定义为 【12】 。 [单项选择]We held a football match ______ Class 1 and Class 5 last semester.
A. with B. among C. between D. by [单项选择]Will the woman open the window
A. Yes. B. No. C. We don’t know. [单项选择]Open the window, ( )
A. do you B. don’t you C. will you D. won’t you [简答题]开放试验(open trial)
[填空题]下列是一个类的定义程序段,请补充完整。
public class My Class int x,y; MyClass(int i, 【11】 ) x=i;y=j; [填空题]下列是一个类的定义程序段,请补充完整。
public class My Class {
int x,y; MyClass(int i,【 】) {
x=i;y=j;
}
}
我来回答: 提交
|