MC102: Algoritmos e Programação de Computadores

2º semestre de 2016, turmas M e N

  • Docente: Heiko Hornung
  • Monitores:
    • Rodrigo Augusto Cardoso da Silva (PED; rodscrablerigscrableo@scrablelrc.iscrablec.unicampscrable.br)
    • Adán E. Montero (PED voluntário; aemscrableontscrableero7scrable@gmascrableilscrable.com)
    • Fernando Lucas Araújo Amara (PAD; ferscrablenando.lucscrableasaa@scrablegmascrableil.scrablecom)
  • Página da disciplina: http://www.ic.unicamp.br/~mc102/
  • Folha de apresentação da disciplina

Últimas notícias


Calendário

  • Aulas teóricas:
    • Terça 14:00 - 16:00 - sala CB01
    • Quinta 14:00 - 16:00 - sala CB02
  • Laboratórios:
  • Avaliações:
    • Prova 1: 13/10, 14:00-16:00
    • Prova 2: 13/12, 14:00-16:00
    • Exame: 22/12, 14:00-16:00

Laboratórios

  • Apresentação e comandos úteis
  • SuSy: https://susy.ic.unicamp.br:9999/mc102mn
  • Dica: Se receber uma mensagem como "arquivo 'lab03.py' não é um arquivo texto." ao submeter um lab, inclua um comentário como primeira linha do seu programa
  • Observar também as instruções nos enunciados dos laboratórios:
    • Você deve incluir, no início do seu programa, uma breve descrição dos objetivos do programa, da entrada e da saída, além do seu nome e do seu RA;
    • Indente corretamente o seu código e inclua comentários no decorrer do seu programa.

Aulas

  1. Organização de um sistema computacional.
  2. Variáveis. Tipos Básicos (int, float, double, char, long). Atribuição. Estrutura básica de um programa.
  3. Escrita, Leitura, Operações Aritméticas e Conversão de Tipos
  4. Booleanos, Expressões Relacionais, Lógicas e Comandos Condicionais. Programas: slide 23, slide 24, slide 34
  5. Comandos if, if-else, if-else encaixados.
  6. Laços.
  7. Laços (2).
  8. Laços (3). Programas: slide 11, slide 13, slide 16, slide 17, slide 22, slide 27
  9. Laços (4). Programas: slide 11
  10. Listas Programas: slide 23
  11. Strings
  12. Matrizes e Vetores Multidimensionais
  13. Objetos Mutáveis e Imutáveis, Funções (1). Programas: slide 22, slide 24, slide 33
  14. Funções (2)
  15. Aula de revisão
  16. Prova 1
  17. Funções (3)
  18. Tuplas e Dicionários
  19. Revisão labs, perguntas
  20. Expressões Regulares
  21. Classes. Exercício: coordenadas
  22. Ordenação: SelectionSort e BubbleSort
  23. Ordenação: InsertionSort; Busca
  24. Arquivos, Parâmetros do Programa. Programas: slide 17, slide 20, slide 29
  25. Arquivos binários
  26. Recursão. Programas: slide 38
  27. Recursão (2). Programas: slide 19
  28. Recursão (3).
  29. Recursão (4).
  30. Aula de revisão
  31. Prova 2

Material de Apoio


Avaliações

Notas dos Labs - Turma M

Qualquer inconsistência, entrar em contato.

RA lab00 lab01 lab02 lab03 lab04 lab05 lab06 lab07 lab08 lab09 lab10 lab11 lab12 lab13 lab14 lab15 lab16 lab17 lab18 média
(p. 0)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 2)(p. 2)(p. 2)(p. 2)(p. 2)(p. 2)(p. 3)(p. 2)
141685N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
157593N/A101010101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A2.22
1582371010101010101010N/A101010101010101010N/A8.89
165439N/AN/A10N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0.37
166898N/A10101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.48
167285101010101001010N/A10N/A10N/AN/AN/A101010N/A5.93
1675061010101010101010N/A10N/A10N/AN/A1010010N/A6.3
167630N/A10101010101010010010N/A1010N/A1010107.78
1692271010101010N/AN/AN/AN/AN/AN/A01010N/A101010N/A5.56
169232N/A101010100N/A0010N/AN/AN/AN/AN/A0N/AN/AN/A1.85
1699551010101010101010010N/A100N/A100N/A10N/A5.56
170888N/A1010100N/A10N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.48
171101N/A1010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0.74
17329110101010101010101010N/A1010101010N/AN/AN/A7.04
1745811010101010101010101010101010101010101010
17537610101010101010N/AN/A0N/A1005100N/A10105.93
175482N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
175696N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
175779N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
175904101010101010101010101010N/AN/A1010N/A10N/A7.04
17710510101010100010N/A10N/A101001010N/A10N/A6.3
1774841010101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.48
1784811010101010N/A10N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.85
1819981010101010101010010101010101010N/A10N/A8.15
1821941010101010N/A10N/AN/A10N/A1010101010010N/A7.04
1823691010101010101010510N/A1010N/A10N/A1010107.96
185090101010101010100N/A00101051010010N/A6.67
185119010101010N/A105N/AN/AN/A1001010101010N/A6.85
18556010101010101010101010N/A10N/AN/A1010N/AN/AN/A5.56
186645101010010101001010N/A10N/AN/A10N/AN/A10N/A5.19
186872101010101010105N/A10N/A10101010101010N/A8.33
1882281010101010101010101010101010101010101010
1882471010101010101010N/A10N/A1010100101010N/A7.78
total242829272720231911207211514191913195
corretos23282926261722156.5185201212181610194

Notas dos Labs - Turma N

Qualquer inconsistência, entrar em contato.

RA lab00 lab01 lab02 lab03 lab04 lab05 lab06 lab07 lab08 lab09 lab10 lab11 lab12 lab13 lab14 lab15 lab16 lab17 lab18 média
(p. 0)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 1)(p. 2)(p. 2)(p. 2)(p. 2)(p. 2)(p. 2)(p. 3)(p. 2)
1406971010101010101010101010101010101010101010
14925410101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A10N/A2.22
1559601010101010101010510010101010101010N/A8.7
1575171010101010N/AN/A1010101010101010101010109.26
15757610101010101010101010010100100010N/A6.67
1578461010101010N/A1010N/A101010N/A1010101010N/A7.78
159662010101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.48
16491201010101010101010101010101010101010N/A9.26
1649951010101010101010010N/A1010101010N/A10N/A7.78
16502810101010101055N/A101010N/A1010101010N/A7.78
165275010101010101010N/A10N/A1010N/A10101010N/A7.78
1661751010101010101010N/A10N/A10101010101010109.26
166210N/A10101010N/A1010N/AN/AN/AN/AN/AN/AN/AN/AN/A10N/A3.33
166253N/A10N/A0N/AN/A0N/AN/AN/AN/A100101010N/AN/AN/A3.33
1676981010101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.48
16787110101010101010101010010101010101010N/A8.89
1689791010101010101010010010N/AN/AN/A101010N/A6.3
17013410101010101055N/A10N/A10N/AN/A0101010N/A5.93
170194010101010N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A1.48
1714731010101010101010N/A10N/A10N/AN/AN/AN/AN/AN/AN/A3.7
1737331010101010101010N/A10N/A10N/AN/A1010N/A0N/A5.19
174471010101010101010N/A10N/A100010101010N/A7.04
1748101010101010101010010N/A100010101010N/A7.04
175521N/A101001010100N/A10N/A00010101010N/A5.56
176308N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
1776401010101010N/AN/A1010N/AN/A1001010101010N/A7.04
177758101010101010101010N/AN/A10N/A1010101010N/A7.78
1838600101010101010101010101010N/A1010N/A10N/A7.78
18400610N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
1843531010101010101010N/A10N/A10N/A00N/AN/A10N/A4.81
18515001010101010N/A10N/AN/AN/AN/A1010N/A101010N/A6.3
1855680N/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/AN/A0
18581210101010101010101010101010010101010N/A8.52
total3030293028212325132111241719222319253
corretos22302928282121239.5217231213202218243

Médias finais.

Qualquer inconsistência, entrar em contato.

RA P1 P2 MP ML E M Status
1406979,97,58,4610,0N/A8,9Aprovado
1416850000,0N/A0,0Reprovado
1492545,597,62,2N/A4,2Reprovado
155960687,28,7N/A7,6Aprovado
1575179,39,99,669,3N/A9,5Aprovado
1575769,488,566,7N/A7,8Aprovado
1575930002,2N/A0,0Reprovado
1578464,644,247,8N/A5,0Aprovado
1582375,776,488,9N/A7,1Aprovado
159662602,41,5N/A2,0Reprovado
1649129,399,129,3N/A9,2Aprovado
1649956,75,55,987,8N/A6,5Aprovado
1650288,69,59,147,8N/A8,6Aprovado
1652754,676,047,8N/A6,5Aprovado
1654390000,4N/A0,0Reprovado
16617536,85,289,3N/A6,2Aprovado
1662108,59,49,043,3N/A5,8Aprovado
1662531,900,763,3N/A1,0Reprovado
166898401,61,5N/A1,6Reprovado
167285697,85,9N/A7,1Aprovado
1675067,17,27,166,3N/A6,8Aprovado
1676304,3107,727,8N/A7,7Aprovado
1676980001,5N/A0,0Reprovado
1678719,8109,928,9N/A9,6Aprovado
1689796,734,486,3N/A5,0Aprovado
1692278,59,69,165,6N/A7,5Aprovado
1692329,546,21,97,255,0Aprovado
1699557,6587,865,6N/A6,9Aprovado
1701348,9109,565,9N/A7,9Aprovado
1701940001,5N/A0,0Reprovado
1708880001,5N/A0,0Reprovado
1711010000,7N/A0,0Reprovado
1714736,802,723,7N/A3,0Reprovado
17329196,57,57,0N/A7,3Aprovado
1737338,56,87,485,2N/A6,5Aprovado
174471676,67,0N/A6,7Aprovado
1745819,88,59,0210,0N/A9,3Aprovado
1748109,88,59,027,0N/A8,2Aprovado
17537620,51,15,9N/A1,5Reprovado
1754820000,0N/A0,0Reprovado
17552148,56,75,6N/A6,3Aprovado
1756960000,0N/A0,0Reprovado
1757790000,0N/A0,0Reprovado
1759048,3109,327,0N/A8,4Aprovado
1763080000,0N/A0,0Reprovado
1771057,39,58,626,3N/A7,7Aprovado
1774844,201,681,5N/A1,6Reprovado
1776403,25,14,347,0N/A5,0Aprovado
1777586,56,96,747,8N/A7,1Aprovado
1784813,44,54,061,9N/A2,9Reprovado
1819989,58,58,98,1N/A8,6Aprovado
1821941,49,36,147,0N/A6,4Aprovado
1823695,49,57,868,0N/A7,9Aprovado
1838609,58,58,97,8N/A8,5Aprovado
1840060000,0N/A0,0Reprovado
184353108,99,344,8N/A7,1Aprovado
1850903,264,886,7N/A5,4Aprovado
18511969,58,16,9N/A7,6Aprovado
1851505,79,47,926,3N/A7,3Aprovado
1855609,58,58,95,6N/A7,4Aprovado
1855680000,0N/A0,0Reprovado
18581298,98,948,5N/A8,8Aprovado
1866459,77,48,325,2N/A6,9Aprovado
1868729998,3N/A8,8Aprovado
1882289,988,769,3N/A8,9Aprovado
1882475,56,56,17,8N/A6,6Aprovado