This document provides guidance and sample problems for associates to practice conditional operations and logical problem solving. It includes 6 observation points for ensuring proper coding practices. Three sample problem scenarios are presented involving: 1) comparing 3 numbers and returning the middle, 2) calculating taxes on product purchases based on tax brackets, and 3) calculating employee gross pay using rates that vary by designation and performance rating. References for additional learning are also listed.
Download as DOC, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
83 views
ProblemSolving ConditionalOperations
This document provides guidance and sample problems for associates to practice conditional operations and logical problem solving. It includes 6 observation points for ensuring proper coding practices. Three sample problem scenarios are presented involving: 1) comparing 3 numbers and returning the middle, 2) calculating taxes on product purchases based on tax brackets, and 3) calculating employee gross pay using rates that vary by designation and performance rating. References for additional learning are also listed.
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2
Course: Core Skills
Module: Problem Solving
Topic: Conditional Operations Faculty Supporting Materials Observation Points 1. Ensure that associates are analyzing the problem before starting with implementation. 2. Ensure that associates are defining the contract and purpose 3. Ensure that associates are not defining the business logic inside main module 4. Ensure that proper naming conventions are followed 5. Ensure that associates are not using read and display in business methods. 6. Ensure that associates are including test cases for boundary values Problem Scenario Problem Characteristics 1. Should involve conditional operations 2. Should involve logical operations 3. Should be extensible and have scope for changes to logic Sample Problem Scenario 1: Write a program that compares 3 numbers, and returns the middle number. Sample Problem Scenario 2: Ezee Shop's billing system calculates the cost of a product as per government tax rules. A tax of 8% for purchase above Rs. 1000/-, a tax of 10% is applicable for purchase above Rs. 5000/-, A tax of 12% is applicable for purchase above Rs. 10000/-. A cess of 2% is applicable on tax amount. If the tax amount is more than Rs. 10000/-, cess will be 5%. Write a program to calculate the total cost of a product based on the given tax and cess rates. Sample Problem Scenario 3: Tech First Solutions has the following pay structure. Gross Pay = Basic Pay + DA + HRA + Performance Pay. Designatio n Junior Engineer Senior Engineer
DA 15% of basic pay 17% of basic pay
HRA 20% of basic pay 23% of basic pay
Performance pay is based on the following criteria
Certified Associate in Project Management (CAPM) Practice Exams: Over 400 Practice Questions of Exam-Level Difficulty with Very Detailed Explanations to Right and Wrong Answers