exam questions

Exam 1z0-082 All Questions

View all questions & answers for the 1z0-082 exam

Exam 1z0-082 topic 1 question 40 discussion

Actual exam question from Oracle's 1z0-082
Question #: 40
Topic #: 1
[All 1z0-082 Questions]

Which two statements are true about single row functions? (Choose two.)

  • A. MOD : returns the quotient of a division operation
  • B. FLOOR : returns the smallest integer greater than or equal to a specified number
  • C. TRUNC : can be used with NUMBER and DATE values
  • D. CONCAT : can be used to combine any number of values
  • E. CEIL : can be used for positive and negative numbers
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
you1234
Highly Voted 3 years, 6 months ago
C & E is correct one
upvoted 23 times
Ekos
3 years, 1 month ago
i agree
upvoted 4 times
...
ama
3 years, 6 months ago
I agree
upvoted 3 times
...
...
nautil2
Most Recent 3 months, 1 week ago
Selected Answer: CE
A - FALSE; MOD returns the remainder of a division operation B - FALSE; FLOOR returns the greatest integer smaller or equal to a specified number C - TRUE; TRUNC(2.152) and TRUNC(sysdate) are valid expressions D - FALSE; CONCAT joins only two strings (or other datatype expressions that are implicitly converted to a string) E - TRUE; CEIL as well as FLOOR can be used for both possitive and negative numbers
upvoted 1 times
...
auwia
6 months, 2 weeks ago
Selected Answer: CE
A is clearly wrong, correct answer C, E.
upvoted 1 times
...
Minoro
1 year, 1 month ago
Concat may be used with number datatype... for me C,D,E are right MANAGER_ID NUMBER(6) DEPARTMENT_ID NUMBER(4) SQL> select concat(manager_id,department_id) from employees; CONCAT(MANAGER_ID,DEPARTMENT_ID) -------------------------------------------------------------------------------- 90 10090 10090
upvoted 1 times
FelipeC
11 months ago
D is wrong, it says concat can be used with any numbers of ARGUMENTS ,and its false because concat just accept 2 arguments
upvoted 2 times
...
...
raferen10
1 year, 1 month ago
Selected Answer: CE
C and E are correct
upvoted 1 times
...
Franky_T
1 year, 8 months ago
A is wrong. A quotient is the result of a division operation. MOD returns the remainder of n2 divided by n1. B is wrong. FLOOR returns the largest integer equal to or less than n. C is correct. The TRUNC (number) function returns n1 truncated to n2 decimal places. The TRUNC (date) function returns date with the time portion of the day truncated to the unit specified by the format model fmt. D is wrong. CONCAT returns char1 concatenated with char2. Both char1 and char2 can be any of the data types CHAR, VARCHAR2, NCHAR, NVARCHAR2, CLOB, or NCLOB. E is correct. Not clearly documented but implied with: "This function takes as an argument any numeric data type". Negative numbers are still numbers.
upvoted 2 times
Aldo_7
1 year, 1 month ago
an example of ceil with negative numbers is correct. SQL> SELECT id, value,CEIL(value) FROM myTable 2 / ID VALUE CEIL(VALUE) ---------- ---------- ----------- 1 9 9 2 2.11 3 3 3.44 4 4 -4.21 -4 5 10 10 6 3 3 7 -5.88 -5 8 123.45 124 9 98.23 99 9 rows selected.
upvoted 1 times
...
...
ryuah
2 years ago
C,E is correct
upvoted 1 times
...
SimoneF
3 years, 1 month ago
It's amusing how the link in the alleged solution is correct, but the given solution is wrong. MOD returns the remainder of course. I agree with C & E
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago