JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Exercise - Star Power with RegEx in JavaScript
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
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.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
2 questions
Python 3: Project-based Python, Algorithms, Data Structures - Add read functionality and utilize special and static meth
Interactive video
•
University
2 questions
Breadth-first Search Complexity
Interactive video
•
University
2 questions
Build a DALL-E Image Generator using React, JavaScript, and OpenAI - Finalizing Animations with SCSS For DALL-E OpenAI
Interactive video
•
University
2 questions
Modern JavaScript from the Beginning - Second Edition - url and querystring Modules
Interactive video
•
University
2 questions
C++ for Beginners - Creating a String
Interactive video
•
University
2 questions
JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Solution - Convert an Exponential Solution to a L
Interactive video
•
University
2 questions
AWS, JavaScript, React - Deploy Web Apps on the Cloud - JavaScript Variables Introduction
Interactive video
•
University
2 questions
JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Looping Through Arrays in JavaScript
Interactive video
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Information Technology (IT)
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
5 questions
Helping Build the Internet: Valerie Thomas | Great Minds
Interactive video
•
11th Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
19 questions
Review2-TEACHER
Quiz
•
University
15 questions
Pre2_STUDENT
Quiz
•
University
20 questions
Ch. 7 Quadrilateral Quiz Review
Quiz
•
KG - University