Titi Wangsa Damhore

Greenhorn
+ Follow
since Apr 23, 2014
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Titi Wangsa Damhore

Question 8


The answer is correct.
Just that the explanation is incorrect.

Therefore, the smallest element that is larger than the specified value is "One".


It should be something like this:

Therefore, the smallest element that is larger than or equal to the specified value is "One".




as per the documentation here: TreeSet (Java Platform SE 8 )

Returns the least element in this set greater than or equal to the given element, or null if there is no such element.



If the question were like this:

The result would be "On".
I looked at the topics and number of questions.
Are they constant?
Can someone else who recently passed verify?

I mean
"Apply best practices to design and implement web services" : 12 questions
Has anyone who recently passed (or failed) the 1Z0-897, verify that they also had 12 question for the topic "Apply best practices to design and implement web services"

I think it would help if we knew which area carries more marks and which areas do not.

BTW congrats. 100% is wonderful.
4 years ago
source #1
wikipedia: https://en.wikipedia.org/wiki/Builder_pattern
the "Pseudocode" section is what i think it is
Construct a CarBuilder called carBuilder
carBuilder.setSeats(2)
carBuilder.setSportsCar()
carBuilder.setTripComputer()
carBuilder.unsetGPS()
car := carBuilder.getResult()
so is this

source #2: stack overflow
http://stackoverflow.com/questions/328496/when-would-you-use-the-builder-pattern


so my understanding is to create one type of object, but the constructor might be different
instead of
Pizza pizza = new Pizza(true, false, true, true, false, false, false, false)
we know what is true and that is not ( cheese true)

source #3:
http://sourcemaking.com/design_patterns/builder/java/2

sample code

source #4:
http://www.tutorialspoint.com/design_pattern/builder_pattern.htm


i see that sometimes, its new Builder().setPropertyA().setProertyB(10.4).setPropertyM(-1).build()
sometimes its different.

are some of the examples wrong?
or both are correct?

thanks.
I hit this question.

Choose any 2
80. Which of the following statements are NOT true with respect to Public and Private keys?
Choice A: Private key can be used for encryption
Choice B: Private key will be shared to decrypt the data
Choice C: Public key will be shared to decrypt the data
Choice D: Private keys are shared

my source:
https://en.wikipedia.org/wiki/Public-key_cryptography
http://searchsecurity.techtarget.com/definition/PKI

Choice A: Private key can be used for encryption [incorrect]
Each user has a pair of cryptographic keys – a public encryption key and a private decryption key
Public-key encryption, in which a message is encrypted with a recipient's public key.
public key for encryption and private key for decryption

Choice B: Private key will be shared to decrypt the data [incorrect]
"The public key is widely distributed, while the private key is known only to its proprietor."
private key will decrypt. true.
private key will be shared. false.
so it is false.


Choice C: Public key will be shared to decrypt the data [incorrect]
public key will be shared. true.
public key to decrypt the data. false.

Choice D: Private keys are shared [incorrect]
"The public key is widely distributed, while the private key is known only to its proprietor."
private keys are not shared.
public keys are shared.


the answer for the mock exam is:

Choice B: Private key will be shared to decrypt the data
Choice D: Private keys are shared

Choice A is NOT true
Choice C is NOT true

the answer should be A,B,C,D

Am I incorrect or is the mock exam incorrect?
5 years ago