Aula 23/10/2023 – Lógica de Programação – Blog Gerardão

Aula 23/10/2023 – Lógica de Programação

Operadores Lógicos: https://www.inf.pucrs.br/pinho/PCB/ComandosDeDecisao/Decisao.htm

Exemplo 01 de código operadores lógicos AND, OR, NOT: Operadores AND OR NOT.por

Exemplo 02 Código de Idades: Criança adolescente ou adulto.por

Exemplo 03 Jogo da forca 6 letras: Jogo da forca com 6 letras.por

Slides sobre a linguagem Python: Slides Python

QUESTÃO

01) Copie os exemplos (01, 02 e 03) de códigos acima e execute-os em sua IDE do Portugol Studio. Verifique se o código está funcionando corretamente.

02) Refaça o algoritmo do Código das Idades (exemplo 02) utilizando a linguagem Python.

03) Adicione as seguintes condições:

  • Idoso (maior ou igual a 60 e menor que 80)
  • Longevo (Maior ou igual a 80)

04) Faça um algoritmo que simule um jogo da velha utilizando a linguagem Python

22 comentários em “Aula 23/10/2023 – Lógica de Programação”

  1. naturally like your web site however you need to take a look at the spelling on several of your posts. A number of them are rife with spelling problems and I find it very bothersome to tell the truth on the other hand I will surely come again again.

    Responder
  2. هشدار به جوان‌ها و والدین راجع به سایت‌های شرط‌بندی.
    این سایت‌ها به وسیله طراحی جذاب
    همچنین جوایز تعهد می‌شود، لیکن در حقیقت منجر ضرر بزرگ اقتصادی به علاوه وابستگی عصبی می‌گردند.
    دوست من به سبب چنین بازی کار‌ام را از دست دادم.
    بهتر است اطلاع‌رسانی شوید و اجتناب کنید!

    Responder
  3. سلام به همه، عزم دارم اخطار بگویم به پلتفرم‌های شرط‌بندی.
    آنها جاها با پاداش غیرواقعی شما را جذب می‌زنند،
    ولی در حقیقت پراز تقلب هستند.
    من در علت سوءاستفاده وام برداشتم
    و اکنون در بحران اقتصادی هستم.
    لطفاً از جوانان اطراف بگویید دهید که آنها مسیر به سوی نابودی است!

    Responder
  4. نکته مهم حساس در مورد سایت‌های شرط‌بندی.
    خودم به عنوان فردی که تجربه شخصی داشته‌ام، می‌گویم که
    این جاها ابزار برای ربایش سرمایه افراد
    هستند. فعالیت اولیه موفق است، لیکن سپس الگوریتم‌ها به نحوی طراحی می‌گردند
    که شما در نهایت بازنده می‌شوید.
    ریسک وابستگی بیشتر از هرگونه امر دیگری است و تواند سلامت‌تان را تخریب
    کند. پرهیز شوید!

    Responder
  5. Heya! I’m at work browsing your blog from my new iphone 3gs!

    Just wanted to say I love reading your blog and look forward to all your posts!
    Keep up the outstanding work!

    Responder
  6. Nice post. I learn something new and challenging on blogs
    I stumbleupon on a daily basis. It’s always interesting to
    read content from other writers and practice a little something from
    their websites.

    Responder
  7. Hey there I am so thrilled I found your weblog, I
    really found you by error, while I was looking on Google for
    something else, Nonetheless I am here now and would just
    like to say cheers for a tremendous post and a all round enjoyable blog (I also love the theme/design), I don’t have time to read
    it all at the minute but I have book-marked it and also included your RSS feeds, so when I have time I will be back to read a great
    deal more, Please do keep up the great jo.

    Responder
  8. My partner and I stumbled over here coming from a different web
    page and thought I may as well check things out.
    I like what I see so i am just following you. Look forward to
    going over your web page again.

    Responder
  9. Hi there! I could have sworn I’ve visited this website before but after looking
    at some of the articles I realized it’s new to me.
    Anyhow, I’m definitely delighted I came across it and I’ll
    be bookmarking it and checking back frequently!

    Responder

Deixe um comentário para Vytvorit osobní úcet Cancelar resposta