C1S115 Sample Quiz Week 3 – Guaranteed A+ Solution
A <> C
FALSE2.
() Evaluate each of the following conditions (as being TRUE or FALSE). Assume E = 3, F = 6, G = 3, H = 18.
NOT (H > 20)
TRUE
3. () Evaluate each of the following conditions (as being TRUE or FALSE). Assume A = 6, B = 6, C = 3, D = 18.
((A = B) OR (B = 4)) AND ((C = 3) OR (D = 18))
4. () Given the following IF structure, and assume B = 7. What will be the output?
5. () Given the following IF structure, and assume B = 100. What will be the output?
6. () What will be displayed after the following process is completed?
Start
Set w = 0
Set x = 3
Set y = 1
Set z = 1
If ((x = 1) AND (y = 1) AND (z = 1)) then
Set ans = “True”
Else
Set ans = “False”
End if
Display ans
Stop
7. () What will be displayed after the following process is completed?
Start
Set w = 0
Set x = 3
Set y = 2
Set z = 3
If ((x = 1) OR (y = 1) OR (z = 1)) then
Set ans = “T”
Else
Set ans = “F”
End if
Display ans
Stop
8.) What will be displayed after the following process is completed?
Start
Set w = 0
Set x = 1
Set y = 2
Set z = 3
If ((w <> 0 OR x = 1) AND (y = 2 AND z <> 3)) then
Set ans = “T”
Else
Set ans = “F”
End if
Display ans
Stop
9. () What will be displayed after the following process is completed?
Start
Set w = 0
Set x = 2
Set y = 2
Set z = 3
If ((w <> 0 OR x = 1) AND (y = 2 OR z <> 3)) then
Set ans = “True”
Else
Set ans = “False”
End if
Display ans
Stop
10.
() What will be displayed after the following process is completed?
Start
Set code = “B”
Set dept = 40
If (code = “B” AND dept >= 10) OR (dept <= 30) then
Set message = “valid department”
Else
Set message = “invalid department”
End if
Display message
Stop
* 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 ***************************************************
Any personal information received will only be used to fill your order. We will not sell or redistribute your information to anyone.
We will try our best to resolve the issue and if still persists we can discuss for a refund in case its required.