0% found this document useful (0 votes)
5 views1 page

JavaScript Coding Test Tasks

The document outlines a JavaScript coding test consisting of four tasks: printing a specific pattern, generating the Fibonacci sequence, creating a BMI calculator, and developing a Random User Generator application that fetches user data from an API. Each task is designed to assess different programming skills and concepts. The test emphasizes practical coding abilities and the use of external APIs.

Uploaded by

CS06 Amarnath M
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

JavaScript Coding Test Tasks

The document outlines a JavaScript coding test consisting of four tasks: printing a specific pattern, generating the Fibonacci sequence, creating a BMI calculator, and developing a Random User Generator application that fetches user data from an API. Each task is designed to assess different programming skills and concepts. The test emphasizes practical coding abilities and the use of external APIs.

Uploaded by

CS06 Amarnath M
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

JAVASCRIPT CODING TEST

1. Write a JavaScript program to print the given pattern (5 mark)

*
**
***
****
2. Write a JavaScript function that returns the Fibonacci sequence up to a given
number of terms.
3. Create a BMI calculator that allows users to input their weight and height,
calculates their Body Mass Index (BMI), and provides a classification based on the
BMI value .

4. Create a Random User Generator application that fetches a list of users from the
JSONPlaceholder API and displays a random user’s details each time a button is
clicked. Implement the following: API: Use the endpoint
[Link] to fetch user data.

You might also like