Search Header Logo
The Modern JavaScript Bootcamp (2019) - Build a Grade Calculator

The Modern JavaScript Bootcamp (2019) - Build a Grade Calculator

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

This video tutorial introduces a challenge focused on creating a grade calculator function in JavaScript. The challenge requires using functions, if statements, and template strings to calculate and display a student's grade based on their score. The tutorial guides viewers through setting up the project, implementing the function, testing it, and optimizing the code. It concludes with a brief overview of the next section in the course.

Read more

10 questions

Show all answers

1.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the main purpose of the grade calculator function described in the text?

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • 1 pt

What two arguments does the grade calculator function take?

Evaluate responses using AI:

OFF

3.

OPEN ENDED QUESTION

3 mins • 1 pt

What is the expected output when the function is called with a score of 15 out of 20?

Evaluate responses using AI:

OFF

4.

OPEN ENDED QUESTION

3 mins • 1 pt

What are the letter grade ranges mentioned in the text?

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

What programming constructs are emphasized for use in the grade calculator function?

Evaluate responses using AI:

OFF

6.

OPEN ENDED QUESTION

3 mins • 1 pt

How is the percentage calculated in the grade calculator function?

Evaluate responses using AI:

OFF

7.

OPEN ENDED QUESTION

3 mins • 1 pt

How does the function handle different letter grades using if statements?

Evaluate responses using AI:

OFF

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?