Tech Content writer

Error handling Lastly, let's do some error handling in case the API request fails.

API Response You will see a response like the following when you run your JavaScript file.

What is an API? Think of API as a postman who takes your letter to another person and gets back with a response. In simplest words, API is like a middle man that helps client and server communicate with each other.

How to call an API There are four steps to call an API:

Find an API Request it Handle response Error handling

Request an API We will make a GET request to the API. Don't worry about the headers. You can find them on RapidAPI Hub. Handle Response The next step is to handle the API response.

We often find hardwares and software in 32 and 64 bit versions But what do they actually mean? The difference is the way it handles memory A 32-bit system can access 2 memory addresses, i.e., 4 GB of RAM 32 It can also access more than 4 GB of RAM

A 64-bit system can access two memory addresses, i.e., 18-Quintillion bytes of RAM In short, any amount of memory greater than 4 GB can be easily handled by it. PERFORMANCE? The Speed of RAM is much higher than the hard disk A program needs to be loaded on to the RAM first

32Bit 64Bit In 32-bit system more data is stored from the slower hard drive to the faster RAM for the CPU to access it to compensate for low memory But in a 64-bit system, it can store more than 4GB. So it stores more data on the Faster RAM making it run a lot faster

Conclusion This makes the 64-bit system much faster than the 32-bit system That's a wrap! If you enjoyed this thread: 1. Follow me

@iamabhisekrath

for more of these 2. RT the tweet below to share this thread with your audience

What is Data Data is the collection of different numbers, symbols, and alphabets to represent information. Type of Data Structure Linear Data Structure Non-Linear Data Structure

What is Data Structure A Data structure is a group of data elements that provides the easiest way to store and perform different actions on the data of the computer. A data structure is a particular way of organizing data in a computer so that it can be used effectively.

A data structure has also defined an instance of ADT.ADT means ABSTRACT DATA TYPE. It is formally defined as a triplet.[ D,F,A]

Linear Data Structure It is a type of Data structure where the arrangement of the data follows a linear trend. The data elements are arranged linearly such that the element is directly linked to its previous and the next elements.

As the elements are stored linearly, the structure supports single-level storage of data Elements are arranged in one dimension,also known as linear dimension. Example: lists, stack, queue, etc.

Data structures are used in various fields such as:

Operating system Graphics Computer Design Blockchain Genetics Image Processing Simulation etc.

Non-Linear Data Structure A Non-linear data structure is another important type in which data elements are not arranged sequentially;mainly, data elements are arranged in random order without forming a linear structure. Data elements are present at the multilevel,fo reg Tree


Write a comment ...

Abhisek Rath

Show your support

Show your love for Abhisek's work. Your support matters!

Write a comment ...