Электричество и магнетизм · AP Computer Science
Симулятор логических элементов и таблиц истинности
Интерактивный симулятор цифровых логических вентилей и таблиц истинности: И, ИЛИ, НЕ, И-НЕ
- В браузере
- Без регистрации
- Вывод формул
- Режим проектора
- Печатный лист A4
Окно 3D симуляции● 60 FPS
Параметры эксперимента
V
Расчёты и показатели в реальном времени
Выход Y
--
Уровень на выходе
--
Логическое выражение
--
Эквивалентная схема
--
Вывод формул в реальном времени
Основная формула:
--Подстановка значений:
--Физическое состояние: --
Разбор типовых задач и анализ экзаменационных ошибок
Worked Problem
Условие задачи: A bank vault opens only when two managers turn their keys simultaneously. What logic gate is this? Give truth table.
Пошаговый вывод формул:
- AND Gate. Truth table: (0,0)->0, (0,1)->0, (1,0)->0, (1,1)->1. Boolean formula: Y = A AND B.
Worked Problem
Условие задачи: What is an XOR gate? What role does it play in computer adders?
Пошаговый вывод формул:
- Outputs 1 when inputs differ, 0 when identical. Serves as the binary half-adder sum function (1+1 = 0 with carry 1).
Рабочий лист для урока и домашние задания
Q1. Variant 1: Why is the NAND gate termed the "universal gate" in digital chip design?
Answer Key: NAND is functionally complete: appropriate interconnections synthesize NOT, AND, OR, and XOR gates exclusively using NAND gates.
Q2. Variant 2: A burglar alarm triggers if either a window opens (A=1) or door opens (B=1). What gate is needed?
Answer Key: OR Gate. Any single affirmative input triggers output alarm Y = A OR B.
Q3. Variant 3: Automatic streetlight controller inverts daylight 1 into off 0, and night 0 into on 1. What gate is used?
Answer Key: NOT Gate (inverter). It flips input polarity: Y = NOT A.
Часто задаваемые вопросы и типичные заблуждения
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.