Monday, 13 August 2018

How to take Screenshot in window 10

In some situation while working in our computer we need to screenshot  of the window.In window 10
Microsoft gives better facility to take screenshot of entire window or some part of window.

1.How to take screenshot of entire screen in window 10


  • Press Windows Key+Print screen
  • Go to picture library of your computer and see the screenshot folder.Here you will find the screenshot saved.
Note:-You can also just press Print Screen and open MS Paint. Now press ctrl + v to paste the screenshot in Paint. You can now save it anywhere you like.

2.How to take screenshot of current window only


If you want to take screenshot of an app that you are open follow these steps
  • Click on the app you want to take a screenshot. Make sure it’s in the foreground and not behind other open apps.
  • Press alt + Print Screen.
  • Open MS Paint.
  • Press Ctrl+V
  • This will paste the screenshot of the open window in Paint. You can save the screenshot anywhere you like.


Enjoy...

Thursday, 9 August 2018

Google Release Android 9 Pie fully based on AI(Artificial Intelligence)

Android 9 Pie harnesses the power of Artificial Intelligence to give you more from your phone.Now it is very smarter,faster and adapts as you use it.

Tailored to you


Android 9 adapts to you and how you use your phone, learning your preferences as you go. Your experience gets better and better over time, and it keeps things running smoother, longer.

Adaptive Battery


Go more with a single charge. Adaptive Battery learns how you like to use your phone, so the apps and services you don’t use as much aren’t a battery drain.


Adaptive Brightness


In Android 9 Pie You don't worry to change your brightness.It automatically adjust brightness based on situation.If your phone is in darkness its bright will be high and vice versa.


Getting around just got easier


Switch between apps and get to what you need more naturally by using gestures instead of buttons.

Thursday, 12 July 2018

Samsung Largest Smart Phone manufacturing factory in India

Samsung is a South Korean multi national Company.It produces various products like Consumer electronic (LCD,LED, PDP ,CRT). Mobile phone, Digital Camera,Application processors etc.
Samsung is founded in 1 March,1938 by Lee Byung-chul. Headquarters in  Seoul(South Korea).

July 9,2018 South Korean president Moon Jae-in and Indian Prime Minister Narendra Modi   inaugurate largest mobile manufacturing factory in Noida (India,Uttar Pradesh).
The target of this factory producing 1.2 Crore phone per month.



Samsung announce that more than 30% phone will be export to other company.It shows that Indian market is open for all manufacturing company who want to manufacture in India.

Saturday, 28 April 2018

Virtual Private Network(VPN)

Do you know? when you search any data on internet it is not secure.All activity that you are doing seen by ISP(Internet Service Provide) and they can track you. So in such situation you need to secure your data.There are several way to secure your data on internet VPN is one of them.

Virtual Private Network is a technology that create a safe and secure or encrypt your data on less secure network such as Internet.VPN technology was developed as a way to allow remote users and offices to securely access data ,applications and other resources.

The information transmitted between the two locations via the encrypted tunnel cannot be read by anyone else because the system contains several elements to secure both the company's private network and the outside network through which the remote user connects through.

The first step to security is usually a firewall between the client and the host server, requiring the remote user to establish an authenticated connection with the firewall. Encryption is also an important component of a secure VPN. Encryption works by having all data sent from one computer encrypted in such a way that only the computer it is sending to can decrypt the data.

Main Protocol Use By VPN

There are three main protocol use with VPN Tunnels.These protocols are generally incompatible with each other. They include the following:

IPSec:-
 A set of protocols developed by the IETF to support secure exchange of packets at the IP layer. IPsec has been deployed widely to implement VPNs. IPsec supports two encryption modes: transport and tunnel.

PPTP:-
The Point-to-Point Tunneling Protocol is a technology for creating VPNs, developed jointly by Microsoft, U.S. Robotics and several remote access vendor companies, known collectively as the PPTP Forum.

L2TP:-
Layer Two (2) Tunneling Protocol is an extension to the PPP protocol that enables ISPs to operate Virtual Private Networks (VPNs).

Tuesday, 24 April 2018

Technical Interview Questions asked in Top Companies

Q.1:- How will you implement Linked list with 1 million nodes? How will you access 999999th node?

Q.2:- Clone a linked list with next and random pointer.

Q.3:-Serialise and Deserialise a linked list with next and random pointer.

Q.4:-Given two sorted array(with repetitive elements) find kth minimum number from both array.

Q.5:-Given two linked list both represent a number.Create a linked list that create its sum.

Q.6:-Given a binary search tree, print the path which has sum equal to k and has minimum hopes.i.e. if there are multiple paths with the sum equal to k then print the path with minimum number of nodes.

Q.7:-Given an array, arrange the elements such that the number formed by concatenating the elements is highest. 
E.g.: input = [9, 93, 24, 6], the output should be: [9,93,6,24]. This is because if you concatenate all the numbers, 993624 is the highest number that can be formed.     


Q.8:-Given an string find the longest sub string which is palindrome.  

Q.9:-How would you create your own hash function?

Q.10:-How would you implement red-black tree?

Q.11:-Tell me what you think about Google Charging users $1 per month to use Gmail.

Sunday, 22 April 2018

Queue in Java

Queue is FIFO(First In First Out) data structure.In which every element insert in the rear end and deleted from front end.
Some method which very helpful during coding on the basis of Queue is following-

boolean offer(Object obj):- This method is used for insert an obj in the rear end of the Queue.If insertion of obj is successful it return true else false.

Object poll():- This method return head(first) element of Queue and also delete it.If no element exist in the Queue it return null.

Object remove():- This method also return head(first) element of Queue and delete it But when no element found in the Queue it return NoSuchElementException.

Object peek():-  This method return head(first) element of Queue but It does not delete it and return null when Queue is Empty.

Object element():- This method also return head(first) element of Queue and does not delete it but when Queue is Empty it return NoSuchElementException.

add() method is also use for insert element in the rear end of the Queue.

Sunday, 15 April 2018

Best Questions ask by Google in Job Interviews

Question1:How would I explain the importance of HTML 5 to Larry Page and then to my grandma?


Question2: How could you solve humankind's biggest crisis given $1 billion and a spacecraft?


Question3: Let’s say you have to construct Google maps from scratch and guide a person standing on Gateway of India (Mumbai) to India Gate (Delhi). How do you do the same?


Question4: Estimate the number of students who are college seniors, attend four-year schools, and graduate with a job in the United States every year.


Question5: If you had access to a bank's database, how would you use that information to design an ATM for elderly people?


Question6: How would you solve homelessness in downtown San Francisco?


Question7: A man pushed his car to a hotel and lost his fortune. What happened?


Question8: Anywhere in the world, where would you open up a new Google office and how would you figure out compensation for all the employees at this new office?


Question9: Design an evacuation plan for the building.


Question10: A coin was flipped 1,000 times and there were 560 heads. Do you think the coin is biased.


Question11: What is your opinion on whether or not individuals should be required to use their official name when opening a Gmail or Google + account?


Question12: You’re the captain of a pirate ship, and your crew gets to vote on how the gold is divided up. If fewer than half of the pirates agree with you, you die. How do you recommend apportioning the gold in such a way that you get a good share of the booty, but still survive?


Question13: How many ways can you think of to find a needle in a haystack? Asked in an interview in May 2014


Question14: If you could only choose one song to play every time you walked into a room for the rest of your life, what would it be?


Question15: What’s 2 to the power of 64?


Question16: How many times a day does a clock’s hands overlap?


Question17: What is the probability of breaking a stick into 3 pieces and forming a triangle?


Question18: Tell me what you think about Google charging users $1 per month to use Gmail. This question was asked in an interview in 2015


Question19: How many haircuts do you think happen in America every year?