Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Pensando logicamente: introdução à lógica de pr...
Search
Juliana Negreiros
July 20, 2019
Technology
72
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pensando logicamente: introdução à lógica de programação | Thinking logically: introduction to programming logic
- Rails Girls Sorocaba 2018 (16/06/2018)
- Rails Girls Sorocaba 2019 (20/07/2019)
Juliana Negreiros
July 20, 2019
More Decks by Juliana Negreiros
See All by Juliana Negreiros
Um guia para começar no mundo Front End
juunegreiros
0
350
Desmistificando a área de TI
juunegreiros
0
92
Como otimizar seu site com lighthouse e core web vitals
juunegreiros
0
440
Introdução ao Git
juunegreiros
0
66
Webpacker e a Jornada do Heroi
juunegreiros
0
37
Como modularizar seu front-end sem depender de um framework
juunegreiros
0
93
Sopa de Letrinhas CSS | Alphabet soup CSS
juunegreiros
1
85
Carreiras em TI
juunegreiros
0
63
Javascript, um menino serelepe | Javascript, a serelepe guy
juunegreiros
0
290
Other Decks in Technology
See All in Technology
AI時代、データエンジニアが一番おもろい
genshun9
0
540
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
12k
株式会社シーエーシー エンジニア向け会社紹介資料
cac
0
57k
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.3k
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.2k
AI時代の「技術的負債」の変質ー概念の終焉と再解釈、エージェントと共に向かう先
nwiizo
0
1.9k
What the customer really needed
kawaguti
PRO
1
110
AIを活用するために決めた "やらないこと" - 価値に注目する / Not betting on AI
soudai
PRO
1
500
Gitは怖い?共有ワークスペースから始めるSnowflakeチーム開発
coco_se
0
210
ユーザー価値を届け続けるためにウォンテッドリーが大切にしている文化
kotaminato
0
140
積み重なった技術負債への挑戦 〜初手としての全社ゴト化〜
techtekt
PRO
0
710
おい、エージェントを使って終わらせろ
nwiizo
0
190
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
530
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Chasing Engaging Ingredients in Design
codingconduct
0
310
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
330
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Darren the Foodie - Storyboard
khoart
PRO
3
3.9k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
560
Transcript
pensando logicamente: introdução a Lógica de Programação
Juliana Negreiros @juunegreiros
Entendendo um computador
Some 2 + 2 Português
Binário 00110001 00000000 00000000 00110001 00000001 00000001 00110011 00000001 00000010
01010001 00001011 00000010 00100010 00000010 00001000 01000011 00000001 00000000 01000001 00000001 00000001 00010000 00000010 00000000 01100010 00000000 00000000
Linguagem de programação var soma = 2 + 2;
Linguagem de programação Meio de campo entre nós e o
computador
Linguagem de programação Padronizada
Linguagem de programação Facilidade
dando instruções
variáveis e atribuição de valores
variáveis e atribuição de valores variável pessoas = 1 variável
nome = “rails” inteiro num = 2 decimal num = 2.5 string nome = “girls” booleano teste = true
Operações aritméticas
Operações aritméticas num1 + num2 num1 - num2 num1 /
num2 num1 * num2 num1 % num2 num+= 2 -> num = num + 2 num++ -> num = num + 1
Operações condicionais
Operações condicionais num1 > num2 num1 < num2 num1 >=
num2 num1 <= num2 num1 == num2 num1 != num2
negação
negação !ligado
condições
condições se numero < 1 faça numero++ else numero-- fim
repetição
repetição variavel num = 0 enquanto num < 5 faça
num++ fim
repetição variavel num = 0 variavel contador para contador de
0 até 5 passo 1 faça numero++ fim
entendendo de verdade
None
variável carro
None
carro anda 150m
None
carro vire à direita carro anda 200m
None
enquanto semáforo ==! verde faça carro pare fim carro anda
200m
None
se lombada faça carro reduz marcha fim carro anda 200m
None
carro vira à esquerda carro anda 300m
None
variável pessoas = 3 variável contador se faixa elevada faça
se pessoas > 0 faça para contador de 0 até pessoas passo 1 faça carro pare fim else carro reduz marcha fim fim
None
carro anda 100m se vaga faça estacione fim
vamos praticar!