Find Interview Questions for Top Companies
CETAS Information Technology Interview Questions and Answers
Ques:- What is the difference between GET, POST, PUT, and DELETE in HTTP
Right Answer:
GET is used to retrieve data from a server, POST is used to send data to a server to create a resource, PUT is used to update an existing resource on the server, and DELETE is used to remove a resource from the server.
Ques:- What is an API and how does it work
Right Answer:
An API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other. It defines the methods and data formats that applications can use to request and exchange information. APIs work by sending requests from one application to another, which then processes the request and sends back a response.
Ques:- What is the difference between synchronous and asynchronous API calls
Right Answer:
Synchronous API calls wait for the response before moving on to the next task, while asynchronous API calls allow the program to continue executing other tasks while waiting for the response.
Ques:- What is API authentication and what are common methods
Right Answer:
API authentication is the process of verifying the identity of a user or application trying to access an API. Common methods include:

1. **API Keys**: Unique keys provided to users to access the API.
2. **Basic Authentication**: Uses a username and password encoded in Base64.
3. **OAuth**: A token-based authentication method that allows users to grant limited access to their resources without sharing credentials.
4. **JWT (JSON Web Tokens)**: A compact, URL-safe means of representing claims to be transferred between two parties, often used for stateless authentication.
5. **HMAC (Hash-based Message Authentication Code)**: Uses a secret key to create a hash of the request, ensuring data integrity and authenticity.
Ques:- What are the common status codes in HTTP responses
Right Answer:
The common status codes in HTTP responses are:

- **200**: OK
- **201**: Created
- **204**: No Content
- **400**: Bad Request
- **401**: Unauthorized
- **403**: Forbidden
- **404**: Not Found
- **500**: Internal Server Error
- **502**: Bad Gateway
- **503**: Service Unavailable
Ques:- What is the difference between correlation and causation
Right Answer:
Correlation is a statistical measure that indicates the extent to which two variables fluctuate together, while causation implies that one variable directly affects or causes a change in another variable.
Ques:- What is data analysis and why is it important
Right Answer:
Data analysis is the process of inspecting, cleaning, and modeling data to discover useful information, draw conclusions, and support decision-making. It is important because it helps organizations make informed decisions, identify trends, improve efficiency, and solve problems based on data-driven insights.
Ques:- What is a hypothesis and how do you test it
Right Answer:
A hypothesis is a specific, testable prediction about the relationship between two or more variables. To test a hypothesis, you can use the following steps:

1. **Formulate the Hypothesis**: Clearly define the null hypothesis (no effect or relationship) and the alternative hypothesis (there is an effect or relationship).
2. **Collect Data**: Gather relevant data through experiments, surveys, or observational studies.
3. **Analyze Data**: Use statistical methods to analyze the data and determine if there is enough evidence to reject the null hypothesis.
4. **Draw Conclusions**: Based on the analysis, conclude whether the hypothesis is supported or not, and report the findings.
Ques:- What are the different types of data distributions
Right Answer:
The different types of data distributions include:

1. Normal Distribution
2. Binomial Distribution
3. Poisson Distribution
4. Uniform Distribution
5. Exponential Distribution
6. Log-Normal Distribution
7. Geometric Distribution
8. Beta Distribution
9. Chi-Squared Distribution
10. Student's t-Distribution
Ques:- What is data normalization and why is it important
Right Answer:
Data normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. It involves structuring the data into tables and defining relationships between them. Normalization is important because it helps eliminate duplicate data, ensures data consistency, and makes it easier to maintain and update the database.
Ques:- 9 balls are there one of them is of higher wt and remaining all are of same. given is one weighing scale and you can use it two times. How will you find the heavy ball in two trials only.
Right Answer:
1. Divide the 9 balls into three groups of 3 balls each: Group A, Group B, and Group C.
2. Weigh Group A against Group B.
- If one group is heavier, take the 3 balls from that group.
- If they balance, the heavy ball is in Group C.
3. From the group of 3 balls identified, weigh any 2 balls against each other.
- If one is heavier, that’s the heavy ball.
- If they balance, the remaining ball is the heavy one.
Comments
venkatesh Aug 12, 2021

Let us give name to each ball as B1, B2, B3, B4, B5, B6, B7, B8, B9.
Now divide all the balls into 3 groups.
Group1 - (B1, B2, B3), Group2 - (B4, B5, B6), Group3 - (B7, B8, B9)

STEP1 - We can weigh any two groups. Let's assume we choose Group1 on left side of the scale and Group2 on the right side.
when we weigh these two groups we can get 3 outcomes.

Weighing scale tilts on left - Group1 has a heavy ball.
Weighing scale tilts on right - Group2 has a heavy ball.
Weighing scale remains balanced - Group3 has a heavy ball.
Lets assume we got the outcome as 1. Then Group 1 has a heavy ball.

STEP 2 - Now weigh any two balls from Group1. Lets assume we keep B1 on left side of the scale and B2 on right side.
So now when we weigh these two balls we can get 3 outcomes.

Weighing scale tilts on left - B1 is the heavy ball.
Weighing scale tilts on right - B2 is the heavy ball.
Weighing scale remains balanced - B3 is the heavy ball.

(The same step applies if the group 2 or group3 has the heavy ball)

venkatesh Aug 12, 2021

Balls- B1, B2, B3, B4, B5, B6, B7, B8, B9.
Split into 3 groups.
Group1 - (B1, B2, B3), Group2 - (B4, B5, B6), Group3 - (B7, B8, B9)
Now weigh any two groups. Group1 on left side of the scale and Group2 on the right side.
When weighing scale (tilts left - Group1 has a heavy ball) or (tilts right - Group2 has a heavy ball) or (balanced - Group3 has a heavy ball)
Lets assume it tilts left then Group 1 has a heavy ball.
Now weigh any two balls from Group1. B1 on left side of the scale and B2 on right side.
When weighing scale (tilts left - B1 is the heavy ball) or (tilts right - B2 is the heavy ball) or (balanced - B3 is the heavy ball)

venkatesh Aug 12, 2021

Balls- B1, B2, B3, B4, B5, B6, B7, B8, B9.
Group1 – (B1, B2, B3), Group2 – (B4, B5, B6), Group3 – (B7, B8, B9)
Now weigh any two groups. Group1 on left side of the scale and Group2 on the right side.
When weighing scale tilts left – Group1 has a heavy ball or right – Group2 has a heavy ball or balanced – Group3 has a heavy ball.
Lets assume Group 1 has a heavy ball.
Now weigh any two balls from Group1. B1 on left side of the scale and B2 on right side.
When weighing scale tilts left – B1 is the heavy or tilts right – B2 is the heavy or balanced – B3 is the heavy.

Ques:- What is the difference between a shell variable that is exported and the one that is not exported?
Right Answer:
An exported shell variable is available to child processes, while a non-exported variable is only accessible within the shell in which it was created.
Ques:- What is difference between HTML and html5
Right Answer:
HTML5 is the latest version of HTML, which includes new features like native support for audio and video, improved parsing rules, new elements (like `<article>`, `<section>`, `<nav>`, and `<header>`), and better support for web applications. HTML is the older standard that lacks these enhancements.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users