exam questions

Exam 1z0-149 All Questions

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

Exam 1z0-149 topic 1 question 11 discussion

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

Which two are true about collections and RECORD types? (Choose two.)

  • A. A variable of RECORD type can contain fields of another RECORD type or any collection type.
  • B. Only associative arrays and nested tables can have elements of RECORD type.
  • C. All collections and RECORD types can be defined in PL/SQL blocks, packages, or at the schema level.
  • D. Collections and RECORD types are always dense.
  • E. All collections and RECORD types can be stored in table columns.
  • F. VARRAYS, nested tables and each field in %ROWTYPE type variables have a default value of null.
Show Suggested Answer Hide Answer
Suggested Answer: AF 🗳️

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
abdullah_barham
Highly Voted 1 year, 10 months ago
Selected Answer: AF
I tried Each the answer will be A + F
upvoted 5 times
...
The_Potentate
Most Recent 4 months, 3 weeks ago
Selected Answer: AF
A) TRUE I created a variable of RECORD type which contains another RECORD type and all collection types. The code compiled and ran fine. B) Not true since A is true C) Not true. RECORD types cannot be defined at the schema level. D) Nested tables and associative arrays can be sparse. E) Associative arrays (index-by tables) cannot be stored in database columns. F) TRUE VARRAYS, nested tables, and fields of a %ROWTYPE variable are initialized to NULL by default unless explicitly initialized. I tested this in SQL Developer and verified that it is true.
upvoted 2 times
...
ahmed0_10101
5 months, 2 weeks ago
F a think incorrect VARRAYS and nested tables do not have a default value when they are defined. You must initialize them before using them.
upvoted 1 times
...
thranduyl
1 year, 1 month ago
Selected Answer: AF
A, IS CORRECT
upvoted 1 times
...
TheOracleWasTaken
1 year, 4 months ago
Selected Answer: AF
A is fo sure correct and the other least wrong answer seems like F
upvoted 2 times
...
jm9999
1 year, 6 months ago
Selected Answer: AF
Varrays can also have elements of record type.
upvoted 2 times
...
Goto10
1 year, 10 months ago
B is wrong since RECORD can have elements of another RECORD type
upvoted 1 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