View lista-3-sql-satc.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 1 | |
-- b) Comando 2 | |
-- ALTER TABLE apolice ALTER COLUMN valor_cobertura numeric(10,2) NULL | |
-- 2 | |
-- a), d) | |
-- Falta uma vírgula depois do 'JEEP' | |
-- 3 | |
-- b) |
View ExercicioDeBancoDeDados.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- MICRODADOS_ENEM_2021_SC --- | |
-- 1. Qual é a média da nota em matemática dos alunos que estudaram numa escola em Santa Catarina? | |
SELECT AVG(NU_NOTA_MT) FROM MICRODADOS_ENEM_2021_SC WHERE SG_UF_ESC='SC' | |
go | |
-- 2. Qual é a média da nota em Linguagens e Códigos dos alunos que estudaram numa escola em Santa Catarina? | |
SELECT AVG(NU_NOTA_LC) FROM MICRODADOS_ENEM_2021_SC WHERE SG_UF_ESC='SC' | |
go |
View query_exercicio_satc.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table aluno ( | |
cd_aluno int identity not null, | |
nm_aluno varchar(100) not null, | |
email varchar(100) not null, | |
constraint pk_aluno primary key(cd_aluno) | |
) | |
go | |
create table avaliacao ( | |
cd_avaliacao int identity not null, |
View VetorNaoOrdenadoAvancado.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VetorNaoOrdenado: | |
def __init__(self, capacidade): | |
self.__capacidade = capacidade | |
self.__ultimaPosicao = -1 | |
self.__valores = [0]*self.__capacidade | |
def imprimir(self): | |
if self.__ultimaPosicao == -1: | |
return print("Vetor vazio") | |
View VetorNaoOrdenadoSimples.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class VetorNaoOrdenado: | |
def __init__(self, capacidade): | |
self.__capacidade = capacidade | |
self.__ultimaPosicao = -1 | |
self.__valores = [0]*self.__capacidade | |
def imprimir(self): | |
if self.__ultimaPosicao == -1: | |
print("Vetor vazio") | |
else: |
View jccbeninca.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style> | |
.callout{text-align: center;} | |
.btn {border: none; color: white; padding: 15px 0; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 0; cursor: pointer; width: 50%; float:left; } | |
.btn-group {width: 100%; margin-bottom: 15px; position: relative; clear: both;} | |
.btn-group p{margin:0;} | |
.btn-group .btn:not(:last-child) {border-right: none; /* Prevent double borders */} | |
.button1 {background-color: #4CAF50;} /* Green */ | |
.button2 {background-color: #008CBA;} /* Blue */ | |
.button3 {background-color: #e7e7e7; color: black;} /* Gray */ |
View Aula-2-Programacao.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1. Faça um programa em Python que solicite as três notas tiradas por vocês na disciplina de programação e imprima no console as notas e a média das notas. | |
def exercicio1(): | |
nota1 = float(input('Digite sua primeira nota:')) | |
nota2 = float(input('Digite sua segunda nota:')) | |
nota3 = float(input('Digite sua terceira nota:')) | |
media = ( nota1 + nota2 + nota3 ) / 3.0 | |
print(("Suas notas são %s, %s, %s e a média é %s") % (nota1, nota2, nota3, media)) |
View fogefoge.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <time.h> | |
#include "pacman.h" | |
#include "mapa.h" | |
MAPA m; | |
POSICAO heroi; | |
int acabou() { |
View iCalendar.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__ . '/../mail/v5_2/PHPMailerAutoload.php'; | |
/** | |
* Classe para criar e enviar por email agendamentos | |
* | |
* MODO DE USO | |
* Instacie a classe | |
* $invite = new InviteICS('email do organizador', 'nome do organizador', 'tipo de evento', 'codigo'); |
View iCalendar.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__ . '/../mail/v5_2/PHPMailerAutoload.php'; | |
class InviteTest { | |
protected $code_invite; | |
protected $curr_date; | |
protected $event_date_ini; | |
protected $event_date_fin; |
NewerOlder