Pt1420 Unit 4 Assignment 1 Research

Daniel TorresPT1420 Intro to ProgrammingProf. RomanikUnit 2 Chapter ReviewMultiple Choice1. A __________ error does not prevent the program from running, but causes it to produce incorrect results.c. Logic2. A __________ is a single function that the program must perform in order to satisfy the customer.b. Software requirement3. A(n) __________ is a set of well-defined logical steps that must be taken to per- form a task.d. Algorithm4. An informal language that has no syntax rules, and is not meant to be compiled or executed is called __________.b. Pseudocode5. A __________ is a diagram that graphically depicts the steps that take place in a program.a. Flowchart6. A(n) __________ is a set of statements that execute in the order that they appear.c. Sequence structure7. A __________ is a sequence of characters that is used as data.c. String8. A __________ is a storage location in memory that is represented by a name.a. Variable9. A __________ is any hypothetical person that is using a program and providing input for it.

Similar Documents

Unit 5 Assignment 1

...Unit 5 Assignment 1 1) Choosing a database management system requires a great deal of analysis. False. 2) When choosing a database management system, you should consider system compatibility and hardware requirements. True. 3) Only insert and update statements are part of a database transaction. True. 4) Physical design is independent of any particular database management system. False. 5) A data type is a column specification that determines what kind of data can be stored in it. True. 6) Int, decimal and money are character numeric types. True. 7) Char and NChar are variable-length character types. False. 8) Varchar and NVarchar are variable length character types. False. 9) NChar and NVarchar are based on the unicode character set. True. 10) Unicode is an expanded character set that contains non-Latin characters. False. 11) A null is the same as a 0 or an empty string. True. 12) You should not allow nulls in columns that are critical to your business rules. True. 13) Tables can only be created by SQL statements in SQL Server. False. 14) Referential integrity exists when every foreign key relates to a primary key. True. 15) When referential integrity is in effect, you cannot delete a record in the primary key table until you have first deleted all the related records in the foreign key table. False. 16) When referential integrity is in effect, you can only enter records in the foreign key side of the relation...

Words: 331 - Pages: 2

Pt1420 Unit 5 Assignment 1

...Short Answer 1. Explain what is meant by the term “conditionally executed”.       Conditionally executed is called a single alternative decision structure because it provides only one alternative path of execution. The action is conditionally executed because it is performed only when a certain condition is true. 2. You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use? I will use the “If” statement because it is a dual alternative decision structure.   3. If you need to a test the value of a variable and use that value to determine which statement or set of statements to execute, which structure would be the most straightforward to use?       The case structure lets the value of a variable or an expression determine which path of execution the program will take.   4. Briefly describe how the AND operator works. The AND operator takes two Boolean expressions as operands and creates a compound Boolean expression that is True only when both sub-expressions are true.   5. Briefly describe how the OR operator works.       The OR operator takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the sub-expressions is true. The following is an example of an If-Then statement that uses the OR operator:   6.When determining whether a number is inside a range, which...

Words: 972 - Pages: 4

Pt1420 - Unit 1 Assignment 1

...UNIT 1 – BOOK REVIEW QUESTIONS (PAGE 26, SHORT ANSWER QUESTIONS #1–6) 1. Why is the CPU the most important component in a computer? a. Without the CPU, the computer could not run software. The CPU is the part of the computer that actually runs the programs. (pg. 3) 2. What number does a bit that is turned on represent? What number does a bit that is turned off represent? b. 1 represents a bit that is turned ON. 0 represents a bit that is turned OFF. (pg. 8) 3. What would you call a device that works with binary data? c. A device that works with binary data is called a DIGITAL device. (pg. 11) 4. What are the words that make up a high-level programming language called? d. The words that make up a high-level programming language are known as KEY WORDS or RESERVED WORDS. (pg. 17) 5. What are the short words that are used in assembly language called? e. The short words that used in assembly language are called MNEMONICS. (pg. 14) 6. What is the difference between a compiler and an interpreter? f. A COMPILER is a program that translates a high-level language program into a separate machine language program. An INTERPRETER is a program that both translates and executes the instructions in a high-level language program. (pg. 17-18) 7. What type of software controls the internal operations of the computer’s hardware? g. An operating system controls the internal operations of the computer’s hardware. (pg. 20) ...

Words: 257 - Pages: 2

Unit 2 Assignment 1 Pt1420

...Unit 2 Assignment 1: Homework Kenneth D. Davis Intro to Programming Short Answer 1. What does a professional programmer usually do first to gain an understanding of a problem? Interview the customer 2. What is pseudocode? Fake Code 3. Computer programs typically perform what three steps? 1. Input is received. 2. Some process is performed on the input. 3. Output is produced. 4. What does the term “user- friendly” mean? The term user- friendly is commonly used in the software business to describe pro-grams that are easy to use. Programs that do not display adequate or correct instruc-tions are frustrating to use, and are not considered user- friendly. One of the simplest things that you can do to increase a program’s user- friendliness is to make sure that it displays clear, understandable prompts prior to each statement that reads keyboard input. 5. What two things must you normally specify in a variable declaration? You must specify the variable type and an identifier 6. What value is stored in uninitialized variables? Some languages assign a default value as 0 to uninitialized variables. In many languages, however, uninitialized variables hold unpredictable values. Algorithm Workbench 1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height. Set height = 72” Display ‘Enter your Height at Age 21’ Input hEIGHT Display ‘Enter your Height at Age 22’ Input......

Words: 458 - Pages: 2

Unit 5 Assignment 1 Pt1420

...Short Answer 1. Explain what is meant by the term “conditionally executed”. Conditionally executed is called a single alternative decision structure because it provides only one alternative path of execution. The action is conditionally executed because it is performed only when a certain condition is true. 2. You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use? I will use the “If” statement because it is a dual alternative decision structure. 3. If you need to a test the value of a variable and use that value to determine which statement or set of statements to execute, which structure would be the most straightforward to use? The case structure lets the value of a variable or an expression determine which path of execution the program will take. 4. Briefly describe how the AND operator works. The AND operator takes two Boolean expressions as operands and creates a compound Boolean expression that is True only when both sub-expressions are true. 5. Briefly describe how the OR operator works. The OR operator takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the sub-expressions is true. The following is an example of an If-Then statement that uses the OR operator: 6.When determining whether a number is inside a range, which...

Words: 329 - Pages: 2

Pt1420 Assignment Unit 5

...Assignment Unit 5 Short Answer 1. Explain what is meant by the term “conditionally executed”. Conditionally executed is called a single alternative decision structure because it provides only one alternative path of execution. The action is conditionally executed because it is performed only when a certain condition is true. 2. You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use? I will use the “If” statement because it is a dual alternative decision structure. 3. If you need to a test the value of a variable and use that value to determine which statement or set of statements to execute, which structure would be the most straightforward to use? The case structure lets the value of a variable or an expression determine which path of execution the program will take. 4. Briefly describe how the AND operator works. The AND operator takes two Boolean expressions as operands and creates a compound Boolean expression that is True only when both sub-expressions are true. 5. Briefly describe how the OR operator works. The OR operator takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the sub-expressions is true. The following is an example of an If-Then statement that uses the OR operator: 6.When determining whether a number is...

Words: 332 - Pages: 2

Pt1420 Unit 5 Assignment 1. Homework

...Short Answer: 1. Explain what is meant by the term “ conditionally executed.” It is performed only when a certain condition is true. 2. You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use? If the condition is false, we follow another path, which skips the action. 3. If you need to test the value of a variable and use that value to determine which statement or set of statements to execute, which structure would be the most straightforward to use? If and then 4. Briefly describe how the AND operator works. The AND operator connects two Boolean expressions into one compound expression. Both subexpressions must be true for the compound expression to be true. 5. Briefly describe how the OR operator works. The OR operator connects two Boolean expressions into one compound expression. One or both subexpressions must be true for the compound expression to be true. It is only necessary for one of the subexpressions to be true, and it does not matter which. 6. When determining whether a number is inside a range, which logical operator is it best to use? AND 7. What is a flag and how does it work? A flag is a variable that signals when some condition exists in the program. Algorithm Workbench Review: 1.Design an If- Then statement ( or a flowchart with a single alternative decision structure) that assigns 20 to the variable y......

Words: 686 - Pages: 3

Pt1420 Unit 5 Assignment 1. Homework

...Short Answer: 1. Explain what is meant by the term “ conditionally executed.” It is performed only when a certain condition is true. 2. You need to test a condition and then execute one set of statements if the condition is true. If the condition is false, you need to execute a different set of statements. What structure will you use? If the condition is false, we follow another path, which skips the action. 3. If you need to test the value of a variable and use that value to determine which statement or set of statements to execute, which structure would be the most straightforward to use? If and then 4. Briefly describe how the AND operator works. The AND operator connects two Boolean expressions into one compound expression. Both subexpressions must be true for the compound expression to be true. 5. Briefly describe how the OR operator works. The OR operator connects two Boolean expressions into one compound expression. One or both subexpressions must be true for the compound expression to be true. It is only necessary for one of the subexpressions to be true, and it does not matter which. 6. When determining whether a number is inside a range, which logical operator is it best to use? AND 7. What is a flag and how does it work? A flag is a variable that signals when some condition exists in the program. Algorithm Workbench Review: 1.Design an If- Then statement ( or a flowchart with a single alternative decision structure) that assigns 20 to the variable y......

Words: 686 - Pages: 3

Pt1420 Unit 3 Assignment 1

...Jairo Granado Prof. M. Ashraf PT1420 March 28, 2015 Unit 3 Assignment 1: Homework Short Answer 1. What two things must you normally specify in a variable declaration? You must specify type & name. 2. What value is stored in uninitialized variables? An uninitialized variable is by default a 0. Algorithm Workbench 3. Write assignment statements that perform the following operations with the variable a, b and c. a) Adds 2 to a and stores the result in b. { b = 2 + a } b) Multiplies b by 4 and stores the result in a. { a = b * 4} c) Divides a by 3.14 and stores the result in b. { b = a MOD 3.14 } d) Subtracts 8 from b and stores the result in a { a = 8 – b } 4. Assume the variables result, w, x, y and z are all integers, and that w=5, x=4, y=8 and z=2. What value will be stored in result in each of the following statements? a) 12 = x + y b) 4 = z * 2 c) 2 = y / x d) 6 = y – z 5. Write a pseudocode statement that declares the variable cost so it can hold a real numbers. Dim cost1 As Double = 0 6. Write pseudocode statement that declares the variable total so it can hold integers. Initialize the variable with the value 0. Dim cost1 As Integer = 0 7. Write a pseudocode statement that assigns the value 27 to the variable count. Dim count As Integer = 27 8. Write a pseudocode statement that assigns the sum of 10 and 14 to the variable total. Total = 10 + 14 9. Write a pseudocode statement that subtracts the variable downpayment from the variable total......

Words: 533 - Pages: 3

Unit 5 Assignment 1

...Shamone Gayles Unit 5 exercise 1: Guided Reading Chapter 10 1. What is the typical organization on an argument essay? Introduction /summary of opposing positions including strengths/ limitations of opposing positions/Your understanding of the issue, describing both strengths and limitations of your position/Reasons your understanding is better than the opposing views’ understanding/ Conclusion 2. What are points of contention, and how do you identify them? My position verses opposing positions, by coming up with the best arguments against your position yourself so you are prepared to counter them. 3. Why is it important to know the stance of your opposition? By knowing your opposition, you can identify the weaknesses in your stance and how to remedy them. 4. What is the difference between argument and research paper? In an argument you pick a topic that is controversial and debatable, whereas in a research paper, you do your research and only report what you find, while not trying to sway in either direction. Chapter 24 1. What is a good way to start the research process? Define your research question and sharpen it/ develop a working thesis that offers your best guess about how you will answer the research question/ devise a research plan to systematically collect the information needed to answer your research question and determine whether you’re working thesis is verifiable. 2. Why is it important to have a sharp research......

Words: 724 - Pages: 3

Unit 5 Assignment 1

...pasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmrtyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnmqwertyuiopasdfghjklzxcvbnm Unit 5 Assignment 1:Future Statement Brain Mapping 8/1/2013 Troy Jones (16609262) GS 1140 | I find the future of Brain Mapping Technology very exciting! Think of it, science has already begun to do this. Can you imagine if we could look at the brain and find exactly where our actions come from? Thoughts, behaviors, actions, and brain trauma/disease just to name a few could be improved upon or better yet cured! This would have a huge impact on our society. Brain diseases like (ALS) Lou Gehrig’s disease for example could be impacted greatly. I personally lost my oldest brother to ALS last year. He was only 54 and died nine months after the diagnosis. It’s a brutal disease. I would like to in vision a future for people without ALS or Autism. Curing......

Words: 274 - Pages: 2

Pt1420 Unit 1 Assignment 1

...UNIT 1 – BOOK REVIEW QUESTIONS (PAGE 26, SHORT ANSWER QUESTIONS #1–6)   1. Why is the CPU the most important component in a computer?       a. Without the CPU, the computer could not run software. The CPU is the part of the computer that actually runs the programs. (pg. 3)   2. What number does a bit that is turned on represent? What number does a bit that is turned off represent?       b. 1 represents a bit that is turned ON. 0 represents a bit that is turned OFF. (pg. 8)   3. What would you call a device that works with binary data?       c. A device that works with binary data is called a DIGITAL device. (pg. 11)   4. What are the words that make up a high-level programming language called?       d. The words that make up a high-level programming language are known as KEY WORDS or RESERVED WORDS. (pg. 17)   5. What are the short words that are used in assembly language called?       e. The short words that used in assembly language are called MNEMONICS. (pg. 14)   6. What is the difference between a compiler and an interpreter?       f. A COMPILER is a program that translates a high-level language program into a separate machine language program. An INTERPRETER is a program that both translates and executes the instructions in a high-level language program. (pg. 17-18)   7. What type of software controls the internal operations of the computer’s hardware?       g. An operating system controls the internal operations of the computer’s hardware.......

Words: 257 - Pages: 2

Pt1420 Unit 6 Assignment 1

...Week 06 Assignments Textbook Reading * Chapter 4 * Chapter 5 sections 5.1, 5.2, and 5.3 (pages 196-201) Week 06 Homework From the Gaddis textbook: * Programming Exercises 2, 6 and 9, on pages 160-161 For the Programming Exercises, design a program means write the pseudocode for the program. Except for Programming Exercise 2, your design should include multiple modules, not just main(). Upload a Microsoft Word document with the pseudocode to your shared PT1420 community website or submit a paper copy to your instructor by the beginning of the Week 7 class. Programing Exercises pg. 160-161 2. Areas of rectangles Module Main() Declare width1 integer = 0 Declare length1 integer = 0 Declare width2 integer = 0 Declare length2 integer = 0 Declare area1 integer = 0 Declare area2 integer = 0 Call rectangle1 (width1, length1, area1) Call rectangle2 (width2, length2, area2) Call comparison (rectangle1, rectangle2) Display “press enter to continue” End module Module rectangle1 (value width1 as integer, value length1 as integer, value area1 as integer) Display "Enter the width of rectangle 1” Input width1 Display "Enter the length of rectangle 1" Input length1 area1 = width1 * length1 End module Module rectangle2 (value width2 as integer, value length2 as integer, value area2 as integer) Display "Enter the width of rectangle 2” Input width2 Display "Enter the length of rectangle 2" Input length2 area2 = width2 * length2 End......

Words: 764 - Pages: 4

Pt1420 Unit 1 Assignment 1 Homework

...Unit 1 Assignment 1: Homework Short Answer 1. Why is the CPU the most important component in a computer? The CPU is the most important part of the computer is that it runs the programs, without it a computer cannot run software. 2. What number does a bit that is turned on represent? What number does a bit that is turned off represent? A bit that is on is represented by the digit 1 and a bit that is off is represented by the digit 0. 3. What would you call a device that works with binary data? A digital device is any device that works with binary data. 4. What are the words that make up a high-level programming language called? Key words or reserved words have specific meaning and purpose in the programming language. 5. What are the short words that are used in assembly language called? Assembly language uses short words that are known as mnemonics. 6. What is the difference between a compiler and an interpreter? Compiler is a program that translates high-level language program into a separate machine language program. An interpreter is a program that both translates and executes the instructions in a high-level language program. 7. What type of software controls the internal operations of the computer’s hardware? An operating system is the most fundamental set of programs on a computer. The operating system controls the internal operations of the computer’s hardware, manages all of the devices connected to the computer, allows data to be saved to and......

Words: 272 - Pages: 2

Pt1420 V1 Unit 2 Assignment 1: Homework

...Unit 2 Assignment 1 Pt1420 Unit 2 Assignment 1: Homework Kenneth D. Davis Intro to Programming Short Answer 1. What does a professional programmer usually do first to gain an understanding of a problem? Interview the customer 2. What is pseudocode? Fake Code 3. Computer programs typically perform what three steps? 1. Input is received. 2. Some process is performed on the input. 3. Output is produced. 4. What does the term “user- friendly” mean? The term user- friendly is commonly used in the software business to describe pro-grams that are easy to use. Programs that do not display adequate or correct instruc-tions are frustrating to use, and are not considered user- friendly. One of the simplest things that you can do to increase a program’s user- friendliness is to make sure that it displays clear, understandable prompts prior to each statement that reads keyboard input. 5. What two things must you normally specify in a variable declaration? You must specify the variable type and an identifier 6. What value is stored in uninitialized variables? Some languages assign a default value as 0 to uninitialized variables. In many languages, however, uninitialized variables hold unpredictable values. Algorithm Workbench 1. Design an algorithm that prompts the user to enter his or her height and stores the user’s input in a variable named height. Set height = 72” Display ‘Enter your Height at Age 21’ Input hEIGHT Display ‘Enter your Height......

Words: 319 - Pages: 2

0 thoughts on “Pt1420 Unit 4 Assignment 1 Research

Leave a Reply

Your email address will not be published. Required fields are marked *