Scheduled maintenance: Saturday, September 10 from 11PM to 12AM PDT Show
Home Subjects Solutions Create Log in Sign up Upgrade to remove ads Only SGD 41.99/year
Chapter 1 - 4 Terms in this set (72)What are the 6 steps of problem solving? 1. Identify the problem. What is an algorithmic solution to a problem? Problems that are solved following a series of actions. What is a heuristic solution to a problem? Solutions that can't be reached through a direct set of steps. What does algorithm means? The action steps to solve a problem. What does solution means? The instructions that must be followed to produce the best result. What does result means? The outcome or the completed computer-assisted answer. What does program means? The set of instructions that make up the solution after they have been coded into a particular computer language. Name the 3 kinds of problems that are generally solved on computer? 1. Computational. What is the computational problem? Is the one that involves some kind of mathematical process. What is the logical problem? Is the one that involves logical processing that is used in a decision making on the computer. What is the repetitive problem? Is the one involving repeating a set of mathematical and/or logical instructions. What is a constant? Is a value. An specific alphabetical and/or numeric value, that never changes during the processing of all the instructions in a solution. What is a variable? Is a data. An specific alphabetical and/or numeric data, that its value is assigned by the computer and can be change during the process. What is an Identifier? A variable. Why is important to maintain a naming convention within the company that is developing computer programs? 1.It helps that several programmers can work on the same project without the problem of conflicting variables and module names. Rules to naming a variable 1. Name a variable according to what it represents. Data types. 1. Numeric. What is data? Unorganized facts. What is information. Data that is returned to the user well organized processed by a program. Numeric data. All types of numbers. Data set. The set of values that are allowed in a particular data type. Character data. The alphanumeric data set. The ASCII # of characters? 256. String data. All character data. two or more characters put together. Concatenation. When 2 pieces of character data are joined using the + sign to join. like 4 + 4 = 44 Logical data Two values in the data set. True or false, yes or no. Other type of data. 1. Date data type. Rules for data type. 1. The data will most commonly be logical, numerical or character (including string). Data storage. Data that is stored internally by the computer and is found by the variable names used by the program. Each variable is given a memory location and can only hold one value at the time. When the program ends all values are erased from memory. Files. Information kept for future used and stored externally like the hard disk drive. Types of files. 1. Program files. Instructions to tell the computer what to do. Functions. Small sets of instructions that perform specific tasks and return values. Parameter. The data that is listed as part of the function. Types of functions. 1. Mathematical. Calculates square roots, absolute values or random numbers. Operator. Data connectors within expressions and equations. They tell the computer how to process the data. Operand and Resultant Operand is
the data the that the operator connects and processes. Types of Operator. 1. Mathematical. Mathematical Operator. 1. + (Addition). Relational Operator. 1. = (Equal to). Logical Operator. 1. NOT True = FALSE Hierarchy. Order in which an operation will take place. Expressions. Processes data, the operands, through the use of operators. Equation. Stores the resultant in a memory location in the computer through the (=) sign. Syntax. Set of rules governing the computer OS. Bug. Error. Debugging. Process of finding and correcting errors. Problem analysis chart. A beginning analysis of the problem. Structure chart or interactivity chart.. The overall layout or structure of the solution. IPO chart. Shows the input, processing, output. Algorithms. The sequence of instructions, comprising the solution. (Actions steps to solve a problem). Flowchart. Graphic representation of the algorithms and pseudocode. Pseudocode. Represents a language like solution. Coupling diagram. Shows the relationship between the modules and the data needed for the modules. Data dictionary. List all data variable names and their definitions. UML. Unified modeling language. Diagrams that help produce a model and lead to better understanding of the requirements of the problem. Analyzing the problem. 1. The given data. Modules. Each module should contain the task to accomplish one function. Like Entering data, printing or calculating results. The IPO chart contains. 1. Input. Flow chart symbols 1. Arrows (Shows the flow of the program). Rules for Drawing a flowchart. 1. Write the instructions inside the blocks. Annotated flowchart. Notes beside a block to help you remember things. Internal documentation. Remarks written with the instructions to explain what is being done in the program. External documentation. is made up for the manuals or menus written about the solution. Types of case diagrams. 1. Use case diagram. Use case diagrams. Describe how a system functions from user's stand of point. Class diagram. graphically describes how a class functions, the data structure of the solution. Sequence diagram. Graphically present the interactivity between objects. Statechart diagram. Describes what happens to a given value of an object as it proceeds through the system. Activity diagram. Describes the flow of activities. Testing a solution. Check for an error until the program works correctly before coding the program. Coding a solution Writing the solution of the problem into a computer language. Software developing cycle steps. 1. Analysis of the problem. Sets with similar termsComputer Science Exam 150 terms locktrain88 AQA INFO151 terms Alex_Melhuish AQA GCSE Computer Science - Terms and Definitions…39 terms wellwateredPLUS Chapter 3.5 -3.7 Vocabulary List #128 terms pinacolata1999 Sets found in the same folder
Problem Solving and Programming Concepts55 terms hblancs Problem Solving and preogramming concepts 6e exam 260 terms hblancs Program solving and program concepts 9ed60 terms hblancs Cloud Computing25 terms Kim_Kinggard Other sets by this creatorCompTIA Security+8 terms hblancs Foundation of Algorithms and Programming languages19 terms hblancs Nielsens Usability10 terms hblancs Design for Information Technology Ch 518 terms hblancs Verified questionsCOMPUTER SCIENCE Suppose that instead of contracting a table by halving its size when its load factor drops below 1/4, we contract it by multiplying its size by 2/3 when its load factor drops below 1/3. Using the potential function Φ(T) = │2 · T.num - T. size│, show that the amortized cost of a TABLE-DELETE that uses this strategy is bounded above by a constant. Verified answer COMPUTER SCIENCE T F The contents of an array element cannot be displayed with cout. Verified answer
COMPUTER SCIENCE The values passed to a method when it is called are a. formal parameters, b. actual parameters, c. primitive values, d. objects, e. return values. Verified answer
COMPUTER SCIENCE Give a circuit that computes the parity function on three input variables and show how it computes on input 011. Verified answer Other Quizlet setstherapeutic massage + effects of massage43 terms egarzaromPLUS Paxton Patterson -EMT terminology12 terms rsathwal1TEACHER Psych memory test25 terms drennonfaile18 SageMaker Operations37 terms spencer-bertschPLUS Related questionsQUESTION With machine learning, a computer learns how to perform a task or solve a problem by being given a traditional program to solve the problem. 2 answers QUESTION The code snippet uses an undeclared variable. 4 answers QUESTION Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes? 15 answers QUESTION In binary, each digit is either a 1 or 0. Another way to clarify is that the digit is either ? 2 answers What is a sequence of instructions that solves a problem called?An algorithm is a sequence of steps that describe how a problem can be solved. It is a set of self-contained sequence of instructions or actions that contains finite space or sequence and that will give us a result to a specific problem in a finite amount of time.
What are descriptive qualifiers?Descriptive Qualifier. a word or phrase apparently modifying an unintended word because of its placement in a sentence.
Is a programming structure that repeats a sequence of instructions until a specific condition is met?A loop is a programming structure that repeats a sequence of instructions until a specific condition is met. Loops allow you to repeat a process over and over without having to write the same (potentially long) instructions each time you want your program to perform a task.
|