单选题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?A4B8C12D16E18

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


参考解析

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

相关考题:

阅读下列程序说明和C代码,把应填入其中n处的字句写在对应栏内。【说明】下面的程序能够计算不同图形的面积。程序中把每个图形的数据定义成结构类型,利用共同体类型描述2种图形的数据。程序根据输入参数代表的图形类型,求出图形的面积并输出。【程序】struct Circle{float x,y; /*圆心位置*/float r; /*圆半径*/};struct Rectangle{float width; /*矩形宽*/float length; /*矩形长*/};union shape{struct Circle circle;/*圆数据结构*/struct Rectangle rectangle;/*矩形数据结构*/};main(){union shape a;float area;int i;printf(“input number: 1circle,2rectangle,3 end\n”);scanf("%d",i);while (1) /*循环接收输入,并计算输出*/{switch(i){case 1:printf(“input radius:\n”);scanf(“%f”, (2);/*共同体类型变量接收输入*/area=3.1415926* (3);printf(“the area of circle=%f\n”,area);break;case 2:printf(“input width and length :\n”);seanf(“%f,%f”, (4);/*共同体类型变量接收输入*/。area=(5);printf(“the area of rectangle=%f\n”,area);break;}printf(“input number:1 circle,2 rectangle,3 end\n”);scanf(“%d”,i);}}

阅读以下说明和Java程序,将应填入(n)处的字句写在对应栏内[说明]以下程序的功能时三角形、矩形和正方形的面积输出。程序由5个类组成:areatest是主类,类Triangle,Rectangle和Square分别表示三角形、矩形和正方形,抽象类Figure提供了一个计算面积的抽象方法。[Java程序]public class areatest {public static viod main(string args[]){Figure[]Figures={New triangle(2,3,3),new rectangle(5,8),new square(5)};for(int i=0; i<Figures.length;i++){system.out.println(Figures+"area="+Figures.getarea());}}}public abstract class figure {public abstract double getarea();}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 exends (3){public square(double width){(4);}public string tostring(){return"square:width="+width":";}}public class triangle entends (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 get area(){double s=(la+lb+lc)/2.0;return math.sqrt(s*(s-la)*(s-lb)*(s-lc));}}

阅读以下说明和Java源程序,将应填入(n)处的字句写在对应栏内。【说明】以下程序能够计算三角形、矩形和正方形的周长并输出。程序由5个类组成:AreaTest是主类,类Triangle、Rectangle和Square分别表示三角形、矩形和正方形,抽象类Figure提供了一个计算周长的抽象方法。【程序】public class girthTest{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.length;i++){System.out.println(figures[i]+"girth="+figures[i].getGirth());}}}public abstract class Figure{public abstract double getGirth();}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 getGirth(){return (2);}}public class Square extends (3) {public Square(double width){(4);}public Stdng 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 getGirth(){return la+lab+lc;}}

下面程序运行时输出结果为______。 include include class Rect { public: Rect(int 下面程序运行时输出结果为______。include<iostream.h>includeclass Rect{public:Rect(int l, int w){length=l; width=w;)void Print(){cout<<"Area:"<<length*width<<end1;}void operator delete(void*p){free(p);}private:int length, width;};void main(){Rect *p;p=new Rect(5, 4);p->Print();delete p;}

What is length (width, depth) of Hold No.1?

下面程序运行时输出结果为【】。 include include class Rect { public: Rec 下面程序运行时输出结果为【 】。include<iostream.h>include<malloc.h>class Rect{public:Rect(int1,int w)(length=1;width=w;)void Print(){cout<<"Area:"<<length *width<<endl;)void *operator new(size-t size){return malloc(size);}void operator delete(void *p){free(p)private:int length,width;};void main(){Rect*p;p=new Rect(5,4);p->Print();delete p;}

阅读以下说明和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));}}

下列程序的执行结果为【 】。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)}

有以下程序:include using namespace std;class A{private: int x,y;public: void se 有以下程序: #include <iostream> using namespace std; class A { private: int x,y; public: void set (int i,int j) { x=i; y=j; } int get_y() { return y; } }; class box { private: int length,width; A label; public: void set(int 1,int w, int s,int p) { length=1; width=w; label.set(s,p); } int get_area() { return length*width; } }; int main() { box small; small.set(2,4,1,35); cout<<small.get_area()<<end1; return 0; } 运行后的输出结果是( )。A.8B.4C.35D.70

使用VC6打开考生文件夹下的工程test1_1,此工程包含一个源程序文件test1_1.cpp,但该程序运行有问题,请改正main函数中的错误,使该程序的输出结果如下:Constructor called.Default constructor called.Area is 6Area is 0Area 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();}

请把下面程序补充完整,正确答案是( )。 main( ) { float radius,length,area,volume; printf("Input a radius:"); Scanf("%f",radius); length=2.0*PI*radius; /*引用无参宏求周长*/area=PI*radius*redius; /*引用无参宏求而积*/ volume=PI*radius*radius*radius*3/4; /*引用无参宏求体积*/ printf("length=%.2f,area=%.2f,volume=%.2f\n",length,area,volume); }A.PI=3.1415926B.Const PI=3.14159C.#define PI3.1415926D.Float PI=3.14159

阅读以下说明和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;}}};

What is the maximum number of equal-cost paths that can be configured for RIP on an ERX Edge Router?()A、4B、8C、12D、16

数字带宽的单位是什么()。A、bytes per secondB、bits per secondC、Megabits per secondD、Centimeters

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.

You want to limit the number of Type 7 LSAs to be converted into Type 5 LSAs at an appropriate ARB. Which two commands should you use from the [edit] hierarchy level within the JUNOS software configuration mode?()A、set protocols ospf area-range network/mask-lengthB、set protocols ospf area area-id nssa area-range network/mask-lengthC、set protocols ospf area area-id area-range network/mask-length restrictD、set protocols ospf area area-id nssa area-range network/mask-length restrict

You want to limit the number of Type 7 LSAs to be converted into Type 5 LSAs at an appropriateABR. Which two commands should you use from the [edit] hierarchy level within JUNOS configuration mode?()A、set protocols ospf area-range network/mask-lengthB、set protocols ospf area area-id nssa area-range network/mask-lengthC、set protocols ospf area area-id area-range network/mask-length restrictD、set protocols ospf area area-id nssa area-range network/mask-length restrict

单选题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?A4B8C12D16E18

单选题关于图3.19的叙述()是不正确的。A Rectangle类和Circle类都有名为area的属性,这两个属性一定是相同的属性B Rectangle类和Circle类都有名为getArea的操作,这两个操作一定是相同的操作C Rectangle中名为length的属性和Circle类中名为radius的属性,这两个属性一定是不同的属性D Shape类有一个属性,Circle类有两个属性,Rectangle类有三个属性

单选题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?A10%B50%C70%D75%E80%

单选题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?A20B25C45D50E70

填空题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____

单选题If the length of a wire is halved and the cross-sectional area is doubled, the resistance will be ()AquarteredBunchangedCdoubledDquadrupled

单选题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?A36B42C98D196E218

单选题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?()AThe rectangle drawn will have a total width of 5 pixels.BThe rectangle drawn will have a total height of 6 pixels.CThe rectangle drawn will have a total width of 10 pixels.DThe rectangle drawn will have a total height of 11 pixels.

问答题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.

单选题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?A3/2B2/3C4/9D1/4E9/4

单选题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?A9B15C42D108E44