Feb 26, 2020

[Best] TCS Interview Questions 2020 Updated

TCS Interview Questions

This post included the interview questions that would be asked in an TCS interview.

  1. Tell me about yourself?
  2. Who is the CEO of TCS?
  3. Who is the CFO of TCS?
  4. How many subsidiaries companies TCS has?
  5. What is the Revenue of TCS?
  6. Tell us about the Academic project?
  7. Write fibonacci series ?
  8. Write the Prime number program?
  9. Write Sorting in ascending order program?
  10. Write a sorting program either ascending or descending?
  11. What are your hobbies?
  12. Why TCS?
  13. Which is your favorite subject in graduation?
  14. Where you see yourself after 5 years?
  15. What is success for you?
  16. How for loop works show us?
  17. What if we change the condition to initialization in for loop is there change in output?
  18. Which is your favorite country and why?
  19. Tell us about your family?
  20. Which domain you want in TCS?
  21. What you know about ILP?
  22. Difference between call by value and call by reference.
  23. Why you opted for an IT industry?
  24. Did you know about the bond that TCS has for 2 years?
  25. what is Pointer?

  1. Thanks for reading 

python questions for interview

Python questions for Interview

This post is all about the Python questions for the interview and python interview questions for freshers and helps you to enhance your Python language and develop your skill a bit more.

1)What is a pass in Python language?
Ans:- The meaning of pass is no operation python statement or we can say it is a place holder in the compound statement , where only blank is left and nothing is written there.

2)What are Generators in python language?
Ans:-The way of putting iterators are called generators. it's just a normal function except that it yields expression in function. 

3)How to Convert Number to String?
Ans:-to convert a number into a string we have to use the function called str(). if we want an octal or hexadecimal representation than we have to use oct() function or hex() function.

4)What are the different build-in types python has?
Ans:-There are two types of Built-in types in python , Mutable and immutable

Mutable types are as follows
  • List
  • Sets
  • Dictionaries
Immutable Types in python are
  • String
  • Tuple data type
  • Numbers
4)What is Spilt function in python and it's used in python?
Ans:-Split function as per its name suggests that it's used to break the string into shorter strings by using the defined separator . and it gives the list of all the words present in that particular string.

5)What is the difference between tuple and list data types?
Ans:-List is mutable which means that the data present in mutable data type can be modified whereas Tuple is immutable which cannot be modified so the data in Tuple cannot be changed or modifies.

6)How to manage memory in python programming language?
Ans:-Python memory is managed by Python private heap space. All the objects and data structures are present in a private heap. The programmer does not have any access to this private heap and the interpreter takes care of this Python private heap.

Python memory manager is responsible for the allocation of python heap space, the core API gives access to some tools for the programmer to code.

Python also has an inbuilt garbage collector , Which recycles all the unused memory and frees the memory and makes it available to the heap space.

7)How to write a comment in Python?
Ans:- To write a comment in python language we have to start the sentence with "#" then the compiler of the python assumes that sentence as the comment.

8)Why the PYTHONPATH variable is used?
Ans:-its function is similar to PATH, this variable tells the python compiler where to find the module files and imported that located files into the program. It should also include the Python source library directory and the directories which contain Python source code. PYTHONPATH is sometimes preset by the python installer which is already there in a python programing language.

9)How to use join() function in Python?
Ans:-Join() function is used to join the two strings into one string, this is very useful for joining the two strings into single string.

10)What is the difference between local and global in python?
Ans:- Global variable is used by any function in the program and local variables are defined inside the particular program and that variable is only accessed by that program only and that variable is been used under that program only.

Feb 25, 2020

[best tutorial]Tableau for beginners 2020 Learn in 1 day

Tableau for beginners

Tableau is the data visualization tool and this is one of the best and easy tools for data plotting in graphical format, this is also an integral part of the data science course so let's start with tableau.

First, go to tableau.com and then visit the tableau desktop page where you will find the download option click on that, this is a free tool if you are a student then you have to upload your ID and you can enjoy Tableau desktop for a year (free).

now open the tableau desktop in your personal computer and the window that you are going to see it looks like that,

As you can see from the above photo is that you can open the various files in tableau such as,
  • Microsoft excel
  • Text file
  • JSON file
  • Microsoft Access
  • Pdf

so, first of all, we are going to work on excel file,

Click on Microsoft excel and then select any datasheet that you have in XML format, then you see the window like that,

excel file loaded
excel file load

Type of file

As in Tableau when we load the file there is an option which shows connections as you can see from the above photo there are two options for connections one is live and other is the extract,

Live connections mean when there is a change in actual excel file the data set that we open also changes as there is a connection between the excel file and the data that we are uploaded in Tableau, so whenever there is the change in the excel file data is manipulated in tableau also,

Extract connection is the opposite of live connection here the data is extracted from the excel file at a moment and changes made in excel file do not affect the data set uploaded in Tableau.

In the lower section of that image, you can see the uploaded data which is extracted from the Excel file.

visualisation box
at the bottom of that page

you can see this at the left lower corner of that page what is it all about,

Data Source

Data source is all about the raw data that we are uploaded from the excel file.

Sheet 1

Sheet 1 shows the window which is responsible for the editing and visualization of data from data source

now click on sheet 1

When you click on sheet 1 then we have the most important window of Tableau

working window of data
visualization work window
from the above image, you can see, I have made number of sections and we are going to know about, each section one by one

First(Dimensions):- Suppose you have uploaded the data of heights of student in the class and each student have a unique name so this first side shows the name , character value and specific name like division A student , Division B student, something like that only character value is displayed here.

Second is the column and row side where drag and drop functions work,

anything that we put in the column section comes under the column section suppose you are going to see the population from region wise and you are putting the region in column section and population in row section then you can see the visual as regions are in column and population by vertical bars.

Third: here all the visualization is been displayed.

Fouth: here you can see the different types of visualizations available for the type of data is input in the tableau.

Fifth(measures): here all the numeric values from excel data-sheet are present, All you have to do is to drag and drop it to any side of side number 2.

thank you for reading and for any question you can put a comment in the comment section.

Feb 12, 2020

what does dividend yield mean

What does Dividend Yield Mean

Before understanding what is dividend Yield we must understand what is dividend then we will look for what does dividend yield means.

What is dividend:

Dividend is the amount given to the shareholders from the company's earnings, not necessarily all the companies give dividend to its shareholders its all depend on board of directors of the company, if they want to give the dividend then they reward their shareholders with dividend if they don't want to then they did not allow to distributes the reward to shareholders.

Up to 10 lakh rupees of dividend, shareholders did not need to pay the tax if dividend exceeds the 10 lakh rupees amount then tax is applicable on that amount.

Small companies and organizations rarely give a dividend to their shareholders the reason for that is obvious because they want to grow there business and hence they invest all the earnings and profit for the expansions.

Face value vs Market value of share

There are two types of share prices(Values) in the market, one is face value and the other is market value. Face value is the price of share when company issues that share in a market that price is termed as the face value. Face value did not change with the supply and demand of the share that means its the fixed value of the share but on some occasions its changes its value for example at the stock split and reconsolidation. 

Face value is used in accounting and dividend, Companies gives dividend on the face value of a share.

The market value of a share changes with supply and demand, its the current price of the share which you can buy directly on stock exchange company did not give dividend on market price.

face value dividend
Face value vs Market Value

Dividend Yield

With the help of dividend yield, we will understand, How much a company is giving dividends with respective its share market price, Dividend yield used to compare the dividends of dividend giving stocks. 

the below formula helps to calculate the dividend yield
Dividend Yield Formula
Dividend Yield formula

When the return on investment is calculated on analyze basis is called yield. This is because major amount of investment goes to bank FD with the time frame of 1year and that is considered as a benchmark for the calculation of Yield.

The compounding returns from bank FD more than actual returns from the effective rate of returns is also considered yield.

Dividend Yield
Dividend yield

it is observed and accepted in the market that, the stock can be classified on the basis of their dividend yield. The dividend yield of 2% is considered as the benchmark for the classification of stock on the basis of dividend yield.

If the dividend yield is less than 2% then the stock is considered as a growth stock.

If the dividend yield is more than 2% than stack is considered as a high dividend yield stock.

Popular Blog Posts