Computer Science Concepts

Computer Science Concepts

Assessment

Flashcard

Computers

University

Hard

Created by

hanstine yang

FREE Resource

Student preview

quiz-placeholder

41 questions

Show all answers

1.

FLASHCARD QUESTION

Front

In 'Type-II' polynomial representation, what is a drawback for dense polynomials?

Back

It can require approximately twice as much storage as Type-I.

2.

FLASHCARD QUESTION

Front

What is a 'dangling reference' in pointers and dynamic memory?

Back

A pointer that points to a memory location that has already been deallocated or freed.

3.

FLASHCARD QUESTION

Front

How does fast_transpose improve upon basic matrix transpose?

Back

It calculates the number of elements per column to directly place each element in its final position.

4.

FLASHCARD QUESTION

Front

How can a jagged 2D array be created in C?

Back

Allocate an array of pointers, then allocate memory for each row individually.

5.

FLASHCARD QUESTION

Front

What is the formal definition of Big O notation, f(n) = O(g(n))?

Back

There exist positive constants c and n₀ such that f(n) ≤ c·g(n) for all n ≥ n₀.

6.

FLASHCARD QUESTION

Front

What is a disadvantage of 'Type-I' polynomial representation?

Back

It wastes a large amount of space for sparse polynomials.

7.

FLASHCARD QUESTION

Front

Which is NOT required for an algorithm?

Back

Optimality.

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?