100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

ITP-100 Fall Midterm 2017 100% correct answers guarantee grade ‘A’

Rating
-
Sold
3
Pages
5
Grade
A
Uploaded on
16-03-2021
Written in
2020/2021

1. A group of statements that exist within a program for the purpose of performing a specific task is a(n)_____________ . (2 points) 2. A ___________ is a variable that is declared inside a module. (2 points) 3. When ____________, only a copy of the argument’s value is passed into the parameter variable. (2 points) 4. When____________, the module can modify the argument in the calling part of the program. (2 points) 5. When possible, you should avoid using __________ variables in program. (2 points) 6. Calling a Module and defining a module mean the same thing 7. In most programming languages, you cannot have two variables with the same name in the 8. When an argument is passed by reference, the module can modify the argument in the calling 9. Passing an argument by value is a means of establishing two-way communication between 10. Modules make it easier for programmers to work in Part III. Short Answer (10 points total) 11. What is the difference between a module and a function? (2 points) 12. What is the purpose of the stringToInteger and stringToReal functions? (2 points) 13. What is the purpose of the isInteger and isReal functions? (2 points) 14. What is a local variable? What statements are able to access a local variable? (2 points) A local variable’s scope usually begins at the variable’s declaration and ends at the end of the 15. Why do global variables make a program difficult to debug? (2 points 16. (10 points total) In the space below, write the pseudo code for the two modules that support

Show more Read less
Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Course

Document information

Uploaded on
March 16, 2021
Number of pages
5
Written in
2020/2021
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Get to know the seller

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.
Allan100 Rasmussen College
Follow You need to be logged in order to follow users or courses
Sold
644
Member since
4 year
Number of followers
605
Documents
3263
Last sold
2 months ago

3,5

92 reviews

5
36
4
17
3
15
2
5
1
19

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

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

Student with book image

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

Alisha Student

Frequently asked questions