Fichas
DEP 2 Weaknesses
Fichas del conjunto (7)
- 1What is an if statement?An if statement is a programming conditional statement that, if proved true, performs a function or displays information. Below is a general example of an if statement, not specific to any particular programming language
- 2What is a case/switch statement?A switch statement allows a variable to be tested for equality against a list of values. Each value is called a case, and the variable being switched on is checked for each switch case.
- 3What is AND and what does it do?AND is a logic gate that compares two inputs, if both are true, the gate while output: true.
- 4What is OR and what does it do?OR is a logic gate and compared two inputs, if one or both inputs are true, the gate will output: true
- 5What is NOT and what does it do?NOT is a logic gate that has one input and outputs the opposite of the input
- 6What is XOR and what does it do?XOR is a logic gate and only outputs true if only one input is true, if both or non are true, the output is false
- 7What is a case/switch statement?It is a type of code where the input does different actions depending on the input.
Información
- Descripción
- A level Computer Science Fichas sobre DEP 2 Weaknesses, creado por Muhammad Raza el 06/10/2017.
- Creado por
- Muhammad Raza
- Visitas
- 0
- Valoración