This website uses cookies to ensure you have the best experience. Learn more

The Computer Component Calculator Essay

927 words - 4 pages

Assignment 2 - 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.

Analysis

Input: the user’s choice for motherboard, CPU, and hard drive.

Process: The program will know the predetermined costs of the other components, BaseCost.
The input consists of the CPU choice, the motherboard choice, and hard drive choice submodules, CPU_Choice, MB_Choice, and HDD_Choice. The user will enter a choice for an option.
The program will determine the corresponding cost of the options: CPUCost, MBCost, and HDDCost.
The total cost of the computer system is calculated by the sum of all the ...view middle of the document...

Alexander 20140223

//Declare variables used for total
Declare CPUCost as Float
Declare MBCost as Float
Declare HDDCost as Float
Declare BaseCost as Float
Declare TotalSystemCost as Float

//Declare variables used for base cost
Declare CaseCost as Float
Declare PowerSupplyCost as Float
Declare RAMCost as Float
Declare DVDCost as Float
Declare SoundCardCost as Float
Declare MonitorCost as Float
Declare GraphicsCardCost as Float
Declare OperatingSystemCost as Float

//Calculate base computer cost
Set CaseCost = 150.00
Set PowerSupplyCost = 235.00
Set RAMCost = 599.99
Set DVDCost = 145.00
Set SoundCardCost= 275.50
Set MonitorCost = 499.99
Set GraphicsCardCost = 376.99
Set OperatingSystemCost = 199.99
//BaseCost will be $2482.46
Set BaseCost= CaseCost + PowerSupplyCost + MotherboardCost + HardDriveCost + RAMCost + DVDCost + SoundCardCost + MonitorCost + GraphicsCardCost + OperatingSystemCost

//Display welcome message
Write “The Computer Component Calculator”
Write “The Current Price Of Your Computer: $ ” + BaseCost
Write “Make Your Selection From The Following Menus”

//Declare variable used for main menu
Declare Choice As Integer

//Display main menu
Write “To Select A CPU………………………..enter 1”
Write “To Select A Motherboard…………….....enter 2”
Write “To Select A Hard Drive…………………enter 3”
Write “To Quit…………………………………..enter 4”
Input Choice

//Options the user can enter to navigate
Select Case of Choice
Case “1”:
Call CPU_Choice submodule
Break
Case “2”:
Call MB_Choice submodule
Break
Case “3”:
Call HDD_Choice submodule
Break
Case “4”:
Write “Goodbye”
Break
Default:
Write ”Your Response Was Invalid”
End Case

//User choice for CPU
Call CPU_Choice module

//User choice for Motherboard
Call MB_Choice module

//User choice for Hard Drive
Call HDD_Choice module

//Display the output results
Call Display_TotalSystemCost
//Calculate total computer cost
Set TotalSystemCost = CPUCost + MBCost + HDDCost + BaseCost

End//End Main

Submodule CPU_Choice

Clear Screen
//This module prompts the user to enter a choice
//The menu displays the choices

Declare CPUChoice As Character

//Display the menu
//Prompt user for the...

Other Papers Like The Computer Component Calculator

Intro To Computers Essay

916 words - 4 pages ? * Central Processing Unit (CPU)‏ Also called a processor The electronic component that interprets and carries out the basic instructions that operate the computer * Memory Consists of electronic components that store instructions waiting to be executed and data needed by those instructions What is storage? * Holds data, instructions, and information for future use * Storage media Physical material on which data

Computer Since Essay

1049 words - 5 pages calculator, in 1642. In 1673, Gottfried Leibniz demonstrated a digital mechanical calculator, called the Stepped Reckoner. He may be considered the first computer scientist and information theorist, for, among other reasons, documenting the binary number system. In 1820, Thomas de Colmar launched the mechanical calculator industry when he released his simplified arithmometer, which was the first calculating machine strong enough and reliable enough to

Computers

1404 words - 6 pages the work being processed. Including work and data which is sent through the motherboard to the Central Processor unit (CPU). The computer has to hold memory also to save things within computers. The Ram is a major component in saving information but only works when the computer, is running. The reason a Ram is used is to save and store information,so that when it is being worked on it wont be erased. A Computer also has external and internal

History of Computer

1202 words - 5 pages used Jacquard’s punched cards. ELECTRONICS ERA 1900-1964 In 1926, Dr. Julius Edgar Lilienfield from New York filed for a patent on a transistor. Konrad Zuse, a German engineer, completes the 1st general purpose programmable calculator in 1941. Colossus, a British computer used for code-breaking, is operational by the end of 1943. ENIAC (Electronic Numerical Integrator Analyzor and Computer) is developed by Ballistics Research Lab in Maryland

Increasing Computer Crime

288 words - 2 pages largest of which is known as the InterNet. A complex web of communications inter-linking millions of computers together -- and this number is at least doubling every year. The computer was originally designed as a scientific and mathematical tool, to aid in performing intense and precise calculations. However, from the large, sixty square foot ENIAC (Electronical Numerical Integrator and Calculator) of 1946, to the three square foot IBM PC of today, their uses have mutated and expanded far beyond

A Short History of the Internet

2002 words - 9 pages A short History of the Internet The Information superhighway (worldwide digital data networks) is an apt name for today’s computer communication systems for many reasons. One is historical. The superhighway’s primary component, the Internet, is an outgrowth of the Cold War. In the 1950s President Dwight Eisenhower ordered a system of high-speed roads built. He based his vision on the German highway system which had allowed the Nazis to move

Organization Behaviour

1970 words - 8 pages with transistors and as a result the size of calculators became too small. The modern electronic calculator can compute all kinds of mathematical computations and mathematical functions. It can also be used to store some data permanently. Some calculators have in-built programs to perform some complicated calculations. You know that the evolution of computer started from 16th century and resulted in the form that we see today. The present day

Brief over View

701 words - 3 pages recorder = 30800 Present total contribution margin 250 calculator x 100$ per calculator = 25000 Increase in total contribution margin 5800 According to the analysis the higher quality component should be used. Since fixed cost will not change, 5800 increase in the contribution margin shown above resulted in increase in net income. 3 CHANGE IN FIXED COST, SALES PRICE AND SALES VOLUME According to original data the company is

Computer - What Is It?

1977 words - 8 pages  Thomas Aquinas, terrified by his machine, destroyed it).[10] In 1642, the Renaissance saw the invention of the mechanical calculator,[11] a device that could perform all four arithmetic operations without relying on human intelligence.[12] The mechanical calculator was at the root of the development of computers in two separate ways. Initially, it was in trying to develop more powerful and more flexible calculators[13] that the computer was first

Hewlett-Packard Analysis

1700 words - 7 pages $71.50 each) for use in testing the Fantasound stereophonic sound system for the movie Fantasia. HP is acknowledged by Wired magazine as the producer of the world's first personal computer, in 1968, the Hewlett-Packard 9100A. HP called it a desktop calculator because, as

Information Management

1562 words - 7 pages ,[9] and it was not until 1645 that the first mechanical calculator capable of performing the four basic arithmetical operations was developed.[10] Electronic computers, using either relays or valves, began to appear in the early 1940s. The electromechanical Zuse Z3, completed in 1941, was the world's first programmable computer, and by modern standards one of the first machines that could be considered a complete computing machine. Colossus

Related Essays

Rechargeable Calculator With Mp3 Essay

569 words - 3 pages Datamex Institute of Computer Technology RECHARGEABLE CALCULATOR W/ MP3 Submitted by: Albento Maricel Submitted to: Mr. Aris D. Artates Instructor Table of Contents Title Page I. Introduction………. 1 II. Overview……………2 III. How to Use Rechargeable Calculator w/ MP3… 4 IV. Handling Precaution.. 7 V. Trouble Shooting……..8 i And do not try to fix the damage because this may cause

Computer Differences Essay

883 words - 4 pages Comments You can subscribe by RSS or Email to receive the latest news and breaking stories. Enter your email... Sign up Difference Between Computer and Calculator Posted on Feb 25th, 2011 | By olivia Recommend on Google Computer vs Calculator Computers and calculators are similar in the sense that both are calculating devices. But what is the difference between a computer and a calculator? Before the advent of computers, calculators

Cos 101 Written Assignment 1

755 words - 4 pages COS-101 Written Assignment 1 What is the most important difference between a computer and a calculator? • A calculator is a computer with specific program or set of instruction for mathematical calculations • A computer is equipment that is centralized around the CPU, microprocessor running specific instruction or application. Calculator is a program or app that can run on a computer • So the most important difference is the set

The History Of Computers Essay

775 words - 4 pages the principles of logic used in today’s digital computers (Computer 1). Also, Ada Lovelace, Babbage’s assistant, is known as the first programmer because she introduced program loops and subroutines. The development of electronics led to the first computers. Once electromechanical technology entered the world, calculators began being produced. The first electronic calculator was built by IBM. This is known as the IBM 603, which