(a) In duck-typed languages, LSP violations can occur even when inheritance is not used(b) In statically-typed languages, if the compiler reports no type errors/warnings, then there are no LSP violations
A. Only (a) is true
B. Only (b) is true
C. Both are true
D. Both are false
查看答案
The ability to perform a background request and update the HTML page in-place with the response relies on:(i) JavaScript(ii) The browser making the DOM available to JavaScript(iii) JSON(iv) XML(v) XmlHttpRequest
A. i and ii
B. iii and v
C. i, ii, and iii
D. i, ii, and v
E. i, iv, and v
Which Ruby language features support the DRYness enabled by validations and filters: (a) higher-order functions, (b) closures, (c) metaprogramming
A. Only (a)
B. Only (a) and (b)
C. Only (a) and (c)
D. (a), (b) and (c)
Which statement is false regarding Cartesian products as a way of representing relationships?
A. You can represent one-to-one relationships as well as one-to-many relationships
B. You can represent many-to-many relationships
C. The size of the full Cartesian product is independent of the join criteria
D. You can only filter based on on primary or foreign key (id) columns
Which is true about third-party authentication between a requester and a provider?
A. Once completed, the requester can do anything you can do on the provider
B. If your credentials on the requester are compromised, your credentials on the provider are also compromised
C. If the provider revokes access, the requester no longer has any of your info
D. Access can be time-limited to expire on a pre-set date