1. Home
  2. Computing & Technology
  3. Computer Certification
OCP Practice Test
20 Free OCP Practice Questions for the 1Z0-001 Exam

Answer 1

Correct answer: e

Explanation:

Choice E is the correct answer.

The OR operator is used to test all or either of the values. It returns TRUE if either condition is TRUE. The IN operator tests for values in a list. For example, the list could contain 300 and 800. Whenever the ‘rate’ column has the values 300 or 800, the query will return data. Hence, the OR operator could substitute the IN operator.

Choice A is incorrect because the AND operator is used to test the expression for all the values and returns TRUE only if all the conditions are true.

Choice B is incorrect because the BETWEEN…AND operator is used to test for a range of values and returns TRUE if the value is in the stated range.

Choice C is incorrect because the LIKE operator is used to test the expression for wild card searches of valid search string values.

Choice D is incorrect because the >= operator is used to test a comparison and returns TRUE if the value is greater than or equal to the specified value.

Choice F is incorrect because the <= operator is used to test a comparison and returns TRUE if the value is less than or equal to the specified value.

Next page > Question 2

Explore Computer Certification

More from About.com

  1. Home
  2. Computing & Technology
  3. Computer Certification

©2008 About.com, a part of The New York Times Company.

All rights reserved.