JavaF

0%
5

1 / 30

1. What if we put ++ operator inside if condition? find the output

2 / 30

2. Which of the following is an array method?

3 / 30

3. Which of the following is block scoped?

4 / 30

4. The _______ method of an Array object adds and/or removes elements from an array.

5 / 30

5. Which of the following is correct about features of JavaScript?

6 / 30

6. Which symbol is used for comments in Javascript?

7 / 30

7. What will be the output of the following JavaScript code?
num1=5;
function cal() {
num1=10;
num2=5;
num3=num2*num1;
console.log(num3);
}
cal();

8 / 30

8. Which of the following method checks if its argument is not a number?

9 / 30

9. Which of the following is not JavaScript Data Types?

10 / 30

10. Which of the following are the errors in JavaScript?

11 / 30

11. Find output of below Javascript addition code
document.write("1 plus 1 is " + 1 + 1);

12 / 30

12. Which operator is known as the strict equality operator, which checks whether its two operators are identical or not?

13 / 30

13. What will be the output of the following Javascript code?
var string1 = "Letsfindcourse";
var intvalue = 30;
alert( string1 + intvalue );

14 / 30

14. What if you use parseInt() to convert a string containing decimal value?

15 / 30

15. Variable declared is example of ________________ Variable.
function message() {
var varname = "Rajiv";
alert(name);
}

16 / 30

16. Syntax for creating a RegExp object:
1. var txt=new RegExp(pattern,attributes);
2. var txt=/pattern/attributes;
Which of the above mentioned syntax will correct?

17 / 30

17. What is the correct syntax for referring to an external script called "LFC.js"?

18 / 30

18. The pop() method of the array does which of the following task ?

19 / 30

19. What will happen, if the following JavaScript code is executed? var count =0;
while (count <10) { console.log(count); count++; }

20 / 30

20. Which of the following is not a valid JavaScript variable name?

21 / 30

21. What will be the output if we compare "ten" and 10 with less then comparison operator( "ten" <10)?

22 / 30

22. The "function" and " var" are known as:

23 / 30

23. JavaScript ignores?

24 / 30

24. Which company developed JavaScript?

25 / 30

25. What is defination of an undefined value in JavaScript?

26 / 30

26. If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph?

27 / 30

27. Choose the correct JavaScript syntax to change the content of the following HTML code.

28 / 30

28. How to get a particular value using the tagged name?

29 / 30

29. Why so JavaScript and Java have similar name?

30 / 30

30. Among the keywords below, which one is not a statement?

Scroll to Top