121 Logic & Design Study Guide For Final Exam 1 . The two broadest types of data are ____________ . a. internal and external b. volatile and constant c. text and numeric d. permanent and temporary 2 . The following pseudocode is an example of ____. if conditionA is true then do stepE else do stepB do stepC do stepD endif Choose one answer. a. nesting b. stacking c. a posttest d. a pretest 3 . Adding 1 to a variable is also
Premium Programming language Computer programming
Outcomes Use pseudocode/flowcharts to represent repetition structures. Create While‚ Do-While‚ and Do-Until conditional loops. Describe the implications of an infinite loop. Assignment Requirements Answer: I. Short Answer Review Questions 1-5‚ starting on page 213 1. You visually set them apart from surrounding code. 2. A pretest loop is a loop tests the conditions before performing the iteration. A posttest loop performs the iteration then test the condition. 3. A condition controlled loop repeats a
Premium Multiplication Real number
structures (also called loops). Loops contain a block of statements that can be executed repeatedly. We will discuss different types of loops and more advanced loop applications. The discussion of loops continues in Chapter 5. ISBN 1-256-14455-X After reading this chapter‚ you will be able to do the following: Distinguish between pre-test and post-test loops [Section 4.1] Identify infinite loops and loops that never get executed [Section 4.1] Create a flowchart using the loop structure [Section 4
Premium Number Natural number Integer
CSE115 Computing Concepts Monday‚ May 28‚ 2012 CSE115: Lecture 1 1 Chapter 1: Introduction Overview: Misconception about Computer Science what’s Computer Science algorithms the importance of algorithmic problem solving Pseudocode Monday‚ May 28‚ 2012 CSE115: Lecture 1 2 Misconception about Computer Science: What it is not There is a lot of misconception about this area of study Unlike physics‚ chemistry or biology‚ most of us do not have an intuitive feeling
Premium Computer science Algorithm Computer
Controlled with While and Do-While Loops: Pseudocode Critical Review A repetition structure causes a statement or set of statements to execute repeatedly. Repetition structures are used to perform the same task over and over. Repetition structures are commonly called loops A condition-controlled loop uses a true/false condition to control the number of times that it repeats. The general structure of a While loop with a condition-controlled statement is: //Declare loop control variable While condition
Free Statement
Programming Logic and Design‚ 6th Edition Chapter 5 Exercises 1. What is output by each of the pseudocode segments in Figure 5-22? Answer: |a. |5‚ 22‚ 5 | |b. |4‚ 6‚ 7 | |c. |5‚ 6 | |d. |Goodbye | | |Goodbye
Premium Input/output Algorithm Natural number
Week 1 Week 1 – Quiz A 1. The name of the service that controls the queue of print jobs with the Window NET command is ______. SPOOLER 2. Which of the following Windows commands will shutdown and restart your computer in 2 minutes? Shutdown –r -t 120 3. Which Windows shutdown command switch is sued to log off the current user of the local computer? -l 4. Which one of the following Windows AT commands specifies an action that will take place at 3:00 p.m.? At 15:00 command 5. From
Premium Statement
Computer Exam Review Most programming languages are now presented within an ____. Integrated Development Environment A high-level language program is called a(n) ____ program. Source Programming statements in a low-level language will be close to natural language and will use standard mathematical notation. False After we normalize a number‚ its first significant digit is immediately to the left of the binary point. False “Print the value of product” is an example of a(n) ____ operation
Premium Programming language Computer
notation With a(n) ____‚ you perform an action or task‚ and then you perform the next action‚ in order. d. sequence structure A variable’s unknown value is commonly called ____. c. garbage The do loop is a variation of the ____ loop. b. while In older languages‚ you could leave a selection or loop before it was complete by using a ____ statement. c. go to A(n) ____ is similar to a variable‚ except it can be assigned a value only once. c. named constant ____ is the process of paying attention
Premium Programming language Computer programming
Chapter 1: An Overview of Computers and Programming TRUE/FALSE 1. Every programming language has rules governing its word usage and punctuation. ANS: T PTS: 1 2. Professional computer programmers write programs to satisfy their own needs. ANS: F PTS: 1 3. The heart of the programming process lies in planning the program’s logic. ANS: T PTS: 1 4. Once a program is completed‚ it is ready for the organization to use. ANS: F PTS: 1 5. Alan Turing is often regarded as
Premium Programming language Computer programming Computer program