Problem definition: Calculate the total price to purchase all the components required to build a state-of-the-art gaming computer from components available on the Internet. CPU Intel Core i5-3570K Ivy Bridge 3.4GHz $230 Case Rosewill BLACKHAWK Gaming ATX Mid Tower Computer Case $80 Power supply CORSAIR HX Series HX750 $130 Motherboard GIGABYTE GA-990FXA-UD3 $133 Hard Drive TOSHIBA DT01ACA100 1TB 7200 RPM 32MB Cache $65 Sound Card ASUS Xonar DX 7.1 $90 Graphics Card MSI N650-MD1GD5/OC GeForce
Words: 775 - Pages: 4
cost Output: size of pizza with the lowest cost per inch b. Identify the processing needed to convert the inputs to the outputs. (2 points) Area of each pizza in square inches= pi x (diameter divided by 2)^2 c. Design an algorithm in pseudocode to solve this problem. Make sure to include steps to get each input and generate each output. (4 points) 1. Determine the diameter of first size pizza 2. Determine area of first pizza 3. Determine cost per square inch of first pizza 4. Determine
Words: 805 - Pages: 4
Program Description: The program I’m creating is going to be utilized to determine the usable surface area of each room in a four-room house and then calculate the usable square footage of the house as a whole. Analysis: To start this program, I needed to come up with a plan or blueprint. I utilized the Modular Approach to break this down into smaller parts. The main module is the solution to the problem; determine the square footage of a four-bedroom house with the all rooms being rectangles
Words: 843 - Pages: 4
Lab 9 Functions and Input Validation Lab 9.1 Writing Your Own Function that Returns an Integer Step 1: A function contains three parts: a header, a body, and a return statement. The first is a function header which specifies the data type of the value that is to be returned, the name of the function, and any parameter variables used by the function to accept arguments. The body is comprised of one or more statements that are executed when the function is called. In the following space, complete
Words: 1005 - Pages: 5
COSC 5313-01 Analysis of Algorithms Instructor: Jing Zhang Assignment #3 Due: 23:59:00, 04/06/2016 Name : sai kishen thentu LUID : L20398443 Date : 04/06/2016 1. Write pseudocode for RIGHT-ROTATE. Answer: RIGHT-ROTATE (T, x) Y = x.left x.left = y.right //set y // turn y’s right subtree into x’s left subtree if y.right != T.nil y.right.p = x y.p = x.p if x.p == T.nil T.root = y elseif x == x.p.right x.p.right = y else x.p.left = y y.right = x x.p = y // link x’s parent to y //put x
Words: 836 - Pages: 4
Preface C++ 3e.fm Page iii Monday, July 16, 2001 1:44 PM PREFACE Welcome to the third edition of Data Abstraction and Problem Solving with C++: Walls and Mirrors. Since the publication of the second edition, we all have gained experience with teaching data abstraction in an objectoriented way using C++. This edition reflects that experience and the evolution that C++ has taken. This book is based on the original Intermediate Problem Solving and Data Structures: Walls and Mirrors by Paul
Words: 6423 - Pages: 26
MIS505: Essentials of Information Systems Programming Due Date: Wednesday September 16 @ 11:59 PM Complete Chapter 2 Review Questions 1-20 (20 POINTS) 1. What does a declaration provide for a variable? o a. a name o b. a data type o c. both of the above o d. none of the above 2. A variable's data type describes all of the following except __________. a. what values the variable can hold b. how the variable is stored in memory c. what operations can be performed
Words: 1104 - Pages: 5
Contents 1 Introduction 1.1 What this book is, and what it isn’t . . . 1.2 Assumed knowledge . . . . . . . . . . . . 1.2.1 Big Oh notation . . . . . . . . . . 1.2.2 Imperative programming language 1.2.3 Object oriented concepts . . . . . 1.3 Pseudocode . . . . . . . . . . . . . . . . . 1.4 Tips for working through the examples . . 1.5 Book outline . . . . . . . . . . . . . . . . 1.6 Testing . . . . . . . . . . . . . . . . . . . 1.7 Where can I get the code? . . . . . . . . . 1.8 Final messages
Words: 23014 - Pages: 93
program are: ComponentsCost, TotalCost, A to Q, Yes or No The output for the program is TotalCost As Float. B. Program Design – Following the directions in the assignment, clearly write up your problem design in this section and comment your pseudocode. Main Module Declare MotherboardCost, CpuChoiceCost, SounCardCost, GraphicsCardCost, CaseCost, MonitorCost, PowerSupplyCost, DVDDriveCost, HardDriveCost, RAMChoiceCost, OperatingSystemCost AS Character Declare A to R As Integer Display a Welcome
Words: 955 - Pages: 4
Specific Objectives 1stand 2ndWeek Introduction in Programming Learn how to analyze and design a program To understand the basic of Programming Topic Algorithms Programming Language Levels Steps in writing a Program Programming Techniques Pseudocode Flowchart Teaching-Learning Strategies Lecture with Hands-On Exercises Tools/Aid Blackboard Handouts Multimedia Presentation Evaluation Assignment Recitation Seatwork Quizzes Machine Problem or Case Study 3rdWeek Introducing C++
Words: 952 - Pages: 4