A set of JavaScript multiple-choice questions has P3 answers
- Question 1. What is the prompt function (.) in JavaScript used for?
- Displays information for entering information
- Display a message Yes, No
- There is no right option
- Both forms above
-
- Question 2. In JavaScript what does parseInt () function do?
- Convert a string into numbers
- Convert a string to a real number
- Convert an integer into a string
- Convert a string to an integer
-
- Question 3. Perform the test if the variable 'i' is not equal to 5, which statement is correct?
- if (i! = 5)
- if i <> 5
- if i =! 5 then
- if (i <> 5)
-
- Question 4. Which of the following IF statements is correct?
- if (i == 5)
- if i == 5 then
- if i = 5 then
- if i = 5
-
- Question 5. Which JavaScript statement is correct to make changes in the HTML element below?
Website TipsMake.com.
- document.getElementById ("demo"). innerHTML = "Welcome to TipsMake.com!";
- # demo.innerHTML = "Welcome to TipsMake.com!";
- document.getElement ("p"). innerHTML = "Welcome to TipsMake.com!";
- document.getElementByName ("p"). innerHTML = "Welcome to TipsMake.com!";
-
- Question 6.
- When running, open a new window to call TipsMake.com
- Can't run because it's wrong
- When finished, another site appears
- There is only one TipsMake.com page
-
- Question 7. Are there any ways to write JavaScript code to run in a web page?
- Both forms of writing separate files or writing in HTML pages
- Write together with HTML
- Write on a separate file
- Not in any form
-
- Question 8. When does the OnMouseOver JavaScript event happen?
- When an object in form loses focus
- When moving the mouse over an object in the form
- When you click your mouse on the command button
- When an object in the form receives focus
-
- Question 9. In when JavaScript Onclick event occurs when?
- When an object in the form receives focus
- When an object in form loses focus
- When clicking on an object in the form
- When clicking the command button
-
- Question 10. Is JavaScript a scripting language that can hide the source code?
- Unable to hide because of client-side scripts
- Hide because the program works independently of the browser
- These two statements are wrong
-
5 ★ | 1 Vote
You should read it
- Multiple choice questions about Javascript language
- A set of JavaScript multiple-choice questions with P5 answers
- Multiple choice questions to test your IQ P2
- Set of multiple choice questions about programming with P12
- Set of multiple-choice questions on award-winning programming P5
- Test of CSS knowledge - Part 5
- Test of CSS knowledge - Part 8
- Test of CSS knowledge - Part 6
May be interested
- ASP.NET Test - Part 1in the following article, please join the network administrator to learn more about asp.net through extremely interesting multiple choice questions.
- Test of PowerPoint computing - Part 3a set of multiple choice questions about powerpoint, please refer to the network administrator.
- Multiple choice questions on multimedia technology have answersmultiple choice questions on multimedia technology have answers.
- Multiple choice questions on the Internet - Part 3summary of multiple choice questions about the internet. let's try and see if you understand about this topic to where?
- Multiple choice questions about Microsoft Word 2010 have answersinvite readers to try with the multiple choice questions around the topic microsoft word 2010 and network administrator.
- Multiple choice questions about Microsoft Word 2010 have P3 answerswith significant improvements, microsoft word 2010 has given users more features than previous versions. below, invite readers to try the multiple choice questions around this topic.
- Test whether you used email correctly?here are 10 multiple choice tips for using simple to complex email. let's see how many correct answers you can answer.
- Multiple choice questions on the Internet P4below is a set of multiple-choice questions on the internet, inviting readers to consult.
- Set of multiple choice questions on programming with P9multiple choice questions about programming help you gain more useful knowledge for yourself in the process of learning and working. there will be 10 questions for you to test your knowledge. let's start.
- Database test - Part 2today network administrator will give you reading multiple choice questions around the topic of databases, with certain questions below you will have more useful knowledge.