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

Lab Price = $9
Please feel free to send us your queries at: support@iqrajavaid.com

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. Which of the following is NOT a characteristic of variables?
• Declaration
• Initialization
• Span
• All of the above
2. Which of the following is NOT a valid VB data type?
• Char
• String
• Byte
• Letter
3. Which arithmetic operator has highest precedence?
• Division
• Modulus
• Addition
• Subtraction
4. Which of the following is an ILLEGAL multiple declaration?
• Dim var1, var2 As Double
• Dim var1 as Double, var2 as Integer
• Dim var2 as Double = 2, var2 as Integer = 7
• Dim var1 as Double var2 as Integer = 7

5. The proper arithmetic operator precedence, from first to last, is _____.

• subtraction, addition, and multiplication
• addition, subtraction, and multiplication
• exponentiation, division, and subtraction
• exponentiation, addition, and division
6. Which of the following is a Visual Basic built-in data type?
• Date
• Integer
• Double
• Boolean
• All of the above
7. To continue a long statement on another line, use _____.
• Ctrl + Enter
• an ampersand character
• a space followed by an underscore character
• There are no special characters required, just add a new line.
8. Assume that x, y, and temp are Integer variables. Which of the following lines of code swaps the values of x and y?

• temp = x
x = y
y = temp

• x = y
temp = x
y = temp

• x = y
y = x

• x = temp
x = y
y = temp

9. When the correct arithmetic operator precedence rules are applied, what will be the value of the following expression? 5 * 6 / 2 + 1

• 16
• 15
• 10
• 31
10. What will be the contents of the variable y after the following statement is executed? y = Math.Abs(((7 – 9) / 2) – 4)

• 1
• 5
• -1
• -5

11. Write statements that produce a message in the console with the words “US Motto” on one line and the message “E PLURIBUS UNUM” on a second line.

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.
* 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 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.
* In case of any query, please donot hesitate to contact us at support@iqrajavaid.com.
* 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 support@iqrajavaid.com
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: support@iqrajavaid.com

Payment methods

Add to Cart

Buy Now

View Cart