SlideServe
Menu
Préférences
© SlideServe · v2026

Exploring Algorithms: Understanding Computing Operations

makoto avatar
9 diapositives · 195 Views · Aug 01, 2014

Discover the concept of algorithms as a series of well-defined and executable operations that yield results efficiently. Learn about pseudocode for sequential, conditional, and iterative setups. Practical examples like finding common friends are included. Dive into the basics of flowcharts too for visualizing algorithmic steps. Access Python chapter Sections 1 and 2 to enhance your understanding.

Exploring Algorithms: Understanding Computing Operations - slide 1
01 / 9Exploring Algorithms: Understanding Computing Operations
1 / 17

Télécharger la présentation

Exploring Algorithms: Understanding Computing Operations
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. CSCI 1001 overview of computer science ALGORITHMS

  2. Algorithm “A well-ordered collection of unambiguous and effectively computable operations that, when executed, produces a result and halts in a finite amount of time.” How do we describe an algorithm?

  3. PSEUDOCODE Sequential operations “Set variable = expression” “get variable” “input: variable” “print variable” • “output variable” Conditional operations if boolean expression then operation sequence else alternate operation sequence

  4. PSEUDOCODE Iterative operations while boolean expression sequence of operations for each variable in list of values sequence of operations

  5. Finding common friends input: list of names, alice1…alicek input: list of names, bob1…bobm • go through both lists and if you find a • name in common, print it out.

  6. Finding common friends input: list of names, alice1…alicek input: list of names, bob1…bobm set i = 0 set j = 0 while i < k while j < m if alicei = bobj then print alicei set j to j+1 set k to k+1

  7. ( ) xkcd. com

  8. FLOWCHARTS Sequential operation Conditional True False

  9. http://cs1001.us/ Please read Sections 1 and 2 of the Python chapter for Monday