Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

CSIS 208 Week 4 - Chapter 8 Review | 21 Questions and Answers | Liberty University

Document preview thumbnail
Preview 2 out of 9 pages

CSIS 208 Week 4 - Chapter 8 Review | 21 Questions and Answers | Liberty University

Content preview

1. Which of the following declares a five-element one-dimensional array?

1. Dim intSold(4) As Integer

2. Dim intSold(5) As Integer

3. Dim intSold(4) As Integer = {4, 78, 65, 23, 2}

4. Dim intSold(5) As Integer = {4, 78, 65, 23, 2}

2. The strItems array is declared as follows: Dim strItems(20) As String.
The intSub variable keeps track of the array subscripts and is initialized to 0. Which
of the following Do clauses will process the loop instructions for each element in
the array?

1. Do While intSub > 20

2. Do While intSub < 20

3. Do While intSub >= 20

4. Do While intSub <= 20

3. The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000,
900, 500, 20000}. What will the intSales(2) += 10 statement do?

1. It will replace the 900 amount with 10.

2. It will replace the 900 amount with 910.

3. It will replace the 12000 amount with 10.

4. It will replace the 12000 amount with 12010.

, 4. The intSales array is declared as follows: Dim intSales() As Integer = {10000, 12000,
900, 500, 20000}. If the intSub variable contains the number 0 before the loop is
processed, which of the following loops will correctly multiply each array element
by 2?




1.




2.




3.




4.

Document information

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

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

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
3.9
(121)
Sold
589
Followers
417
Items
2856
Last sold
3 days ago




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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions