RBSE Class 12th 2017 (Supp.)-SS-05-2017 Previous Year Papers

Class 12th students hunting authentic previous year papers for (Supp.)-SS-05-2017 (2017) land here for a reason: the paper below matches how RBSE assessments are remembered from that year. RBSE Solution does not mix years on one page; each combination gets its own notes.

Skim the overview sections, then work through the scanned pages. Pair this practice with RBSE books and solutions when you need to relearn a concept a question exposed.

Paper details

Quick reference for this previous year papers page — confirm board, class, and year & subject before you study.

Board RBSE
Class Class 12th
Exam year 2017
Subject (Supp.)-SS-05-2017
Resource type Previous Year Papers
Category RBSE Previous Year Question Papers
Website RBSE Solution

The table summarises this Previous Year Papers resource. Confirm RBSE, Class 12th, year 2017, and subject (Supp.)-SS-05-2017 before studying.

RBSE Solution organises previous year papers so each URL carries chapter-specific guidance — better for students and for search engines than one generic paragraph for the whole class.

Turning 2017 papers into insight

One (Supp.)-SS-05-2017 paper reveals style; several from the same year reveal pattern. After this page, open sibling subjects listed below to see whether marks cluster in certain units.

Keep rough work dated in your notebook. Examiners in Class 12th expect clear numbering even in practice sessions.

RBSE Class 12th 2017 (Supp.)-SS-05-2017

Scroll through the Previous Year Papers pages for (Supp.)-SS-05-2017 (2017).

RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 0
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 1
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 2
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 3
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 4
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 5
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 6
https://rbsesolution.com
RBSE Class 12th 2017  (Supp.)-SS-05-2017 Previous Year Papers 7
https://rbsesolution.com

Rajasthan Board Class 12th (Supp.)-SS-05-2017 2017 solved Previous Year Question Papers

उच्च माध्यमिक पूरक परीक्षा, 2017

SENIOR SECONDARY SUPPLEMENTARY EXAMINATION, 2017

मल्टीमीडिया और वेब टेक्नोलॉजी (ऐच्छिक)

MULTIMEDIA AND WEB TECHNOLOGY (Optional)

समय : 3¼ घण्टे   |   पूर्णांक : 56

No. of Questions — 30   |   No. of Printed Pages — 07

प्रश्न पत्र कोड : SS—05—Multi. Web. Tech. (Opt.) (Supp.)

परीक्षार्थियों के लिए सामान्य निर्देश :

GENERAL INSTRUCTIONS TO THE EXAMINEES :

  1. परीक्षार्थी सर्वप्रथम अपने प्रश्न पत्र पर नामांक अनिवार्यत: लिखें।
    Candidate must write first his/her Roll No. on the question paper compulsorily.
  2. सभी प्रश्न करने अनिवार्य हैं।
    All the questions are compulsory.
  3. प्रत्येक प्रश्न का उत्तर दी गई उत्तर-पुस्तिका में ही लिखें।
    Write the answer to each question in the given answer-book only.
  4. प्रश्न पत्र के हिन्दी व अंग्रेजी रूपान्तर में किसी प्रकार की त्रुटि / अन्तर / विरोधाभास होने पर हिन्दी भाषा के प्रश्न को सही मानें।
    If there is any error / difference / contradiction in Hindi & English versions of the question paper, the question of Hindi version should be treated valid.

(Page 1 of 8 — Remaining pages contain the actual questions.)

2. MS-Access में फाइल का Extension क्या होता है?

What is extension of file in MS-Access?

उत्तर: MS-Access में फाइल का एक्सटेंशन .accdb (Access Database) होता है। पुराने संस्करणों में यह .mdb था।

Answer: The extension of a file in MS-Access is .accdb (Access Database). In older versions, it was .mdb.

3. MS-Access में Hyperlink डाटा टाईप का क्या कार्य है?

What is the work of Hyperlink datatype in MS-Access?

उत्तर: MS-Access में Hyperlink डाटा टाईप का उपयोग वेब पते (URL), ईमेल पते, या किसी फाइल के पथ को स्टोर करने के लिए किया जाता है। जब उपयोगकर्ता इस फील्ड पर क्लिक करता है, तो संबंधित लिंक खुल जाता है।

Answer: The Hyperlink datatype in MS-Access is used to store web addresses (URLs), email addresses, or file paths. When a user clicks on this field, the associated link opens.

4. कम्प्युटर कम्यूनिकेशन में प्रोटोकॉल को परिभाषित कीजिए।

Define protocol in computer communication.

उत्तर: प्रोटोकॉल नियमों और मानकों का एक समूह है जो कम्प्युटर नेटवर्क में डेटा संचार को नियंत्रित करता है। यह डेटा प्रारूप, ट्रांसमिशन गति, त्रुटि जांच और संचार के क्रम को परिभाषित करता है। उदाहरण: TCP/IP, HTTP, FTP.

Answer: A protocol is a set of rules and standards that governs data communication in a computer network. It defines data format, transmission speed, error checking, and the sequence of communication. Examples: TCP/IP, HTTP, FTP.

5. ओपन सोर्स सॉफ्टवेयर के क्या लाभ है?

What are the benefits of open source software?

उत्तर: ओपन सोर्स सॉफ्टवेयर के निम्नलिखित लाभ हैं:

  • मुफ्त उपयोग और वितरण
  • स्रोत कोड उपलब्ध होने से अनुकूलन संभव
  • समुदाय द्वारा निरंतर सुधार और सुरक्षा
  • लाइसेंस शुल्क नहीं होता
  • पारदर्शिता और विश्वसनीयता

Answer: Benefits of open source software include:

  • Free to use and distribute
  • Customizable due to available source code
  • Continuous improvement and security by community
  • No license fees
  • Transparency and reliability

6. लिनक्स में नई डाइरेक्टरी बनाने के लिए किस कमाण्ड का उपयोग किया जाता है?

Which command is to be used to create new directory in linux?

उत्तर: लिनक्स में नई डाइरेक्टरी बनाने के लिए mkdir कमाण्ड का उपयोग किया जाता है। उदाहरण: mkdir myfolder

Answer: The command used to create a new directory in Linux is mkdir. Example: mkdir myfolder

7. ASC() फंक्शन का क्या उपयोग है?

What is use of ASC() function?

उत्तर: ASC() फंक्शन किसी कैरेक्टर का ASCII कोड (पूर्णांक मान) लौटाता है। उदाहरण: ASC('A') का मान 65 होता है। इसका उपयोग कैरेक्टर को संख्यात्मक मान में बदलने के लिए किया जाता है।

Answer: The ASC() function returns the ASCII code (integer value) of a character. Example: ASC('A') returns 65. It is used to convert a character to its numeric value.

8. ओ डी बी सी का पूरा नाम क्या है?

What is full name of ODBC?

उत्तर: ODBC का पूरा नाम Open Database Connectivity है। यह एक मानक API है जो विभिन्न डेटाबेस सिस्टमों तक पहुँचने के लिए उपयोग किया जाता है।

Answer: The full name of ODBC is Open Database Connectivity. It is a standard API used to access different database systems.

प्रश्न 8: ए.एस.पी. को डाटाबेस के साथ जोड़ने के लिए कौन-कौन सी तकनीकों का उपयोग कर सकते हैं?

Which techniques can be used to connect ASP with database?

उत्तर: ए.एस.पी. (ASP) को डाटाबेस से जोड़ने के लिए निम्नलिखित तकनीकों का उपयोग किया जा सकता है:

  • ADO (ActiveX Data Objects): यह सबसे सामान्य तकनीक है, जो डाटाबेस से कनेक्ट करने, क्वेरी चलाने और डेटा प्राप्त करने के लिए उपयोग होती है।
  • ODBC (Open Database Connectivity): यह एक मानक API है जो विभिन्न डाटाबेस सिस्टम्स (जैसे SQL Server, Oracle, MySQL) से कनेक्ट करने में मदद करता है।
  • OLE DB (Object Linking and Embedding Database): यह ADO का आधार है और विभिन्न डेटा स्रोतों (रिलेशनल और नॉन-रिलेशनल) तक पहुंच प्रदान करता है।
  • Connection String: डाटाबेस सर्वर का नाम, डाटाबेस का नाम, उपयोगकर्ता नाम और पासवर्ड जैसी जानकारी को कनेक्शन स्ट्रिंग के माध्यम से प्रदान किया जाता है।

प्रश्न 9: पेज काउन्टर कम्पोनेंट का क्या उपयोग है?

What is use of page counter component?

उत्तर: पेज काउन्टर कम्पोनेंट का उपयोग किसी वेब पेज पर विज़िटर्स की संख्या गिनने के लिए किया जाता है। यह एक सर्वर-साइड कम्पोनेंट है जो प्रत्येक विज़िट के साथ काउंट को बढ़ाता है और इसे फ़ाइल या डाटाबेस में संग्रहीत करता है। इसका उपयोग वेबसाइट की लोकप्रियता मापने और ट्रैफिक विश्लेषण के लिए किया जाता है।

प्रश्न 10: मल्टीमीडिया को परिभाषित कीजिए।

Define Multimedia.

उत्तर: मल्टीमीडिया का अर्थ है एक से अधिक मीडिया का संयोजन। यह टेक्स्ट, ऑडियो, वीडियो, ग्राफिक्स, एनिमेशन और इंटरैक्टिव सामग्री का एकीकृत उपयोग है। मल्टीमीडिया का उपयोग शिक्षा, मनोरंजन, विज्ञापन और प्रस्तुतियों में किया जाता है ताकि जानकारी को अधिक प्रभावी और आकर्षक बनाया जा सके।

प्रश्न 11: ए वी आई और एम पी ई जी का पूरा नाम क्या है?

What is full name of AVI and MPEG?

उत्तर:

  • AVI: Audio Video Interleave (ऑडियो वीडियो इंटरलीव)
  • MPEG: Moving Picture Experts Group (मूविंग पिक्चर एक्सपर्ट्स ग्रुप)

AVI एक मल्टीमीडिया कंटेनर फॉर्मेट है जो ऑडियो और वीडियो डेटा को एक साथ संग्रहीत करता है। MPEG एक वीडियो और ऑडियो संपीड़न मानक है जिसका उपयोग डिजिटल मीडिया में किया जाता है।

प्रश्न 12: वेब होस्टिंग से आप क्या समझते हैं?

What do you understand by web hosting?

उत्तर: वेब होस्टिंग एक सेवा है जो वेबसाइटों को इंटरनेट पर उपलब्ध कराने के लिए सर्वर स्पेस और संसाधन प्रदान करती है। इसमें वेबसाइट की फाइलों (HTML, CSS, इमेज, वीडियो आदि) को एक सर्वर पर संग्रहीत किया जाता है, जो 24/7 इंटरनेट से जुड़ा रहता है। वेब होस्टिंग के प्रकारों में शेयर्ड होस्टिंग, डेडिकेटेड होस्टिंग, VPS होस्टिंग और क्लाउड होस्टिंग शामिल हैं।

प्रश्न 13: फ्रेम रेट क्या है?

What is frame rate?

उत्तर: फ्रेम रेट (Frame Rate) वह दर है जिस पर वीडियो या एनिमेशन में प्रति सेकंड स्थिर चित्र (फ्रेम) प्रदर्शित होते हैं। इसे फ्रेम्स प्रति सेकंड (fps) में मापा जाता है। उच्च फ्रेम रेट (जैसे 60 fps) चिकनी और अधिक यथार्थवादी गति प्रदान करता है, जबकि निम्न फ्रेम रेट (जैसे 24 fps) फिल्मों में उपयोग होता है।

प्रश्न 14: रेफरेन्शियल इंटीग्रिटी का क्या अर्थ है?

What is significance of referential integrity?

उत्तर: रेफरेन्शियल इंटीग्रिटी (Referential Integrity) एक डाटाबेस अवधारणा है जो यह सुनिश्चित करती है कि दो तालिकाओं के बीच संबंध सही और सुसंगत बना रहे। इसका अर्थ है कि एक तालिका में विदेशी कुंजी (Foreign Key) का मान हमेशा दूसरी तालिका की प्राथमिक कुंजी (Primary Key) में मौजूद होना चाहिए या NULL हो सकता है। यह डेटा अखंडता बनाए रखने में मदद करता है और अनाथ रिकॉर्ड (orphan records) को रोकता है।

5) प्रोप्राइटरी सॉफ्टवेयर से आप क्या समझते है? किन्हीं दो प्रोप्राइटरी सॉफ्टवेयर के नाम लिखिए। [2]

What do you mean by proprietary software? Write any two names of proprietary software.

प्रोप्राइटरी सॉफ्टवेयर वह सॉफ्टवेयर है जिसका स्वामित्व किसी व्यक्ति या कंपनी के पास होता है और इसका स्रोत कोड सार्वजनिक रूप से उपलब्ध नहीं होता। उपयोगकर्ता को इसका उपयोग करने के लिए लाइसेंस खरीदना पड़ता है और इसे संशोधित या पुनर्वितरित नहीं किया जा सकता।

दो प्रोप्राइटरी सॉफ्टवेयर के नाम:

  • माइक्रोसॉफ्ट विंडोज (Microsoft Windows)
  • एडोबी फोटोशॉप (Adobe Photoshop)

6) ए.एस.पी. को परिभाषित कीजिए। तथा ए.एस.पी. कोड को कैसे ऐक्जिक्यूट (रन) किया जा सकता है। [2]

Define ASP. And, how can execute (run) an ASP code.

ASP (Active Server Pages) माइक्रोसॉफ्ट द्वारा विकसित एक सर्वर-साइड स्क्रिप्टिंग तकनीक है जिसका उपयोग डायनामिक वेब पेज बनाने के लिए किया जाता है।

ASP कोड को रन करने के लिए: ASP कोड को IIS (Internet Information Services) वेब सर्वर पर होस्ट किया जाता है। जब कोई क्लाइंट ब्राउज़र से ASP पेज का अनुरोध करता है, तो सर्वर ASP कोड को प्रोसेस करता है और HTML आउटपुट उत्पन्न करता है, जो क्लाइंट को भेजा जाता है।

7) ए.एस.पी. की किन्हीं चार उपयोगिताओं को लिखिए। [2]

Write any four utilities of ASP.

  1. डायनामिक वेब पेज बनाना (Creating dynamic web pages)
  2. डेटाबेस से कनेक्ट करके डेटा प्रदर्शित करना (Connecting to databases and displaying data)
  3. यूज़र इनपुट को प्रोसेस करना (Processing user input)
  4. सर्वर-साइड वैलिडेशन करना (Performing server-side validation)

8) Implicit और Explicit डिक्लेरेशन को समझाइए। [2]

Explain implicit and explicit declarations.

Implicit Declaration: जब किसी वेरिएबल को बिना डेटा टाइप बताए उपयोग किया जाता है, तो उसे इम्प्लिसिट डिक्लेरेशन कहते हैं। इसमें वेरिएबल का डेटा टाइप स्वचालित रूप से निर्धारित होता है। उदाहरण: Dim x (VBA में) या var x = 10 (JavaScript में)।

Explicit Declaration: जब किसी वेरिएबल को उसके डेटा टाइप के साथ स्पष्ट रूप से घोषित किया जाता है, तो उसे एक्सप्लिसिट डिक्लेरेशन कहते हैं। उदाहरण: Dim x As Integer (VBA में) या int x = 10; (C# में)।

9) If Then End If कन्डीशनल स्टेटमेंट को उदाहरण सहित समझाइए। [2]

Explain If Then End If conditional statement with example.

If Then End If एक कंडीशनल स्टेटमेंट है जो किसी शर्त के सत्य होने पर कोड के एक ब्लॉक को निष्पादित करता है। इसका सिंटैक्स इस प्रकार है:

If condition Then
    ' कोड ब्लॉक
End If

उदाहरण: मान लीजिए कि हमें यह जांचना है कि कोई संख्या 10 से बड़ी है या नहीं:

Dim num As Integer
num = 15
If num > 10 Then
    Response.Write("संख्या 10 से बड़ी है")
End If

इस उदाहरण में, यदि num का मान 10 से अधिक है, तो "संख्या 10 से बड़ी है" संदेश प्रदर्शित होगा।

20) Module के लाभों को बताइए। [2]

Give the advantages of Module.

  1. कोड पुन: उपयोग (Code Reusability): मॉड्यूल में लिखे गए कोड को कई स्थानों पर बार-बार उपयोग किया जा सकता है।
  2. रखरखाव में आसानी (Easy Maintenance): कोड को छोटे-छोटे मॉड्यूल में विभाजित करने से डिबगिंग और अपडेट करना आसान हो जाता है।
  3. संगठन (Organization): मॉड्यूल कोड को तार्किक रूप से व्यवस्थित करने में मदद करते हैं, जिससे प्रोजेक्ट अधिक संरचित बनता है।
  4. सहयोग (Collaboration): विभिन्न डेवलपर्स एक साथ अलग-अलग मॉड्यूल पर काम कर सकते हैं, जिससे विकास की गति बढ़ती है।

प्रश्न 21

ए.एस.पी. (ASP) में ऑब्जेक्ट द्वारा किये जाने वाले कार्यों को समझाइए।

Explain the works done by object in ASP.

ASP (Active Server Pages) में ऑब्जेक्ट विभिन्न कार्य करते हैं, जैसे:

  • Request Object: क्लाइंट से सर्वर पर भेजे गए डेटा (जैसे फॉर्म डेटा, कुकीज़) को प्राप्त करना।
  • Response Object: सर्वर से क्लाइंट को आउटपुट (जैसे HTML, टेक्स्ट) भेजना।
  • Server Object: सर्वर-साइड कार्य (जैसे डेटाबेस कनेक्शन, फ़ाइल एक्सेस) को नियंत्रित करना।
  • Session Object: एक ही उपयोगकर्ता के विभिन्न पेजों के बीच डेटा स्टोर करना।
  • Application Object: सभी उपयोगकर्ताओं के लिए साझा डेटा (जैसे काउंटर) को संभालना।

प्रश्न 22

Connection object और Recordset object का क्या कार्य है?

What is the work of connection object and recordset object?

  • Connection Object: यह डेटाबेस (जैसे SQL Server, Access) से कनेक्शन स्थापित करता है। इसका उपयोग कनेक्शन खोलने, बंद करने और SQL क्वेरी चलाने के लिए किया जाता है।
  • Recordset Object: यह डेटाबेस से प्राप्त डेटा (रिकॉर्ड्स) को स्टोर करता है। इसका उपयोग डेटा को पढ़ने, जोड़ने, अपडेट करने और हटाने के लिए किया जाता है।

प्रश्न 23

Lossy और Lossless कम्प्रेशन से आप क्या समझते हैं?

What do you understand by lossy and lossless compression?

  • Lossy Compression: इसमें डेटा का कुछ हिस्सा स्थायी रूप से हटा दिया जाता है, जिससे फ़ाइल का आकार छोटा हो जाता है, लेकिन गुणवत्ता कम हो जाती है। उदाहरण: JPEG, MP3।
  • Lossless Compression: इसमें डेटा को बिना किसी हानि के संपीड़ित किया जाता है, और मूल डेटा को पूरी तरह से पुनर्स्थापित किया जा सकता है। उदाहरण: ZIP, PNG।

प्रश्न 24

मैक्रोमीडिया फ्लैश क्या है? इसके क्या उपयोग हैं?

What is Macromedia Flash? What are the uses of it?

मैक्रोमीडिया फ्लैश एक मल्टीमीडिया सॉफ्टवेयर प्लेटफॉर्म है जिसका उपयोग एनिमेशन, इंटरैक्टिव वेब पेज, गेम्स और वीडियो बनाने के लिए किया जाता है। इसके उपयोग:

  • वेबसाइटों पर एनिमेटेड ग्राफिक्स और बैनर बनाना।
  • इंटरैक्टिव प्रस्तुतियाँ और गेम्स विकसित करना।
  • वीडियो और ऑडियो प्लेयर बनाना।
  • ई-लर्निंग सामग्री तैयार करना।

प्रश्न 25

ISO/OSI मॉडल को समझाइए।

Explain ISO / OSI model.

ISO/OSI (Open Systems Interconnection) मॉडल एक संदर्भ मॉडल है जो नेटवर्क संचार को 7 परतों में विभाजित करता है। ये परतें नीचे से ऊपर की ओर हैं:

  1. Physical Layer: भौतिक माध्यम (केबल, सिग्नल) पर डेटा का ट्रांसमिशन।
  2. Data Link Layer: फ्रेम में डेटा का पैकेटीकरण और त्रुटि जाँच।
  3. Network Layer: रूटिंग और एड्रेसिंग (जैसे IP)।
  4. Transport Layer: एंड-टू-एंड डेटा डिलीवरी और त्रुटि सुधार (जैसे TCP)।
  5. Session Layer: संचार सत्र स्थापित करना और प्रबंधित करना।
  6. Presentation Layer: डेटा का एन्क्रिप्शन, कम्प्रेशन और फॉर्मेटिंग।
  7. Application Layer: उपयोगकर्ता अनुप्रयोगों (जैसे HTTP, FTP) के लिए इंटरफेस।

प्रश्न 26

निम्नलिखित प्रत्येक अभिव्यक्तियों के परिणाम ज्ञात कीजिए। मान लीजिए कि वेरिएबल स्ट्रिंग (str) का नियोजित मान "I Love My India" है।

Find the result of each of the following expressions. Assume that the string variable (str) has the assigned value "I Love My India".

  1. Ucase (str): "I LOVE MY INDIA" (सभी अक्षर बड़े हो जाते हैं)
  2. Len (str): 15 (स्पेस सहित कुल वर्णों की संख्या)
  3. Left (str, 6): "I Love" (बाएं से 6 वर्ण)
  4. Mid (str, 8, 6): "My Ind" (8वें वर्ण से 6 वर्ण)

6. Determine the result of each of the following expressions. Assume that variable string (str) is assigned by "I Love My India".

  1. Ucase (str)

    Result: "I LOVE MY INDIA"

    Ucase converts all characters in the string to uppercase.

  2. Len (str)

    Result: 15

    Len returns the number of characters in the string, including spaces. "I Love My India" has 15 characters.

  3. Left (str, 6)

    Result: "I Love"

    Left returns the first 6 characters from the left side of the string.

  4. Mid (str, 8, 6)

    Result: "My Ind"

    Mid returns 6 characters starting from position 8. Counting from position 1: "I"(1), " "(2), "L"(3), "o"(4), "v"(5), "e"(6), " "(7), "M"(8), "y"(9), " "(10), "I"(11), "n"(12), "d"(13), "i"(14), "a"(15). So from position 8, we get "M", "y", " ", "I", "n", "d" = "My Ind".


27) ए.एस.पी. में किसी फाइल के कंटेंट्स (contents) को पढ़ने का कोड लिखिए। [3]

Write a code in ASP to read the contents of a file.

ASP Code to read file contents:

<%
Dim objFSO, objFile, filePath, fileContent

' Create FileSystemObject
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")

' Specify the file path (change as needed)
filePath = Server.MapPath("data.txt")

' Open the file for reading
Set objFile = objFSO.OpenTextFile(filePath, 1) ' 1 = ForReading

' Read the entire file content
fileContent = objFile.ReadAll

' Display the content
Response.Write("File Contents: <br>")
Response.Write(fileContent)

' Close the file and clean up
objFile.Close
Set objFile = Nothing
Set objFSO = Nothing
%>
    

Explanation: This code uses the FileSystemObject (FSO) to open a text file, read all its contents using the ReadAll method, and then display it on the webpage. The file is closed and objects are released after use.


28) निम्नलिखित को उदाहरण सहित समझाइए। [4]

Explain the following with example.

  1. Do while loop

    Do While Loop: This loop executes a block of code repeatedly as long as a specified condition is true. The condition is checked before each iteration.

    Syntax:

    Do While condition
        ' Code to execute
    Loop

    Example in ASP:

    <%
    Dim i
    i = 1
    Do While i <= 5
        Response.Write("Number: " & i & "<br>")
        i = i + 1
    Loop
    %>

    Output: Number: 1, Number: 2, Number: 3, Number: 4, Number: 5

    The loop continues as long as i <= 5 is true. When i becomes 6, the condition fails and the loop stops.

  2. ऐरे को पुनः डिक्लेयर करना (Redeclaration of an array)

    Redeclaration of an Array: In ASP (VBScript), an array can be redeclared using the ReDim statement. This allows changing the size of a dynamic array (declared with Dim without fixed size) while optionally preserving existing data using the Preserve keyword.

    Syntax:

    ReDim [Preserve] arrayName(subscript)

    Example:

    <%
    ' Declare a dynamic array
    Dim arr()
    ReDim arr(2) ' Initial size: 3 elements (0 to 2)
    arr(0) = "Apple"
    arr(1) = "Banana"
    arr(2) = "Cherry"
    
    ' Redeclare array with larger size, preserving existing data
    ReDim Preserve arr(4)
    arr(3) = "Date"
    arr(4) = "Elderberry"
    
    ' Display all elements
    For i = 0 To UBound(arr)
        Response.Write(arr(i) & "<br>")
    Next
    %>

    Output: Apple, Banana, Cherry, Date, Elderberry

    Without Preserve, existing data would be lost when redeclaring. Using Preserve keeps the old values and adds new space.


29) ए.एस.पी. में निम्नलिखित कम्पोनेंट (component) को उदाहरण सहित समझाइए। [4]

Explain the following components in ASP with example.

  1. ब्राउजर केपेबीलिटीज कम्पोनेंट (Browser Capabilities Component)

    Browser Capabilities Component: This component (BrowserType) is used to detect the capabilities of the client's web browser, such as browser name, version, whether it supports JavaScript, cookies, ActiveX controls, etc. It reads from a browscap.ini file to determine browser features.

    Example:

    <%
    ' Create Browser Capabilities object
    Set objBrowser = Server.CreateObject("MSWC.BrowserType")
    
    ' Display browser information
    Response.Write("Browser: " & objBrowser.Browser & "<br>")
    Response.Write("Version: " & objBrowser.Version & "<br>")
    Response.Write("Supports JavaScript: " & objBrowser.JavaScript & "<br>")
    Response.Write("Supports Cookies: " & objBrowser.Cookies & "<br>")
    Response.Write("Supports ActiveX: " & objBrowser.ActiveXControls & "<br>")
    
    Set objBrowser = Nothing
    %>

    Output (example): Browser: IE, Version: 11.0, Supports JavaScript: True, Supports Cookies: True, Supports ActiveX: True

    This helps in creating browser-specific content or fallbacks.

  2. ऐड-रोटेटर कम्पोनेंट (Ad Rotator Component)

    Ad Rotator Component: This component (AdRotator) is used to display different advertisements (banner ads) on a webpage in a rotating manner. It reads from a schedule file (usually a text file) that contains ad image URLs, link URLs, and display weights.

    Example:

    Step 1: Create a schedule file (adrot.txt):

    REDIRECT ad_redirect.asp
    WIDTH 468
    HEIGHT 60
    BORDER 1
    *
    ads/banner1.gif
    http://www.example1.com
    Check out Example 1!
    30
    ads/banner2.gif
    http://www.example2.com
    Visit Example 2!
    50
    ads/banner3.gif
    http://www.example3.com
    Special Offer!
    20

    Step 2: ASP code to display the ad:

    <%
    ' Create Ad Rotator object
    Set objAd = Server.CreateObject("MSWC.AdRotator")
    
    ' Display a random ad based on schedule file
    Response.Write(objAd.GetAdvertisement("adrot.txt"))
    
    Set objAd = Nothing
    %>

    Explanation: The AdRotator component randomly selects an ad from the schedule file based on the weight (higher weight = more frequent display). The REDIRECT line specifies a page that handles click tracking. Each time the page loads, a different ad may appear.

SS—05—Multi. Web. Tech.(Opt.) 05

Explain the following components in ASP with example.

  1. Browser Capabilities Component
  2. Ad-Rotator Component

i) Browser Capabilities Component: This ASP component detects the capabilities of the client's web browser (e.g., type, version, JavaScript support, cookies, etc.). It uses the BrowserType object to access properties like browser, version, javascript, etc. Example:

<%
Set bc = Server.CreateObject("MSWC.BrowserType")
Response.Write("Browser: " & bc.browser & "<br>")
Response.Write("Version: " & bc.version & "<br>")
Response.Write("JavaScript: " & bc.javascript & "<br>")
%>

ii) Ad-Rotator Component: This component rotates advertisements on a web page. It reads a schedule file (text file with ad details) and displays a different ad each time the page is loaded. Example:

<%
Set ad = Server.CreateObject("MSWC.AdRotator")
Response.Write(ad.GetAdvertisement("ads.txt"))
%>

Where ads.txt contains ad image URLs, links, and display weights.

30) निम्नलिखित को समझाइए। [4]

  1. फ्रेम बफर।
  2. ऐनिमेशन।
  3. पी.एन.जी. इमेज।
  4. जे.पी.ई.जी. इमेज।

Explain the following

  1. Frame buffer
  2. Animation
  3. PNG Image
  4. JPEG Image

i) Frame buffer (फ्रेम बफर): A frame buffer is a portion of computer memory (RAM) that stores the pixel data (color and intensity) for each pixel on the display screen. It acts as a buffer between the CPU/GPU and the monitor, holding the image to be displayed. The frame buffer is continuously read by the display hardware to refresh the screen.

ii) Animation (ऐनिमेशन): Animation is the process of creating the illusion of motion by displaying a sequence of static images (frames) rapidly, typically at 24-30 frames per second. Each frame shows a slight change from the previous one, and the human eye perceives continuous movement. Examples include GIF animations, Flash animations, and video.

iii) PNG Image (पी.एन.जी. इमेज): PNG (Portable Network Graphics) is a lossless image compression format that supports 24-bit color (16.7 million colors) and transparency (alpha channel). It uses a non-patented compression algorithm (DEFLATE) and is ideal for web graphics, logos, and images requiring sharp edges or transparency. PNG does not support animation (except APNG).

iv) JPEG Image (जे.पी.ई.जी. इमेज): JPEG (Joint Photographic Experts Group) is a lossy image compression format that reduces file size by discarding some image data (especially high-frequency details). It supports 24-bit color and is best for photographs and complex images with smooth gradients. JPEG does not support transparency and is not suitable for images with sharp text or lines due to compression artifacts.