INSY 3300 Review Chapter 5 Exam Questions and Answers 100% Verified and Updated
3 views 0 purchase
Module
INSY 3300
Institution
INSY 3300
INSY 3300 Review Chapter 5 Exam Questions and
Answers 100% Verified and Updated
1. A group of statements that exist within a program for the purpose of performing a
specific task is a(n) __________.
a. block
b. parameter
c. function
d. expression - Answer- c. function
A design technique tha...
insy 3300 review chapter 5 exam questions and answ
Written for
INSY 3300
INSY 3300
Seller
Follow
GraceAmelia
Reviews received
Content preview
INSY 3300 Review Chapter 5 Exam Questions and Answers 100% Verified and Updated 1. A group of statements that exist within a program for the purpose of performing a specific task is a(n) __________. a. block b. parameter c. function d. expression - Answer - c. function A design technique that helps to reduce the duplication of code within a program and is a benefit of using functions is __________. a. code reuse b. divide and conquer c. debugging d. facilitation of teamwork - Answer - a. code reuse The first line of a function definition is known as the __________. a. body b. introduction c. initialization d. header - Answer - d. header You __________ a function to execute it. a. define b. call c. import d. expor - Answer - b. call A design technique that programmers use to break down an algorithm into functions is known as __________. a. top -down design b. code simplification c. code refactoring d. hierarchical subtasking - Answer - a. top -down design A __________ is a diagram that gives a visual representation of the relationships between functions in a program. a. flowchart b. function relationship chart c. symbol chart d. hierarchy chart - Answer - d. hierarchy chart The _____________ keyword is ignored by the Python interpreter and can be used as a placeholder for code that will be written later. a. placeholder b. pass c. pause d. skip - Answer - b. pass A __________ is a variable that is created inside a function. a. global variable b. local variable
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller GraceAmelia. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £10.21. You're not tied to anything after your purchase.