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
Quizizz 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
Learn Java from Scratch - A Beginner's Guide - Step 05 - Understanding String Is Immutable and String Concat, Upper Case

Interactive video
•
University
2 questions
Modern Web Design with HTML5, CSS3, and JavaScript - Learning about JavaScript String – Part 1

Interactive video
•
University
6 questions
Python In Practice - 15 Projects to Master Python - format( )

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

Interactive video
•
University
6 questions
Python 3 for Beginners: Introduction to Object-Oriented Programming and Methods in Python

Interactive video
•
University
3 questions
Python Bootcamp in a Day - Python Programming for Beginners - More String Operations

Interactive video
•
University
6 questions
Strings Operators and f-string

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
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade