CIS 115 CIS115 Week 2 Quiz Answers

CIS 115 CIS115 Week 2 Quiz Answers


BUY HERE

(TCOs 2 and 3) Which symbol would be used in a flowchart for the following statement?
(TCOs 2, 3, and 8) Assume that the variables num and rate are integer variables, anddept is a string variable. Which of the following assignment statements is invalid?
(TCOs 2, 3, and 8) Which is the final value of y at the   of these statements?
            x= 5
            y= 2 * x
            y=
+ 1
(TCOs 2 and 8) Which is a valid assignment statement for the following: Add 2 to x and store the result in z.
(TCOs 3 and 8) Evaluate the following expression.
           10 MOD 3
(TCOs 3 and 8) Evaluate the following expression using the values x = 10, y = 5, and z = 3.
            x – (x / 5) + z
(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.

Comments

Popular posts from this blog

IHP 420: Ethical and Legal Considerations of Healthcare Milestone 1

SNHU DAT 530 Final Project