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
Exam (elaborations)

CS 20 QUIZ 1 EXAM QUESTIONS AND ANSWERS.

Rating
-
Sold
-
Pages
4
Grade
A+
Uploaded on
19-02-2026
Written in
2025/2026

CS 20 QUIZ 1 EXAM QUESTIONS AND ANSWERS Algorithm - CORRECT ANSWERTaking input into output through a set of rules Data - CORRECT ANSWERFactual information used for reasoning, discussion, or calculation. Can be processed or transmitted digitally

Show more Read less
Institution
CS 20
Course
CS 20

Content preview

CS 20 QUIZ 1 EXAM QUESTIONS AND ANSWERS
Algorithm - CORRECT ANSWER✅✅Taking input into output through a set of rules



Data - CORRECT ANSWER✅✅Factual information used for reasoning, discussion, or calculation. Can be
processed or transmitted digitally



Information - CORRECT ANSWER✅✅Processed form of data



Structures - CORRECT ANSWER✅✅Groupings of related elements or objects



Data structure - CORRECT ANSWER✅✅Foundational concepts used to organize and process data
efficiently. Organized collection of data elements that support operations.



1-D Array: Max # of elements - CORRECT ANSWER✅✅UB - LB + 1



Memory address of element with index k - CORRECT ANSWER✅✅L(x(k)) = B + W * (k - LB)



2-D Array: Max # of elements - CORRECT ANSWER✅✅M x N



Memory address of element with index i,k (Row Major Order - C, C++) - CORRECT ANSWER✅✅L(x([i][j]))
= B + W * ((i -LB) * N + (j - LB))



Memory address of element with index i,k (Column Major Order - MATLAB) - CORRECT
ANSWER✅✅L(X([i][j])) = B + W * ((i - LB) + (j - LB) * M)



Traversal - CORRECT ANSWER✅✅Access each element 1 by 1



Searching - CORRECT ANSWER✅✅Find a specific value

Written for

Institution
CS 20
Course
CS 20

Document information

Uploaded on
February 19, 2026
Number of pages
4
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • cs 20
$13.49
Get access to the full document:

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

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.
STANGRADES Stanford University
View profile
Follow You need to be logged in order to follow users or courses
Sold
88
Member since
1 year
Number of followers
1
Documents
12008
Last sold
4 weeks ago
STAN-GRADES

EXCELLENCY IN ACADEMIC MATERIALS

3.4

14 reviews

5
6
4
1
3
3
2
1
1
3

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