单选题The length of a rectangle is 5 more than the side of a square, and the width of the rectangle is 5 less than the side of the square. If the area of the square is 45, what is the area of the rectangle?A 20B 25C 45D 50E 70

题目
单选题
The length of a rectangle is 5 more than the side of a square, and the width of the rectangle is 5 less than the side of the square. If the area of the square is 45, what is the area of the rectangle?
A

20

B

25

C

45

D

50

E

70


相似考题
更多“单选题The length of a rectangle is 5 more than the side of a square, and the width of the rectangle is 5 less than the side of the square. If the area of the square is 45, what is the area of the rectangle?A 20B 25C 45D 50E 70”相关问题
  • 第1题:

    使用RECTANGLE命令绘制一个矩形,并使该矩形具有厚度为100。正确的方法为()。

    A.用RECTANGLE命令先绘一个矩形,然后用ELEV命令设置厚度为100

    B.用ELEV命令设置厚度为100,然后用RECTANGLE命令绘制矩形

    C.用RECTANGLE命令先绘一个矩形,然后用CHANGE命令改变厚度为100

    D.在RECTANGLE命令中先设置其厚度为100,然后再绘制矩形

    E.用RECTANGLE命令先绘一个矩形,然后再用RECTANGLE命令设置厚度为100


    本题答案:C, D

  • 第2题:

    ( ) looking at the positive side of life, he always pays attention to the negative side,

    A、More than

    B、Except for

    C、Except

    D、Rather than


    参考答案:D
    解析:rather than:不是……(含比较,转折意味)

  • 第3题:

    阅读以下说明和Java源程序,将应填入(n)处的字句写在答题纸的对应栏内。

    说明

    以下程序的功能是计算三角形、矩形和正方形的面积并输出。

    程序由5个类组成:AreaTest是主类,类Triangle、Rectangle和Square分别表示三角形、矩形和正方形,抽象类Figure提供了一个计算面积的抽象方法。

    程序

    public class AreaTest{

    public static void main(String args[]){

    Figure[]figures={

    new Triangle(2,3,3),new Rectangle(5,8), new Square(5)

    };

    for(int i=0;i<figures.1ength;i++){

    System.out.println(figures[i]+"area="+figures[i].getArea());

    }

    }

    }

    public abstract class Figure{

    public abstract double SetAJea();

    public class Rectangle extends (1) {

    double height;

    double width;

    public Rectangle(double height,double width){

    this.height=height;

    this.width=width;

    }

    public String toString(){

    return "Rectangle:height="+height+",width="+width+":";

    }

    public double getArea() { return (2);

    } } public class Square extends (3) {

    public Square(double width) {

    (4);

    }

    public String toString() {

    return "Square:width="+width+":";

    } } public class Triangle extends (5). {

    double la;

    double lb;

    double lc;

    public Triangle(double la,double lb,double lc) {

    this.la=la; this.lb=lb; this.lc=lc;

    public String toString(){

    return "Triangle: sides="+la+","+lb+","+lc+":";

    public double getArea() {

    double s=(la+lb+lc)/2.0;

    return Math.sqrt(s*(s-la)*(s-lb)*(s?1c));

    }

    }


    正确答案:(1)Figure (2)height*width (3)Rectangle (4)super(widthwidth) (5)FiguTe
    (1)Figure (2)height*width (3)Rectangle (4)super(width,width) (5)FiguTe 解析:本题以Java语言为载体,考查面向对象程序设计中的三个重要机制——继承、抽象类和动态绑定的应用。本题所解决的问题与试题6一样,有关的详细描述可参见试题6的分析。
    在Java语言中通过在类中定义抽象方法来创建一个抽象类,或者直接将一个类声明为抽象类。
    由于继承关系已经确定,所以第(1)、(3)、(5)空已经确定,分别为Figure、Rectangle和Figure。第(2)空应填height*widthn
    Java中有一个特殊的函数super,用于在派生类中调用其基类的构造函数。利用 super,我们可以借助Rectangle的带有2个参数的构造函数将正方形的边长width传递到Rectangle的height和width中,所以第(4)空应填super(width,width)。

  • 第4题:

    使用VC6打开考生文件夹下的工程test1_1,此工程包含一个源程序文件test1_1.cpp,但该程序运行有问题,请改正main函数中的错误,使该程序的输出结果如下:

    Constructor called.

    Default constructor called.

    Area is 6

    Area is 0

    Area is 6

    源程序文件test1_1,cpp清单如下:

    include<iostream.h>

    class RectAngle

    {

    private:

    double ledge,sedge;

    public:

    RectAngle()

    {

    cout<<"Default constructor called.";

    }

    RectAngle(double l,double s)

    {

    ledge=l;sedge=s;

    cout<<"Constructor called.";

    }

    void Set(double l,double s)

    {

    ledge=l;sedge=s;

    }

    void Area()

    {

    cout<<"Area is"<<ledge*sedge<<endl;

    }

    };

    void main()

    {

    /***************** found *****************/

    RectAngle Rect1(2,3);

    RectAngle Rect2(1);

    /**************** found *****************/

    RectAnglC Rect3;

    Rectl.Area();

    /***************** found *****************/

    RecL2.lodge=0;Rect2.sedge=0;

    Reck2.Area();

    Rect3.Area();

    }


    正确答案:(1)错误:Rect2(1) 正确:Rect2 (2)错误:Rect3 正确:Rect3(Rect1) (3)错误:Rect2.1edge=0;Rect2.sedge=0; 正确:Rect2.Set(00);
    (1)错误:Rect2(1) 正确:Rect2 (2)错误:Rect3 正确:Rect3(Rect1) (3)错误:Rect2.1edge=0;Rect2.sedge=0; 正确:Rect2.Set(0,0); 解析:(1)主要考查考生对于重载构造函数调用的理解,Rect2应该调用缺省构造函数,这里重载的构造函数是以参数个数不同区分的;一个是缺省的构造函数,即没有参数的;另一个含有两个参数,为了能使“Default constructor called.”输出,应该调用不含有参数的缺省构造函数;
    (2)主要考查考生是否会使用缺省的拷贝初始化构造函数,这是不出现构造函数被调用语句的惟一方法,不管使用缺省的构造函数还是含有两个参数的构造函数都会在屏幕上出现多余的文字,而这些文字只有使用在类中没有被定义的缺省拷贝初始化构造函数来声明一个新的对象才不会出现,根据提示应该使用Rect1这个已有的对象去初始化Rect3R个新的对象,这就是拷贝初始化构造函数的作用,即使用已有的或者已存在的对象去初始化一个新的对象;
    (3)主要考查考生对于类的对象访问权限的掌握,ledge和sedge为类的私有成员,不能被类的对象Rect2访问,应使用成员函数Set()。

  • 第5题:

    Which statements concerning the effect of the statement gfx.drawRect(5, 5, 10, 10) are true, given that gfx is a reference to a valid Graphics object?()  

    • A、The rectangle drawn will have a total width of 5 pixels.
    • B、The rectangle drawn will have a total height of 6 pixels.
    • C、The rectangle drawn will have a total width of 10 pixels.
    • D、The rectangle drawn will have a total height of 11 pixels.

    正确答案:D

  • 第6题:

    单选题
    If the area of a square with sides of length 8 centimeters is equal to the area of a rectangle with a width of 4 centimeters, what is the length of the rectangle, in centimeters?
    A

    4

    B

    8

    C

    12

    D

    16

    E

    18


    正确答案: A
    解析:
    设长方形长为x,故4x=8×8,x=16,故本题选D项。

  • 第7题:

    单选题
    If one pair of opposite sides of a square are increased in length by 20% and the other pair of sides are increased in length by 50%, by what percent is the area of the rectangle that results greater than the area of the original square?
    A

    10%

    B

    50%

    C

    70%

    D

    75%

    E

    80%


    正确答案: E
    解析:
    Suppose the length of a side of the original square is 10; then the area of that square is 10×10 or 100. Since one pair of opposite sides of the square are increased in length by 20%, and 20% of 10 is 2, the length of that pair of opposite sides of the new rectangle is 10+2 or 12. Since the other pair of sides are increased in length by 50%, and 50% of 10 is 5, the length of the other pair of opposite sides of the new rectangle is 10+5 or 15. The area of the new rectangle formed is 12×15 or 180, which is 80% greater than 100, the area of the original square.

  • 第8题:

    填空题
    One side of square A is 1/2 the length of the diagonal of square B. If the area of square A is 16, what is the area of square B?a + b- 4z = 500a +b + 6z= 1200____

    正确答案: 32
    解析:
    如果正方形A为16,那么它的边长为4,因为B的对角线是A的边长的两倍,所以B的对角线为8,设B的边长为b,根据勾股定理,b2 + b2 = 82 =64,所以32 = b2,所以B的面积为32。

  • 第9题:

    单选题
    Which statements concerning the effect of the statement gfx.drawRect(5, 5, 10, 10) are true, given that gfx is a reference to a valid Graphics object?()
    A

    The rectangle drawn will have a total width of 5 pixels.

    B

    The rectangle drawn will have a total height of 6 pixels.

    C

    The rectangle drawn will have a total width of 10 pixels.

    D

    The rectangle drawn will have a total height of 11 pixels.


    正确答案: D
    解析: 暂无解析

  • 第10题:

    问答题
    A rectangle is equal in area to a square with sides of length 12. Is the diagonal of the rectangle greater in length than 20?  (1) The rectangle has a length of 16.  (2) The rectangle has a width of 9.

    正确答案: D
    解析:
    通过计算可知,若长方形长为16或宽为9,面积为144,其对角线长度均小于20,故本题选D项。

  • 第11题:

    单选题
    Why is a woman better at learning foreign languages than a man?
    A

    The area of the left side of a woman’s brain for language learning develops better than that of a man’s.

    B

    The right side of a woman’s brain for language develops better than that of a man’s.

    C

    The area of the left side of a woman’s brain for feelings develops better than that of a man’s.

    D

    The area of the right side of a woman’s brain fit for seeing in the dark develops better than that of a man’s.


    正确答案: C
    解析:
    由题干中关键词learning foreign languages对原文进行定位。根据文章可知人类左半脑发展数学、言语、阅读等,“In men and women, different areas in each side of the brain develop differently. (男女左右半脑不同区域发展情况不同。),而后对此进行举例“In boys, for example, it is the area for mathematics;and in girls it is the area for language learning that develops better”(男孩数学区域发展较好,女孩语言区域发展较好)。这里需要注意例子中比较级的使用。由此可知,女孩子左半脑掌管语言的区域要比男孩子的发展的好。所以A项是正确答案。
    【录音原文】
      Do you believe that men and women think differently? Many people say no. They say men and women are born with exactly the same abilities to think and learn. They think social life affects their ways of thinking.
      In the past ten years, many scientists have studied the differences between men and women and they all got the same conclusion:men and women are different because their brains are different and this makes men and women see the world in different ways. Boys, for example, are generally better than girls at mathematical ideas involving objects and their relationships. Boys also are generally faster in response than girls of hand and eye movements in ball games. Girls, on the other hand, generally start speaking earlier and can see better in the dark and are better at learning foreign language than boys.
      What makes men and women better at one thing or another? The answer is the brain. The brain has two sides. The nerves on the left side are for mathematics, speech, reading, etc, while those on the right side are for artistic creation and other senses. In men and women, different areas in each side of the brain develop differently. In boys, for example, it is the area for mathematics;and in girls it is the area for language learning that develops better. Another interesting difference is that the two sides of a man’s brain are interconnected by a smaller number of nerves than in the case of a woman, so the flow of information between them is more limited Scientists think this affects some of our abilities.

  • 第12题:

    单选题
    A bilge suction line,in a fishing vessel with more than 16 individuals aboard,must have a strainer with an open area not less than how many times the open area of the suction line?()
    A

    one

    B

    two

    C

    three

    D

    four


    正确答案: D
    解析: 暂无解析

  • 第13题:

    China’s space station, ________ three capsules and covering an area of no less than 60 square meters, will be completed within 10 years.

    A、making up of

    B、made up

    C、consisted of

    D、consisting of


    参考答案:D

  • 第14题:

    阅读以下说明和C++代码,填入(n)处。

    [说明]

    以下C++代码使用虚函数实现了同一基类shape派生出来的Class rectangle、Class triangle、Class circle实现了计算矩形、圆形面积的计算。仔细阅读以下代码,将(n)处语句补充完整。

    [代码5-1]

    include<iostream.h>

    define PI 3.14159

    class shape {//基类

    protected:

    (1);

    public:

    (2);

    (3);

    };

    [代码5-2]

    class rectangle: public shape {

    public:

    rectangle (int x2,int y2,int r2): (4) {};

    double area ( ) {return x*y; };

    };

    class circle: public shape {

    public:

    circle (int x3,int y3,int r3):(5){};

    double area ( ) {return r*r*PI; };

    };

    [代码5-3]

    void main ( )

    {

    rectangle r (10,20,0);

    circle c (0,0,30);

    shape (6);

    cout<<"长方形面积="<<s1->area ( ) <<endl;

    cout<<"圆形面积="<<s2->area ( ) <<endl;

    }

    [运行结果]

    长方形面积=200

    圆形面积=2827.43


    正确答案:(1)intxyr; (2)shape(int x1int y1int r1): x(x1)y(y1)r(r1){}; (3)double virtual area()=0; (4)shape(x2y2r2) (5)shape(x3y3r3) (6)*s1=&r*s2=&c;
    (1)intx,y,r; (2)shape(int x1,int y1,int r1): x(x1),y(y1),r(r1){}; (3)double virtual area()=0; (4)shape(x2,y2,r2) (5)shape(x3,y3,r3) (6)*s1=&r,*s2=&c; 解析:本题C++代码使用虚函数用同一基类shape派生出来的Class rectangle、Class triangle、Class circle实现了计算矩形、圆形面积的计算。各空实现的功能是:(1)x,y存储长与宽,r存储半径;(2)构造函数;(3)面积虚函数,旨在定义不同面积公式;(4)构造函数;(5)构造函数;(6)类变量定义,根据下文用到的变量可推知。

  • 第15题:

    下列程序的执行结果为【 】。include class Point{public:Point(double i, double j)

    下列程序的执行结果为【 】。

    include <iostream. h>

    class Point

    {

    public:

    Point(double i, double j) { x=i; y=j;}

    double Area() const { return 0.0;}

    private:

    double x, y;

    };

    class Rectangle: public Point

    {

    public:

    Rectangle(double i, double j, double k, double 1)

    double Area() const {return w * h;}

    private:

    double w, h;

    };

    Rectangle: :Rectangle(double i, double j, double k. double 1): Point(i,j).

    {

    w=k, h=1

    }

    void fun(Point &s)

    {

    cout<<s. Area()<<end1;

    }

    void main( )

    {

    Rectangle rec(3.0, 5.2, 15.0. 25.0);

    fun(rec)

    }


    正确答案:×
    0 解析:注意本题不同于基类的指针指向派生类对象。Fun函数的形参是Point基类的引用。在可以用基类对象的地方,均可以用派生类替代,完成基类的行为。反之,在使用派生类对象的地方却不能用基类对象代替,这是因为派生类中的某些行为在基类对象中是不存在的。本题调用的是Point类对象的面积函数,其值永远为0。

  • 第16题:

    阅读以下说明和C++程序,将应填入(n)处的字句写在对应栏内

    [说明]

    以下程序的功能是计算三角形、矩形和正方形的面积并输出。

    程序由4个类组成:类Triangle,Rectangle和Square分别表示三角形、矩形和正方形;抽象类Figure提供了一个纯虚拟函数getArea(),作为计算上述三种图形面积的通用接口。

    [C++程序]

    include<iostream.h>

    include<math.h>

    class Figure{

    public:

    virtual double getArea()=0; //纯虚拟函数

    };

    class Rectangle: (1) {

    protected:

    double height;

    double width;

    public:

    Rectangle(){};

    Rectangle(double height,double width){

    This->height=height;

    This->width=width;

    }

    double getarea(){

    return (2);

    }

    };

    class Square: (3)

    public:

    square(double width){

    (4);

    }

    };

    class triangle: (5) {

    double la;

    double lb;

    double lc;

    public:

    triangle(double la,double lb,double lc){

    this->la=la;thiS->ib;this->lc;

    }

    double getArea(){

    double s=(la+lb+lc)/2.0;

    return sqrt(s*(s-la)**(s-lb)*(s-lc));

    }

    };

    viod main(){

    figure*figures[3]={

    new triangle(2,3,3),new Rectangle(5,8),new Square(5)};

    for(int i=0; i<3;i++){

    cout<<"figures["<<i<<"]area="<<(figures)->getarea()<<endl;

    }

    }

    };


    正确答案:(1) public Figure (2) height*width (3) public Rectangle (4) this->height=this->width=width (5) public Figure
    (1) public Figure (2) height*width (3) public Rectangle (4) this->height=this->width=width (5) public Figure 解析:本题考查C++编程中的几个重要概念。
    Figure类是一个抽象类,其他三个类rectangle、square、triangle都要直接或间接继承该类,所以(1)(5)处应为“public Figure”。(2)处是要计算矩形面积,矩形面积等于长乘以宽,所以(2)处应为“height* ]width”。正方形是一个特殊的矩形,所以可以继承矩形类,所以(3)处应为“publicRectangle”,(4)处应为“this->height=this->width=width”。

  • 第17题:

    单选题
    If A (-1, 1) and B (3, -1) are the endpoints of one side of square ABCD, what is the area of the square?
    A

    12

    B

    16

    C

    20

    D

    25

    E

    36


    正确答案: C
    解析:
    根据距离公式可得:AB²=(-1-3)²+(1-(-1))²=20,而AB又是正方形ABCD的边长,所以正方形的面积为AB²=20.

  • 第18题:

    单选题
    关于图3.19的叙述()是不正确的。
    A

    Rectangle类和Circle类都有名为area的属性,这两个属性一定是相同的属性

    B

    Rectangle类和Circle类都有名为getArea的操作,这两个操作一定是相同的操作

    C

    Rectangle中名为length的属性和Circle类中名为radius的属性,这两个属性一定是不同的属性

    D

    Shape类有一个属性,Circle类有两个属性,Rectangle类有三个属性


    正确答案: C
    解析: 在父类与子类的继承关系中,多态这种方法使得在多个子类中可以定义同一个操作或属性名,并在每个子类中可以有不同的实现。Rectangle和Circle都继承于父类Shape,对于Shape而言,会有getArea()的操作。但是子类Rectangle和Circle的getArea方法的实现可以完全不一样的,这就体现了多态的特征。至于选项D://Circle类和Rectangle类都要从Shape类继承一个属性,因此分别有"1+1=2"个属性和"2+1=3"个属性。

  • 第19题:

    单选题
    If the effective bearing area has been reduced , remedial action should be taken()
    A

    by more than 5 percent

    B

    by less than 10 percent

    C

    to 95 percent

    D

    to less than 90 percent


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    The base of a rectangle is two times as long as the height. If the perimeter is 42, what is the area of the rectangle?
    A

    36

    B

    42

    C

    98

    D

    196

    E

    218


    正确答案: D
    解析:
    If h represents the height, then the base is 2h. Since Perimeter=42=2(h+2h), hence h=7 and base=14. So Area=7×14=98.

  • 第21题:

    单选题
    What is the circumference of a circle in which a 5 by 12 rectangle is inscribed?
    A

    13n

    B

    17n

    C

    26n

    D

    34n

    E

    60n


    正确答案: C
    解析:
    The length of a diagonal of a 5 by 12 rectangle is 13 since, when a diagonal is drawn, the lengths of the sides of the right triangle that results form a (5,12,13) Pythagorean triple with 13 as the hypotenuse. If this rectangle is inscribed in a circle, the diagonals of the rectangle are diameters of the circle, so the length of a diameter of the circle is 13. The circumference of a circle with diameter 13 is 13π.

  • 第22题:

    单选题
    The length of a rectangular kitchen floor is 3 feet more than its width, if the length of the floor is 12 feet, what is the area of the floor in square feet?
    A

    9

    B

    15

    C

    42

    D

    108

    E

    44


    正确答案: C
    解析:
    已知矩形的长为12英尺,而长比宽多3英尺,所以矩形的宽为9英尺,那么矩形的面积=长×宽=12×9=108平方英尺。

  • 第23题:

    单选题
    What does the underlined word “outnumber” mean?
    A

    To be smaller in size than another group.

    B

    To be more in number than another group.

    C

    To be bigger in area than another group.

    D

    To be smaller in area than another group.


    正确答案: D
    解析:
    词义猜测题。根据上下文语境可知,此处“outnumber”表示“数目超过,多于”。