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

COSC Final Exam 1336 questions well answered to pass

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
13-12-2024
Written in
2024/2025

COSC Final Exam 1336 questions well answered to pass

Institution
Cosc
Course
Cosc









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

Written for

Institution
Cosc
Course
Cosc

Document information

Uploaded on
December 13, 2024
Number of pages
5
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

COSC Final Exam 1336 questions well
answered to pass

An array is a(n) ____ of values in computer memory. - correct answer ✔✔list



Array elements all have the same ____ in common. - correct answer ✔✔data type



The number of elements in an array is called the ____ of the array. - correct answer ✔✔size



A(n) ____ is another name for a subscript. - correct answer ✔✔index



All array elements have the same group ____. - correct answer ✔✔name



In all languages, subscript values must be sequential ____. - correct answer ✔✔integers



Suppose that you have declared a numeric array named numbers, and two of its elements are
numbers[1] and numbers[5]. You know that ____. - correct answer ✔✔there are exactly three elements
between those two elements



A program contains an array that holds all the names of the days of the week. Which of the following is
true? - correct answer ✔✔the highest subscript is 6



Providing array values is sometimes called ____. - correct answer ✔✔populating the array



An array can be used to replace ____. - correct answer ✔✔nested decisions



The true benefit of using an array lies in your ability to use a ____ as a subscript to the array. - correct
answer ✔✔variable

, Named ____ hold values that do not change during a program's execution - correct answer ✔✔constants



Besides making your code easier to modify, using a ____ makes the code easier to understand. - correct
answer ✔✔named constant



One advantage to using a named constant is that the statement becomes ____. - correct answer ✔✔self-
documenting



When you search through a list from one end to the other, you are performing a ____. - correct answer
✔✔linear search



If you declare a variable to be Boolean, you can set its value to ____. - correct answer ✔✔true or false



Which statement is true of arrays? - correct answer ✔✔Only whole numbers can be used as array
subscripts.



A ____ relates parallel arrays. - correct answer ✔✔subscript



Parallel arrays are most useful when value pairs have a(n) ____ relationship. - correct answer ✔✔indirect



A ____ search starts looking in the middle of a sorted list, and then determines whether it should
continue higher or lower. - correct answer ✔✔binary



To search an array for a(n) ____ match, you can store either the highest or lowest value

of each range for comparison. - correct answer ✔✔range



The number of bytes in an array is always a multiple of the number of ____ in an array. - correct answer
✔✔elements



Every array has a(n) ____ size. - correct answer ✔✔finite

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.
BravelRadon Havard School
View profile
Follow You need to be logged in order to follow users or courses
Sold
873
Member since
4 year
Number of followers
540
Documents
41524
Last sold
4 days ago
EXAM HUB

Welcome to Exam Hub Are you looking for high-quality, exam-ready notes, past papers, Test Banks, and well-researched study materials to boost your grades? You’re in the right place! I create and upload detailed, easy-to-understand, and well-structured documents across multiple subjects. All my materials are designed to help you study , save time, and excel in your coursework and exams! On this page NURSING EXAMS,STUDY GUIDES,TESTBANKS AND QUALITY EXAMS IS THE KEY TO STUDENTS CAREER EXCELLENCE, you find all documents, package deals, and flashcards offered by BravelRadon (EXAM HUB STORES!)....kindly recommend a friend for A+ GARANTEEd either you are a first-year student or final-year graduation! best of luck!

Read more Read less
3.5

154 reviews

5
56
4
30
3
32
2
8
1
28

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