Important Notice:
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
|| CCC Result Nov 2025 ||
|| CCC Marksheet Aug 2025 ||
|| O Level Jul 2026 Reg. Form Last Date: 30/04/2026 ||
|| CCC Mar 2026 Exam Postponed ||
|| CCC/ O Level Exam Full Form ||
O Level
Notes
Follow us:
OLevelNotes
Home
O Level Notes
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
CCC
CCC Chapter Wise Notes
CCC Chapter Wise MCQ
CCC Modal Paper
CCC Previous Paper
CCC Assignment
CCC Online Test/Real Portal
Chapter Wise MCQ
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Model Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
O Level Real Test Portal
Old Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Practical Paper
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Assignment
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Contact Us
ADCA Course
Introduction To Computer
Introduction To OS
MS Office
Tally Prime
Graphic Design
Web Design
Programming Language
Learn Typing
Typing Tutor
Typing Test
KCIT Student
Student Login
KCIT Student
M2-R5.1 — JavaScript & Angular JS MCQ
23 Questions • M2-R5.1
20:00
← Back
1
JavaScript is used for?
A
Styling web pages
B
Database management
C
Adding interactivity to web pages
D
Creating OS
2
To display an alert box in JavaScript?
A
console.log()
B
window.print()
C
alert()
D
prompt()
3
Which JavaScript keyword declares a variable?
A
int
B
var / let / const
C
string
D
define
4
JavaScript is a language that runs in the?
A
Database server
B
Browser (client-side)
C
Operating system kernel
D
Hardware
5
DOM in JavaScript stands for?
A
Document Object Model
B
Data Object Manager
C
Design Object Module
D
Dynamic Object Manager
6
Which event fires when a button is clicked?
A
onload
B
onkeypress
C
onclick
D
onchange
7
console.log() in JavaScript is used to?
A
Print a file
B
Display output in browser console
C
Create an alert
D
Open a URL
8
Which function parses a string to integer in JavaScript?
A
stringToInt()
B
toInt()
C
parseInt()
D
castInt()
9
To add JavaScript to HTML, use?
A
<js></js>
B
<code></code>
C
<script></script>
D
<javascript></javascript>
10
AngularJS is a?
A
Database
B
Frontend JavaScript framework by Google
C
CSS framework
D
Linux OS
11
JavaScript is a?
A
Markup language
B
Programming/scripting language
C
Database
D
Style sheet
12
JavaScript runs on?
A
Server only
B
Client/browser (and server with Node.js)
C
Database only
D
Operating System only
13
How to declare a variable in JavaScript?
A
dim x
B
variable x
C
var x / let x
D
int x
14
document.write() is used to?
A
Read file
B
Write content to the HTML page
C
Create database
D
Style page
15
console.log() outputs to?
A
Browser page
B
Browser console
C
File system
D
Database
16
JavaScript function is defined using?
A
func
B
define
C
function
D
method
17
alert() in JavaScript shows?
A
Console message
B
Popup dialog box
C
New page
D
Error log
18
Which symbol is used for comments in JavaScript?
A
<!-- -->
B
// or /* */
C
# comment
D
** comment **
19
DOM stands for?
A
Document Object Model
B
Data Object Mode
C
Digital Output Module
D
Document Open Method
20
Which method selects an HTML element by ID in JS?
A
getById()
B
document.getElementById()
C
selectId()
D
findElement()
21
JSON stands for?
A
Java Standard Object Notation
B
JavaScript Object Notation
C
Java Source Open Network
D
JavaScript Open Net
22
NaN in JavaScript means?
A
Null And Nil
B
Not a Number
C
No actual Name
D
New Array Node
23
typeof operator returns?
A
Value of variable
B
Data type of a value
C
Length of string
D
Index of array
📋 Question Navigator
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Answered
Not Answered
ℹ️ Quiz Info
Total Questions:
23
Time Limit:
20 min
Subject:
M2-R5.1
Passing:
60%
Attempt all questions before submitting. You can review your answers using the navigator above.
Answered:
0
/ 23
Submit Quiz