JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Exercise - Star Power with RegEx in JavaScript

Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Hard
Wayground Content
FREE Resource
Read more
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main task in the Star Power challenge?
To count the number of stars in a given text.
To create a website for star enthusiasts.
To convert all text to uppercase.
To design an algorithm that replaces groupings of letters with spaces and an asterisk.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should the algorithm do with spaces in the original string?
Replace spaces with an asterisk.
Remove all spaces.
Convert spaces to underscores.
Leave spaces unchanged.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the expected output format of the new string?
Original case of the input string.
All lowercase letters.
Mixed case letters.
All uppercase letters.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the function to be written for this challenge?
starPowerAlgo
powerStarAlgo
starPowerFunction
starAlgo
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where should you share your solution once completed?
Via email to the instructor.
In a GitHub repository.
On the Discord channel.
On a personal blog.
Similar Resources on Wayground
2 questions
Full Stack Web Development MASTERY Course - Novice to Expert - Mongoose Built-In Validation

Interactive video
•
University
4 questions
The Modern JavaScript Bootcamp (2019) - Hangman Challenge: Part I

Interactive video
•
University
2 questions
JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Exercise - Star Power with RegEx in JavaScript

Interactive video
•
University
6 questions
AWS, JavaScript, React - Deploy Web Apps on the Cloud - JavaScript Array Attributes

Interactive video
•
University
2 questions
Learn Java from Scratch - A Beginner's Guide - Step 05 - Understanding String Is Immutable and String Concat, Upper Case

Interactive video
•
University
8 questions
Learn JavaScript from Scratch JavaScript for Everyone - String Methods

Interactive video
•
University
4 questions
Core Java Programming Course- String Basics

Interactive video
•
University
4 questions
Learn Java from Scratch - A Beginner's Guide - Step 05 - Understanding String Is Immutable and String Concat, Upper Case

Interactive video
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University