You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement?
7 50707Post New Lazada Interview Questions
What are the different types of control structures?
What happens to a static var that is defined within a method of a class?
The purpose of this exercise is to benchmark file writing and reading speed. This exercise is divided into two parts. a). Write a file character by character such that the total file size becomes approximately >10K. After writing close the file handler, open a new stream and read the file character by character. Record both times. Execute this exercise at least 4 times b). Create a buffer capable of storing 100 characters. Now after generating the characters, first store them in the buffer. Once the buffer is filled up, store all the elements in the file. Repeat the process until the total file size becomes approximately >10K.While reading read a while line, store it in buffer and once buffer gets filled up, display the whole buffer. Repeat the exercise at least 4 times with different size of buffer (50, 100, 150 …). Records the times. c). Do an analysis of the differences in times and submit it in class.
What is concurrent user hits in load testing?
What are the different business cycles?
How to integrate spring and hibernate using hibernatedaosupport?
What is the typical vegetation of the grasslands?
Explain some features of jquery knockout?
How sparksql is different from hql and sql?
Which operator is used to assign a value to a variable?
How do you reset excel formatting?
What is a fact, dimension, measure?
Why should you avoid adding duplicate keywords across ad groups?
Explain the difference between throw and throws in java?
What are the three types of databases?