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

CSIS 208 Week 3 - Chapter 6 Review | 30 Questions and Answers | Liberty University

Rating
-
Sold
-
Pages
7
Grade
A
Uploaded on
28-07-2025
Written in
2024/2025

CSIS 208 Week 3 - Chapter 6 Review | 30 Questions and Answers | Liberty University










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

Document information

Uploaded on
July 28, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

1. Which of the following is false?

a. A function returns only one value to the statement that invoked it.
b. A Sub procedure can accept only one item of data passed to it.
c. The parameterList in a procedure header is optional.
d. A function’s header specifies the data type of the function’s return
value.

2. What are the items that appear within parentheses in a calling statement called?

1. arguments

2. parameters

3. passers

4. callers

3. What are the items that appear within parentheses in a procedure header called?

1. arguments

2. parameters

3. passers

4. callers

4. Which of the following indicates whether a variable is being passed by value or by
reference?

1. the calling statement

2. the receiving procedure’s header

3. the statements entered within the receiving procedure

4. the calling procedure’s header

5. Which of the following statements invokes the GetArea Sub procedure, passing it
two variables by value?

1. GetArea(dblLength, dblWidth) As Double

2. GetArea(ByVal dblLength, ByVal dblWidth)

3. GetArea ByVal(dblLength, dblWidth)

, 4. GetArea(dblLength, dblWidth)

6. Which of the following is a valid header for a procedure that receives a copy of the
value stored in a String variable?

1. Private Sub DisplayName(ByCopy strName As String)

2. Private Sub DisplayName ByVal(strName As String)

3. Private Sub DisplayName(ByVal strName As String)

4. Private Sub DisplayName(ByRef strName As String)

7. Which of the following is a valid header for a procedure that receives an integer
followed by a number with a decimal place?

1. Private Sub GetFee(intBase As Value, decRate As Value)

2. Private Sub GetFee(ByRef intBase As Integer, ByRef decRate As Decimal)

3. Private Sub GetFee(ByVal intBase As Integer, ByVal decRate As Decimal)

4. Private Sub GetFee(ByCopy intBase As Integer, ByCopy decorate As Decimal)

8. Which of the following is false?

a. The order of the arguments listed in the calling statement should agree
with the order of the parameters listed in the receiving procedure's
header.

b. The data type of each argument in the calling statement should match
the data type of its corresponding parameter in the procedure header.

c. When you pass an item to a procedure by value, the procedure stores the
item's value in a separate memory location.

d. The name of each argument in the calling statement should be identical
to the name of its corresponding parameter in the procedure header.

9. Which of the following instructs a function to return the value stored in
the dblBonus variable?

1. Return dblBonus

2. Return ByVal dblBonus

3. Send dblBonus

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.
Jumuja Liberty University
View profile
Follow You need to be logged in order to follow users or courses
Sold
548
Member since
4 year
Number of followers
415
Documents
2654
Last sold
2 weeks ago

3.9

115 reviews

5
60
4
15
3
20
2
4
1
16

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 tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card 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