Pular para o conteúdo da ferramenta
Minhas ferramentas

Eletricidade e eletromagnetismo · AP Computer Science

Simulador de portas lógicas e tabelas-verdade

Simulador de circuitos lógicos digitais e tabelas-verdade: AND, OR, NOT, NAND

  • No navegador
  • Sem cadastro
  • Dedução ao vivo
  • Modo projetor
  • Folha de exercícios A4
Cálculo local · Privado
Laboratório interativo de ciências Cálculos matemáticos e físicos puramente locais no navegador sem coleta de dados pessoais.
Janela de simulação 3D● 60 FPS
Predefinições e armadilhas comuns:

Variáveis de controle do experimento

V

Deduções e métricas em tempo real

Saída lógica Y
--
Nível de tensão de saída
--
Expressão booleana
--
Modelo de circuito equivalente
--
Dedução de fórmulas em tempo real
Fórmula fundamental: --
Substituição de valores: --
Estado físico: --

Exemplos clássicos e armadilhas de exame

Worked Problem

Problema: A bank vault opens only when two managers turn their keys simultaneously. What logic gate is this? Give truth table.
Derivação passo a passo:
  1. AND Gate. Truth table: (0,0)->0, (0,1)->0, (1,0)->0, (1,1)->1. Boolean formula: Y = A AND B.

Worked Problem

Problema: What is an XOR gate? What role does it play in computer adders?
Derivação passo a passo:
  1. Outputs 1 when inputs differ, 0 when identical. Serves as the binary half-adder sum function (1+1 = 0 with carry 1).

Folha de investigação em aula e exercícios

Q1. Variant 1: Why is the NAND gate termed the "universal gate" in digital chip design?
Q2. Variant 2: A burglar alarm triggers if either a window opens (A=1) or door opens (B=1). What gate is needed?
Q3. Variant 3: Automatic streetlight controller inverts daylight 1 into off 0, and night 0 into on 1. What gate is used?

Perguntas frequentes e erros comuns

What do "0" and "1" physically represent inside a silicon chip?
Voltage levels! In 5V TTL logic, 0V-0.8V represents "0" (Low), while 2.4V-5.0V represents "1" (High), separated by a noise immunity guardband.
How do billions of transistors inside a CPU perform computation?
MOSFET transistors serve as solid-state electrical switches. Arranged in complementary CMOS pairs, they implement logic gates that assemble into ALUs and registers.
What are De Morgan's Laws in boolean algebra?
1) NOT(A AND B) = (NOT A) OR (NOT B); 2) NOT(A OR B) = (NOT A) AND (NOT B). They simplify digital circuits into optimized gate arrays.
How do Qubits in quantum computers revolutionize classic 0 and 1 bits?
Classic bits are strictly 0 or 1. Quantum bits exploit quantum superposition, existing as α|0⟩ + β|1⟩ simultaneously, processing 2^N states concurrently.