Interview questions for tcs digital
1. What is Cloud Computing?
It is advance stage technology implemented so that the cloud provides the services globally as per the user requirements. It provides a method to access several servers worldwide.
2.Differences between C and Java?
• JAVA is Object-Oriented while C is procedural.
• Java is an Interpreted language while C is a compiled language.
• C is a low-level language while JAVA is a high-level language.
• C uses the top-down approach while JAVA uses the bottom-up approach.
• Pointer go backstage in JAVA while C requires explicit handling of pointers.
• The Behind-the-scenes Memory Management with JAVA & The User-Based Memory Management in C.
• JAVA supports Method Overloading while C does not support overloading at all.
• Unlike C, JAVA does not support Preprocessors, & does not really them.
• The standard Input & Output Functions–C uses the printf & scanf functions as its standard input & output while JAVA uses the System.out.print & System.in.read functions.
• Exception Handling in JAVA And the errors & crashes in C.
3. What are the benefits of cloud computing?
The main benefits of cloud computing are:
- Data backup and storage of data
- Powerful server capabilities.
- Incremented productivity.
- Cost effective and time saving.
Companies like Amazon which owns AWS, Microsoft which owns Azure, VMware which provides cloud desktop. Google which provides various cloud solutions like Google Drive, Slides/Docs/ Google Cloud platform etc are example of such.
4. In header files whether functions are declared or defined?
Functions are declared within header file. That is function prototypes exist in a header file,not function bodies. They are defined in library (lib).
5. What are the different storage classes in C ?
There are four types of storage classes in C. They are extern, register, auto and static.
6. What are the Cloud Service Models? (Not relevant but it would be good if you know and you tell on your own somewhere in the interview, interviewer may get impressed)
- Infrastructure as a service
- (IaaS) Platform as a service
- (PaaS) Software as a service (SaaS)
7. What does static variable mean?
Static is an access qualifier. If a variable is declared as static inside a function, the scope is limited to the function,but it will exists for the life time of the program. Values will be persisted between successive
calls to a function
8. How do you print an address ?
Use %p in printf to print the address.
9. What is Digital Technology?
When TCS will come to your campus they will have a presentation about TCS Digital. According to TCS Digital Technology are the blend of these five.
- Inter connectivity
- Visual Computing
This information they will cover in the presentation.
Note:-It was seen in VIT, Vellore where TCS asked this question in the presentation open to all and the student who answered it was directly called for interview and was asked to skip the Online test.
8. What are macros? what are its advantages and disadvantages?
Macros are processor directive which will be replaced at compile time.
The disadvantage with macros is that they just replace the code they are not function calls. similarly the advantage is they can reduce time for replacing the same values.
9. Difference between pass by reference and pass by value?
Pass by value just passes the value from caller to calling function so the called function cannot modify the values in caller function. But Pass by reference will pass the address to the caller function instead of value if called function requires to modify any value it can directly modify.
10. What is artificial Intelligence?
Artificial intelligence (AI) makes it possible for machines to learn from experience, adjust to new inputs and perform human-like tasks. Most AI examples that you hear about today – from chess-playing computers to self-driving cars – rely heavily on deep learning and natural language processing. Using these technologies, computers can be trained to accomplish specific tasks by processing large amounts of data and recognizing patterns in the data.
11. Why is artificial intelligence important?
- AI automates repetitive learning and discovery through data.But AI is different from hardware-driven, robotic automation. Instead of automating manual tasks, AI performs frequent, high-volume, computerized tasks reliably and without fatigue. For this type of automation, human inquiry is still essential to set up the system and ask the right questions.
- AI adds intelligenceto existing products. In most cases, AI will not be sold as an individual application. Rather, products you already use will be improved with AI capabilities, much like Siri was added as a feature to a new generation of Apple products. Automation, conversational platforms, bots and smart machines can be combined with large amounts of data to improve many technologies at home and in the workplace, from security intelligence to investment analysis.
- AI adapts through progressive learning algorithmsto let the data do the programming. AI finds structure and regularities in data so that the algorithm acquires a skill: The algorithm becomes a classifier or a predicator. So, just as the algorithm can teach itself how to play chess, it can teach itself what product to recommend next online. And the models adapt when given new data. Back propagation is an AI technique that allows the model to adjust, through training and added data, when the first answer is not quite right.
- AI analyzes more and deeper data using neural networks that have many hidden layers. Building a fraud detection system with five hidden layers was almost impossible a few years ago. All that has changed with incredible computer power and big data. You need lots of data to train deep learning models because they learn directly from the data. The more data you can feed them, the more accurate they become.
- AI achieves incredible accuracythough deep neural networks – which was previously impossible. For example, your interactions with Alexa, Google Search and Google Photos are all based on deep learning – and they keep getting more accurate the more we use them. In the medical field, AI techniques from deep learning, image classification and object recognition can now be used to find cancer on MRIs with the same accuracy as highly trained radiologists.
12. What is an object?
Object is a software bundle of variables and related methods. Objects have state and behavior
13. What is a class?
Class is a user-defined data type in C++. It can be created to solve a particular kind of problem. After creation the user need not know the specifics of the working of a class.