CSP Chapter 5 Exam Questions and Answers All Correct
CSP Chapter 5 Exam Questions and Answers All Correct Boolean - Answer-A binary variable, having two possible values called "true" and "false." String - Answer-A group or finite sequence of characters. Iteration - Answer-"loop" by another name - the repetition of a statement, process, or procedure ("one complete cycle."). Algorithm - Answer-A precise sequence of instructions for processes that can be executed by a computer. ("Step by step procedure to reach a goal.") Pseudocode - Answer-A notation resembling a simplified programming language, used in program design. ("A mixture of programming coding and english language.") Programming Language - Answer-A coding language used to dictate specific instructions to a computer. Programming Enviroment - Answer-A tool where you write and run computer programs. Low Level Programming Language - Answer-A programming language that captures only the most primitive operations available to a machine. Anything that a computer can do can be represented with combinations of these commands. High Level Programming Language - Answer-A programming language with many commands and features designed to make common tasks easier to program. Any of this type of functionality is encapsulated as combinations of low level commands. give a name to a set of actions - Answer-When you define a function you... Abstraction - Answer-pulling out specific differences to make one solution work for multiple problems. Function - Answer-a piece of code that you can easily call over and over again. Camelcase - Answer-one word with no spaces; all lowercase except for the first letter of each individual word; must be descriptive. Selection - Answer-uses a Boolean condition (a TRUE/FALSE condition) to determine which of two parts of an algorithm is used. Sequencing - Answer-the application of each step of an algorithm in the order in which the statements are given. CSP Framework Statement - Answer-- "4.1.1A Sequencing, selection, and iteration are building blocks of algorithms." - "4.1.2G Every algorithm can be constructed using only sequencing, selection and iteration" Top-Down Design - Answer-a problem solving strategy in which you break down a large problem by naming its sub-tasks and then breaking down the sub-tasks further and so on until you're down to primitive operations. Application Program Interface (API) - Answer-a collection of commands that can be used in a programming language to carry out a variety of processes. "an ever-expanding library of predefined classes and interfaces for developing Java programs." Documentation - Answe
Written for
- Institution
- CSP
- Course
- CSP
Document information
- Uploaded on
- April 13, 2024
- Number of pages
- 3
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
csp chapter 5 exam questions and answers all c
-
csp chapter 5 exam questions and answers all corr