Why is Sandeep Maheshwari considered to be the best among Motivational Speakers in India?

Knowledge base
Updated on 30-Jul-2019 22:30:24

987 Views

We usually don’t like to listen to the lectures which are monotonous and typically a part of personality development sessions. The motive of such sessions is to discuss something with which we can relate, feel logical, know the flaws and have an insight into the facts. The changes which have to be done should be delivered in a convincing and comfortable way wrapped with some good sense of humor. It reaches the target in a great way, unlike the ones which are there just to deliver some Gyaan. Sandeep is a master of this art.Sandeep’s VogueSandeep Maheshwari is actually the ... Read More

Can you name some common behavioral problems, symptoms, and acts in children?

Pradeep
Updated on 30-Jul-2019 22:30:24

56 Views

Behavioral Problem: Thumb suckingCommon Presentation Age: 6 months to 3 yearsSymptoms: Body identification, feeling of loneliness, insecurity, hunger, boredom, fear.Acts: Motivation, assurance, reinforcement, counseling, give alternatives continuously, behavior modification, make more eye contact.Behavioral Problem: Breath holding spasmsCommon Presentation Age: 6 months to 6 yearsSymptoms: Due to anger, fear, pain or frustration the child cries and then holds the breath.Acts: Reassured long term prognosis, behavior modification, most of the episodes resolve by the time the child is 4 to 5 years old.Behavioral Problem: StubbornCommon Presentation Age: Below 5 yearsSymptoms: Faulty parenting habits.Acts: Uniform parenting, give or act immediately if you can, ... Read More

Locale-specific formatting in Java

karthikeya Boyini
Updated on 30-Jul-2019 22:30:24

94 Views

For locale-specific formatting, firstly import the following packages.import java.util.Calendar; import java.util.Formatter; import java.util.Locale;Create a Formatter and Calendar object −Formatter f = new Formatter(); Calendar c = Calendar.getInstance();We are formatting for different Locales −f.format(Locale.TAIWAN, "Locale.TAIWAN: %tc", c); f.format(Locale.ITALY, "Locale.ITALY: %tc", c);The following is an example −Example Live Demoimport java.util.Calendar; import java.util.Formatter; import java.util.Locale; public class Demo { public static void main(String args[]) { Formatter f = new Formatter(); Calendar c = Calendar.getInstance(); f.format(Locale.TAIWAN, "Locale.TAIWAN: %tc", c); ... Read More

How to insert data to MySQL having auto incremented primary key?

Arjun Thakur
Updated on 30-Jul-2019 22:30:24

2K+ Views

Whenever your column has an auto incremented primary key then there is an advantage that you do not need to give value for that column in the INSERT command. This means MySQL will give the value for that column.To understand the above concept, let us first create a table. The query to create a table is as follows −mysql> create table AutoIncrementedPrimary    -> (    -> Id int auto_increment,    -> Name varchar(100),    -> Age int,    -> Primary key(Id)    -> ); Query OK, 0 rows affected (0.56 sec)Now insert records for the column Name and Age ... Read More

8085 program to find maximum and minimum of 10 numbers

Rishi Rathor
Updated on 30-Jul-2019 22:30:24

1K+ Views

In this program we will see how to find the maximum and minimum number in a block data.Problem StatementWrite 8085 Assembly language program to find the maximum and minimum number in a block often 8-bit numbers.DiscussionIn this program we are taking the first number of the block into register D and E. The D will store the minimum number, and E will store maximum number. In each iteration we will check whether the number is smaller than D or not, if it is smaller, then update D with the new number, and then compare it again with E to check ... Read More

MySQL query to group data in the form of user login time per hour and get the records of the users logged in the recent hour?

karthikeya Boyini
Updated on 30-Jul-2019 22:30:24

216 Views

You can use a subquery with JOIN condition for this. The syntax is as follows −SELECT yourTablevariableName.* FROM ( SELECT MAX(UNIX_TIMESTAMP(yourDateTimeColumnName)) AS anyAliasName FROM getLatestHour GROUP BY HOUR(UserLoginDateTime) ) yourOuterVariableName JOIN yourTableName yourTablevariableName ON UNIX_TIMESTAMP(yourDateTimeColumnName) = yourOuterVariableName.yourAliasName WHERE DATE(yourDateTimeColumnName) = 'yourDateValue';To understand the above syntax and the result to be achieved, let us create a table. The query to create a table is as follows −mysql> create table getLatestHour -> ( -> UserId int, -> UserName varchar(20), -> UserLoginDateTime ... Read More

Format Output with Formatter in Java

Samual Sam
Updated on 30-Jul-2019 22:30:24

207 Views

For Formatter, import the following package −import java.util.Formatter;Now create a Formatter object −Formatter f1 = new Formatter();Now, we will format the output with Formatter −f1.format("Rank and Percentage of %s = %d %f", "John", 2, 98.5);The following is an example −Example Live Demoimport java.util.Formatter; public class Demo { public static void main(String args[]) { Formatter f1 = new Formatter(); Formatter f2 = new Formatter(); f1.format("Rank and Percentage of %s = %d %f", "John", 2, 98.5); ... Read More

What is the MySQL error: “Data too long for column”?

Rishi Rathor
Updated on 30-Jul-2019 22:30:24

18K+ Views

The “Data too long for column” error occurs when you insert more data for a column that does not have the capability to store that data.For Example - If you have data type of varchar(6) that means it stores only 6 characters. Therefore, if you will give more than 6 characters, then it will give an error.Let us create a table to understand the error. The query to create a table is as follows −mysql> create table DataToolongDemo   −> (   −> Name varchar(10) −> ); Query OK, 0 rows affected (0.55 sec)Above, we have created a table ... Read More

Who was the first person on Earth according to Hindu mythology?

Knowledge base
Updated on 30-Jul-2019 22:30:24

17K+ Views

According to Matsyapurana, the first person on this Earth is Manu. The Sanskrit term Maanav meaning a human was derived from the name Manu denoting his children. Manu was the son of Prajapati (another name of Brahma) and Shatrupa (another name of Saraswati). God created Ananti as the wife of Manu. These two are said to be the parents of this world according to Hindu Mythology.Manu and ManvantaraManu is considered the author of ancient Sanskrit code of law called Manu Smriti. Manu is the head of each Kalpa (Aeon), which consists of fourteen Manvantaraas. Each Manvantara lasts for the lifetime ... Read More

How to set target and action for UIBarButtonItem at runtime?

karthikeya Boyini
Updated on 30-Jul-2019 22:30:24

877 Views

To create a bar button action at run time we’ll need to go through a few steps. First of all let’s start by creating a new project.Once you have created the project, go to it’s storyboard directly, select the ViewController and Embed it into a navigation controller.Now go to the respective View controller class and inside it, we’ll perform some steps that will add a button to the navigation bar on run time.Create an objc function that should be called when the button is pressed.@objc func barButtonAction() {    print("Button pressed") }Now add the viewWillLayoutSubviews method to your class.First, we’ll ... Read More

Advertisements