page-banner
WDP M2-R5.1 Quiz-15
Q 1.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code?
console.log(10 + "20");

A. 1020

B. 30

C. 20

D. "1020"

Q 2.
जावास्क्रिप्ट में फ़ंक्शन घोषित करने के लिए किस कीवर्ड का उपयोग किया जाता है?

Which keyword is used to declare a function in JavaScript?

A. fun

B. func

C. function

D. def

Q 3.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code?
var x = 10;
if (x > 15 || x < 5) {
console.log("x is not between 5 and 15");
} else {
console.log("x is between 5 and 15");
}

A. x is between 5 and 15

B. x is not between 5 and 15

C. Error

D. x is 5 and 15

Q 4.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code?
var x = 10;
switch(x) {
case 5:
console.log("x is 5");
break;
case 10:
console.log("x is 10");
break;
default:
console.log("x is not 5 or 10");
}

A. x is 5

B. x is 10

C. x is not 5 or 10

D. Error

Q 5.
निम्नलिखित कोड का परिणाम क्या है?

What is the output of the following code?
var x = 10;
var y = 5;
console.log(x > y ? "x is greater than y" : "y is greater than x");

A. x is greater than y

B. y is greater than x

C. Error

D. print 10, 5

Q 6.
निम्नलिखित में से कौन सा दिए गए जावास्क्रिप्ट कोड के लिए सही आउटपुट है?

Which one of the following is the correct output for the given JavaScript code?
var a=0;  
var b =0;  
while (a <3)  
{  
    a++;  
    b += a;  
    console.log(b);  
}  

A. 135

B. 123

C. 013

D. 01

Q 7.
निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा?

What will be the output of the following code snippet?
<script type="text/javascript">
a = 5 + "9";
document.write(a);
</script>

A. Compilation Error

B. 14

C. Runtime Error

D. 59

Q 8.
निम्नलिखित कोड स्निपेट का आउटपुट क्या होगा?

What will be the output of the following code snippet?
var a = 1;  
var b = 0;  
while (a <= 3)  
{  
   a++;  
   b += a * 2;  
   print(b);
}

A. 410 18

B. 123

C. 147

D. None of the above

Q 9.
निम्नलिखित में से कौन सा जावास्क्रिप्ट फ्रेमवर्क नहीं है?

Which of the following is not a Javascript framework?

A. Node

B. Vue

C. React

D. Cassandra

Q 10.
हम जावास्क्रिप्ट में एक टिप्पणी कैसे लिखते हैं?

How do we write a comment in javascript?

A. /* */

B. //

C. #

D. $ $

Q 11.
इनमें से कौन सा सर्वर-साइड जावास्क्रिप्ट ऑब्जेक्ट नहीं है?

Which of the following are not server-side Javascript objects?

A. Date

B. FileUpload

C. Function

D. All of the above

Q 12.
फोटोशॉप में इमेज के कलर्स को एडजस्ट करने के लिए किस टूल का प्रयोग किया जाता है?

Which tool in Photoshop is used to adjust the colors in an image?

A. Levels tool

B. Crop tool

C. Clone stamp tool

D. Magic wand tool

Q 13.
फोटोशॉप में किस टूल का प्रयोग इमेज के एक विशिष्ट क्षेत्र को ब्लर करने के लिए किया जाता है?

Which tool in Photoshop is used to blur a specific area of an image?

A. Blur tool

B. Brush tool

C. Selection tool

D. Magic wand tool

Q 14.
फोटोशॉप में सभी दृश्यमान परतों को मर्ज करने की शॉर्टकट कुंजी क्या है?

What is the shortcut key to merge all visible layers in Photoshop?

A. Ctrl + M

B. Ctrl + E

C. Ctrl + Shift + E

D. Ctrl + Alt + Shift + E

Q 15.
फोटोशॉप में लेयर्स पैनल को छिपाने/दिखाने की शॉर्टकट कुंजी क्या है?

What is the shortcut key to hide/show the Layers panel in Photoshop?

A. F5

B. F6

C. F7

D. F8

Q 16.
फोटोशॉप में फ्रीहैंड लाइन बनाने के लिए किस टूल का प्रयोग किया जाता है?

Which tool in Photoshop is used to draw freehand lines?

A. Line tool

B. Brush tool

C. Clone stamp tool

D. Magic wand tool

Q 17.
निम्नलिखित में से किसका प्रयोग निर्देश के लिए उपसर्ग के रूप में किया जा सकता है?

Which of the following can be used as a prefix for instructions?

A. ng-

B. x-

C. data-

D. All of the above

Q 18.
HTML तत्व में नियंत्रक निर्दिष्ट करने के लिए किस निर्देश का उपयोग किया जाता है?

Which directive is used to specify a controller in an HTML element?

A. controller

B. ng-control

C. ng-controller

D. ng-ctrl

Q 19.
फोटोशॉप में किस टूल का उपयोग इमेज के आयताकार क्षेत्र को चुनने के लिए किया जाता है?

Which tool in Photoshop is used to select a rectangular area of an image?

A. Marquee tool

B. Lasso tool

C. Magic wand tool

D. Brush tool

Q 20.
फोटोशॉप में एक नई लेयर बनाने के लिए शॉर्टकट कुंजी क्या है?

What is the shortcut key to create a new layer in Photoshop?

A. Ctrl + N

B. Ctrl + Shift + N

C. Ctrl + Alt + N

D. Ctrl + E