![](https://lstatic.shangxueba.com/jiandati/h5/images/m_q_title.png)
Macintosh (Line 2, Para. 1) is______.
A.user-oriented
B.object-oriented
C.language-oriented
D.symbol-oriented
A.user-oriented
B.object-oriented
C.language-oriented
D.symbol-oriented
A.Command(Macintosh)/Ctrl(Windows)+L
B.Command(Macintosh)/Ctrl(Windows)+P
C.Command(Macintosh)/Ctrl(Windows)+S
D.Command(Macintosh)/Ctrl(Windows)+O
What does" masters" mean in the paragraph 1. Line 2 ?
A.A servant.
B.A teacher.
C.A skilled person.
D.A worker.
The word "stamp" (Para 2, Line 1) probably means ______.
A.to step with force
B.to mark by pressing
C.to stick a stamp onto
D.to put into a class or type
Reading comprehension Choose the best answers according to the following passage. (11-15) The competition among producers of personal computers is essentially a race to get the best and most innovative products to the marketplace. Apple Computer, Inc. has introduced two new, faster personal computers, the Macintosh II and Macintosh SE, before the introduction of a new PC by HP, one of Apple’s major competitors. Apple’s new computer, the improved Macintosh, is able to run programs that previously were impossible to run on an Apple PC, including IBM-compatible(兼容的) program. This compatibility feature makes Apple computers capable of running IBM programs and thus more popular in the office, where Apple hopes to increase sales. The new computers represent a big improvement over past models, but they also cost much more. Company officials do not think the higher price will slow down buyers who want a more powerful computer. Apple wants to stay in the high-price end of the personal computer market to finance research even faster, more sophisticated computers. Even though Apple and HP are major competitors, both companies realize that their competitor’s computers have certain features that their own models do not. The Apple line has always been popular for its beautiful color graphics, whereas the HP machines have always been favored in offices. In the future, there will probably be more compatibility between the two companies’ products, which no doubt will that both Apple and HP change marketing strategies. 11. According to paragraph 1, Apple computer, Inc. has introduced two new, faster personal computers because _______.
A、HP is often changing its computer models
B、it wants to produce its machines for specific users
C、it wants to stay ahead of HP in the computer market
D、it expects HP to follow its models
提示:补充横线上的代码,请使用英文半角输入,不要留空格及其他不可见字符。 #include <stdio.h> #include <stdlib.h> #define LL 80 #define COL 2 #define CSIZE LL/COL-9 #define PL 50 #define MARGIN 3 char buff[COL][PL][CSIZE]; int ln[COL][PL]; int col, row, p; void printout() { int k, i, lpos, col, d,j; char line[LL]; for (k = 0; k < MARGIN; k++) putchar('\n'); for (k = 0; k < PL; k++) { for (i = 0; i < LL - 1; i++) { line[i] = ' '; for (lpos = 0, col = 0; col < COL; lpos += CSIZE + 9, col++) { d = ln[col][k]; p = lpos + 4; while (d > 0) { line[p--] = d % 10 + '0'; d /= 10; } for (p = lpos + 7, j= 0; j < CSIZE;j++) line[p++] = buff[col][k][j]; } } line[p] = '\0'; puts(line); } for (k = 0; k < MARGIN; k++) putchar('\n'); } void nextline() { while (p < CSIZE) buff[col][row][p++] = ' '; if (row >= PL) { if (col >= COL) { printout(); col = 0; } row = 0; } p = 0; } void dprint(char* fname) { FILE* fp; int lin, c; if ((fp = fopen(fname, "r")) == NULL)exit(-1); lin = 0; p = 0; col = 0; c = getc(fp); while (c != EOF) { ln[col][row] = ++lin; while (c != '\n' && c != EOF) { if (p >= CSIZE) { nextline(); ln[col][row] = 0; } __________________; c = getc(fp); } nextline(); if (c != EOF)c = getc(fp); } while (col != 0 || row != 0) { ln[col][row] = 0; nextline(); } fclose(fp); } int main(int argc, char** argv) { int f; for (f = 1; f < argc; f++) dprint(argv[f]); return 0; }
【说明】Point是平面坐标系上的点类,Line是从Point派生出来的直线类。
include <iostream.h>
class Point
{public:
Point (int x, int y) ;
Point (Point &p) ;
~Point();
void set (double x, double y) ;
void print();
private:double X,Y;
};
Point::Point (int x, int y) //Point 构造函数
{X=x; Y=y; }
Point::Point ((1) ) //Point 拷贝构造函数
{X=p.X; Y=p.Y;}
void Point::set (double x, double y)
{X=x; Y=y; }
void Point::print()
{cout<<' ('<<X<<","<<Y<<") "<<endl; }
Point::~Point()
{cout<<"Point 的析构函数被调用! "<<endl;
class Line: public Point
{public:
Line (int x, int y, int k) ;
Line (Line &s) ;
~Line();
void set (double x, double y, double k)
void print();
private:double K;
};
(2)//Line 构造函数实现
{ K=k;}
(3)//Line 拷贝构造函数实现
{K=s.K;}
void Line::set (double x, double y, double k)
{ (4);
K=k;
}
void Line::print()
{cout<<" 直线经过点";
(5);
cout<<"斜率为: k="<<K<<endl;
}
Line: :~Line()
{cout<<"Line 析构函数被调用! "<<endl;
}
void main()
{Line 11 (1,1,2) ;
11 .print();
Linel2 (11) ;
12.set (3,2,1) ;
12.print();
}
Lines p and n lie in the standard (x,y) coordinate plane.An equation for line p is y = 0.12x + 3,000. The slope of line n is 0.1 greater than the slope of line p. What is the slope of line n ?
A.0.012
B.0.02
C.0.22
D.1.2
E.300
若有以下程序: void g(int **q) { (**q) ++; (*q) ++; } void main() { int line [5]; int *p=line; for (i=0; i<5; i++) { *p=i; g(&P); } for (i=0; i<5; i++) cout<<line[i]; cout<<end1; } 该程序运行后的输出结果为()。
A.12345
B.1234
C.11111
D.55555
为了保护您的账号安全,请在“简答题”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!