Programming Logic & Design Final Exam Chapters 1-6 with complete solution
Programming Logic & Design Final Exam Chapters 1-6 with complete solution Computer programs also are known as____________. Select one: a. hardware b. software c. data d. information b. software The major computer operations include ____________. Select one: a. hardware and software b. sequence and looping c. spreadsheets, word processing, and data communications d. input, processing, and output d. input, processing, and output A programming language's rules are its ____________. Select one: a. logic b. syntax c. format d. options b. syntax The most important task of a compiler or interpreter is to ____________. Select one: a. translate English statements into a language such as Java b. execute machine language programs to perform useful tasks c. translate programming language statements into machine language d. create the rules for a programming language c. translate programming language statements into machine language Which of the following is temporary, internal storage? Select one: a. keyboard b. hard disk c. CPU d. memory d. memory Which of the following pairs of steps in the programming process is in the correct order? Select one: a. test the program, translate it into machine language b. put the program into production, understand the problem c. code the program, translate it into machine language d. code the program, plan the logic c. code the program, translate it into machine language A programmer's most important task before planning the logic of a program is to __________________. Select one: a. code the problem b. train the users of the program c. understand the problem d. decide which programming language to use c. understand the problem The two most commonly used tools for planning a programs logic are _____. Select one: a. ASCII and EBCDIC b. word processors and spreadsheets c. Java and Visual Basic d. flowcharts and pseudocode d. flowcharts and pseudocode An English-like programming language such as Java or Visual Basic is a ________ programming language. Select one: a. high-level b. binary-level c. machine-level d. low-level a. high-level Which of the following is an example of a syntax error? Select one: a. producing output before accepting input b. subtracting when you meant to add c. misspelling a programming language word d. all of the above c. misspelling a programming language word Which of the following is an example of a logical error? Select one: a. performing arithmetic with a value before inputting it b. accepting two input values when a program requires only one c. dividing by 3 when you meant to divide by 30 d. all of the above d. all of the above The parallelogram is the flowchart symbol representing ____________. Select one: a. input b. output c. either a or b d. none of the above c. either a or b
Document information
- Uploaded on
- October 28, 2023
- Number of pages
- 18
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers