Basic

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/13

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

14 Terms

1
New cards

What is computer science a study of?

  • Computer software

  • Algorithms, abstractions, and efficiency

  • Theoretical foundation of computation

2
New cards

What is an algorithm?

A set of steps to complete a task

3
New cards

What are the requirements of an algorithm

  • Precise

  • Repeatable

  • Predictable in outcomes

  • Executable by different people

  • Has an end

4
New cards

What is the programming process?

  • Input: Ingest info from the real world.

  • Process Data

  • Output: Send data back to the real world.

    Important: Output is dependent on input.

5
New cards

What are the elements of an algorithm?

  • Sequence (steps flow)

  • Selection (choice)

  • Iteration (repetition)

6
New cards

What is the difference between Algorithms and programming languages?

  • Algorithms are written in natural language.

  • Programming Languages are written with strict rules

7
New cards

Define: Compile

Take a piece of code that a human can understand and turn it into something a computer can run.

8
New cards

Define: Compiler

Compiles all of the code of a computer at once.

9
New cards

Define: Interpreter

Compiles code line by line

10
New cards

Define: IDE

An application used to help someone create code.

11
New cards

Define: Literals

Actual data values

12
New cards

Define: Operators

+, -, , /, %, *, etc

13
New cards

Define: Comment

A part of the code ignored by Python, intended to help a human reader

14
New cards

Define: Function

A named sequence of instructions that perform a collective purpose.