Question 1. Arrange the following in increasing asymptotic order Question 1 options: 12345 n logn 12345 n^(1/3)
Question:
Question 1. Arrange the following in increasing asymptotic order
Question 1 options:
12345 | n logn |
12345 | n^(1/3) |
12345 | n^(7/4) |
12345 | 1.0000001^n |
12345 | e^n |
Question 2 (1 point)
What is the output of the following code? var fruits = ["Banana", "Orange"]; fruits.splice(1, 1, "Lemon", "Kiwi"); document.getElementById("demo").innerHTML = fruits;
Question 2 options:
Question 3 (1 point)
What will be the output of the following code? var abc = ["A", "B"]; var num = ["1", "2", "3"]; var newA = abc.concat(num); document.getElementById("demo").innerHTML = newA;
Question 3 options:
Question 4 (1 point)
What will be the output of the following code? var a = ["1", "2"]; document.getElementById("demo").innerHTML = a.join("*");
Question 4 options:
Question 5 (1 point)
What will be the output of the following code? var fruits = ["Banana", "Orange"]; document.getElementById("demo2").innerHTML = fruits.unshift("Apple");
Question 5 options:
Question 6 (1 point)
What is the value? var a = ["1", "2", "3", "4"]; The value of a[1] is ____
Question 6 options:
Question 7 (1 point)
What will be the output of the following code? var abc = ["A", "B"]; var num = ["1", "2", "3"]; var newA = abc.concat(num); document.getElementById("demo").innerHTML = abc;
Question 7 options:
Question 8 (1 point)
The push method adds an element to the end of an array.
Question 8 options:
1) True | |
2) False |
Question 9 (1 point)
The Javascript statement var a = []; declares a blank _____.
Question 9 options:
Question 10 (1 point)
Not equal in Javascript is ___.
Question 10 options: