# CIS115 Week 2 Quiz – Study Guide – 100% score for this study guide

Lab Price = \$9
P.S: This is just a study guide. The questions may not appear exactly like this.
Payment methods

Problem Statement

1- What symbol would be used in a flowchart for the following statement?
Display sum

• Parallelogram
• Diamond
• Rectangle
• Rounded rectangle

2- Assume that the variables num and rate are integer variables, and dept is a string variable. Which of the following assignment statements is invalid?

• 25 = num
• num = rate
• dept = “sales”
• All of the above are valid.

3- What is the final value of y at the end of these statements?
x = 10
y = x – 3
y = y + 1

4- Write a valid assignment statement for the following: Add xand y and store the result in sum.

5- Evaluate the following expression.
20 MOD 7

6- Evaluate the following expression using the values x = 10,y = 5, and z = 3.
xMOD y + z

7- List the inputs and outputs and write the psuedocode to solve the following problem (8 points): The program will prompt the user for the length and width of a room. The program will calculate and display the area of the room.

Relevant Material
Instructions
* If you want to purchase multiple products then click on “Buy Now” button which will give you ADD TO CART option.Please note that the payment is done through PayPal.
* You can also use 2CO option if you want to purchase through Credit Cards/Paypal but make sure you put the correct billing information otherwise you wont be able to receive any download link.
* Your paypal has to be pre-loaded in order to complete the purchase or otherwise please discuss it with us at support@iqrajavaid.com.
* All the contents are compressed in one zip folder.
* In case if you get stuck at any point during the payment process, please immediately contact us at support@iqrajavaid.com and we will fix it with you.
* We try our best to reach back to you on immediate basis. However, please wait for atleast 8 hours for a response from our side. Afterall, we are humans.
* Comments/Feedbacks are truely welcomed and there might be some incentives for you for the next lab/quiz/assignment.