# Devry CIS 115 Week 2 Quiz Latest

\$12

Category:

## Devry CIS 115 Week 2 Quiz Latest

Question 1

(TCOs 2 and 3) Which symbol would be used in a flowchart for the following statement?

sum = num1 num2

Diamond

Rectangle

Rounded rectangle

Parallelogram

Question 2

(TCOs 2, 3, and 8) Assume that the variables num and rate are integer variables, and dept

is a string variable. Which of the following assignment statements is invalid?

dept = 5

num = 23

num = rate

None of the above

Question 3

(TCOs 2, 3, and 8) Which is the final value of y at the of these statements?

x= 10

y=

x / 2

y=

y * 3

y = 5

y = 2

y = 11

y = 15

Question 4

(TCOs 2 and 8) Which is a valid assignment statement for the following: Add 2 to x and store the result in z.

z = x

z 2 = x

2 x = z

z = x 2

Question 5

(TCOs 3 and 8) Evaluate the following expression.

100 MOD 5

100

20

5

0

Question 6

(TCOs 3 and 8) Evaluate the following expression using the values x = 10, y = 5, and z = 3.

x / y * z

5

10

0.67

6

Question 7

(TCOs 2, 3, and 8) List the inputs and outputs and write the psuedocode to solve the following problem (8 points): The program will prompt the user for miles driven and the gallons of gas used. The program will calculate and display the gas mileage of the car.

DeVry Courses helps in providing the best essay writing service. If you need 100% original papers for Devry CIS 115 Week 2 Quiz Latest, then contact us through call or live chat.

Devry CIS 115 Week 2 Quiz Latest