CT 9 Flashcards

CT 9 Flashcards

Assessment

Flashcard

Created by

Richard Steed

Computers

10th Grade

Hard

Student preview

quiz-placeholder

15 questions

Show all answers

1.

FLASHCARD QUESTION

Front

Purpose of test data

Back

Test data helps verify the correct functioning of an algorithm or program.

2.

FLASHCARD QUESTION

Front

You should test to make sure bad input is not allowed into your algorithm or program.

Back

Testing ensures that bad input is not accepted by your algorithm or program.

3.

FLASHCARD QUESTION

Front

There are three types of test data.

Back

The three types of test data are Valid (normal), Erroneous, and Boundary (extreme).

4.

FLASHCARD QUESTION

Front

One-dimensional data structures are referred to as

Back

an array or list

5.

FLASHCARD QUESTION

Front

Common characteristic of each item in a one-dimensional data structure

Back

Each item is the same data type.

6.

FLASHCARD QUESTION

Front

Accessing an item in a one-dimensional data structure

Back

Uses a single index to access an item.

7.

FLASHCARD QUESTION

Front

Implementation of one-dimensional data structures in Python

Back

Implemented in Python as a list.

8.

FLASHCARD QUESTION

Front

Building a sequence of indices in reverse

Back

Use `range(start index, stop index, step)` with `range(end of list, beginning of list, -1)`.

9.

FLASHCARD QUESTION

Front

Trace table worked example

Back

Media Image

10.

FLASHCARD QUESTION

Front

Locate and fix syntax errors

Back

Syntax errors are found in parts of code that break the rules of the programming language. Tips: Your integrated development environment (IDE) can help identify these, sometimes, without even running the code. Errors are sometimes reported on a line after the real error. Check the code around the reported line.

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?