FliQi Education App Download
Senior Computer Instructor — Paper II · प्रश्न-बैंक

Senior Computer Instructor — Paper II — Web Technology के प्रश्न

788 जाँचे हुए प्रश्न · 21 topics · परीक्षा में 7 प्रश्न

Topics

प्रश्न

पहले 10 प्रश्नों के उत्तर और हल यहीं खुले हैं; बाक़ी 10 के उत्तर और हल FliQi Question Bank app में।

भाषा
प्रश्न 1उत्तर + हल JS Syntax & String & Variable
Java कोड के लिए JavaScript exception _____ के instance के रूप में उपलब्ध होता है।
The JavaScript exception is available to the Java code as an instance of _____
  1. Aप्रश्न का चित्र
  2. Bप्रश्न का चित्र
  3. Cप्रश्न का चित्र
  4. Dउपरोक्त में से कोई नहींNone of the above

सही उत्तर / Answer: (B)

हल / Solution
Java applet और JavaScript के बीच बात LiveConnect से होती थी। इसकी classes netscape.javascript package में रखी गई हैं। जब JavaScript कोड में कोई exception आती है, तो Java कोड को वह netscape.javascript.JSException class के object के रूप में मिलती है, जिसे try-catch से पकड़ा जा सकता है। JSObject उसी package की class है, पर वह JavaScript object को दर्शाती है, exception को नहीं। netscape.plugin नाम का package ग़लत है।
Java applets and JavaScript talked to each other through LiveConnect, whose classes live in the netscape.javascript package. When an exception occurs in the JavaScript code, the Java code receives it as an object of the netscape.javascript.JSException class and can catch it with try-catch. JSObject belongs to the same package but represents a JavaScript object, not an exception. The netscape.plugin package name is wrong. So the second option is correct.
प्रश्न 2उत्तर + हल Introduction & History of XML
XML दस्तावेज़ किस ब्राउज़र में देखा जा सकता है?
An XML document can be viewed in
  1. AIE 3.0
  2. BIE 2.0
  3. CIE 6.0
  4. DIE 4.0

सही उत्तर / Answer: (C)

हल / Solution
XML को सीधे ब्राउज़र में देखने की सुविधा Internet Explorer 5 से शुरू हुई और उसके बाद के हर संस्करण में बनी रही। यहाँ दिए विकल्पों में केवल IE 6.0 उस सीमा के बाद का है, इसलिए तीसरा विकल्प सही है। IE 2.0, IE 3.0 और IE 4.0 उससे पुराने संस्करण हैं और उनमें XML parser था ही नहीं। वे XML फ़ाइल को या तो सादे पाठ की तरह दिखाते हैं या डाउनलोड करने को कहते हैं।
Viewing an XML file straight inside the browser became possible from Internet Explorer 5 onwards, and every later release kept that ability. Among the choices given here, only IE 6.0 comes after that point, so option 3 is correct. IE 2.0, IE 3.0 and IE 4.0 are older releases that carried no XML parser at all. They would either show the file as plain text or simply offer to download it.
प्रश्न 3उत्तर + हल History and Introduction of CSS
नीचे दिए गए कोड में किस प्रकार की CSS का उपयोग किया गया है? <p style = "border:2px solid red;">
Which type of CSS is used in the below code? <p style = "border:2px solid red;">
  1. AInline CSS
  2. BInternal CSS
  3. CExternal CSS
  4. Dइनमें से कोई नहींNone of the above

सही उत्तर / Answer: (A)

हल / Solution
यहाँ CSS सीधे उसी टैग के भीतर style विशेषता में लिखी गई है, और यही inline CSS कहलाती है। इसका असर सिर्फ़ उसी एक पैराग्राफ़ पर पड़ेगा जिस पर यह लगी है। आंतरिक CSS head भाग के style टैग में लिखी जाती है और पूरे पृष्ठ पर लगती है, इसलिए दूसरा विकल्प ग़लत है। बाहरी CSS अलग फ़ाइल में रहती है और link से जोड़ी जाती है। एक विकल्प सही है, इसलिए अंतिम विकल्प भी ग़लत है।
Here the CSS has been written straight inside the tag, in its style attribute, and that is called inline CSS. Its effect will reach only the one paragraph that carries it. Internal CSS is written in the style tag of the head part and works on the whole page, so the second choice is wrong, while external CSS lives in a separate file and is joined with a link. One option is right, so the last one fails too.
प्रश्न 4उत्तर + हल Object and Array
BOM (ब्राउज़र ऑब्जेक्ट मॉडल) की विधियों को ____ ऑब्जेक्ट पर कॉल किया जाता है।
Methods of BOM (Browser Object Model) are called on ____ object.
  1. Adocument
  2. Bwindow
  3. Cbutton
  4. Dtext

सही उत्तर / Answer: (B)

हल / Solution
BOM की सारी विधियाँ window ऑब्जेक्ट पर चलती हैं, जैसे window.alert(), window.open(), window.close() और window.setTimeout()। window सबसे ऊपर का ऑब्जेक्ट है, इसलिए उसका नाम छोड़ देने पर भी वही मान लिया जाता है। document पन्ने की सामग्री के लिए है और उस पर DOM की विधियाँ चलती हैं। button और text तो फ़ॉर्म के तत्व हैं, उन पर BOM की विधियाँ नहीं चलतीं। इसलिए दूसरा विकल्प सही है।
Every method of the BOM is called on the window object, for example window.alert(), window.open(), window.close() and window.setTimeout(). Since window is the topmost object, its name may even be dropped and it is still assumed. The document object stands for the page content and carries the DOM methods instead. button and text are form elements and have no BOM methods of their own. So window is correct.
प्रश्न 5उत्तर + हल Structure of HTML & Web Browser
HTML दस्तावेज़ बनाने के लिए निम्नलिखित में से किसकी आवश्यकता होती है?
Which of the following is required to create an HTML document?
  1. Aब्राउज़रBrowser
  2. BइंटरनेटInternet
  3. Cटेक्स्ट एडिटरText editor
  4. Dसर्च इंजनSearch engine

सही उत्तर / Answer: (C)

हल / Solution
HTML दस्तावेज़ सादा text होता है, इसलिए उसे बनाने के लिए बस एक text editor चाहिए, जैसे Notepad या VS Code। उसमें कोड लिखकर फ़ाइल को .html नाम से save कर दीजिए। ब्राउज़र की ज़रूरत पेज को देखने के लिए पड़ती है, बनाने के लिए नहीं। फ़ाइल बिना इंटरनेट के भी बनती और खुलती है। सर्च इंजन तो वेब पर जानकारी खोजने का साधन है। इसलिए सही उत्तर टेक्स्ट एडिटर है।
An HTML document is plain text, so all you need to create it is a text editor such as Notepad or VS Code. You type the code and save the file with a .html extension. A browser is needed to view the page, not to create it. The file can be made and opened without the Internet. A search engine only finds pages on the web. So the answer is a text editor.
प्रश्न 6उत्तर + हल History & Introduction Of HTML
CERN का पूरा नाम क्या है?
What is the full form of CERN?
  1. ACouncil European Research Nuclear
  2. BEuropean Council Nuclear Research
  3. CEuro Council Nuclear Research
  4. DEuropean Council Nut Research

सही उत्तर / Answer: (B)

हल / Solution
CERN नाम मूल रूप से फ़्रांसीसी शब्दों से बना है, जिनका अर्थ अंग्रेज़ी में European Council for Nuclear Research होता है। इसकी स्थापना 1954 में हुई और यह जिनेवा के पास कण भौतिकी की सबसे बड़ी प्रयोगशाला है। यहीं टिम बर्नर्स-ली ने 1989 में वेब की कल्पना रखी थी। बाक़ी विकल्पों में शब्दों का क्रम उलटा है या Euro और Nut जैसे शब्द जोड़ दिए गए हैं, जिनका इस नाम से कोई संबंध नहीं।
The name CERN comes from French words that mean European Council for Nuclear Research in English. It was founded in 1954 and is the largest particle physics laboratory, sitting near Geneva. It was here that Tim Berners-Lee proposed the web in 1989. The remaining options either shuffle the word order or insert words like Euro and Nut, which have nothing to do with the actual name.
प्रश्न 7उत्तर + हल Basic Tag of HTML & HTML Comments
HTML में टैग किसके भीतर बंद कीवर्ड (कुंजीशब्द) से बने होते हैं?
In HTML, tags are made up of keywords enclosed in
  1. Aकोणीय कोष्ठक < >angle brackets < >
  2. Bलघु कोष्ठक ( )parentheses ( )
  3. Cवर्ग कोष्ठक [ ]square brackets [ ]
  4. Dमझला (कर्ली) कोष्ठक { }curly brackets { }

सही उत्तर / Answer: (A)

हल / Solution
HTML का हर टैग एक कीवर्ड होता है जो कोणीय कोष्ठक यानी < और > के बीच लिखा जाता है। जैसे <p>, <body> और <h1>। बंद करने वाले टैग में भी यही कोष्ठक रहते हैं, बस नाम से पहले / लगता है, जैसे </p>। लघु कोष्ठक और वर्ग कोष्ठक का HTML टैग में कोई काम नहीं है। कर्ली कोष्ठक CSS और JavaScript में आते हैं, HTML टैग में नहीं।
Every HTML tag is a keyword written between angle brackets, that is, < and >. Examples are <p>, <body> and <h1>. Closing tags use the same brackets with a / before the name, like </p>. Parentheses and square brackets have no role in HTML tags. Curly brackets are used in CSS and JavaScript, not in HTML tags. So the answer is angle brackets.
प्रश्न 8उत्तर + हल Operators
JavaScript में ______ बिटवाइज़ OR ऑपरेटर को दर्शाता है।
______ denotes the bitwise OR operator in JavaScript.
  1. A&
  2. B|
  3. C~
  4. D^

सही उत्तर / Answer: (B)

हल / Solution
एक | (pipe) बिटवाइज़ OR है। यह दोनों संख्याओं की bits मिलाता है और नतीजे में 1 रखता है अगर किसी एक bit में भी 1 हो। जैसे 5 | 3 में 101 और 011 से 111 बनता है, यानी 7। दो pipe || logical OR है, bitwise नहीं। & बिटवाइज़ AND है, ~ बिटवाइज़ NOT है और ^ बिटवाइज़ XOR है, इसलिए बाक़ी विकल्प ग़लत हैं।
A single | (pipe) is the bitwise OR operator. It compares the bits of two numbers and keeps 1 wherever at least one bit is 1. For example, 5 | 3 turns 101 and 011 into 111, which is 7. The double pipe || is logical OR, not bitwise. The & sign is bitwise AND, ~ is bitwise NOT and ^ is bitwise XOR, so the other options are wrong.
प्रश्न 9उत्तर + हल Functions
जावास्क्रिप्ट में ____ फंक्शन दिए गए सूचकांक से निर्दिष्ट लंबाई तक का सबस्ट्रिंग लौटाता है।
_____function in Javascript returns the substring from given index location to specified length.
  1. AindexOf()
  2. BlastIndexOf()
  3. Csubstr()
  4. Dsubstring()

सही उत्तर / Answer: (C)

हल / Solution
substr में दूसरा अंक लंबाई होता है, अंतिम जगह नहीं। यानी दिए गए सूचकांक से शुरू करके उतने ही वर्ण काटकर लौटा दिए जाते हैं। substring में दूसरा अंक अंतिम सूचकांक माना जाता है, यही दोनों का असली अंतर है। indexOf और lastIndexOf कोई टुकड़ा नहीं काटते, वे सिर्फ़ यह बताते हैं कि खोजा गया पाठ कहाँ मिला।
In substr the second number is a length, not an ending position. It starts at the given index and cuts exactly that many characters. In substring the second number is treated as the ending index, and this is the real difference between the two. The options indexOf and lastIndexOf do not cut anything, they only report where the searched text was found, so substr is correct.
प्रश्न 10उत्तर + हल JS Syntax & String & Variable
eval का syntax _____ है।
The syntax of eval is _____
  1. Aप्रश्न का चित्र
  2. Bप्रश्न का चित्र
  3. Cप्रश्न का चित्र
  4. Dप्रश्न का चित्र

सही उत्तर / Answer: (B)

हल / Solution
eval() एक function है जो string के रूप में दिया गया JavaScript कोड चलाता है। इसका syntax [objectName.]eval(string) है। यहाँ objectName वैकल्पिक है, इसलिए कोष्ठक [ ] में लिखा गया है। जैसे eval("2 + 3") का नतीजा 5 आता है। इसका argument string होता है, संख्या (numeric) नहीं, इसलिए पहला और चौथा विकल्प ग़लत है। EvalName नाम की कोई चीज़ नहीं होती, इसलिए तीसरा भी ग़लत है।
eval() is a function that runs JavaScript code given to it as a string. Its syntax is [objectName.]eval(string), where objectName is optional and so is shown in square brackets. For example, eval("2 + 3") returns 5. The argument is a string, not a numeric value, so the first and fourth options are wrong. There is nothing called EvalName, so the third option is wrong too. The answer is the second option.
आगे के 10 प्रश्नों के उत्तर और हल app मेंFliQi Question Bank — अभ्यास, हल और आपकी प्रगति
App खोलिए
प्रश्न 18उत्तर app में Functions
जावास्क्रिप्ट में ____ फंक्शन बताता है कि दिया गया पैटर्न लक्ष्य स्ट्रिंग में अंतिम बार कहाँ मिला।
_____function in Javascript returns the last found location where given pattern occurs in the target string.
  1. AindexOf()
  2. BlastIndexOf()
  3. Csubstr()
  4. Dsubstring()
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 19उत्तर app में JS Syntax & String & Variable
निम्नलिखित में से कौन JavaScript का सबसे अच्छा वर्णन करता है?
Which of the following best describes JavaScript?
  1. Aएक low-level प्रोग्रामिंग भाषाa low-level programming language.
  2. Bbrowser में पहले से compile की गई scripting भाषाa scripting language precompiled in the browser.
  3. Cएक compiled scripting भाषाa compiled scripting language.
  4. Dएक object-oriented scripting भाषाan object-oriented scripting language.
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
प्रश्न 20उत्तर app में Introduction & History of XML
निम्न में से कौन से प्रोग्राम XML या XML एप्लिकेशन को सपोर्ट करते हैं?
Which of the following programs support XML or XML applications?
  1. AInternet Explorer 5.5
  2. BNetscape 7.0
  3. CRealPlayer
  4. Dपहला और दूसरा दोनोंBoth A and B
उत्तर और हल FliQi Question Bank app में देखें (Answer & solution in the app)
Senior Computer Instructor — Paper II Web Technology — topic-वार पूरा अभ्यासFliQi Question Bank app में