100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COP 3530 Questions with complete solution 2024 £11.04   Add to cart

Exam (elaborations)

COP 3530 Questions with complete solution 2024

 8 views  0 purchase
  • Module
  • COP
  • Institution
  • COP

COP 3530 Questions with complete solution 2024 COP 3530 - Quiz #1 Big-oh notation (upper bound) - correct answer - Symbol: O g(n) <= c * f(n) for all n >= n0 Omega notation (lower bound) - correct answer -Symbol : Ω 0 <= c * f(n) <= g(n) for all n >= n0 Theta notatio...

[Show more]

Preview 2 out of 7  pages

  • September 7, 2024
  • 7
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • COP
  • COP
avatar-seller
COP 3530 - Quiz #1
Big-oh notation (upper bound) - correct answer ✔- Symbol: O
g(n) <= c * f(n) for all n >= n0


Omega notation (lower bound) - correct answer ✔-Symbol : Ω
0 <= c * f(n) <= g(n) for all n >= n0


Theta notation (tight bound) - correct answer ✔-Symbol: Θ
0 <= c1 * f(n) <= g(n) <= c2 * f(n) for all n >= n0


Little-Oh Notation - correct answer ✔-Symbol: o
0 <= g(n) < c * f(n) for all n >= n0


Little omega Notation - correct answer ✔-Symbol: ω
0 <= c * f(n) < g(n) for all n >= n0


Asymptotic notation uses - correct answer ✔-simplify expressions
-O(1) denotes a constant function
- express running times of algorithms


n∑i (i=0) - correct answer ✔n(n+1)/2 = O(n^2)


n∑i^2 (i=0) - correct answer ✔n(n+1)(2n+1)/6 = O(n^3)


n∑i^3 (i=0) - correct answer ✔[n(n+1)/2]^2 = O(n^4)

, growth rate functions from slowest to fastest - correct answer ✔1, √n, n,
nlogn, nlog^2n, n^2, n^2logn, n^3, 2^n, n!


Algorithm - correct answer ✔intuitive concept: finite collection of steps to
solve a problem in a mechanical way.


formal concept: a model of a computer is defined and an algorithm is simply a
program for that ideal computer.


computability - correct answer ✔existence of algorithms


complexity - correct answer ✔algorithms consuming the least amount of
resources(time, space..)


memory - correct answer ✔each unit is able to store a primitive type value
(integer, real, character..)


Operations - correct answer ✔1. =
2. Arithmetic/math operators (+, -, *, /, %)
3. if- else
4. loops (for, while, do-while)
5.header, call, return
6. i/o statements( FileReader, BufferedReader..)
7. array atomic operations


time/cost of one operation - correct answer ✔1 unit

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 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 flyhigher329. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

73918 documents were sold in the last 30 days

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

Start selling
£11.04
  • (0)
  Add to cart