To assign a value 1 to variable x, you write

a. 1 = x;
b. x = 1;
c. x := 1;
d. 1 := x;
e. x == 1;


b. x = 1;

Computer Science & Information Technology

You might also like to view...

Which of the following statements draws an arc that sweeps from the top of an oval to the leftmost edge?

a. g.drawArc(200, 100, 100, 50, 90, 90); b. g.drawArc(100, 200, 50, 100, 90, 180); c. g.drawArc(100, 200, 50, 100, 180, 90); d. g.drawArc(200, 100, 100, 50, 180, 90);

Computer Science & Information Technology

When you are searching for a numbered street address on Maple, but aren't sure whether it's Maple Avenue, Maple Street, or Maple Way, which of the following criteria would you use?

A) Maple* B) Maple C) *Maple* D) ???Maple*

Computer Science & Information Technology

What is FIFO?

a. First In First Out – queue input/output behavior. b. Such a term doesn't exist in programming. c. First In First Out – stack input/output behavior. d. It's a way how tasks are queued to be picked up by the processor.

Computer Science & Information Technology

When a router connects to and communicates over the Internet, it has a(n) ________ IP address that is routable over the Internet.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology