100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CSC 2510: Exam 5 Study Guide questions with 100% correct answers $13.99   Add to cart

Exam (elaborations)

CSC 2510: Exam 5 Study Guide questions with 100% correct answers

 0 view  0 purchase
  • Course
  • CSC 2510
  • Institution
  • CSC 2510

CSC 2510: Exam 5 Study Guide questions with 100% correct answers

Preview 2 out of 10  pages

  • November 16, 2024
  • 10
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CSC 2510
  • CSC 2510
avatar-seller
BravelRadon
CSC 2510: Exam 5 Study Guide
questions with 100% correct answers

How many different three-letter initials can people have? - correct answer ✔✔26 x 25 x 24



- There are 26 letters in the alphabet.



- Key-word: different



How many bit strings are there of length six or less, not counting the empty string? - correct answer
✔✔2^6 + 2^5 + 2^4 + 2^3 + 2^2 + 2^1



- bit-string 2^n



- Key-words: six or less, NOT including the empty string



How many positive integers between 1000 and 9999 inclusive



a) are divisible by 9?

b) are even?

c) have distinct digits?

d) are not divisible by 3?

e) are divisible by either 5 or 7?

f) are not divisible by either 5 or 7?

g) are divisible by 5 but not by 7?

h) are divisible by 5 and 7? - correct answer ✔✔a) floor function:



9000/9 = 1000

, - objective is to find the positive integers between 1000 and 9999 inclusive are divisible by 9



b) 4500 integers are even



9000/2 = 4500



- half are even, and half are odd numbers



c) 9 * 9 * 8 * 7 = 4536



- 1st number: cannot have 9, 2nd number can have 0 but not 9, 3rd number cannot have 0 or 9, 4th
number cannot have 0, 9, or 8



-key word: distinct



d) floor function:



9000/3 = 3000



- number of integers that are not divisible by 3 is 9000-3000 = 6000



e) floor functions:



9000/5 = 1800

9000/7 = 1285



1800 + 1285 = 3085

3085 - (9000/35) = 2829

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller BravelRadon. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $13.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75323 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$13.99
  • (0)
  Add to cart