Garantie de satisfaction à 100% Disponible immédiatement après paiement En ligne et en PDF Tu n'es attaché à rien 4,6 TrustPilot
logo-home
Examen

Programming Logic and Design Mid-Term Review Exam Questions with Correct Answers

Note
-
Vendu
-
Pages
12
Grade
A+
Publié le
22-03-2025
Écrit en
2024/2025

Programming Logic and Design Mid-Term Review Exam Questions with Correct Answers

Établissement
Programming Logic And Design
Cours
Programming Logic and Design









Oups ! Impossible de charger votre document. Réessayez ou contactez le support.

École, étude et sujet

Établissement
Programming Logic and Design
Cours
Programming Logic and Design

Infos sur le Document

Publié le
22 mars 2025
Nombre de pages
12
Écrit en
2024/2025
Type
Examen
Contient
Questions et réponses

Sujets

Aperçu du contenu

Programming Logic and Design Mid-
Term Review Exam Questions with
Correct Answers

The amount by which a for loop control variable changes is often called a ____
value.

a. group
b. key
c. step
d. sentinel - ANSWER-c. step

Named ____ hold values that do not change during a program's execution.

a. constants
b. variables
c. objects
d. items - ANSWER-a. constants

One advantage to using a named constant is that the statement becomes ____.

a. self-perpetuating
b. self-documenting
c. self-referencing
d. self-mitigating - ANSWER-b. self-documenting

The action or actions that occur within a loop are known as a(n) ____.

a. loop body
b. action body
c. loop internals
d. structure body - ANSWER-a. loop body

Programmers use the term ____ to describe programs that are well designed and
easy to understand and maintain.

a. industrial
b. intractable
c. well behaved
d. elegant - ANSWER-d. elegant

A ____ error results when you use a syntactically correct statement but use the
wrong one for the current context.

a. syntax

, b. logical
c. semantic
d. programming - ANSWER-b. logical

Because they enable you to locate a particular record directly (without reading all of
the preceding records), random
access files are also called ____ files.

a. direct access
b. indirect access
c. sequential access
d. pointed access - ANSWER-a. direct access

With a(n) ____, you perform an action or task, and then you perform the next action,
in order.

a. ordered structure
b. sequence problem
c. sequence structure
d. loop sequence - ANSWER-c. sequence structure

Programmers employ the acronym ____ to mean that if your input is incorrect, your
output is worthless.

a. IBOW
b. GIGO
c. IIOW
d. GIGS - ANSWER-b. GIGO

A loop within another loop is known as a(n) ____ loop.

a. indefinite
b. infinite
c. nested
d. hidden - ANSWER-c. nested

Usually, ____ variables are not considered to be equal unless they are identical.

a. string
b. integer
c. character
d. floating point - ANSWER-a. string

You can perform a ____ by making comparisons using either the lowest or highest
value in a range of values.

a. range check
b. nested if
c. logic check
d. trivial expression - ANSWER-a. range check

Faites connaissance avec le vendeur

Seller avatar
Les scores de réputation sont basés sur le nombre de documents qu'un vendeur a vendus contre paiement ainsi que sur les avis qu'il a reçu pour ces documents. Il y a trois niveaux: Bronze, Argent et Or. Plus la réputation est bonne, plus vous pouvez faire confiance sur la qualité du travail des vendeurs.
lectknancy Boston University
Voir profil
S'abonner Vous devez être connecté afin de suivre les étudiants ou les cours
Vendu
285
Membre depuis
2 année
Nombre de followers
28
Documents
26010
Dernière vente
1 semaine de cela

3.6

57 revues

5
23
4
10
3
11
2
3
1
10

Récemment consulté par vous

Pourquoi les étudiants choisissent Stuvia

Créé par d'autres étudiants, vérifié par les avis

Une qualité sur laquelle compter : rédigé par des étudiants qui ont réussi et évalué par d'autres qui ont utilisé ce document.

Le document ne convient pas ? Choisis un autre document

Aucun souci ! Tu peux sélectionner directement un autre document qui correspond mieux à ce que tu cherches.

Paye comme tu veux, apprends aussitôt

Aucun abonnement, aucun engagement. Paye selon tes habitudes par carte de crédit et télécharge ton document PDF instantanément.

Student with book image

“Acheté, téléchargé et réussi. C'est aussi simple que ça.”

Alisha Student

Foire aux questions