JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Exercise - Fix a Bug for a Medical Company Data

JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Exercise - Fix a Bug for a Medical Company Data

Assessment

Interactive Video

Information Technology (IT), Architecture, Social Studies

University

Hard

Created by

Wayground Content

FREE Resource

The video tutorial addresses a bug in a medical company's data where a property meant to indicate fever status is mistakenly labeled as 'shoes'. The exercise involves writing a function to correct this by removing the 'shoes' property and replacing it with 'fever'. The tutorial emphasizes the importance of accurate data for medical professionals and provides step-by-step instructions for the task. The session concludes with a prompt to share solutions and a preview of the next lesson.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main issue with the medical company's data?

The 'fever' property is missing.

The 'shoes' property is incorrectly used instead of 'fever'.

The data is not stored in an object.

The data includes incorrect patient names.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which properties are included in the medical data?

Prescriptions, weight, height, and shoes

Prescriptions, weight, height, and temperature

Prescriptions, weight, height, and blood pressure

Prescriptions, weight, height, and heart rate

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why is it important to fix the 'shoes' property issue?

It causes the system to crash.

It distracts doctors from their work.

It results in data loss.

It leads to incorrect patient prescriptions.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should be done to correct the data bug?

Add a new property called 'blood pressure'.

Delete the 'shoes' property and add 'fever'.

Replace 'shoes' with 'temperature'.

Add a new property called 'temperature'.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'cleanup' function?

To check and remove the 'shoes' property.

To calculate patient BMI.

To update patient prescriptions.

To add new properties to the data.