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

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

相似考题

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);}

参考答案和解析
正确答案: 14
解析:
因为圆的面积为πr2,πr2 =49π,r=7,直径为2r=14。
更多“填空题If a circle has an area of 49π, what is the diameter of the circle?____”相关问题
  • 第1题:

    使用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函数。

  • 第2题:

    A line of position from a celestial observation is a segment of a ______.

    A.circle of equal altitude

    B.parallel of declination

    C.parallel of altitude

    D.vertical circle


    正确答案:A

  • 第3题:

    What is the major advantage of a rhumb line track?

    A.The vessel can steam on a constant heading (disregarding wind,current,etc)

    B.The rhumb line is the shortest distance between the arrival and departure points

    C.It is easily plotted on a gnomonic chart for comparison with a great circle course

    D.It approximates a great circle on east-west courses in high latitudes


    正确答案:

  • 第4题:

    当设置了容器对象的DrawWidth属性后,会影响()

    • A、Pset、Line、Circle方法
    • B、Line、Shape控件
    • C、Pset、Line、Circle方法和Line、Shape控件
    • D、Line、Circle、point方法

    正确答案:A

  • 第5题:

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

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

    正确答案:B

  • 第6题:

    单选题
    关于图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"个属性。

  • 第7题:

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

    distance

    B

    largeness

    C

    diameter

    D

    measurerment


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

  • 第8题:

    单选题
    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项符合。

  • 第9题:

    单选题
    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π.

  • 第10题:

    单选题
    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
    解析: 暂无解析

  • 第11题:

    单选题
    下列程序的运行结果是(  )。class Shape{ public Shape(){ System.out.print("Shape"); }}class Circle extends Shape{ public Circle(){ System.out.print("Circle"); }}public class Test{ public static void main(String[]args){ Shape d=new Circle(); }}
    A

    Shape

    B

    Circle

    C

    ShapeCircle

    D

    程序有错误


    正确答案: B
    解析:
    继承是面向对象编程的一个主要优点之一,它对如何设计Java类有着直接的影响。该程序首先编写了一个Shape的类,然后又编写一个类Circle去继承Shape类。由于子类拥有父类所有的属性和方法,所以输出的是ShapeCircle。

  • 第12题:

    单选题
    An oceangoing ship of 400 gross tons and above must be fitted with a standard discharge shore connectionWhat is the size of the bolt circle diameter of the shore connection required to transfer oily ballast to a shore side reception facility?()
    A

    125 mm

    B

    183 mm

    C

    215 mm

    D

    It depends on outside pipe diameter


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

  • 第13题:

    当对Draw Width进行设置后,将影响( )。

    A.Line、Circle、Pset方法

    B.Line、Shape控件

    C.Line、Circle、Point方法

    D.Line、Circle、Pset方法和Line、Shape控件


    正确答案:A

  • 第14题:

    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


    正确答案:C

  • 第15题:

    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意为“各种各样的”。

  • 第16题:

    当对DrawWidth进行设置后,将影响()。

    • A、Line、Circle、Pset和Line、Shape控件
    • B、Line、Circle、Pset
    • C、Line、Circle、Poine方法
    • D、Line、Shape控件

    正确答案:C

  • 第17题:

    填空题
    In what area does he lack experience?He has no experience in ____.

    正确答案: market research
    解析:
    从文章的第三段第一句“Although I have had no experience in market research”可知,此处应填market research。

  • 第18题:

    单选题
    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。

  • 第19题:

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

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

  • 第20题:

    单选题
    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项。

  • 第21题:

    单选题
    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.

  • 第22题:

    单选题
    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.

  • 第23题:

    单选题
    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
    解析: 暂无解析

  • 第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项。