• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 5 pages
Exam (elaborations)

Just Enough Programming Logic and Design, 2nd Edition: Chapter 1 Questions and Answers

Document preview thumbnail
Preview 2 out of 5 pages

Just Enough Programming Logic and Design, 2nd Edition: Chapter 1 Questions and Answers

Content preview

Just Enough Programming Logic and
Design, 2nd Edition: Chapter 1 Questions
and Answers
semantic errors/logical errors - ANSWER-these occur when the grammar is correct
but the statement makes no sense in the current context; more difficult to locate than
syntax errors

Example - ANSWER-start
input original Number
compute calculated Answer = original Number times 2
output calculated Answer
stop

memory - ANSWER-the internal storage in a computer; often called main memory or
random access memory (RAM)

volatile - ANSWER-internal memory is this; though needed to run programs, its
contents are lost every time the computer loses power; external storage provides
nonvolatile/persistent medium; even though hard disk drive is located inside
computer, it is not main, internal memory (internal memory = temporary and volatile;
hard drive = permanent, nonvolatile)

programming process/program development cycle - ANSWER-1. understand the
problem
2. planning the logic
3. coding the program
4. using software (a compiler of interpreter) to translate the program into machine
language
5. testing the program
6. putting the program into production
7. maintaining the program

algorithm - ANSWER-the sequence of steps necessary to solve any problem;
programmers refer to planning a program as "developing an algorithm"

desk-checking - ANSWER-the process for asking through a program's logic on paper
before writing the program

high-level programming language - ANSWER-English-like language in which the
programmer writes

low-level machine language - ANSWER-the language that the computer understands

conversion - ANSWER-the entire set of actions an organization must take to switch
over to using a new program or set of programs; con sometimes takes months/years
to accomplish

, maintenance - ANSWER-the process of updating programs

pseudocode - ANSWER-an English-like representation of the logical steps it takes to
solve a problem; "false code"; sentences that appear to have been written in a
computer programming language but do not necessarily follow all the syntax rules of
any specific language; planning tool, not final product

flowchart - ANSWER-a pictorial representation of what pseudocode represents; uses
geometric shapes and arrows to connect shapes; read mostly from top to bottom/left
to right

input symbol - ANSWER-symbolized with a (usually right-leaning) parallelogram;
indicates input operation

processing symbol - ANSWER-symbolized with a rectangle

output symbol - ANSWER-symbolized with a parallelogram

input/output symbol (I/O symbol) - ANSWER-the parallelogram in flowcharts

flowlines - ANSWER-arrows used to connect the steps of a flowchart and to show
the correct sequence of statements

terminal symbols - ANSWER-start/stop symbols at each end of flowchart; standard is
shaped like a racetrack/lozenge

variables - ANSWER-names after memory locations, whose contents can vary over
time; holds just one value

note: no programming language allows space within a variable name, and, generally,
variable name should not begin with a digit

identifier - ANSWER-variable name

camel casing - ANSWER-where second word begins with capital letter; (e.g. "hourly
Wage" has a "hump" in the middle)

Pascal casing - ANSWER-when the first letter of a variable name is uppercase (e.g.
"Hourly Wage")

assignment statements - ANSWER-individual instructions; most programming
languages allow shorthand expressions for these

assignment operator - ANSWER-in most modern programming languages, the equal
sign is this; requires the name of a memory location on left side (the name of the
location where result will be stored)

Document information

Uploaded on
March 22, 2025
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$13.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
lectknancy
3.8
(82)
Sold
342
Followers
27
Items
26160
Last sold
3 days ago




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions