Assuming that x and y are equal to 3 and 2, respectively, after the statement x -= y executes, the values of x and y will be:

a. x: 5; y: 3
b. x: 3; y: -1
c. x: 3; y: 5
d. x: 1; y: 2


d. x: 1; y: 2

Computer Science & Information Technology

You might also like to view...

Which protocol is responsible for automatic assignment of IP addresses?

A. DNS B. DHCP C. FTP D. SNMP

Computer Science & Information Technology

The proportion of oil to vinegar in a salad dressing is 3:1. How much oil should be mixed with 2 ounces of vinegar?

Let x = amount of oil in oz. x / 2 = 3 / 1 x = 6 oz.

Computer Science & Information Technology

Which of the following can be used preceding a command to prevent a process from terminating when the parent process terminates?

A. bg B. runat C. & D. nohup

Computer Science & Information Technology

ARM’s literature often describes its assembly language instruction syntax in BNF notation. Suppose an instruction is described in BNF as having the syntax:

This|That{B}{S}{,P|Q} Give examples of possible legal instructions using this format.

Computer Science & Information Technology