Teachers and Examiners (CBSESkillEduction) collaborated to create the JavaScript Class 11 MCQ. All the important Information are taken from the NCERT Textbook Web Application (803) class 11.
JavaScript Class 11 MCQ
1. JavaScript was developed in 1995 by Brendan Eich, at Netscape, and first released with __________.
a. Netscape
b. Chrome
c. Safari
d. Internet Explorer
2. JavaScript is an ____________ computer programming language.
a. Compiler
b. Interpreter
c. Assembler
d. None of the above
3. Which of the following features belong to JavaScript.
a. Browser Support
b. Client and Server-side Support
c. Functional Programming Language
d. All of the above
4. With the help of JavaScript we can create ___________.
a. Cookies
b. Web Application
c. Multimedia element
d. All of the above
5. JavaScript is a __________ Language.
a. Client Side
b. Server Side
c. Both a) and b)
d. None of the above
6. JavaScript is not used to _________ the files on client machines.
a. Read
b. Write
c. Both a) and b)
d. None of the above
7. JavaScript is ____________ programming language.
a. Procedure Oriented Programming Language
b. Object Oriented Programming Language
c. Both a) and b)
d. None of the above
8. A __________ is an application program with a graphical user interface for displaying HTML files, used to navigate the World Wide Web file.
a. Browser
b. Web Application
c. Website
d. None of the above
9. _________ between words and tabs are ignored by the Browser.
a. White Space
b. Black Space
c. No Space
d. None of the above
10. Variables in JavaScript can be defined using the ___________ keyword
a. Variant
b. Var
c. Variable
d. None of the above
11. JavaScript is supported by_____________.
a. Netscape
b. Opera
c. Chrome
d. All of the above
12. &&, ||, ! are example of
a. Arithmetic Operator
b. Logical Operator
c. Bitwise Operator
d. Assignment Operator
13. Which one is the following statement is known as Control Structure
a. if Statement
b. else if statement
c. switch statement
d. All of the above
14. DOM Stands for
a. Document Object Model
b. Digital Operation Machine
c. Document Observe Module
d. Document Option Module
15. ______________ can contain the data from the user.
a. Variable
b. Statement
c. Keyword
d. Operator
16. ________________ tag tells the browser about the scripting language.
a. <Script>
b. <HTML>
c. <Language>
d. <JavaScript>
17. _____________ is used to convert string to integer value.
a. Integer()
b. ParseInt()
c. parseInt()
d. Stringtoint()
18. A ______________ is a classification of the type of data that a variable or object can hold.
a. Datatype
b. Constant
c. Unary
d. None of the above
19. Sequence of character is known as ______________.
a. Number
b. Character
c. String
d. None of the above
20. Compression takes place using the ______________ operator.
a. =
b. ==
c. ===
d. <>
21. _________ Method is used to find the length of the string.
a. length
b. concat()
c. length()
d. search()
22. Extension of JavaScript files is ________.
a. .html
b. .js
c. .jsc
d. .java
23. Output of the following would be parseInt(“022”)
a. 3
b. 9
c. 22
d. 2
24. JavaScript Support _____________ Environment.
a. Run-Time Environment
b. Off-Time Environment
c. Digital Environment
d. All of the above
25. Limitations of Static website
a. It has limited functionality
b. It can cost more to upgrade
c. It is less attractive and interactive
d. All of the above
26. The script tag must be placed in
a. Head
b. Head and body
c. Title and head
d. All of the mentioned
27. Which of the following is correct about features of JavaScript?
a. JavaScript is a lightweight, interpreted programming language.
b. JavaScript is designed for creating network-centric applications.
c. JavaScript is complementary to and integrated with Java.
d. All of the above
28. Which built-in method returns the calling string value converted to lowercase?
a. toLowerCase()
b. toLower()
c. changeCase(case)
d. None of the above
29. Which of the following functions of Array object sorts the elements of an array?
a. toSource()
b. sort()
c. toString()
d. unshift()
30. What will happen, if the following JavaScript code is executed?
var count =0;
while (count <10)
{
console.log(count);
count++;
}
a. An error is displayed
b. An exception is thrown
c. The values of count variable are logged or stored in a particular location or storage
d. The value of count from 0 to 9 is displayed in the console
31. Which of the following is the correct output for the following JavaScript code:
int x=8;
if(x>9)
{
document.write(9);
}
else
{
document.write(x);
}
a. 9
b. 0
c. 8
d. Undefined
32. JavaScript was originally implemented as part of a web browser so that ___________ scripts could interact with the user.
a. Client-side
b. Dynamic Side
c. Web Side
d. None of the above
33. JavaScript was formalized in the ___________ Script Language.
a. WCAM
b. CAMW
c. ECMA
d. CCMM
34. A JavaScript function can accept ____________ and can also return a value.
a. Parameter
b. Function
c. Object
d. Binary data
35. JavaScript is officially managed by ___________ Foundation.
a. Chrome
b. Mozilla
c. Netscape Navigator
d. Opera
36. Each line of JavaScript code ends with a _____________
a. Dot
b. Underscore
c. Semicolon
d. Colon
37. ____________ called Bitwise AND operator in JavaScript.
a. &
b. I
c. ^
d. ~
38. Which company developed JavaScript?
a. Netscape
b. Bell Labs
c. Sun Microsystems
d. IBM
39. Which of the following is the correct syntax to display “Letsfindcourse” in an alert box using
JavaScript?
a. alert-box(“Letsfindcourse”);
b. confirm(“Letsfindcourse”);
c. msgbox(“Letsfindcourse”);
d. alert(“Letsfindcourse”);
40. JavaScript is designed for following purpose –
a. to style HTML pages
b. to execute Queries related to databases on a server
c. to add interactivity to html pages
d. All of the above
41. What will be the output of the following JavaScript code?
var string1 = “Letsfindcourse”;
var intvalue = 30;
alert( string1 + intvalue );
a. Letsfindcourse 30
b. 30
c. Letsfindcourse30
d. Exception
42. What are the three important manipulations done in a for loop on a loop variable in
JavaScript?
a. the initialization, the condition and the Incrimination
b. the initialization, the test
c. the initialization, the test, and Incrimination
d. All of the above
43. Which of them are not the looping structures in JavaScript?
a. for
b. while
c. forwhich
d. do-while
44. Find output of below code
var a = ’20’;
var b = a = 30;
document.write(a+b);
a. Error in Script
b. ’20’30
c. 2030
d. 50
45. In JavaScript the x===y statement implies that:
a. Both x and y are equal in value, type and reference address as well.
b. Both x and y are equal in value only.
c. Both are equal in the value and data type.
d. Both are not the same at all.
46. Numbers in JavaScript are double-precision ______________ format.
a. 32-bit
b. 64-bit
c. 128-bit
d. Null
47. A ______________ is a classification of the type of data that a variable or object can hold.
a. Data type
b. Variable
c. Constant
d. Variant
48. We can parse floating point numbers using the built-in _____________ function.
a. parseFloat()
b. parseInt()
c. parseString()
d. None of the above
49. String in JavaScript are sequences of characters, each character represented by a _________ number.
a. 32-bit
b. 64-bit
c. 8-bit
d. 16-bit
50. In JavaScript ___________ loop execute at least one time
a. For
b. While
c. Do-While
d. Go-To
51. ___________ statement is use to terminate the execution of a looping statement.
a. End
b. Break
c. Stop
d. Null
Employability Skills Class 11 Notes
- Unit 1 : Communication Skills – III
- Unit 2 : Self-Management Skills – III
- Unit 3 : Information and Communication Technology Skills – III
- Unit 4 : Entrepreneurial Skills – III
- Unit 5 : Green Skills – III
Employability Skills Class 11 MCQ
- Unit 1 : Communication Skills – III
- Unit 2 : Self-Management Skills – III
- Unit 3 : Information and Communication Technology Skills – III
- Unit 4 : Entrepreneurial Skills – III
- Unit 5 : Green Skills – III
Employability Skills Class 11 Questions and Answers
- Unit 1 : Communication Skills – III
- Unit 2 : Self-Management Skills – III
- Unit 3 : Information and Communication Technology Skills – III
- Unit 4 : Entrepreneurial Skills – III
- Unit 5 : Green Skills – III
Web Application Class 11 Notes
- Networking and Internet Class 11 Notes
- Website Development using HTML and CSS Class 11 Notes
- Multimedia Class 11 Notes
- JavaScript Class 11 Notes
Web Application Class 11 MCQ
- Network and Internet Class 11 MCQ
- Web Designing with HTML and CSS MCQ Questions
- GIMP Class 11 MCQ Questions
- JavaScript Class 11 MCQ