Quiz
Boolean Logic
This quiz has a time limit, so it opens in the usual player.
Questions in this quiz (6)
1Which of the following is true?
- AA Boolean data type has only two values: yes and no
- BA Boolean data type has only two values: true and false
- CA Boolean data type has only two values: 1 and 0
2What is the purpose of logic gates?
- ATo allow an electronic system to make a decision based on its inputs
- BTo allow a program to make a decision based on its inputs
- CTo allow an electronic system to make a decision based on its outputs
3With four signal inputs, how many possible outputs are there?
- A4
- B8
- C16
4Which of the following are logic gates?
- AOR, NOT, AND
- BOR, AND, XOR
- COR, AND, XOR, NOT
5How do OR and XOR logic gates differ?
- AAn OR gate always outputs 0 no matter what the inputs whereas an XOR outputs a 1 if one or more of the inputs is a 1
- BThere is no difference
- CAn OR gate outputs a 1 if one or more of the inputs is a 1 whilst an XOR outputs a 1 if only one (not both) of the inputs is a 1
6Which of the following Boolean statements is true?
- Ax > y will give the result true when the value of x is greater than the value of y
- Bx > y will give the result false when the value of x is greater than the value of y
- Cx > y will give the result true when the value of x is less than the value of y
Information
- Description
- GCSE Computer Science Quiz on Boolean Logic, created by Levnt on 23/05/2016.
- Author
- Levnt
- Language
- English
- Views
- 4
- Tags
- Rating
- No ratings yet Rate this quiz