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
8 questions
JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Solution I - Automate a Company Website with Corr

Interactive video
•
University
8 questions
Bash Shell Scripting - Variables - Basic Concepts

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
6 questions
JavaScript Mastery from Zero to Hero - Prepare for Coding Interviews - Solution II - Iterative Optimization Anagrams Pro

Interactive video
•
University
3 questions
Practical Linux Command Line 2.0 - Find Lines Containing a Pattern (grep)

Interactive video
•
University
6 questions
Complete SAS Programming Guide - Learn SAS and Become a Data Ninja - CATX Function

Interactive video
•
University
2 questions
Star Wars Defends Actress Moses Ingram From Racist Attacks

Interactive video
•
University
8 questions
Java Programming for Complete Beginners - Java 16 - Step 05 - Understanding String is Immutable and String Concat, Upper

Interactive video
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University