Search Your Question...!
MONGO DB MCQ's
1. Which is the method used to terminate certain operations after examination
View Answerdb.kill
2. Which is the method in MongoDB removes a one or more roles from a user on the current database
View Answerdb.revokeroles from user
3. Which of the following will help to identify long running queries
View Answercurrentop
4. In MongoDB ........ is the operator limits the contents of an array field from the query
View AnswerELEMmatch
5. Which model is used when there is contains relationships between entities
View Answerembedded
ONSEN UI MCQ's
1. Onsen uses _______ CLI for Developing apps
View AnswerMonaca
2. Ons object needs to be imported from the library
View Answeronsenui
3. Onsen supports only react Framework
View AnswerFalse
4. How many sections does a toolbar have?
View Answer3
5. Any HTML code can be placed inside the component?
View Answer True
React Native MCQ's
1. It is compulsory to install Xcode or Android studio for react native mobile application development.
View AnswerFalse
2. Developer of React Native is _______________.
View Answer3. React Native is ‘learn once, run anywhere’.
View AnswerFalse
4. JSX is JavaScript with a syntax extension which allows a mixture between _______________ and ___________.
View AnswerJava and XML tags
5. Which method is called when a component is being removed from the DOM?
View AnswercomponentWillUnmount()
UI Design MCQ's
1. Name the design concept of making items represented, resemble their real-world counterparts
View AnswerSkeuomorphism
2. Which one below is a vector image format?
View AnswerSVG
3. Name the design language system developed by google
View AnswerMaterial Design
4. Name the design tool that can be used to establish a spatial hierarchy of the content
View AnswerGrids
5. What is the white space located inside letters like o and p called?
View AnswerCounter
Save the Prisoner! | Python Solution | HackerRank
A jail has a number of prisoners and a number of treats to pass out to them. Their jailer decides the fairest way to divide the treats is to seat the prisoners around a circular table in sequentially numbered chairs. A chair number will be drawn from a hat. Beginning with the prisoner in that chair, one candy will be handed to each prisoner sequentially around the table until all have been distributed.
The jailer is playing a little joke, though. The last piece of candy looks like all the others, but it tastes awful. Determine the chair number occupied by the prisoner who will receive that candy.
Viral Advertising | Python Solution | HackerRank
HackerLand Enterprise is adopting a new viral advertising strategy. When they launch a new product, they advertise it to exactly people on social media.
On the first day, half of those people (i.e., ) like the advertisement and each shares it with of their friends. At the beginning of the second day, people receive the advertisement.
Each day, of the recipients like the advertisement and will share it with friends on the following day. Assuming nobody receives the advertisement twice, determine how many people have liked the ad by the end of a given day, beginning with launch day as day .
Beautiful Days at the Movies | Python Solution | HackerRank
Lily likes to play games with integers. She has created a new game where she determines the difference between a number and its reverse. For instance, given the number , its reverse is . Their difference is . The number reversed is , and their difference is .
She decides to apply her game to decision making. She will look at a numbered range of days and will only go to a movie on a beautiful day.
Given a range of numbered days, and a number , determine the number of days in the range that are beautiful. Beautiful numbers are defined as numbers where is evenly divisible by . If a day's value is a beautiful number, it is a beautiful day. Return the number of beautiful days in the range.
Angry Professor | Python Solution | HackerRank
A Discrete Mathematics professor has a class of students. Frustrated with their lack of discipline, the professor decides to cancel class if fewer than some number of students are present when class starts. Arrival times go from on time () to arrived late ().
Given the arrival time of each student and a threshhold number of attendees, determine if the class is cancelled.
Example
The first students arrived on. The last were late. The threshold is students, so class will go on. Return YES
.
Note: Non-positive arrival times () indicate the student arrived early or on time; positive arrival times () indicate the student arrived minutes late.