🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

O Level Web Design Paper July 2022 | Set 2

Question: 4 Report Error

आप सभी अनुच्छेद तत्वों को 'ग्रे' रंग में कैसे बनाएंगे?

How will you make all paragraph elements 'GREY' in color ?

A)
B)
C)
D)
Explanation

To make all paragraph (

) elements grey in color, you would use the following CSS rule:

p { color: grey; }

This targets all

elements and changes their text color to grey.

So, the correct answer is:

(D) p {color: grey;}.

Correct Answer: D) p {color: grey;}


Question: 7 Report Error

नीचे दिए गए कोड में किस प्रकार का CSS प्रयोग किया गया है?

Which type of CSS is used in the code below ?

<p style = "border:2px solid red;">

A)
B)
C)
D)
Explanation

In the given code:

The CSS is applied directly within the style attribute of the HTML element (

). This is known as Inline CSS because the styles are written directly in the HTML tag.

So, the correct answer is:

(C) Inline CSS.

Correct Answer: C) Inline CSS


Question: 14 Report Error

एंगुलर मॉड्यूल के लिए सही सिंटैक्स कौन सा है?

Which is the correct syntax for Angular Module ?

A)
B)
C)
D)

Question: 20 Report Error

AngularJS अभिव्यक्तियों के बारे में निम्नलिखित में से कौन सा सत्य है?

Which of the following is true about AngularJS expressions ?

A)
B)
C)
D)

Question: 23 Report Error

नीचे दिए गए डिव टैग सामग्री कथन पर विचार करें, "उपयोगकर्ता नाम" का मान कैसे प्रिंट करें?

Consider the below div tag content statement, how to print the value of "UserName"?

<div ng-app="" ng-init="firstName='John'">
<p>Input something in the input box:</p>
<p>Name: <input type="text" ng-model="UserName"></p>
<p>You wrote: __________ </p>
</div>


A)
B)
C)
D)
Explanation

In the given code, to print the value of the UserName using AngularJS, you need to use interpolation with double curly braces {{}}.

To display the value of UserName, you should write it like this:

{{UserName}}

So, the correct answer is:

(B) {{UserName}}.

Correct Answer: B) {{UserName}}


Question: 27 Report Error

एमवीसी में मॉडल क्या है?

What is a Model in MVC ?

A)
B)
C)
D)

Question: 28 Report Error

मार्की टैग का उपयोग __________ के लिए किया जाता है।

Marquee tag is used for __________.

A)
B)
C)
D)

Question: 29 Report Error
Question: 37 Report Error

निम्न में से कौन सा सही है ?

Which of the following is correct ?

A)
B)
C)
D)

Question: 40 Report Error

निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या है?

What is the output of the following JavaScript code ?

<script>
var a;
document.getElementById("demo").innerHTML = a+1;
</script>

A)
B)
C)
D)
Explanation

In the given JavaScript code:

var a;
document.getElementById("demo").innerHTML = a + 1;
  • The variable a is declared but not initialized, so its value is undefined.
  • When you try to add undefined to 1, the result will be NaN (Not a Number).

So, the correct answer is:

(D) NaN.

Correct Answer: D) NaN


Question: 43 Report Error

निम्नलिखित में से कौन सा/से कथन सही है/हैं?

Which of the following statements is/are correct ?

A)
B)
C)
D)

Question: 49 Report Error

निम्नलिखित में से कौन सा/से मार्कअप भाषा का उद्देश्य है/हैं?

Which of the following is/are the purpose of markup language ?


I. Add hypertext capabilities
II. Enhance the document
III. To define elements within a document.

A)
B)
C)
D)

Question: 50 Report Error

कौन सा कथन जावास्क्रिप्ट में var और Let कीवर्ड के बीच सही अंतर निर्दिष्ट करता है?

Which statement specify correct difference between var and let keywords in JavaScript ?

A)
B)
C)
D)

Question: 55 Report Error

HTTP का मतलब __________ है।

HTTP stands for __________.

A)
B)
C)
D)

Question: 62 Report Error

निम्नलिखित जावास्क्रिप्ट कोड का आउटपुट क्या होगा?

What will be the output of the following JavaScript code ?

<p id="demo"></p>
<script>
var js = 10;
js *= 5;
document.getElementById("demo").innerHTML = js;
</script>

A)
B)
C)
D)
Explanation

In the given JavaScript code:

var js = 10;
js *= 5;
document.getElementById("demo").innerHTML = js;
  • Initially, the value of js is 10.
  • The expression js *= 5; is equivalent to js = js * 5;, so it multiplies js by 5, changing its value to 50.
  • The updated value of js, which is 50, will then be displayed inside the

    element with the id "demo".

So, the correct answer is:

(D) 50.

Correct Answer: D) 50


Question: 64 Report Error

निम्नलिखित स्थिति में क्या होगा?

What will happen in the following case ?


h1 {color: red text-decoration: underline; font-style: italic;}
A)
B)
C)
D)

Question: 66 Report Error

सीएसएस में छद्म वर्ग के लिए निम्नलिखित में से कौन सा सत्य है?

Which of the following is true for pseudo class in CSS ?

A)
B)
C)
D)

Question: 67 Report Error

निम्नलिखित में से कौन सा सही है ?

Which of the following is true ?

A)
B)
C)
D)

Question: 68 Report Error

निम्नलिखित में से कौन सा कथन सत्य है/हैं?

Which of the following statement(s) is/are true ?


I. The web designer shouldn‟t just be concerned about the looks but also about user
interface
II. Usability is very important in web design

A)
B)
C)
D)

Question: 69 Report Error

बाहरी स्टाइल शीट को संदर्भित करने के लिए उचित HTML सिंटैक्स क्या है?

What is the proper html syntax for referencing an external style sheet ?

A)
B)
C)
D)

Question: 80 Report Error

AngularJS एक __________ है।

AngularJS is a __________.

A)
B)
C)
D)

Question: 81 Report Error

निम्नलिखित में से कौन सा कोड सबसे अधिक कुशल है?

Which of the following code is most efficient ?

Code 1;
for(var number=10;number>=1;number--)
{
document.writeln(number);
}
Code 2 ;
var number=10;
while(number>=1)
{
document.writeln(number);
number++;
}


A)
B)
C)
D)
Explanation

Here’s a concise explanation:

Code 1:

  • It uses a for loop that correctly counts down from 10 to 1, and stops after 10 iterations.

Code 2:

  • It uses a while loop but increments the number, which causes an infinite loop because the condition number >= 1 never becomes false.

Result:

  • Code 1 is efficient because it works as expected.
  • Code 2 creates an infinite loop, making it inefficient.

Correct Answer: (A) Code 1.

Correct Answer: A) Code 1


Question: 82 Report Error
Question: 93 Report Error

सीएसएस का उपयोग करके सफेद रंग निर्दिष्ट करने के लिए निम्नलिखित में से कौन सा तरीका मान्य है?

Which of the following ways are valid to specify white color using CSS ?

I. #FFFFFF
II. rgb (255, 255, 255)
III. rgb (FF, FF, FF)

A)
B)
C)
D)
Explanation

Let's analyze the ways to specify white color in CSS:

  1. #FFFFFF:

    • This is the hexadecimal representation of white color, and it's valid in CSS.
  2. rgb(255, 255, 255):

    • This is the RGB representation of white, and it's valid in CSS. RGB stands for Red, Green, Blue, and (255, 255, 255) corresponds to the maximum values for all three, which creates white.
  3. rgb(FF, FF, FF):

    • This is not valid. In RGB, each value must be a number between 0 and 255, not hexadecimal characters like FF.

So, the correct answer is:

(D) Both I and II.

Correct Answer: D) Both I and II


Question: 96 Report Error

यदि हम निम्नलिखित दो वेरिएबल जोड़ते हैं तो किस प्रकार का मान मुद्रित होता है?

What type of value gets printed if we add the following two variables ?

var a = "10";var b = 50;

A)
B)
C)
D)
Explanation

In JavaScript, the + operator can act as both an arithmetic operator and a string concatenation operator, depending on the type of operands.

Here:

  • a is a string ("10").
  • b is a number (50).

When a string is involved in an addition operation, JavaScript concatenates the string with the number, converting the number to a string.

So, the result of adding "10" + 50 will be the string "1050" (string concatenation).

Thus, the correct answer is:

(B) Text.

Correct Answer: B) Text


Question: 100 Report Error

W3.CSS एक मानक CSS है जिसमें:

W3.CSS is a standard CSS that has :

A)
B)
C)
D)

Related Papers



















































Latest Updates