Important Notice:
|| CCC Result June 2025 ||
|| CCC Marksheet Dec 2025 ||
|| O Level Jan 2026 Reg. Form Last Date: 10/10/2026 ||
|| CCC Sep 2026 Exam Admit card Release ||
|| NIELIT O LEVEL RESULT JULY 2026 IS COMMING SOON .............. ||
|| CCC Result June 2025 ||
|| CCC Marksheet Dec 2025 ||
|| O Level Jan 2026 Reg. Form Last Date: 10/10/2026 ||
|| CCC Sep 2026 Exam Admit card Release ||
|| NIELIT O LEVEL RESULT JULY 2026 IS COMMING SOON .............. ||
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
M1-R5.1
M2-R5.1
M3-R5.1
M4-R5.1
Prog. Lang.
JAVA
DBMS
SQL
Contact Us
ADCA
Introduction To Computer
Introduction To OS
MS Office
Tally Prime
Graphic Design
Web Design
Learn Typing
Typing Tutor
Typing Test
KCIT Student
Student Login
KCIT Student
M2-R5.1 — JavaScript & Angular JS MCQ
170 Questions • M2-R5.1
← Back
1
What is JavaScript? / JavaScript क्या है?
A
A compiled language / एक compiled language
B
A client-side scripting language / एक client-side scripting language
C
A database system / एक database system
D
A markup language / एक markup language
2
Where does client-side JavaScript execute? / Client-side JavaScript कहां execute होता है?
A
On the web server / Web server पर
B
In the user's web browser / User के web browser में
C
In the database / Database में
D
On the network router / Network router पर
3
JavaScript is a ______ language. / JavaScript एक ______ भाषा है।
A
compiled / compiled
B
interpreted / interpreted
C
machine / machine
D
assembly / assembly
4
Which of the following is NOT a JavaScript data type? / इनमें से कौन सा JavaScript data type नहीं है?
A
Number / Number
B
String / String
C
Boolean / Boolean
D
Float / Float
5
What keyword is used to declare a variable in JavaScript? / JavaScript में variable declare करने के लिए कौन सा keyword use किया जाता है?
A
int
B
var
C
string
D
dim
6
Which keyword declares a block-scoped variable that can be reassigned? / Block-scoped variable declare करने वाला keyword कौन सा है जिसे reassign किया जा सकता है?
A
var
B
let
C
const
D
static
7
Which keyword declares a variable whose value cannot be reassigned? / ऐसा variable declare करने वाला keyword कौन सा है जिसकी value reassign नहीं की जा सकती?
A
var
B
let
C
const
D
fixed
8
What is the output of var a = 10; a = 20;? / var a = 10; a = 20; का output क्या होगा?
A
10
B
20
C
Error / Error
D
undefined / undefined
9
What is the output of const a = 10; a = 20;? / const a = 10; a = 20; का output क्या होगा?
A
10
B
20
C
Error / Error
D
undefined / undefined
10
Which operator is used for strict equality in JavaScript? / JavaScript में strict equality के लिए कौन सा operator use किया जाता है?
A
=
B
==
C
===
D
!=
11
What is the output of 5 + '5' in JavaScript? / JavaScript में 5 + '5' का output क्या होगा?
A
10
B
55
C
Error / Error
D
undefined / undefined
12
What is the output of '5' - 3 in JavaScript? / JavaScript में '5' - 3 का output क्या होगा?
A
2
B
53
C
Error / Error
D
NaN
13
Which operator is the logical AND operator? / Logical AND operator कौन सा है?
A
||
B
&&
C
!
D
&
14
Which operator is the logical OR operator? / Logical OR operator कौन सा है?
A
||
B
&&
C
!
D
|
15
Which operator is the logical NOT operator? / Logical NOT operator कौन सा है?
A
||
B
&&
C
!
D
~
16
What is the output of true && false? / true && false का output क्या होगा?
A
true
B
false
C
undefined / undefined
D
Error / Error
17
What is the output of true || false? / true || false का output क्या होगा?
A
true
B
false
C
undefined / undefined
D
Error / Error
18
What is the output of !true? / !true का output क्या होगा?
A
true
B
false
C
undefined / undefined
D
Error / Error
19
Which statement is used to execute code when a condition is true? / Condition true होने पर code execute करने के लिए कौन सा statement use किया जाता है?
A
for
B
if
C
while
D
switch
20
Which statement executes code when a condition is false? / Condition false होने पर code execute करने वाला statement कौन सा है?
A
if
B
else
C
for
D
while
21
Which statement allows multiple conditions to be checked? / Multiple conditions check करने की permission देने वाला statement कौन सा है?
A
if
B
else if
C
else
D
all of the above / ऊपर दिए गए सभी
22
Which statement is used to exit a switch block? / Switch block से बाहर निकलने के लिए कौन सा statement use किया जाता है?
A
exit
B
break
C
return
D
stop
23
Which statement executes when no case matches in a switch? / Switch में कोई case match न होने पर कौन सा statement execute होता है?
A
else
B
default
C
finally
D
catch
24
What is the correct syntax for an if statement? / If statement के लिए सही syntax क्या है?
A
if condition { }
B
if (condition) { }
C
if condition then { }
D
if { condition }
25
Which loop executes code at least once? / कौन सा loop code को कम से कम एक बार execute करता है?
A
for
B
while
C
do-while
D
foreach
26
Which loop repeats a block of code a specific number of times? / कौन सा loop code के block को specific number of times repeat करता है?
A
for
B
while
C
do-while
D
if
27
Which popup box displays a message with an OK button? / कौन सा popup box OK button के साथ message display करता है?
A
confirm
B
prompt
C
alert
D
message
28
Which popup box returns true or false? / कौन सा popup box true या false return करता है?
A
alert
B
confirm
C
prompt
D
message
29
Which popup box allows the user to enter input? / कौन सा popup box user को input enter करने देता है?
A
alert
B
confirm
C
prompt
D
message
30
What does the confirm box return when OK is clicked? / Confirm box में OK click करने पर क्या return होता है?
A
true
B
false
C
null
D
undefined
31
What does the prompt box return when Cancel is clicked? / Prompt box में Cancel click करने पर क्या return होता है?
A
true
B
false
C
null
D
undefined
32
Which event occurs when a user clicks an HTML element? / User के HTML element पर click करने पर कौन सा event होता है?
A
onmouseover
B
onclick
C
onchange
D
onload
33
Which event occurs when the mouse moves over an element? / Mouse element पर move होने पर कौन सा event होता है?
A
onclick
B
onmouseover
C
onmouseout
D
onmousemove
34
Which event occurs when the mouse moves away from an element? / Mouse element से दूर move होने पर कौन सा event होता है?
A
onmouseover
B
onmouseout
C
onmousemove
D
onclick
35
Which event occurs when the page has finished loading? / Page load हो जाने पर कौन सा event होता है?
A
onload
B
onclick
C
onchange
D
onsubmit
36
Which event occurs when the value of an input field changes? / Input field की value change होने पर कौन सा event होता है?
A
onclick
B
onchange
C
onload
D
onmouseover
37
Which event occurs when a form is submitted? / Form submit होने पर कौन सा event होता है?
A
onclick
B
onsubmit
C
onload
D
onchange
38
What is the purpose of form validation? / Form validation का उद्देश्य क्या है?
A
To style the form / Form को style करना
B
To ensure data entered is correct / Enter किया गया data correct है यह ensure करना
C
To submit the form / Form submit करना
D
To reset the form / Form reset करना
39
Which function is used to check if an email is valid? / Email valid है या नहीं check करने के लिए कौन सा function use किया जाता है?
A
isEmail()
B
validateEmail()
C
Regular expression / Regular expression
D
checkEmail()
40
What does the isNaN() function do? / isNaN() function क्या करता है?
A
Checks if value is a number / Value number है या नहीं check करता है
B
Checks if value is not a number / Value number नहीं है या नहीं check करता है
C
Converts value to number / Value को number में convert करता है
D
Returns the type of value / Value का type return करता है
41
Which method converts a string to an integer? / String को integer में convert करने वाला method कौन सा है?
A
parseInt()
B
parseFloat()
C
toString()
D
Number()
42
Which method converts a string to a floating-point number? / String को floating-point number में convert करने वाला method कौन सा है?
A
parseInt()
B
parseFloat()
C
toString()
D
Number()
43
What is AngularJS? / AngularJS क्या है?
A
A CSS framework / एक CSS framework
B
A JavaScript framework / एक JavaScript framework
C
An HTML editor / एक HTML editor
D
A database / एक database
44
Which directive starts an AngularJS application? / AngularJS application start करने वाला directive कौन सा है?
A
ng-repeat
B
ng-init
C
ng-app
D
ng-model
45
Which directive initializes application data? / Application data initialize करने वाला directive कौन सा है?
A
ng-app
B
ng-init
C
ng-model
D
ng-repeat
46
Which directive binds HTML controls to application data? / HTML controls को application data से bind करने वाला directive कौन सा है?
A
ng-app
B
ng-init
C
ng-model
D
ng-repeat
47
Which directive repeats HTML elements for each item in a collection? / Collection के प्रत्येक item के लिए HTML elements repeat करने वाला directive कौन सा है?
A
ng-app
B
ng-init
C
ng-model
D
ng-repeat
48
What is the correct syntax for AngularJS expressions? / AngularJS expressions के लिए सही syntax क्या है?
A
{expression}
B
{{expression}}
C
[expression]
D
(expression)
49
What is the output of {{6 + 2}} in AngularJS? / AngularJS में {{6 + 2}} का output क्या होगा?
A
6 + 2
B
8
C
62
D
Error / Error
50
Which directive is used to declare AngularJS application variables? / AngularJS application variables declare करने के लिए कौन सा directive use किया जाता है?
A
ng-app
B
ng-init
C
ng-model
D
ng-repeat
51
Can AngularJS expressions contain loops? / क्या AngularJS expressions में loops हो सकते हैं?
A
Yes / हाँ
B
No / नहीं
C
Only for loops / केवल for loops
D
Only while loops / केवल while loops
52
Can AngularJS expressions contain function declarations? / क्या AngularJS expressions में function declarations हो सकते हैं?
A
Yes / हाँ
B
No / नहीं
C
Only anonymous functions / केवल anonymous functions
D
Only arrow functions / केवल arrow functions
53
What is the purpose of an AngularJS module? / AngularJS module का उद्देश्य क्या है?
A
To style the page / Page को style करना
B
To contain different parts of an application / Application के different parts contain करना
C
To create HTML elements / HTML elements बनाना
D
To validate forms / Forms validate करना
54
How do you create an AngularJS module? / AngularJS module कैसे create करते हैं?
A
angular.create()
B
angular.module()
C
angular.app()
D
angular.new()
55
What is the correct syntax to create an AngularJS module? / AngularJS module create करने के लिए सही syntax क्या है?
A
var app = angular.module("myApp", []);
B
var app = angular.new("myApp");
C
var app = angular.create("myApp");
D
var app = module("myApp");
56
Which directive is used to bind a controller to the view? / Controller को view से bind करने के लिए कौन सा directive use किया जाता है?
A
ng-app
B
ng-model
C
ng-controller
D
ng-repeat
57
What is a controller in AngularJS? / AngularJS में controller क्या है?
A
A CSS style / एक CSS style
B
A JavaScript function that controls data / एक JavaScript function जो data control करता है
C
An HTML tag / एक HTML tag
D
A database table / एक database table
58
What is $scope in AngularJS? / AngularJS में $scope क्या है?
A
A CSS property / एक CSS property
B
An object that binds view and controller / एक object जो view और controller को bind करता है
C
An HTML element / एक HTML element
D
A JavaScript library / एक JavaScript library
59
Which directive is used for two-way data binding? / Two-way data binding के लिए कौन सा directive use किया जाता है?
A
ng-bind
B
ng-model
C
ng-init
D
ng-app
60
What is two-way data binding in AngularJS? / AngularJS में two-way data binding क्या है?
A
Data flows from model to view only / Data केवल model से view में जाता है
B
Data flows from view to model only / Data केवल view से model में जाता है
C
Data flows in both directions / Data दोनों directions में जाता है
D
Data does not flow / Data flow नहीं होता
61
Which of the following is NOT a valid AngularJS directive? / इनमें से कौन सा valid AngularJS directive नहीं है?
A
ng-app
B
ng-model
C
ng-click
D
ng-style-css
62
Which directive is used for event handling in AngularJS? / AngularJS में event handling के लिए कौन सा directive use किया जाता है?
A
ng-event
B
ng-click
C
ng-handle
D
ng-action
63
What does the ng-click directive do? / ng-click directive क्या करता है?
A
Styles an element on click / Click पर element को style करता है
B
Executes a function when clicked / Click होने पर function execute करता है
C
Hides an element on click / Click पर element hide करता है
D
Shows an element on click / Click पर element show करता है
64
What is the purpose of ng-bind directive? / ng-bind directive का उद्देश्य क्या है?
A
Binds model data to view / Model data को view से bind करना
B
Binds event handlers / Event handlers bind करना
C
Binds CSS styles / CSS styles bind करना
D
Binds HTML attributes / HTML attributes bind करना
65
Which of the following is true about AngularJS expressions? / AngularJS expressions के बारे में इनमें से कौन सा सत्य है?
A
They can contain if-else statements / उनमें if-else statements हो सकते हैं
B
They can contain loops / उनमें loops हो सकते हैं
C
They can contain literals, operators, and variables / उनमें literals, operators, और variables हो सकते हैं
D
They can declare functions / वे functions declare कर सकते हैं
66
What is the output of {{10 * 5}} in AngularJS? / AngularJS में {{10 * 5}} का output क्या होगा?
A
10 * 5
B
50
C
105
D
Error / Error
67
Which directive is used to hide or show HTML elements? / HTML elements को hide या show करने के लिए कौन सा directive use किया जाता है?
A
ng-hide
B
ng-show
C
Both A and B / A और B दोनों
D
ng-display
68
What does ng-disabled directive do? / ng-disabled directive क्या करता है?
A
Disables an HTML element / HTML element को disable करता है
B
Hides an element / Element को hide करता है
C
Enables an element / Element को enable करता है
D
Removes an element / Element को remove करता है
69
Which directive is used to include external HTML content? / External HTML content include करने के लिए कौन सा directive use किया जाता है?
A
ng-include
B
ng-import
C
ng-external
D
ng-file
70
What is the purpose of ng-submit directive? / ng-submit directive का उद्देश्य क्या है?
A
Validates a form / Form validate करना
B
Handles form submission / Form submission handle करना
C
Resets a form / Form reset करना
D
Disables a form / Form disable करना
71
What is the result of 10 % 3 in JavaScript? / JavaScript में 10 % 3 का result क्या है?
A
1
B
3
C
3.33
D
0
72
What is the result of 2 ** 3 in JavaScript? / JavaScript में 2 ** 3 का result क्या है?
A
6
B
8
C
9
D
5
73
What is the result of 10 / 3 in JavaScript? / JavaScript में 10 / 3 का result क्या है?
A
3
B
3.33
C
3.3333333333333335
D
Error / Error
74
What is the output of typeof "Hello" in JavaScript? / JavaScript में typeof "Hello" का output क्या है?
A
string
B
text
C
char
D
word
75
What is the output of typeof 42 in JavaScript? / JavaScript में typeof 42 का output क्या है?
A
int
B
number
C
integer
D
float
76
What is the output of typeof true in JavaScript? / JavaScript में typeof true का output क्या है?
A
boolean
B
bool
C
true
D
logical
77
Which method adds an element to the end of an array? / Array के end में element add करने वाला method कौन सा है?
A
push()
B
pop()
C
shift()
D
unshift()
78
Which method removes the last element from an array? / Array से last element remove करने वाला method कौन सा है?
A
push()
B
pop()
C
shift()
D
unshift()
79
Which method removes the first element from an array? / Array से first element remove करने वाला method कौन सा है?
A
push()
B
pop()
C
shift()
D
unshift()
80
Which method adds an element to the beginning of an array? / Array के beginning में element add करने वाला method कौन सा है?
A
push()
B
pop()
C
shift()
D
unshift()
81
What is the purpose of the return statement? / return statement का उद्देश्य क्या है?
A
To exit a loop / Loop से बाहर निकलना
B
To return a value from a function / Function से value return करना
C
To skip an iteration / Iteration skip करना
D
To declare a variable / Variable declare करना
82
What does the break statement do in a loop? / Loop में break statement क्या करता है?
A
Skips the current iteration / Current iteration skip करता है
B
Exits the loop / Loop से बाहर निकलता है
C
Continues the loop / Loop continue करता है
D
Restarts the loop / Loop restart करता है
83
What does the continue statement do in a loop? / Loop में continue statement क्या करता है?
A
Exits the loop / Loop से बाहर निकलता है
B
Skips the current iteration / Current iteration skip करता है
C
Stops the program / Program stop करता है
D
Returns a value / Value return करता है
84
Which of the following is a valid JavaScript variable name? / इनमें से कौन सा valid JavaScript variable name है?
A
2name
B
my-name
C
my_name
D
my name
85
Which of the following is NOT a reserved keyword in JavaScript? / इनमें से कौन सा JavaScript में reserved keyword नहीं है?
A
var
B
let
C
const
D
variable
86
What is the purpose of the alert() function? / alert() function का उद्देश्य क्या है?
A
To display a message to the user / User को message display करना
B
To get user input / User input लेना
C
To confirm an action / Action confirm करना
D
To close the window / Window close करना
87
What does the window.prompt() method return if the user clicks OK without entering anything? / अगर user बिना कुछ enter किए OK click करता है तो window.prompt() method क्या return करता है?
A
null
B
empty string / empty string
C
undefined
D
false
88
Which of the following is a valid way to add a click event to a button in JavaScript? / JavaScript में button पर click event add करने का valid तरीका कौन सा है?
A
button.onclick = function() { }
B
button.click = function() { }
C
button.addClick = function() { }
D
button.onClick = function() { }
89
What is the correct way to write a JavaScript array? / JavaScript array लिखने का सही तरीका क्या है?
A
var colors = "Red", "Green", "Blue"
B
var colors = (1:"Red", 2:"Green")
C
var colors = ["Red", "Green", "Blue"]
D
var colors = {"Red", "Green", "Blue"}
90
How do you find the length of an array in JavaScript? / JavaScript में array की length कैसे find करते हैं?
A
array.length
B
array.size
C
array.count
D
array.total
91
What is the output of "Hello".length? / "Hello".length का output क्या होगा?
A
4
B
5
C
6
D
Error / Error
92
Which method converts a string to uppercase? / String को uppercase में convert करने वाला method कौन सा है?
A
toUpperCase()
B
toUpper()
C
upper()
D
uppercase()
93
Which method converts a string to lowercase? / String को lowercase में convert करने वाला method कौन सा है?
A
toLowerCase()
B
toLower()
C
lower()
D
lowercase()
94
Which method removes whitespace from both ends of a string? / String के दोनों ends से whitespace remove करने वाला method कौन सा है?
A
trim()
B
strip()
C
clean()
D
removeSpace()
95
What is the output of "Hello".charAt(0)? / "Hello".charAt(0) का output क्या होगा?
A
H
B
e
C
l
D
o
96
What is the output of "Hello".indexOf("e")? / "Hello".indexOf("e") का output क्या होगा?
A
0
B
1
C
2
D
-1
97
Which method joins array elements into a string? / Array elements को string में join करने वाला method कौन सा है?
A
join()
B
concat()
C
merge()
D
combine()
98
What is the output of [1, 2, 3].join("-")? / [1, 2, 3].join("-") का output क्या होगा?
A
1-2-3
B
1,2,3
C
123
D
1 2 3
99
Which of the following is NOT a comparison operator? / इनमें से कौन सा comparison operator नहीं है?
A
==
B
!=
C
===
D
=
100
What is the output of 3 > 2? / 3 > 2 का output क्या होगा?
A
true
B
false
C
undefined
D
Error
101
What is the output of 3 < 2? / 3 < 2 का output क्या होगा?
A
true
B
false
C
undefined
D
Error
102
What is the output of 3 >= 3? / 3 >= 3 का output क्या होगा?
A
true
B
false
C
undefined
D
Error
103
What is the output of 3 <= 2? / 3 <= 2 का output क्या होगा?
A
true
B
false
C
undefined
D
Error
104
Which of the following is NOT a JavaScript event? / इनमें से कौन सा JavaScript event नहीं है?
A
onclick
B
onmouseover
C
onload
D
onstyle
105
What is the purpose of the onsubmit event? / onsubmit event का उद्देश्य क्या है?
A
To validate form data before submission / Submission से पहले form data validate करना
B
To style the form / Form को style करना
C
To reset the form / Form reset करना
D
To hide the form / Form hide करना
106
Which attribute is used to attach an event handler to an HTML element? / HTML element पर event handler attach करने के लिए कौन सा attribute use किया जाता है?
A
on[event]
B
event
C
handler
D
action
107
What does the addEventListener() method do? / addEventListener() method क्या करता है?
A
Removes an event listener / Event listener remove करता है
B
Attaches an event handler to an element / Element पर event handler attach करता है
C
Creates a new event / New event बनाता है
D
Stops event propagation / Event propagation stop करता है
108
What is event bubbling? / Event bubbling क्या है?
A
Event propagates from child to parent / Event child से parent तक propagate होता है
B
Event propagates from parent to child / Event parent से child तक propagate होता है
C
Event stops immediately / Event immediately stop हो जाता है
D
Event is ignored / Event ignore कर दिया जाता है
109
Which method stops event propagation? / Event propagation रोकने वाला method कौन सा है?
A
stopPropagation()
B
preventDefault()
C
stopEvent()
D
cancelEvent()
110
Which method prevents the default behavior of an event? / Event के default behavior को prevent करने वाला method कौन सा है?
A
stopPropagation()
B
preventDefault()
C
stopEvent()
D
cancelEvent()
111
What is the output of typeof null in JavaScript? / JavaScript में typeof null का output क्या है?
A
null
B
object
C
undefined
D
boolean
112
What is the output of typeof undefined in JavaScript? / JavaScript में typeof undefined का output क्या है?
A
null
B
object
C
undefined
D
boolean
113
What is the output of null == undefined? / null == undefined का output क्या होगा?
A
true
B
false
C
undefined
D
Error
114
What is the output of null === undefined? / null === undefined का output क्या होगा?
A
true
B
false
C
undefined
D
Error
115
Which of the following is a Falsy value in JavaScript? / JavaScript में इनमें से कौन सा Falsy value है?
A
"0"
B
0
C
"false"
D
[]
116
Which of the following is a Truthy value in JavaScript? / JavaScript में इनमें से कौन सा Truthy value है?
A
0
B
null
C
"false"
D
undefined
117
What is the output of Boolean("")? / Boolean("") का output क्या होगा?
A
true
B
false
C
undefined
D
Error
118
What is the output of Boolean("text")? / Boolean("text") का output क्या होगा?
A
true
B
false
C
undefined
D
Error
119
Which of the following is used to declare a JavaScript function? / JavaScript function declare करने के लिए इनमें से किसका use किया जाता है?
A
function myFunction() { }
B
def myFunction() { }
C
func myFunction() { }
D
method myFunction() { }
120
What is the purpose of the Math.random() function? / Math.random() function का उद्देश्य क्या है?
A
Returns a random number between 0 and 1 / 0 और 1 के बीच random number return करता है
B
Returns a random integer / Random integer return करता है
C
Returns the value of PI / PI की value return करता है
D
Returns the square root / Square root return करता है
121
What is the output of Math.floor(4.9)? / Math.floor(4.9) का output क्या होगा?
A
4
B
5
C
4.9
D
Error
122
What is the output of Math.ceil(4.1)? / Math.ceil(4.1) का output क्या होगा?
A
4
B
5
C
4.1
D
Error
123
What is the output of Math.round(4.5)? / Math.round(4.5) का output क्या होगा?
A
4
B
5
C
4.5
D
Error
124
Which method converts a number to a string? / Number को string में convert करने वाला method कौन सा है?
A
toString()
B
toNumber()
C
parseInt()
D
parseFloat()
125
What is the output of (10).toString()? / (10).toString() का output क्या होगा?
A
"10"
B
10
C
Error
D
undefined
126
What is the purpose of AngularJS filters? / AngularJS filters का उद्देश्य क्या है?
A
To format data before display / Display से पहले data format करना
B
To validate forms / Forms validate करना
C
To create modules / Modules बनाना
D
To handle events / Events handle करना
127
Which filter formats a number to a currency format? / Number को currency format में format करने वाला filter कौन सा है?
A
number
B
currency
C
decimal
D
money
128
Which filter formats a date? / Date को format करने वाला filter कौन सा है?
A
date
B
time
C
day
D
calendar
129
Which filter converts text to uppercase? / Text को uppercase में convert करने वाला filter कौन सा है?
A
uppercase
B
toUpper
C
capitalize
D
upper
130
Which filter limits an array to a specified number of elements? / Array को specified number of elements तक limit करने वाला filter कौन सा है?
A
limitTo
B
slice
C
truncate
D
first
131
Which filter orders an array? / Array को order करने वाला filter कौन सा है?
A
sort
B
orderBy
C
arrange
D
organize
132
What is the correct syntax to apply a filter in AngularJS? / AngularJS में filter apply करने के लिए सही syntax क्या है?
A
{{ expression | filter }}
B
{{ expression filter }}
C
{{ filter | expression }}
D
{{ filter(expression) }}
133
Which of the following is a valid AngularJS filter? / इनमें से कौन सा valid AngularJS filter है?
A
lowercase
B
uppercase
C
currency
D
all of the above / ऊपर दिए गए सभी
134
What is the purpose of ng-repeat directive? / ng-repeat directive का उद्देश्य क्या है?
A
To repeat HTML elements for each item in a collection / Collection के प्रत्येक item के लिए HTML elements repeat करना
B
To create a loop in JavaScript / JavaScript में loop बनाना
C
To repeat a function call / Function call repeat करना
D
To duplicate an element / Element duplicate करना
135
What is the correct syntax for ng-repeat? / ng-repeat के लिए सही syntax क्या है?
A
ng-repeat="item in items"
B
ng-repeat="items item"
C
ng-repeat="item of items"
D
ng-repeat="for item in items"
136
What is the output of ng-repeat over an empty array? / Empty array पर ng-repeat का output क्या होगा?
A
One empty element / एक empty element
B
No elements / कोई element नहीं
C
Error / Error
D
undefined
137
Which directive is used to conditionally display an element? / Conditionally element display करने के लिए कौन सा directive use किया जाता है?
A
ng-if
B
ng-else
C
ng-condition
D
ng-case
138
What is the difference between ng-if and ng-show? / ng-if और ng-show में क्या अंतर है?
A
ng-if removes element from DOM, ng-show only hides it / ng-if element को DOM से remove करता है, ng-show केवल hide करता है
B
ng-show removes element from DOM, ng-if only hides it / ng-show element को DOM से remove करता है, ng-if केवल hide करता है
C
Both are the same / दोनों समान हैं
D
ng-if is for forms, ng-show is for divs / ng-if forms के लिए है, ng-show divs के लिए है
139
Which of the following is true about AngularJS? / AngularJS के बारे में इनमें से कौन सा सत्य है?
A
It is written in JavaScript / यह JavaScript में लिखा गया है
B
It extends HTML attributes / यह HTML attributes extend करता है
C
It supports two-way data binding / यह two-way data binding support करता है
D
All of the above / ऊपर दिए गए सभी
140
What is the output of {{true && false}} in AngularJS? / AngularJS में {{true && false}} का output क्या होगा?
A
true
B
false
C
undefined
D
Error
141
What is the output of {{!false}} in AngularJS? / AngularJS में {{!false}} का output क्या होगा?
A
true
B
false
C
undefined
D
Error
142
Which AngularJS directive is used for form validation? / Form validation के लिए कौन सा AngularJS directive use किया जाता है?
A
ng-validate
B
ng-form
C
ng-check
D
ng-valid
143
What is the purpose of the novalidate attribute in AngularJS forms? / AngularJS forms में novalidate attribute का उद्देश्य क्या है?
A
To disable HTML5 validation / HTML5 validation disable करना
B
To enable AngularJS validation / AngularJS validation enable करना
C
To remove the form / Form remove करना
D
To reset the form / Form reset करना
144
What is the output of {{10 > 5}} in AngularJS? / AngularJS में {{10 > 5}} का output क्या होगा?
A
true
B
false
C
10
D
5
145
Which of the following is a valid AngularJS expression? / इनमें से कौन सा valid AngularJS expression है?
A
{{ if (true) { } }}
B
{{ for (var i = 0; i < 5; i++) { } }}
C
{{ 5 + 5 }}
D
{{ function() { } }}
146
What is the output of {{'Hello' + ' ' + 'World'}} in AngularJS? / AngularJS में {{'Hello' + ' ' + 'World'}} का output क्या होगा?
A
Hello World
B
HelloWorld
C
Hello + World
D
Error
147
Which directive is used to bind the value of an input field to a model? / Input field की value को model से bind करने के लिए कौन सा directive use किया जाता है?
A
ng-bind
B
ng-model
C
ng-value
D
ng-input
148
What is the output of {{5 * 5}} in AngularJS? / AngularJS में {{5 * 5}} का output क्या होगा?
A
5 * 5
B
25
C
55
D
10
149
What is the purpose of ng-style directive? / ng-style directive का उद्देश्य क्या है?
A
To bind CSS styles to an element / Element पर CSS styles bind करना
B
To bind HTML attributes / HTML attributes bind करना
C
To bind event handlers / Event handlers bind करना
D
To bind form data / Form data bind करना
150
What is the purpose of ng-class directive? / ng-class directive का उद्देश्य क्या है?
A
To bind CSS classes to an element / Element पर CSS classes bind करना
B
To bind HTML attributes / HTML attributes bind करना
C
To bind event handlers / Event handlers bind करना
D
To bind form data / Form data bind करना
151
What is the output of {{100 / 5}} in AngularJS? / AngularJS में {{100 / 5}} का output क्या होगा?
A
20
B
100/5
C
105
D
25
152
Which of the following is true about AngularJS modules? / AngularJS modules के बारे में इनमें से कौन सा सत्य है?
A
Modules are containers for different parts of an application / Modules application के different parts के containers हैं
B
Modules can only contain controllers / Modules केवल controllers contain कर सकते हैं
C
Modules are not required in AngularJS / AngularJS में modules की ज़रूरत नहीं है
D
Modules are used for styling / Modules styling के लिए use किए जाते हैं
153
What is the output of {{'10' + 5}} in AngularJS? / AngularJS में {{'10' + 5}} का output क्या होगा?
A
15
B
105
C
10+5
D
Error
154
Which AngularJS directive is used to initialize a module? / Module initialize करने के लिए कौन सा AngularJS directive use किया जाता है?
A
ng-init
B
ng-module
C
ng-app
D
ng-start
155
What is the output of {{10 % 3}} in AngularJS? / AngularJS में {{10 % 3}} का output क्या होगा?
A
1
B
3
C
3.33
D
0
156
Which of the following is a valid AngularJS controller definition? / इनमें से कौन सा valid AngularJS controller definition है?
A
app.controller('myCtrl', function($scope) { });
B
app.myCtrl = function($scope) { };
C
app.controller = myCtrl($scope) { };
D
app.defineController('myCtrl', $scope);
157
What is the output of {{10 - 5}} in AngularJS? / AngularJS में {{10 - 5}} का output क्या होगा?
A
5
B
10-5
C
15
D
50
158
What is the purpose of the $scope object in AngularJS? / AngularJS में $scope object का उद्देश्य क्या है?
A
To style HTML elements / HTML elements को style करना
B
To act as a bridge between view and controller / View और controller के बीच bridge का काम करना
C
To store CSS classes / CSS classes store करना
D
To handle HTTP requests / HTTP requests handle करना
159
What is the output of {{true || false}} in AngularJS? / AngularJS में {{true || false}} का output क्या होगा?
A
true
B
false
C
undefined
D
Error
160
Which of the following is a valid AngularJS filter syntax? / इनमें से कौन सा valid AngularJS filter syntax है?
A
{{ name | uppercase }}
B
{{ name uppercase }}
C
{{ uppercase | name }}
D
{{ uppercase(name) }}
161
What is the output of {{5 > 10}} in AngularJS? / AngularJS में {{5 > 10}} का output क्या होगा?
A
true
B
false
C
5
D
10
162
Which directive is used to include HTML from an external file? / External file से HTML include करने के लिए कौन सा directive use किया जाता है?
A
ng-include
B
ng-import
C
ng-html
D
ng-file
163
What is the output of {{2 + 3 * 4}} in AngularJS? / AngularJS में {{2 + 3 * 4}} का output क्या होगा?
A
20
B
14
C
24
D
2 + 3 * 4
164
What is the purpose of ng-switch directive? / ng-switch directive का उद्देश्य क्या है?
A
To conditionally display elements based on matching values / Matching values के आधार पर conditionally elements display करना
B
To switch between CSS styles / CSS styles के बीच switch करना
C
To switch between controllers / Controllers के बीच switch करना
D
To switch between modules / Modules के बीच switch करना
165
What is the output of {{ 'Hello'.length }} in AngularJS? / AngularJS में {{ 'Hello'.length }} का output क्या होगा?
A
4
B
5
C
6
D
Hello
166
What is the output of {{10 === 10}} in AngularJS? / AngularJS में {{10 === 10}} का output क्या होगा?
A
true
B
false
C
10
D
Error
167
Which of the following is a valid way to define a function in AngularJS controller? / AngularJS controller में function define करने का valid तरीका कौन सा है?
A
$scope.myFunc = function() { };
B
$scope.myFunc() { };
C
function $scope.myFunc() { };
D
$scope.function myFunc() { };
168
What is the output of {{'5' - 3}} in AngularJS? / AngularJS में {{'5' - 3}} का output क्या होगा?
A
2
B
53
C
'5'-3
D
Error
169
What is the output of typeof NaN in JavaScript? / JavaScript में typeof NaN का output क्या है?
A
NaN
B
number
C
undefined
D
object
170
Which AngularJS directive is used to bind the value of an HTML element to application data? / HTML element की value को application data से bind करने के लिए कौन सा AngularJS directive use किया जाता है?
A
ng-bind
B
ng-model
C
ng-value
D
ng-data
📋 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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
Answered
Not Answered
ℹ️ Quiz Info
Total Questions:
170
Subject:
M2-R5.1
Passing:
40%
Instant Feedback:
ON
Attempt all questions before submitting. You can review your answers using the navigator above.
Answered:
0
/ 170
Submit Quiz