Javascript

A visually appealing illustration depicting JavaScript concepts such as variables, fun<wbr>ctions, and arrays, integrated with a playful quiz theme.

JavaScript Mastery Quiz

Test your knowledge of JavaScript with this engaging quiz designed for developers and enthusiasts alike! Challenge yourself with a series of questions that cover fundamental concepts and built-in methods of JavaScript.

  • 10 Multiple Choice Questions
  • Focus on key JavaScript functionalities
  • Perfect for honing your coding skills
10 Questions2 MinutesCreated by CodingEagle42
Q 1 - Which of the following is correct about features of JavaScript?
A- JavaScript is is complementary to and integrated with HTML. B - JavaScript is open and cross-platform. C - Both of the above. D - All of the above.
B - JavaScript is open and cross-platform
C - Both of the above.
D - All of the above.
Q 2 -Which of the following is the correct syntax to redirect a url using JavaScript?
A - document.location='http://www.newlocation.com';
B - browser.location='http://www.newlocation.com';
C - navigator.location='http://www.newlocation.com';
D - window.location='http://www.newlocation.com';
Q 3 - Which built-in method returns the index within the calling String object of the first occurrence of the specified value?
A - getIndex()
B - location()
C - indexOf()
D - None of the above.
Q 4 - Which built-in method returns the calling string value converted to lower case?
A - toLowerCase()
B - toLower()
C - changeCase(case)
D - None of the above.
Q 5 - Which of the following function of Number object defines how many total digits to display of a number?
A - toExponential()
B - toFixed()
C - toLocaleString()
D - toPrecision()
Q 6- Which of the following function of String object extracts a section of a string and returns a new string?
A - slice()
B -split()
C-replace()
D -search()
Q 7 - Which of the following function of String object creates a string to be displayed in a big font as if it were in a tag?
A - anchor()
B - big()
C - blink()
D - italics()
Q 8 - Which of the following function of String object causes a string to be displayed in fixed-pitch font as if it were in a tag?
A - fixed()
B - big()
C - blink()
D - bold()
Q 9 - Which of the following function of Array object joins all elements of an array into a string?
A - concat()
B - join()
C - pop()
D - map()
Q 10 - Which of the following function of Array object removes the first element from an array and returns that element?
A - reverse()
B - shift()
C - slice()
C - slice()
{"name":"Javascript", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"Test your knowledge of JavaScript with this engaging quiz designed for developers and enthusiasts alike! Challenge yourself with a series of questions that cover fundamental concepts and built-in methods of JavaScript.10 Multiple Choice QuestionsFocus on key JavaScript functionalitiesPerfect for honing your coding skills","img":"https:/images/course2.png"}
Powered by: Quiz Maker