Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Document preview thumbnail
Voorbeeld 3 van de 18 pagina's
Tentamen (uitwerkingen)

Programming Logic & Design Final Exam Chapters 1-6 with complete solution

Document preview thumbnail
Voorbeeld 3 van de 18 pagina's

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 In a flowchart, a rectangle represents ____________. Select one: a. processing b. a question c. input d. a sentinel a. processing In flowcharts, the decision symbol is a ____________. Select one: a. rectangle b. diamond c. parallelogram d. lozenge b. diamond When you use an IDE instead of a simple text editor to develop a program, ____________. Select one: a. the logic is simpler b. the syntax is different c. some help is provided d. the logic is more complicated c. some help is provided When you write a program that will run in a GUI environment as opposed to a command-line environment, ____________. Select one: a. you do not need to plan the logic b. users are more confused c. the logic is very different d. some syntax is different d. some syntax is different What does a declaration provide for a variable? Select one: a. a name b. a data type c. both of the above d. none of the above c. both of the above A variables data type describes all of the following except________. Select one: a. how the variable is stored in memory b. what operations can be performed with the variable c. the scope of the variable d. what values the variable can hold c. the scope of the variable The value stored in an uninitialized variable is _________. Select one: a. compost b. null c. its identifier d. garbage d. garbage The value 3 is a ___________. Select one: a. numeric constant b. numeric variable c. string variable d. string constant a. numeric constant The assignment operator ___________. Select one: a. is a binary operator b. has left-to-right associativity c. is most often represented by a colon d. two of the above a. is a binary operator Multiplication has a lower precedence than _____. Select one: a. division b. subtraction c. assignment d. none of the above d. none of the above Which of the following is not a term used as a synonym for module? Select one: a. procedure b. method c. subroutine d. object d. object Modularization _____. Select one: a. reduces overhead b. eliminates abstraction c. facilitates reusability d. increases the need for correct syntax c. facilitates reusability What is the name for the process of paying attention to important properties while ignoring nonessential details? Select one: a. extraction b. modularization


Documentinformatie

Geüpload op
4 april 2024
Aantal pagina's
18
Geschreven in
2023/2024
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden
$15.99

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
ACADEMICSTORE
5.0
(3)
Verkocht
25
Volgers
14
Items
1287
Laatst verkocht
1 jaar geleden



Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen

Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.