单选题Line l passes through the origin and is perpendicular to the line given by the equation 2x + y = 8. Which of the following points is NOT on line l?A(-4, -2)B(-1,1)C(2,1)D(4,2)E(7,3.5)

单选题
Line l passes through the origin and is perpendicular to the line given by the equation 2x + y = 8. Which of the following points is NOT on line l?
A

(-4, -2)

B

(-1,1)

C

(2,1)

D

(4,2)

E

(7,3.5)


参考解析

解析:
2x+y=8,所以y =-2x + 8,因为函数是斜截式且斜率为-2。垂直于x-y平面的的直线的斜率互为反倒数。所以斜率Line1的斜率为1/2,又因为Line l经过原点且与y =-2x + 8垂直。所以Line 1为y =(1/2)x。以上四个选项中可知只有B点在Line l上。

相关考题:

In line 2 (Pare. 2), the word "it" refers to which of the following phrases?A. "the intention" (line 1)B. "the collection" (line 1)C. "one member" (line 1)D. "each flower family" (line 1)

Given:Which code, inserted at line 15, creates an instance of the Point class defined in Line?() A.Point p = new Point();B.Line.Point p = new Line.Point();C.The Point class cannot be instatiated at line 15.D.Line l = new Line() ; l.Point p = new l.Point();

Given:When the doSomething method is called, after which line does the Object created in line 5 become available for garbage collection?() A.Line 5B.Line 6C.Line 7D.Line 8E.Line 9F.Line 10

Given:WhichchangecanyoumaketoTargetwithoutaffectingClient?() A.Line4ofclassTargetcanbechangedtoreturni++;B.Line2ofclassTargetcanbechangedtoprivateinti=1;C.Line3ofclassTargetcanbechangedtoprivateintaddOne(){D.Line2ofclassTargetcanbechangedtoprivateIntegeri=0;

Given:Which code, inserted at line 16, correctly retrieves a local instance of a Point object?() A.Point p = Line.getPoint();B.Line.Point p = Line.getPoint();C.Point p = (new Line()).getPoint();D.Line.Point p = (new Line()).getPoint();

Given the following code:     1) public void modify() {     2) int i, j, k;     3) i = 100;     4) while ( i  0 ) {     5) j = i * 2;  6) System.out.println (" The value of j is " + j );     7) k = k + 1;     8) i--;     9) }  10) }  Which line might cause an error during compilation?()   A、 line 4B、 line 6C、 line 7D、 line 8

Given the following code fragment:      1) String str = null;  2) if ((str != null)  (str.length()  10)) {     3) System.out.println("more than 10");     4) }  5) else if ((str != null)  (str.length()  5)) {     6) System.out.println("less than 5");     7) }  8) else { System.out.println("end"); }   Which line will cause error?()    A、 line 1B、 line 2C、 line 5D、 line 8

Given the following code fragment:     public void create() {     Vector myVect;     myVect = new Vector();      }  Which of the following statements are true?() A、 The declaration on line 2 does not allocate memory space for the variable myVect.B、 The declaration on line 2 allocates memory space for a reference to a Vector object.C、 The statement on line 2 creates an object of class Vector.D、 The statement on line 3 creates an object of class Vector.E、 The statement on line 3 allocates memory space for an object of class Vector.

Given the following code:     1) class Parent {     2) private String name;     3) public Parent(){}     4) }  5) public class Child extends Parent {     6) private String department;  7) public Child() {}  8) public String getValue(){ return name; }     9) public static void main(String arg[]) {     10) Parent p = new Parent();     11) }  12) }  Which line will cause error?()   A、 line 3B、 line 6C、 line 7D、 line 8E、 line 10

Which is the earliest line in the following code after which the object created on the line marked (0) will be a candidate for being garbage collected, assuming no compiler optimizations are done? ()  public class Q76a9 {   static String f() {   String a = "hello";   String b = "bye"; // (0)   String c = b + "!"; // (1)   String d = b;  b = a; // (2)   d = a; // (3)   return c; // (4)  }   public static void main(String args[]) {   String msg = f();   System.out.println(msg); // (5)   }   }  A、The line marked (1).B、The line marked (2).C、The line marked (3).D、The line marked (4).E、The line marked (5).

多选题Which of the following equations are for lines which are perpendicular to the line y=2x+4?A2y +x = 5B2y –x = 3Cx + 2y = 7Dx – 2y = 4E4y +2x = 0

单选题Given: Which line of code marks the earliest point that an object referenced by intObj becomes a candidate for garbage collection?()A Line 16B Line 17C Line 18D Line 19

单选题设窗体上有2个直线控件Line1和Line2,若使两条直线相连接,需满足的条件是(  )。ALine1.X1=Line2.X2且Line1.Y1=Line2.Y2BLine1.X1=Line2.Y1且Line1.Y1=Line2.X1CLinel.X2=Line2.X1且Line1.Y1=Line2.Y2DLine1.X2=Line2.X1且Line1.Y2=Line2.Y2

单选题Given the following code:     1) class Parent {     2) private String name;     3) public Parent(){}     4) }  5) public class Child extends Parent {     6) private String department;  7) public Child() {}  8) public String getValue(){ return name; }     9) public static void main(String arg[]) {     10) Parent p = new Parent();     11) }  12) }  Which line will cause error?()A line 3B line 6C line 7D line 8E line 10

单选题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 ?Ay=3x+2By=2x+1Cy=-x+5Dy=-2Ey=-6

单选题If a line is perpendicular to the line 2x + 6y = 18, what is its slope?A-1/3B1/3C-3D3E1/2

问答题In the xy plane, is the point (4, -2) on the line l?  (1) Point (1, 1) is on line l.  (2) The equation x=2-y describes line l.

单选题Given:  Which code, inserted at line 15, creates an instance of the Point class defined in Line?()A  Line l = new Line() ; l.Point p = new l.Point();B  Line.Point p = new Line.Point();C  The Point class cannot be instatiated at line 15.D  Point p = new Point();

单选题Given: When the doSomething method is called, after which line does the Object created in line 5 become available for garbage collection?()A Line 5B Line 6C Line 7D Line 8E Line 9F Line 10

多选题Given the following code fragment:     public void create() {     Vector myVect;     myVect = new Vector();      }  Which of the following statements are true?()AThe declaration on line 2 does not allocate memory space for the variable myVect.BThe declaration on line 2 allocates memory space for a reference to a Vector object.CThe statement on line 2 creates an object of class Vector.DThe statement on line 3 creates an object of class Vector.EThe statement on line 3 allocates memory space for an object of class Vector.

单选题The equator is().Athe primary great circle of the Earth perpendicular to the axisBthe line to which all celestial observations are reducedCthe line from which a celestial body's altitude is measuredDAll of the above

单选题Given the following code fragment:      1) String str = null;  2) if ((str != null)  (str.length()  10)) {     3) System.out.println("more than 10");     4) }  5) else if ((str != null)  (str.length()  5)) {     6) System.out.println("less than 5");     7) }  8) else { System.out.println("end"); }   Which line will cause error?()A line 1B line 2C line 5D line 8

单选题Which is the earliest line in the following code after which the object created on the line marked (0) will be a candidate for being garbage collected, assuming no compiler optimizations are done? ()  public class Q76a9 {   static String f() {   String a = "hello";   String b = "bye"; // (0)   String c = b + "!"; // (1)   String d = b;  b = a; // (2)   d = a; // (3)   return c; // (4)  }   public static void main(String args[]) {   String msg = f();   System.out.println(msg); // (5)   }   }AThe line marked (1).BThe line marked (2).CThe line marked (3).DThe line marked (4).EThe line marked (5).

单选题55. int []x= {1, 2,3,4, 5};  56. int y[] =x;  57. System.out.println(y[2]);  Which is true?()A Line 57 will print the value 2.B Line 57 will print the value 3.C Compilation will fail because of an error in line 55.D Compilation will fail because of an error in line 56.

单选题Line l passes through the origin and is perpendicular to the line given by the equation 2x + y = 8. Which of the following points is NOT on line l?A(-4, -2)B(-1,1)C(2,1)D(4,2)E(7,3.5)

单选题Given: Which is true?()A If line 10 is removed, the compilation succeeds.B If line 11 is removed, the compilation succeeds.C If line 12 is removed, the compilation succeeds.D If line 13 is removed, the compilation succeeds.E More than one line must be removed for compilation to succeed.

单选题Given the following code:     1) public void modify() {     2) int i, j, k;     3) i = 100;     4) while ( i  0 ) {     5) j = i * 2;  6) System.out.println (" The value of j is " + j );     7) k = k + 1;     8) i--;     9) }  10) }  Which line might cause an error during compilation?()A line 4B line 6C line 7D line 8

多选题Which of the following points are on the straight line through (1, 4) and (3, -2)? (Indicate all of the answer choices that apply.)A(2, 1)B(0, 5)C(4, -5)D(-1, 8)E(15, 5)