CIS170A Week 3 Quiz – Study Guide – 100% score for this study guide

Lab Price = $9
Please feel free to send us your queries at: [email protected]
P.S: This is just a study guide. The questions may not appear exactly like this.
Payment methods

Add to Cart

Buy Now

View Cart

Problem Statement

1. What is the decision symbol in a flow chart?

• Square
• Rectangle
• Circle
• Diamond

2. Which of the following expressions uses a relational operator?

• x + y
• x >= y
• x AND y
• x % y

3. A conditional expression is also known as a _____ expression or statement.

• relational
• Boolean
• logical
• mathematical

4. A _____ statement can be used to choose between several actions without using an If statement.

• complex
• select
• blocking
• choice

5. Hitting F8 after a breakpoint invokes what action?

• Program execution finds runtime errors.
• Program execution stops.
• Program execution resets the values of all variables.
• Program execution steps to the next line of code.

6. What is the first technique that a programmer should employ to check his or her code for logic errors?

• Compare expected results to those actually produced by the program.
• Compile the program and see if there are errors reported by the compiler.
• Do a program walk-through with your programming peers.
• Include Try…Catch statements in all critical statements.

7. What is the purpose of function Debug – Windows – Autos in Visual Studio?

• Activate the automatic syntax checker of the compiler.
• Auto Select all variables that may have erroneous values and display them.
• Automatically discover possible runtime errors in the code.
• Observe and change the values of variables.

8. Which statement regarding these two sets of code is true?
If z = 10 Then
If x = 11 Then
End If
End If
If z = 10 Or x = 11 Then
End If

• The two sets of code are NOT equivalent and do different things.
• The condition statement in “a” is not valid.
• “a” and “b” will produce the same outputs.
• “b” is not a valid set of Visual Basic instructions.

9. When using the logical operator “Or,” what part of the expression must be true so that the entire expression is evaluated as true?

• Only the right portion
• Only the left portion
• Either the left or right portion
• Either the left or right portion, but not both

10. Suppose that the selector in a Select Case block is the string variable strValue. Which of the following is NOT a valid Case clause?

• Case strValue.Substring(0, 1)
• Case “Adams”
• Case strValue.Length
• Case “739”

11. Using If…Then…Else statements, write code calculate sales bonus to be paid to salespersons selling widgets, considering the following tiers:

Sales between $0 and $5,000: 1% bonus
Sales between $5,001 and $10,000: 3% bonus
Sales over $10,000: 5% bonus

Assume the salesperson’s total sales value stored in a variable totalSales and is always greater than zero, and a salesBonus variable has been declared.

Relevant Material
* 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 [email protected].
* As soon as the payment is received, download link of the solution will automatically be sent to the address used in selected payment method.
* Please check your junk mails as the download link email might go there and please be patient for the download link email. Sometimes, due to server congestion, you may receive download link with a delay.
* 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 [email protected] 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.
* In case of any query, please donot hesitate to contact us at [email protected].
* MOST IMPORTANT Please use the tutorials as a guide and they need NOT to be used for any submission. Just take help from the material.
******************************************** Good Luck ***************************************************
Privacy Policy
We take your privacy seriously and will take all measures to protect your personal information.
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
Refund Policy
Incase you face any issues with the tutorial, please free to contact us on [email protected]
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.
Payment Details
Lab Price = $9
Please feel free to send us your queries at: [email protected]

Payment methods

Add to Cart

Buy Now

View Cart

Leave a Reply