Algorithm paper 2

0.0(0)
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

flashcard set

Earn XP

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

Algorithms are step by step instructions to solve a problem

are step by step instructions to solve a problem

2
New cards

Variable

A variable is a named space in computers memory where we store things or change the things that are stored in the memory.

3
New cards

3 types :

written description , flowcharts and Pseudocode

4
New cards

Arithmetic Operators

  • Addition

  • Subtraction

  • Division

  • Multiplication

  • integer division (//)

  • Exponential (**)

  • Modulus (the reminder after the division) (%)

5
New cards

Logical operators

AND , OR , NOT

6
New cards

Relational operators

  • Less than<

  • Less than or equal to <=

  • Greater than >

  • Greater than or equal to >=

  • Not equals to !=

  • Equals to =

7
New cards

Shapes and their function in the Flowchart

  • Oval kind of shape - start and end

  • rectangle but w/ curves - process

  • Diamond - Decision

  • Parallelogram- input / output

  • Arrows-Connect