Question: 1. Dividing by 0 is a ______error in a program. A. syntax error B. logic error C. run-time error D. none of these 2. Assume

1. Dividing by 0 is a ______error in a program.

A. syntax error B. logic error C. run-time error D. none of these

2. Assume x = 4, and y =5. What is the value z after the following assignment statement?

z = x+2 *y -x/2;

A. 14. B. 12 C. 28 D. 9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!