# C1S115 Sample Quiz Week 4 – Guaranteed A+ Solution

``` Quiz Price = \$7 Please feel free to send us your queries at: [email protected] Payment methods <!-- function EJEJC_lc(th) { return false; } // --> ```
``` Problem Statement 1. Given the following IF structure: Assume that A = 7, B = 7, C = 11. What will be the output? 2. Assume a store gives a discount for senior citizens according to the following criteria: 10% discount to senior citizens who are between 55 and 74 15% discount for customers who are between 56 and 75 years old 20% discount for customers older than 75 Write a pseudocode algorithm that will print the amount of money owed. Use structured pseudocode as demonstrated in the lectures for code, ensure all variables are declared, prompt the user for the appropriate input, and display a meaningful output message. Make sure that the total purchase is greater than 0. Relevant Material CIS115 All Labs CIS115 Lab 2 CIS115 Lab 3 CIS115 Lab 4 CIS115 Lab 5 CIS115 Lab 6 CIS115 Lab 7 CIS115 All Exercises CIS115 Exercise 1 CIS115 Exercise 2 CIS115 Exercise 3 CIS115 Exercise 4 CIS115 Exercise 5 CIS115 Exercise 6 CIS115 Exercise 7 CIS115 Sample Quiz 3 CIS115 Sample Quiz 4 CIS115 Sample Quiz 5 CIS115 Sample Quiz 6 CIS115 Sample Quiz 6 (New) CIS115 Sample Quiz 7 - Avg. Temp CIS115 Sample Quiz 7 - Scholarship CIS115 Sample Quiz 7 - Student score CIS115 Sample Quiz 7 - Compute Grade CIS115 Solved Final Exam 1 CIS115 Solved Final Exam 2 CIS115 Solved Final Exam 3 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 [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 Quiz Price = \$7 Please feel free to send us your queries at: [email protected] Payment methods ```
``` ```
``` Leave a Reply document.addEventListener('DOMContentLoaded', function () { var commentForms = document.getElementsByClassName('jetpack_remote_comment'); for (var i = 0; i < commentForms.length; i++) { commentForms[i].allowTransparency = false; commentForms[i].scrolling = 'no'; } }); Copyright © 2023. IqraJavaid's Tutorial Powered By WordPress and Silver Quantum /* <![CDATA[ */ var silverQuantumScreenReaderText = {"expand":"<span class=\"screen-reader-text\">expand child menu<\/span>","collapse":"<span class=\"screen-reader-text\">collapse child menu<\/span>"}; /* ]]> */ (function () { var comm_par_el = document.getElementById( 'comment_parent' ), comm_par = ( comm_par_el && comm_par_el.value ) ? comm_par_el.value : '', frame = document.getElementById( 'jetpack_remote_comment' ), tellFrameNewParent; tellFrameNewParent = function () { if ( comm_par ) { frame.src = "https://jetpack.wordpress.com/jetpack-comment/?blogid=167241080&postid=2165&comment_registration=0&require_name_email=1&stc_enabled=0&stb_enabled=0&show_avatars=1&avatar_default=mystery&greeting=Leave+a+Reply&jetpack_comments_nonce=add829d0df&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_US&jetpack_version=11.9.1&show_cookie_consent=10&has_cookie_consent=0&token_key=%3Bnormal%3B&sig=f22bb23b1170928d2f8b8d2c52cf34263a14f6f1#parent=https%3A%2F%2Fiqrajavaid.com%2Fc1s115-sample-quiz-week-4-guaranteed-a-solution%2F" + '&replytocom=' + parseInt( comm_par, 10 ).toString(); } else { frame.src = "https://jetpack.wordpress.com/jetpack-comment/?blogid=167241080&postid=2165&comment_registration=0&require_name_email=1&stc_enabled=0&stb_enabled=0&show_avatars=1&avatar_default=mystery&greeting=Leave+a+Reply&jetpack_comments_nonce=add829d0df&greeting_reply=Leave+a+Reply+to+%25s&color_scheme=light&lang=en_US&jetpack_version=11.9.1&show_cookie_consent=10&has_cookie_consent=0&token_key=%3Bnormal%3B&sig=f22bb23b1170928d2f8b8d2c52cf34263a14f6f1#parent=https%3A%2F%2Fiqrajavaid.com%2Fc1s115-sample-quiz-week-4-guaranteed-a-solution%2F"; } }; if ( 'undefined' !== typeof addComment ) { addComment._Jetpack_moveForm = addComment.moveForm; addComment.moveForm = function ( commId, parentId, respondId, postId ) { var returnValue = addComment._Jetpack_moveForm( commId, parentId, respondId, postId ), cancelClick, cancel; if ( false === returnValue ) { cancel = document.getElementById( 'cancel-comment-reply-link' ); cancelClick = cancel.onclick; cancel.onclick = function () { var cancelReturn = cancelClick.call( this ); if ( false !== cancelReturn ) { return cancelReturn; } if ( ! comm_par ) { return cancelReturn; } comm_par = 0; tellFrameNewParent(); return cancelReturn; }; } if ( comm_par == parentId ) { return returnValue; } comm_par = parentId; tellFrameNewParent(); return returnValue; }; } // Do the post message bit after the dom has loaded. document.addEventListener( 'DOMContentLoaded', function () { var iframe_url = "https:\/\/jetpack.wordpress.com"; if ( window.postMessage ) { if ( document.addEventListener ) { window.addEventListener( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } frame.style.height = event.data + 'px'; }); } else if ( document.attachEvent ) { window.attachEvent( 'message', function ( event ) { var origin = event.origin.replace( /^http:\/\//i, 'https://' ); if ( iframe_url.replace( /^http:\/\//i, 'https://' ) !== origin ) { return; } frame.style.height = event.data + 'px'; }); } } }) })(); _stq = window._stq || []; _stq.push([ 'view', {v:'ext',blog:'167241080',post:'2165',tz:'0',srv:'iqrajavaid.com',j:'1:11.9.1'} ]); _stq.push([ 'clickTrackerInit', '167241080', '2165' ]); ```