Javascript and Angular JS
1 / 50
JavaScript is the programming language of the __. जावास्क्रिप्ट की प्रोग्रामिंग भाषा है।
2 / 50
Which type of JavaScript language is __? किस प्रकार की जावास्क्रिप्ट भाषा __ है?
3 / 50
Which of the following statement(s) is true about the JavaScript? निम्नलिखित में से कौन सा कथन जावास्क्रिप्ट के बारे में सत्य है?
4 / 50
In which HTML element, we put the JavaScript code? किस HTML तत्व में हम जावास्क्रिप्ट कोड डालते हैं?
5 / 50
JavaScript code can be written in __.
6 / 50
Which symbol is used separate JavaScript statements?
कौन सा प्रतीक अलग जावास्क्रिप्ट कथनों का उपयोग करता है?
7 / 50
JavaScript ignores?
जावास्क्रिप्ट अनदेखा करता है?
8 / 50
Which is the correct syntax to call an external JavaScript file in the current HTML document?
वर्तमान HTML दस्तावेज़ में बाहरी जावास्क्रिप्ट फ़ाइल को कॉल करने के लिए सही सिंटैक्स कौन सा है?
9 / 50
Which JavaScript method is used to access an HTML element by id?
HTML एलीमेंट को आईडी द्वारा एक्सेस करने के लिए किस जावास्क्रिप्ट विधि का उपयोग किया जाता है?
10 / 50
Which property is used to define the HTML content to an HTML element with a specific id?
HTML सामग्री को विशिष्ट आईडी वाले HTML तत्व में परिभाषित करने के लिए किस गुण का उपयोग किया जाता है?
11 / 50
Which JavaScript method is used to write HTML output?
HTML आउटपुट लिखने के लिए किस जावास्क्रिप्ट विधि का उपयोग किया जाता है?
12 / 50
Which JavaScript method is used to write on browser's console?
ब्राउजर के कंसोल पर लिखने के लिए किस जावास्क्रिप्ट विधि का उपयोग किया जाता है?
13 / 50
Which JavaScript method is used to write into an alert box?
अलर्ट बॉक्स में लिखने के लिए किस जावास्क्रिप्ट विधि का उपयोग किया जाता है?
14 / 50
Which is the correct JavaScript statement to display "Hello Boss!" into an alert box?
" Hello Boss!" प्रदर्शित करने के लिए सही जावास्क्रिप्ट कथन कौन सा है? एक अलर्ट बॉक्स में?
15 / 50
Which is the correct JavaScript statement to print the addition of two numbers 10 and 20 in a paragraph whose id is 'result'?
एक पैराग्राफ में दो नंबर 10 और 20 के जोड़ को प्रिंट करने के लिए सही जावास्क्रिप्ए स्टेटमेंट कौन सा है जिसका आईडी 'result है?
16 / 50
What is the use of this JavaScript statement?
इस जावास्क्रिप्ट कथन का क्या उपयोग है? <button onclick="window.print()">Submit</button>
17 / 50
In JavaScript, single line comment begins with
जावास्क्रिप्ट में सिंगल लाइन कमेंट से शुरू होता है।
18 / 50
In JavaScript, multi-line comments start with and end with
जावास्क्रिप्ट में, बहु पंक्ति टिप्पणियाँ से शुरू होती हैं और के साथ समाप्त होती हैं।
19 / 50
Which JavaScript keyword is used to declare a variable?
एक चर घोषित करने के लिए किस जावास्क्रिप्ट कीवर्ड का उपयोग किया जाता है?
20 / 50
Which Javascript operator is used to determine the type of a variable?
वेरिएबल के प्रकार को निर्धारित करने के लिए किस जावास्क्रिप्ट ऑपरेटर का उपयोग किया जाता है?
21 / 50
Which is the correct syntax of JavaScript typeof operator? जावास्क्रिप्ट टाइपोफ ऑपरेटर का सही सिंटेक्स कौन सा है?
22 / 50
What will be the output of the following JavaScript code? निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या होगा?
<script>
var x = 12.34;
document.getElementById("test").innerHTML=typeof(x);
</script>
23 / 50
Which keyword is used to define a JavaScript function? जावास्क्रिप्ट फ़ंक्शन को परिभाषित करने के लिए किस कीवर्ड का उपयोग किया जाता है?
24 / 50
What will be the output of the following JavaScript code?
निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या होगा?
var x = (10 - 20) * 5;
document.getElementById("tes").innerHTML = x;
25 / 50
JavaScript types are ___ .
जावास्क्रिप्ट प्रकार ___ हैं।
26 / 50
JavaScript arrays are written with ___ .
जावास्क्रिप्ट सरणियों को ___ के साथ लिखा जाता है।
27 / 50
JavaScript objects are written with ___ .
जावास्क्रिप्ट ऑब्जेक्ट ___ के साथ लिखे जाते हैं।
28 / 50
Which JavaScript operator is used to determine the type of a variable?
वेरिएबल के प्रकार को निर्धरित करने के लिए किस जावास्किए ऑपरेटर का उपयोग किया जाता है?
29 / 50
<script> const arr = [10, 20, 30];
let result = 0;
arr.forEach(myFunction);
document.write("Result: ", result);
function myFunction(value, index, array) {
result += value;
} </script>
30 / 50
<script> const values = [10, 20, 30];
const result = values.map(myFunction);
return value * value; } </script>
31 / 50
<script> var cars = ["Honda", "Hyundai", "Mahindra"];
var result = cars.shift();
document.writeln("Result: ", cars); </script>
32 / 50
var result = cars.unshift("Toyota", "Tata");
document.writeln("[", result, "]", cars); </script>
33 / 50
What will be the output of the following Javascript code? निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या होगा?
<script> var msgs=new Array("Hello", "Hey", "Morning!");
for (i=0;i<msgs.length;i++){
document.write(msgs[i]+"|");
34 / 50
<script> var values = [10, 20, 30, 40); var result values.reduceRight(function(x,y){
return (x + y);
})
document.write("Result: "+result); </script>
35 / 50
const myArray = ['h', 'e', 'T', 'T', 'o'];
document.write(myArray[0]);
document.write(myArray[1]);
36 / 50
let cars = ['Honda', 'Hyundai'];
cars.push('Mahindra');
document.write(typeof cars +” “+ cars);
37 / 50
Will the following JavaScript code work? क्या निम्नलिखित जावास्क्रिप्ट कोड काम करेगा?
document.getElementById("test").innerHTML = \
"Hello, IncludeHelp!";
38 / 50
let str1 = new String("IncludeHelp!");
let str2 = new String("IncludeHelp!");
document.getElementById("test").innerHTML = (str1==str2);
39 / 50
Which is the correct JavaScript statement to define string as object? स्ट्रिंग को वस्तु के रूप में परिभाषित करने के लिए सही जावास्क्रिप्ट कथन कौन सा है?
40 / 50
Which is/are the valid JavaScript method(s) to extract string parts? स्ट्रिंग भागों को निकालने के लिए वैध जावास्क्रिप्ट विधि कौन सी है/हैं?
41 / 50
42 / 50
What is the output of the following JavaScript code?
निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या है?
var name = "Alex" + "Alvin";
document.getElementById("demo").innerHTML = name;
43 / 50
35What is the output of the following JavaScript code?
var a = 10 - 20 - "5";
document.getElementById("demo").innerHTML = a;
44 / 50
Can be redeclare a variable that is declared with let keyword?
क्या एक चर को फिर से घोषित किया जा सकता है जिसे लेट कीवर्ड के साथ घोषित किया गया है?
45 / 50
var name = "Alex" +” “+ "Alvin";
46 / 50
var a = 10 +20 +"5";
47 / 50
48 / 50
Which JavaScript method is used to convert a date to a UTC string (a date display standard)? किसी दिनांक को UTC स्ट्रिंग (एक दिनांक प्रदर्शन मानक) में बदलने के लिए किस जावास्क्रिप्ट विधि का उपयोग किया जाता है?
49 / 50
The internal clock in JavaScript counts from midnight ___ . जावास्क्रिप्ट में आंतरिक घड़ी मध्यरात्रि से गिना जाता है।
50 / 50
What does the Date object's method getTime() return? डेट ऑब्जेक्ट का मेथड गेटटाइम () रिटर्न क्या देत्ता है?
Your score is
The average score is 44%
Restart quiz