单选题A circle has an area of A, A second circle has a diameter four times that of the first circle. What is the area of the second circle?A 2AB 4AC 8AD 16AE 32A

题目
单选题
A circle has an area of A, A second circle has a diameter four times that of the first circle. What is the area of the second circle?
A

2A

B

4A

C

8A

D

16A

E

32A


相似考题

2.使用VC6打开考生文件夹下的工程test7_3,此工程包含一个源程序文件test7_3.cpp,其中含有一个类Circle的定义,但该类的定义并不完整。请按要求完成下列操作,将类Circle的定义补充完整。(1)为类Circle增加一个构造函数,该函数有一个参数,并在构造时将该参数值赋给成员radius。将该函数实现为一个非内联函数,并且使用参数列表的方式将类成员赋值。请在注释“//**1**”之后添加适当的语句。(2)为类Circle增加一个成员函数print(),使得可以输出有关圆的信息,比如下列程序Circle c;c.SetRadius(5);c.Print();将输出:The circle has radius of 5!请在注释“//**2**”之后添加适当的语句。(3)完成友元函数void CompareR(Circle *cl,Circle*c2)的定义,在屏幕中输出c1与c2比较radius大小结果,要求使用 if-else结构完成。请在注释“//**3**”之后添加适当的语句。输出结果如下;The circle has radus of 5!The circle has radius of 10!c1<c2注意:除在指定位置添加语句之外,请不要改动程序中的其他内容。源程序文件test7_3.cpp清单如下:include<iostream.h>class Circle{public:Circle():radius(5){}//**1**void SetRadius(int r) {radius=r; }int GetRadius() {return radius; }//**2**friend void CompareR(Circle *c1,Circle*C2);private:int radius;};void CompareR(Circle *c1,Circle *C2){//**3**cout<<"c1>c2"<<endl;elseif((c1->GetRadius())==(c2->GetRadius()))cout<<"c1=c2"<<endl;elseif((c1->GetRadius())<(c2->GetRadius()))cout<<"c1<c2"<<endl;}void main(){Circle c1;c1.SetRadius(5);C1.Print();Circle c2(10);c2.Print();CompareR(&c1,&c2);}

更多“单选题A circle has an area of A, A second circle has a diameter four times that of the first circle. What is the area of the second circle?A 2AB 4AC 8AD 16AE 32A”相关问题
  • 第1题:

    ( 13 )补充完整下面的类定义:

    const double PI=3 .14;

    class Circle{ // 圆形物体的抽象基类

    protected:

    double r; // 半径

    public:

    Circle ( double radius=0 ) : r ( radius ) {}

    【 13 】 ; // 计算圆形物体表面积的纯虚函数声明

    };

    class Cylinder:public Circle { // 圆柱体类

    double h; // 高度

    public:

    Cylindr ( double radius=0, doubli height=0 ) :

    Circle ( radius ) , h ( height ) {}

    Virtual double Area () { // 计算圆柱体的表面积

    return 2*PI*r* ( r+h ) ;

    }

    };


    正确答案:

  • 第2题:

    Software maintenance is to do necessary modification, supplenemt, and completeness during software life circle. Among the following vary kinds of maintenance, which one has the maximum workload in a general way?(73).

    A.relevance maintenance

    B.completeness maintenance

    C.correctness naintenance

    D.other kinds of maintenance


    正确答案:B
    解析:译文:软件生命周期中,软件维护是进行必要的软件修改、补遗、补充。下列各种软件维护工作中哪个具有最大的工作负载?

  • 第3题:

    This restaurant has become popular for its wide__________of foods that suit alltastes and pockets.

    A.division
    B.area
    C.range
    D.circle

    答案:C
    解析:
    考情点拨:本题考查名词辨析。应试指导:句意:这家餐馆越来越出名是由于它做的各种各样的食物适应各类人群。a wide range of意为“各种各样的”。

  • 第4题:

    师长教师说:Draw a circle.学生画一个circle,这就属于课程标准里面谈到的用说话来做工作。


    正确答案:正确

  • 第5题:

    判断题
    师长教师说:Draw a circle.学生画一个circle,这就属于课程标准里面谈到的用说话来做工作。
    A

    B


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

  • 第6题:

    单选题
    ()is the main reason that reduces the power advantage of a two-stroke engine over a same size four-stroke one to about()
    A

    Inefficient scavenging;twice

    B

    Inefficient scavenging;1~8 times

    C

    Fewer strokes in a circle;twice

    D

    Fewer strokes in a circle;1~8 times


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

  • 第7题:

    单选题
    What is the()of the turning circle in mavoeuvring?
    A

    distance

    B

    largeness

    C

    diameter

    D

    measurerment


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

  • 第8题:

    单选题
    当对DrawWidth进行设置后,将影响()。
    A

    Line、Circle、Pset和Line、Shape控件

    B

    Line、Circle、Pset

    C

    Line、Circle、Poine方法

    D

    Line、Shape控件


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

  • 第9题:

    单选题
    A circle with center A has its center at (6, -2) and a radius of 4. Which of the following is the equation of a line tangent to the circle with center A ?
    A

    y=3x+2

    B

    y=2x+1

    C

    y=-x+5

    D

    y=-2

    E

    y=-6


    正确答案: A
    解析:
    切线指与圆相交且与圆只有一个焦点的线。A、B与圆不相交。C、D 与圆相交且有两个交点。只有E项符合。

  • 第10题:

    单选题
    Circles O and P intersect at exactly one point, as shown in the figure above. If the radius of circle O is 2 and the radius of circle P is 6, what is the circumference of any circle that has OP as a diameter?
    A

    B

    C

    12π

    D

    16π

    E

    64π


    正确答案: E
    解析:
    Since the radius of circle O is 2 and the radius of circle P is 6, OP = 2+6 or 8. Hence, the circumference of any circle that has OP as a diameter is 8π.

  • 第11题:

    单选题
    Vertically below the deckline is a circle whose outside diameter is 300mm.It is called the().
    A

    the deck line

    B

    Plimsoll disc

    C

    Plimsoll line

    D

    summer load line


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

  • 第12题:

    单选题
    Concerning a celestial observation,the azimuth angle is measured from the principal vertical circle to the().
    A

    Greenwich celestial meridian

    B

    hour circle of the body

    C

    local celestial meridian

    D

    vertical circle of the body


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

  • 第13题:

    使用VC6打开考生文什夹下的工程test1_3。此工程包含一个test1_3.cpp,其中定义了类circle和column,其中column类由circle类protected派生,但两个类的定义并不完整。请按要求完成下列操作,将程序补充完整。

    (1)定义类circle的保护数据成员r和area,它们都是double型的数据。请在注释“//**1**”之后添加适当的语句。

    (2)添加类circle的无参数的构造函数,使circle对象的r默认值为0,请在汁释“//**2**”之后添加适当的语句。

    (3)添加派生类column构造函数的定义,传入的参数为double型的height和radius,并将具分别赋值给数擗成员h和基类的r,请在注释“//**3**”之后添加适当的语句。

    (4)完成派生类column的成员函数print的定义,使其以格式“r=_area=_”先输出半径r和底面积area,再以格式“h=_vol=_”输出高h和体积vol的值,请在注释“//**4**”之后添加适当的语句。

    输山结果如下:

    r=1 area=3.1416

    h=2 vo1=6.2832

    注意:除在指定的位置添加语句外,请不要改动程序中的其他语句。

    源程序文件test1_3.cpp清单如下:

    include<iostream.h>

    const double pi=3.1416;

    class circle

    {

    protected:

    //**1**

    public:

    //**2**

    circle(double radius){ r=radius;}

    void print()

    {

    area=r*r*pi;

    cout<<"r="<<r<<" "<<"area="<<ared<<endl;

    }

    };

    class column: protected circle

    {

    protected:

    double h;

    public:

    //** 3 **

    void print()

    {

    // ** 4 **

    }

    };

    void main()

    {

    column col(1.0,2.0);

    Col.print();

    }


    正确答案:(1) doubler; double area; (2) circle(){r=0;} (3) column(double radiusdouble height):circle(radius){h=height;} (4) circle::print(); cout"h="h" ""vol="area *hendl;
    (1) doubler; double area; (2) circle(){r=0;} (3) column(double radius,double height):circle(radius){h=height;} (4) circle::print(); cout"h="h" ""vol="area *hendl; 解析:主要考查考生对于类的数据成员定义与成员函数构造的掌握,其中(3)使用了参数列表进行变量赋值,(4)使用作用域符::调用基类print函数。

  • 第14题:

    若有以下程序:include using namespace std;define PI 3.14class Point {private: i

    若有以下程序: #include <iostream> using namespace std; #define PI 3.14 class Point { private: int x,y; public: Point(int a,int B) { x=a; y=b; } int getx() { return x; } int gety() { reurn y; } }; class Circle: public Point { private: int r; public: Circle(int a,int b.int C) :Point(a,B) r=c; int getr() { return r; } double area() { return PI*r*r; } }; int main() { Circle cl(5,7,10); cout<<c 1 .area()<<end1; return 0; } 程序执行后的输出结果是

    A.314

    B.157

    C.78.5

    D.153.86


    正确答案:A
    解析:本题考核派生类的定义和应用。本程序设计了一个点类Point,包含了横、纵两个坐标数据x和y,由它派生出了圆类Circle,并加入了新的数据成员,即一个半径数据r和一个求圆面积的函数成员area。在主函数main中,首先定义了一个圆Circle类的对象c1,并通过它的构造函数初始化其数据成员。由此可知,其半径r的值为10,所以其面积为PI*10*10=314,即对象c1的函数成员area的返回值为314。

  • 第15题:

    What is the ranking of Canada in the world by land area?( )

    A.First
    B.Second
    C.Third
    D.Fourth

    答案:D
    解析:
    考查加拿大地理概况。就陆地面积来看,加拿大是全球第四大国家;把海洋面积算在内,加拿大是全球第二大国家。

  • 第16题:

    下列属于Visual Basic工程文件的是()。

    • A、circlE.frm
    • B、circlE.vbp
    • C、circlE.doc
    • D、circlE.jpg

    正确答案:B

  • 第17题:

    单选题
    In the figure below, a small circle, with radius x, is inside a larger circle, with radius 6. What is the area, in terms of x, of the shaded region?
    A

    6π-2πx

    B

    6π-πx2

    C

    12π-2πx

    D

    36π-2πx

    E

    36π-πx2


    正确答案: E
    解析:
    根据图示可知,阴影部分的面积等于大圆的面积减去小圆的面积,即36π- x2π,因此选E。

  • 第18题:

    单选题
    What defines a great circle? ()
    A

    A curved line drawn on a Mercator Chart

    B

    A course line that inscribes a loxodromic curve

    C

    The shortest distance between any two points on the earth

    D

    The smallest circle that can be drawn on the face of a sphere


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

  • 第19题:

    单选题
    In relation to the turning circle of a ship,the term advance means the distance().
    A

    gained at right angles to the original course

    B

    gained in the direction of the original course

    C

    moved sidewise from the original course when the rudder is first put over

    D

    around the circumference of the turning circle


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

  • 第20题:

    填空题
    If a circle has an area of 49π, what is the diameter of the circle?____

    正确答案: 14
    解析:
    因为圆的面积为πr2,πr2 =49π,r=7,直径为2r=14。

  • 第21题:

    单选题
    A circle has an area of A, A second circle has a diameter four times that of the first circle. What is the area of the second circle?
    A

    2A

    B

    4A

    C

    8A

    D

    16A

    E

    32A


    正确答案: D
    解析:
    设圆1的半径为r,所以A=πr2,所以圆2的半径为2r,面积=2*π*(2r)2=16πr2=16A,故本题应选D项。

  • 第22题:

    单选题
    If the ratio of the area of a sector to the area of the circle is 2:3. what is the ratio of the length of the arc in the sector to the circumference of the circle?
    A

    3/2

    B

    2/3

    C

    4/9

    D

    1/4

    E

    9/4


    正确答案: D
    解析:
    The ratio of sector area to circle area is proportional to the ratio of sector arc length to circumference.

  • 第23题:

    单选题
    Two circles, P and Q, lie in the same plane. If the center of circle Q lies on circle P, then in how many points could circle P and circle Q intersect?Ⅰ. 0Ⅱ. 1Ⅲ. 2
    A

    Ⅰ only

    B

    Ⅱ only

    C

    Ⅲ only

    D

    Ⅰ, Ⅱ and Ⅲ

    E

    Ⅱ and Ⅲ only


    正确答案: E
    解析:
    If the radius of circle Q is greater than the diameter of circle P, there is no intersection point. If the radius of circle Q is equal to the diameter of circle P, there is one intersection point. If the radius of circle Q is less than the diameter of circle P, there are two intersection points.

  • 第24题:

    单选题
    If the radius of a circle is increased by 40%, how much will the area increase?
    A

    16%

    B

    20%

    C

    40%

    D

    80%

    E

    96%


    正确答案: E
    解析:
    设圆的半径为r,故面积S=πr2,若半径增加40%,那么面积S’=π(1.4r)2=1.96πr2,故半径增加了96%,本题选择E项。