Which one of the following is not a logical operator?
- A.NOT
- B.OR
- C.AND
- D.Division
Correct answer
Explanation
The correct answer is D, Division. Division is an arithmetic operator that works on numbers, while logical operators work on true and false values. Logical (Boolean) operators take one or more conditions that are either true (1) or false (0) and return a true or false result. They are the basis of logic gates in digital circuits, of conditions in programming languages and of search queries in databases and search engines. Division, written with the symbol / in most languages, belongs with addition, subtraction and multiplication among the arithmetic operators. Option A is wrong because NOT is a logical operator that reverses a value, turning true into false and false into true. Option B is wrong because OR is a logical operator that gives true when at least one of its inputs is true. Option C is wrong because AND is a logical operator that gives true only when all of its inputs are true. Exam tip: logical operators = AND, OR, NOT (and XOR); arithmetic operators = +, −, ×, ÷.
Practice Questions
View allWhich among the following are the purposes of deploying a Firewall ? 1. Examine each packet arriving from Internet 2. Prevent unauthorised access 3. Block suspicious activity 4. Interconnect telephones Select the answer using the code given below :
- A.1 and 2 only
- B.1, 3 and 4
- C.2 and 3 only
- D.1, 2 and 3
Show answer
A firewall inspects incoming traffic, keeps out unauthorised users and blocks suspicious activity, but it has nothing to do with connecting telephones.
Read the full explanation →What are the uses of software ports ? 1. Connect client computer to server 2. Connect external devices to computer 3. Identify different services like email, file transfer 4. Connecting peripherals like cameras, scanners Select the answer using the code given below :
- A.1 and 2
- B.1 and 3
- C.2 and 3
- D.2 and 4
Show answer
A software port is a logical number, not a physical socket, so it is used for network connections and for telling services apart.
Read the full explanation →With reference to communication technologies, what is/are the difference/differences between LTE (Long-Term Evolution) and VoLTE (Voice over Long-Term Evolution)? 1. LTE is commonly marketed as 3G and VoLTE is commonly marketed as advanced 3G. 2. LTE is data-only technology and VoLTE is voice-only technology. Select the correct answer using the code given below.
- A.1 only
- B.2 only
- C.Both 1 and 2
- D.Neither 1 nor 2
Show answer
Neither statement describes the real difference between the two. LTE is a fourth-generation mobile broadband standard and is sold to customers as 4G, not 3G. VoLTE is not a separate network at all: it is a way of carrying voice calls as data packets over that same LTE network, using…
Read the full explanation →1 gigabyte in binary system is equivalent to
- A.1000 kilobytes
- B.1024 megabytes
- C.1200 megabytes
- D.10000 kilobytes
Show answer
In the binary system every step up the ladder of memory units is a factor of 2 raised to 10, that is 1024, so one gigabyte holds 1024 megabytes.
Read the full explanation →Consider the following:
1. Small memory
2. Less expensive memory
3. Fast memory
Which of the above are the characteristics of the cache memory?
- A.1 and 2 only
- B.2 and 3 only
- C.1 and 3 only
- D.1, 2 and 3
Show answer
Cache memory is small and very fast, but it is the most expensive memory per byte after the CPU registers, so statement 2 is wrong.
Read the full explanation →