Quiz
Javascript quiz
Create a free account to finish this quiz
Save your progress and see your final score.
Already have an account? Sign in
Questions in this quiz (30)
1The next array method does the following:
concat()- AJoins two or more arrays, and returns a copy of the joined arrays
- BSearch the array for an element and returns its position
- CRemoves the last element of an array, and returns that element
- DReverses the order of the elements in an array
2The next array method does the following:
indexOf()- AJoins two or more arrays, and returns a copy of the joined arrays
- BReverses the order of the elements in an array
- CSearch the array for an element and returns its position
- DSelects a part of an array, and returns the new array
3The next method does the following:
join()- AReverses the order of the elements in an array
- BRemoves the last element of an array, and returns that element
- CJoins all elements of an array into a string
- DSorts the elements of an array
4The next array method does the following:
lastIndexOf()- AAdds/Removes elements from an array
- BSearch the array for an element, starting at the end, and returns its position
- CSearch the array for an element and returns its position
- DSelects a part of an array, and returns the new array
5The next array method does the following:
pop()- AReverses the order of the elements in an array
- BRemoves the last element of an array, and returns that element
- CJoins all elements of an array into a string
- DAdds/Removes elements from an array
6The next array method does the following:
push()- AAdds new elements to the end of an array, and returns the new length
- BRemoves the first element of an array, and returns that element
- CSorts the elements of an array
- DAdds/Removes elements from an array
7the next array method does the following:
reverse()- AReverses the order of the elements in an array
- BSelects a part of an array, and returns the new array
- CAdds/Removes elements from an array
- DJoins two or more arrays, and returns a copy of the joined arrays
8The next array method does the following:
shift()- ARemoves the first element of an array, and returns that element
- BSorts the elements of an array
- CAdds/Removes elements from an array
- DSearch the array for an element and returns its position
9The next array method does the following:
slice()- ASelects a part of an array, and returns the new array
- BAdds/Removes elements from an array
- CJoins all elements of an array into a string
- DReverses the order of the elements in an array
10The next array method does the following:
sort()- ASorts the elements of an array
- BRemoves the first element of an array, and returns that element
- CSearch the array for an element, starting at the end, and returns its position
- DSelects a part of an array, and returns the new array
11The next array method does the following:
splice()- AAdds new elements to the end of an array, and returns the new length
- BReverses the order of the elements in an array
- CSearch the array for an element and returns its position
- DAdds/Removes elements from an array
12The next array method does the following:
unshift()- ARemoves the last element of an array, and returns that element
- BAdds new elements to the end of an array, and returns the new length
- CAdd new element to the beginning of an array and returns the new length
- DSelects a part of an array, and returns the new array
13What is an associative array
- Ais an array which use Strings instead of Integer
numbers as index. - Bis an array which use integer instead of strings
numbers as index. - Cis an array with no value
- Dis an array with strings and integers in it
- Ais an array which use Strings instead of Integer
14Everything is javascript can be treated as an object except
- Aarrays
- Bnull and undefined
- Cstrings
- Dmath and regular expressions
15In JavaScript almost everything is an object except booleans
- ATrue
- BFalse
16Whats the output of the following code:

- A

- B

- A
17A variable declared (using var) within a JavaScript function becomes __________________ and can only be
accessed from within that function- AGlobal
- BLocal
18Variables declared outside a function, become ______________, and all scripts and functions on the
web page can access it.- AGlobal
- BLocal
19What is the outcome of the next code?

- A0
- B1
- CHarry
- DComics
- E2
20Whats the name of the values passed to a function?
- AParameters
- BArrays
- CMultidimensional array
21What is a global scope variable?
- AA variable can only be accessed from within that function
- BAll scripts and functions on the web page can access the variable
22What is a local scope variable ?
- AAll scripts and functions on the web page can access the variable
- BIt can only be accessed from within that function
23JavaScript is completely a "pass-by-value" language
- ATrue
- BFalse
24When passed by value..
- AIt is the value of the datum that matters. In an assignment, a copy of the actual value is made and that copy is stored in a variable, object property, or array element; the copy and the original are two totally independent values that are stored separately
- Bthere is only one actual copy of the value
25When passed by reference...
- Athere is only one actual copy of the value
- Ba copy of the datum is passed to the function
26What is the outcome of the next code:

- AUnchanged
- Bb
- C124
27JavaScript is an object oriented language
- ATrue
- BFalse
28JavaScript which is an object oriented language considers the objects as variable
- ATrue
- BFalse
29What would be the outcome of the next code?

- Aain,ain,ain
- BSpain
- Crainning
- DSpain, rain, plain
30What are Cookies?
- ACookies are data, stored in small text files, on your computer.
- BCookies are data, stored in small text files, on the web server.
- CCookies are data, stored in small text files, on the cloud.
Information
- Description
- Computer Science Quiz on Javascript quiz, created by Esteban Guzman on 10/08/2017.
- Author
- Esteban Guzman
- Language
- English
- Views
- 1
- History
- Created on 10 Aug 2017 · updated on 14 Aug 2017
- Tags
- Rating
- No ratings yet Rate this quiz