Escrito por estudiantes que aprobaron Inmediatamente disponible después del pago Leer en línea o como PDF ¿Documento equivocado? Cámbialo gratis 4,6 TrustPilot
logo-home
Resumen

Summary Programming Logic and Design Ch 3

Puntuación
-
Vendido
-
Páginas
2
Subido en
15-11-2025
Escrito en
2025/2026

This document provides an in depth and thorough summary of chapter 3 of Programming Logic and Design. It is ready for exam and tests. Everything is laid out as it is in the textbook. All needed information is provided in short. It is written in an easy to study format and reads easy. I got distinctions in exams and tests.

Mostrar más Leer menos
Institución
Grado

Vista previa del contenido

Chapter 3
Describe the disadvantages of unstructured spaghetti code
 Spaghetti code - Logically twisted program statement, complicated mess
 Programs work, but are difficult to read and maintain, confusing and prone to error
 Unstructured programs - do not follow rules of structured programs
 Structured programs - do follow the rules of structured programs

Describe the three basic structures
 Structure - Basic unit of programming logic
 Any program can be constructed using one or more of these three structures
 Sequence structure
 Perform actions in order
 No branching or skipping any task
 Selection structure (decision structure)
 Ask a question, takes one of two actions (only true or false)
 Also, decision structure or selection structure
 Boolean expression- decision statement (if)
 Dual-alternative ifs or single-alternative ifs
 contains two alternatives (if-then-else endif)
 contains only one alternative (if-then endif) else not required (if it rains then take an
umbrella)
 null case - situation where nothing is done (if it does not rain, do nothing)
 end structure statement- endif


 Loop structure
 Repeat actions while a condition remains true
 Loop body- actions taken within loop
 also called repetition or iteration
 condition tested first in most common form of loop
 (while...do) or (while) loop


 Combining structures
 Structures can be combined in an infinite number of ways
 Any individual task or step in a structure can be replaced by a structure
 Stacking structures - attaching structures end-to-end
 End structure statement- indicates end of structure (endif) (endwhile)
 Nesting structure - placing one structure within another, indent the nested structure's
statements
 Block - a group of statements that execute as a single unit

Libro relacionado

Escuela, estudio y materia

Institución
Grado

Información del documento

¿Un libro?
No
¿Qué capítulos están resumidos?
3
Subido en
15 de noviembre de 2025
Número de páginas
2
Escrito en
2025/2026
Tipo
RESUMEN

Temas

$3.67
Accede al documento completo:

¿Documento equivocado? Cámbialo gratis Dentro de los 14 días posteriores a la compra y antes de descargarlo, puedes elegir otro documento. Puedes gastar el importe de nuevo.
Escrito por estudiantes que aprobaron
Inmediatamente disponible después del pago
Leer en línea o como PDF


Documento también disponible en un lote

Conoce al vendedor

Seller avatar
Los indicadores de reputación están sujetos a la cantidad de artículos vendidos por una tarifa y las reseñas que ha recibido por esos documentos. Hay tres niveles: Bronce, Plata y Oro. Cuanto mayor reputación, más podrás confiar en la calidad del trabajo del vendedor.
tanjanel1303 Rosebank College (Pretoria)
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
10
Miembro desde
1 año
Número de seguidores
2
Documentos
47
Última venta
4 meses hace

5.0

2 reseñas

5
2
4
0
3
0
2
0
1
0

Documentos populares

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes