Short Answer: 1.) The first thing a programmer usually does first in programming is design flowcharts and pseudocode which will help with process. 2.) Pseudocode code is a fake code used as a model for programs; it has no syntax rules and is well written making it easy to translate to actual codes. 3.) Computer programs typically perform a three step process 1 input is received, 2 some process is performed on the input, 3 output is produced. 4.) “User-friendly” is commonly used in the software
Words: 251 - Pages: 2
Short Answer Review Questions: 6. What is an infinite loop? Write the code for an infinite loop. An infinite loop is a sequence of instructions in a computer program which loops endlessly. Example of an infinite loop: Set k = 1 While k < = 5 Display k End While 7. A FOR loop looks like what other loop in a flowchart? A For loop looks like a count-controlled loop. 8. Why is it critical that accumulator variables are properly initialized? An accumulator is used to keep
Words: 303 - Pages: 2
Is there more than one answer to this problem. Process So far I was able to have bales like “bales 2 and 3” I was able to get 10 different kinds. Also since there are 10 different numbers two it would make sense. The different bales were 1 and 2, 1 and 3, 1 and 4, 1 and 5, 2 and 3, 2 and 4, 2 and 5, 3 and 4, 3 and 5, and for last 4 and 5. I was able to get this because at the beginning it showed the those numbers to 2 and 4. Then it said so on. I also wondered why they stopped at five in the second
Words: 367 - Pages: 2
1. Explain what software you used to create your game To create my game, a software called “Scratch was used. Scratch is a software that is downloadable on most PC’s, people can use this program to share interactive media. This is includes self-made games as well as animations. 2. Explain what an algorithm is An algorithm is a process, or a set of rules to be followed in calculations or other problem-solving operations, especially by a computer. However, algorithms are used in our day to day life
Words: 653 - Pages: 3
There is an assumption here that left and right is well understood in a multidimensional scenario. Since I was raised in the USA I think of number lines being arranged with lesser numbers on the left. It is possible that people from other cultures may have other legitimate ways of arranging things. You will have to know which way your mathematical community does things. Definition is everything in Math. I will assume that m is the number of sub-divisions of the x direction and that n is the number
Words: 369 - Pages: 2
David Camacho PT1420 Programming Lab 2.1 Display Welcome to the Fiber Optic Calculator Program. Enter company name. Enter the number of fiber optic cable needed. Multiply .87 times the feet needed for the total cost. Display the total cost of the fiber optic cable and the company name. Purpose of Variable | Variable Name | Stores cost of fiber | fiberCost | Stores the company name | firstChoice | Stores the number of feet to be installed | 50 | Stores the calculated cost of installed
Words: 718 - Pages: 3
1420 Student Name:__________________ Introduction to Programming Winter 2014/2015 Instructor: Martin Remmele Unit 7 Homework Assignment Due by end of first break February 10, 2015 Learning Objectives and Outcomes NOTE: This section lists concepts and techniques to be understood from this unit. The actual assignment that you are to complete is found in the next section: “Assignment Requirements”. * Be able to Use pseudocode/flowcharts
Words: 310 - Pages: 2
Unit 1 Assignment 1: Homework Ronald Pennix PT1420 1. Why is the CPU the most important component in a computer? A. The CPU is the most important component in a computer is because without it you would not be able to run any type of software on the computer. 2. What number does a bit that is turned on represent? What number does a bit that is turned off represent? A. The number a bit that is turned on represents the number 1. The number a bit that is turned off represents
Words: 253 - Pages: 2
Mitchell Collier PT1420 Unit 5 Research Assignment 1 Mr. O’Leary Research Assignment All the shell I’m about to list share some common features, and the major difference in syntax generally only affect scripts writers. It is not unusual to use one shell for interactive use, but another for writing scripts. There are many other programs which read a file of commands and carry out a sequence of actions, the convention allows any of them to be used as a scripting language to create new commands
Words: 264 - Pages: 2
Visio. Create a UML diagram and show how to define attributes (properties) and operations (methods). Create the UML for the Card object used in the example. The result should look like this: [pic] Estimated Time: 10 minutes PRACTICE Activity 1: Designing Objects In-Class Activity Ungraded Course Support Tools/Resources required for this activity: None Description: Divide the class into groups of three or four students. Assign each group one of the following objects: Product MusicDownload
Words: 1297 - Pages: 6