Prepare your Interview

Behaviour Interview Question

List of Weakness to tell with example.

I Find it difficult to ask for help or seek people for help. =>I take great pride in my work, when i encounter problem i always try to figure things out for myself. however i do understand it would be more beneficial to seek advice form other more experienced people in my team and i am taking steps to improve in this area, =>due to fear of get answer as no

I am not very good at giving people feedback =>i avoid it bcz i don’t want to hurt their feelings however i do appreciate feedback is an important part of self-development and i have been trying to improve in this area i forcing myself give people feedback when it is requested.

I find it really hard saying no to people=>this has been a problem of mine because i always say yes to everything even if i don’t have the capacity to do so now in the past i have sometimes become overwhelmed by taking on too many responsibilities, now before i say yes to things i now take my time to assess my own workload to make sure i do have the capacity to commit. to the extra work responsibilities.

I struggle to let go of project.=> I tend to get so engrossed in projects when i’m when i working on them and i don’t want to let them go, however i do understand this is not always helpful to my employer’s goal and im learning to finish a project and then move straight on to the next one.

I am too sensitive at times=> I am sometimes to sensitive and in the past i would take criticism personally however i do understand that for me to continually improve professionally i need to view other people’s comments as constructive and productive so i am learning to be more mindful in situations such as these when people are simply trying to help me improve and develop.

I get stressed if a project runs over the deadline.=>I sometime get stressed out if i think a project is going to run over its deadline this is simply because i take pride in my work and i genuinely don’t want to let my employer down however i am learning to remain calm in difficult situations such as these and to focus on what i can do to help get the project finish on time and to the necessary standard.

I can be too judgemental of others.=>in my last role i would automatically judge people if they were either late finishing a project or if their standard of work was not up to scratch however i have been trying to improve in this area and i no longer jump to conclusions relating to other people’s performance instead i try to offer my help or support so they can improve which ultimately serves to help the team move forward.

I lack experience in certain/particular area ( like project management) => i lack in taking the lead on projects but this is something i am keen to improve on now if i am to reach my full potential this is an area i need to gain experience in and i am keen to improve in this area.

List of Strength to tell with example.

Disciplined and focused=> i can be relied upon to complete task on time and to the necessary standards.

Flexible and versatile=> i am prepared to take on duties and responsibilities that are outside of your normal working job description and i available to help out the organisation at short notice whenever required.

Resourceful=> innovative problem solver and always seek ways to overcome difficult challenges.

Collaborative worker=>I understand the importance of effective teamwork and I required to support your co-worker when carrying out difficult team task.

commercially-aware=> I understand for this business to achieve commercial and financial goal, i need to carry out your duties in line with the job description on time and to the necessary standard.

Detail Oriented and attentive=>always focused on the details and will carry out duties to very high standards.

faster learner who is always seeking to improve=> required no or little supervision or monitoring moving forward and always seek to learn and improve means took ownership of my own professional development

passionate and committed=>I love my job and that committed to my organisation for the long term.

Creative and innovative=>i will help the business find ways to increase sales and to also improve customer service and it also means that you will think outside of the box when overcoming difficult challenges.

Loyal and trustworthy=> always act as positive role model for their company and that i can be relied to carry out my duties in line with organisation policies and procedures.

My strengths include the fact that i am commercially-aware. This means i will always work hard to help your business grow, and the work i do for you will always be efficient and effective.

Other strengths include my collaborative approach to work. I strongly believe that a team can achieve brilliant things when they support each other, when they are respectful of everyone’s opinions and contributions, and when they are all focused on the same goal.

Finally, perhaps my greatest strength is my Loyalty and Trustworthiness.

you can rely on me to always be a positive role model when representing your company and if you hire me, I will be committed to the business for many years to come.

Use Star (Situation->Task->Action->Result)

Situation: Describe the situation that you were in or the task that you needed to accomplish. You
must describe a specific event or situation, not a generalized description of what you have done in
the past. Be sure to give enough detail for the interviewer to understand. This situation can be
from a previous job, from a volunteer experience, or any relevant event.
Task: What goal were you working toward?
Action: Describe the actions you took to address the situation with an appropriate amount of
detail and keep the focus on YOU. What specific steps did you take and what was your particular
contribution? Be careful that you don’t describe what the team or group did when talking about a
project, but what you actually did. Use the word “I,” not “we” when describing actions.
Result: Describe the outcome of your actions and don’t be shy about taking credit for your
behavior. What happened? How did the event end? What did you accomplish? What did you
learn? Make sure your answer contains multiple positive results.

SAMPLE BEHAVIORAL INTERVIEW QUESTIONS
Practice using the STAR Method on these common behavioral interviewing questions:
• Describe a situation in which you were able to use persuasion to successfully convince someone
to see things your way.
• Describe a time when you were faced with a stressful situation that demonstrated your coping
skills.
• Give me a specific example of a time when you used good judgment and logic in solving a
problem.
• Give me an example of a time when you set a goal and were able to meet or achieve it.
• Tell me about a time when you had to use your presentation skills to influence someone’s opinion.
• Give me a specific example of a time when you had to conform to a policy with which you did
not agree.
• Please discuss an important written document you were required to complete.
• Tell me about a time when you had to go above and beyond the call of duty in order to get a job
done.
• Tell me about a time when you had too many things to do and you were required to prioritize
your tasks.
• Give me an example of a time when you had to make a split second decision.
• What is your typical way of dealing with conflict? Give me an example.
• Tell me about a time you were able to successfully deal with another person even when that
individual may not have personally liked you (or vice versa).
• Tell me about a difficult decision you’ve made in the last year.
• Give me an example of a time when something you tried to accomplish and failed.
• Give me an example of when you showed initiative and took the lead.
• Tell me about a recent situation in which you had to deal with a very upset customer or coworker.
• Give me an example of a time when you motivated others.
• Tell me about a time when you delegated a project effectively.
• Give me an example of a time when you used your fact-finding skills to solve a problem.
• Tell me about a time when you missed an obvious solution to a problem.
• Describe a time when you anticipated potential problems and developed preventive measures.
• Tell me about a time when you were forced to make an unpopular decision.
• Please tell me about a time you had to fire a friend.
• Describe a time when you set your sights too high (or too low).

Printing ODD/EVEN using 2 threads in java – (By ReentrantLock and Condition)

https://stackoverflow.com/questions/16689449/printing-even-and-odd-using-two-threads-in-java

https://www.programmersought.com/article/57251037798/

https://www.geeksforgeeks.org/print-even-and-odd-numbers-in-increasing-order-using-two-threads-in-java/

https://www.baeldung.com/java-even-odd-numbers-with-2-threads

https://github.com/sunilsoni/cracking-the-coding-interview

https://docs.oracle.com/javase/tutorial/collections/implementations/set.html

https://docs.oracle.com/javase/tutorial/collections/implementations/index.html

RecyclerView item onClick

RecyclerView does not have an OnItemClickListener like it’s predecessor, ListView. However, detecting item clicks is pretty simple.

Set an OnClickListener in your ViewHolder creation:

private class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder>  {

    public static class ViewHolder extends RecyclerView.ViewHolder
            implements View.OnClickListener {
        private String mItem;
        private TextView mTextView;

        public ViewHolder(View view) {
            super(view);
            view.setOnClickListener(this);
            mTextView = (TextView) view;
        }

        public void setItem(String item) {
            mItem = item;
            mTextView.setText(item);
        }

        @Override
        public void onClick(View view) {
            Log.d(TAG, "onClick " + getPosition() + " " + mItem);
        }
    }

    private String[] mDataset;

    public MyAdapter(String[] dataset) {
        mDataset = dataset;
    }

    @Override
    public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        View v = LayoutInflater.from(parent.getContext())
                .inflate(R.layout.list_item, parent, false);
        ViewHolder vh = new ViewHolder(v);
        return vh;
    }

    @Override
    public void onBindViewHolder(ViewHolder holder, int position) {
        holder.setItem(mDataset[position]);
    }

    @Override
    public int getItemCount() {
        return mDataset.length;
    }
}

Add touch feedback to your item layout:

<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/text1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:textAppearance="?android:attr/textAppearanceListItemSmall"
    android:gravity="center_vertical"
    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
    android:minHeight="?android:attr/listPreferredItemHeightSmall"
    android:background="?android:attr/selectableItemBackground"
/>
view raw post.md hosted with ❤ by GitHub

https://github.com/avin-sharma/Github-Repository-Search/blob/recyclerview-onclick/app/src/main/java/com/avinsharma/githubrepositorysearch/RepositoryAdapter.java

https://oozou.com/blog/a-better-way-to-handle-click-action-in-a-recyclerview-item-60

https://github.com/android/views-widgets-samples/blob/main/RecyclerViewKotlin/app/src/main/java/com/example/recyclersample/flowerList/FlowersAdapter.kt

https://github.com/journaldev/journaldev/tree/master/Android/AndroidRecyclerViewLoadMore

https://medium.com/android-news/dynamic-viewpager-indicator-with-recyclerview-items-in-android-388493272491

https://github.com/CodeBoy722/Dynamic_ViewPager_Indicator

https://canato.medium.com/withcontext-async-or-launch-inside-coroutine-kotlin-17c332854a08

https://medium.com/androiddevelopers/lessons-learnt-using-coroutines-flow-4a6b285c0d06

https://developer.android.com/kotlin/coroutines

https://medium.com/android-news/15-mobile-kpis-every-developer-needs-to-measure-right-now-b1cf1cc8b707

https://android-developers.googleblog.com/2021/04/customize-kpis-on-your-google-play.html