1561 Database Management Systems • SQL Basics SQL में SELECT DISTINCT City FROM Applicants; का मुख्य उद्देश्य क्या है? What is the main purpose of SELECT DISTINCT City FROM Applicants; in SQL? A. Applicants टेबल से दोहराई गई पंक्तियाँ स्थायी रूप से हटाना Permanently delete duplicate rows from Applicants B. हर शहर का नाम अनिवार्य रूप से वर्णानुक्रम में दिखाना Always display city names in alphabetical order C. केवल पहली पंक्ति का शहर दिखाना Display the city from only the first row D. परिणाम में दोहराव हटाकर अलग-अलग शहर दिखाना Display distinct city values without duplicates in the result उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D DISTINCT परिणाम से दोहराए गए मान हटाता है; मूल टेबल नहीं बदलता। निश्चित क्रम के लिए अलग से ORDER BY चाहिए। DISTINCT eliminates duplicate values from the result without modifying the source table. A guaranteed ordering requires ORDER BY.
1562 Database Management Systems • SQL Basics SQL Server में Name LIKE 'R%' शर्त किस प्रकार के नामों से मेल खाती है? In SQL Server, what type of names does the condition Name LIKE 'R%' match? A. R से शुरू होने वाले नाम Names beginning with R B. R पर समाप्त होने वाले नाम Names ending with R C. केवल दो अक्षरों वाले नाम Names containing exactly two characters D. ऐसे नाम जिनमें R कहीं भी न हो Names containing no R anywhere उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A LIKE में % शून्य या अधिक वर्णों को दर्शाता है। इसलिए R% का अर्थ R के बाद कोई भी वर्ण-क्रम है; अक्षर-केस का व्यवहार collation पर निर्भर करता है। In LIKE, % represents zero or more characters. Thus, R% matches R followed by any sequence; case sensitivity depends on the collation.
1563 Database Management Systems • SQL Basics SQL में Marks BETWEEN 40 AND 60 शर्त के बारे में कौन-सा कथन सही है? Which statement is correct about the SQL condition Marks BETWEEN 40 AND 60? A. केवल 40 से अधिक और 60 से कम मान शामिल होते हैं। Only values greater than 40 and less than 60 are included. B. 40 शामिल होता है, लेकिन 60 नहीं। 40 is included, but 60 is excluded. C. 40 और 60 सहित बीच के सभी मान शामिल होते हैं। All values from 40 through 60, including both endpoints, are included. D. केवल 40 और 60 शामिल होते हैं। Only 40 and 60 are included. उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C BETWEEN दोनों सीमाओं को शामिल करता है। यह शर्त Marks >= 40 AND Marks <= 60 के बराबर है। BETWEEN includes both boundary values. This condition is equivalent to Marks >= 40 AND Marks <= 60.
1564 Database Management Systems • SQL Basics SQL में जिन रिकॉर्डों के Email फ़ील्ड में NULL है, उन्हें चुनने के लिए सही शर्त कौन-सी है? Which SQL condition correctly selects records whose Email field contains NULL? A. Email = NULL Email = NULL B. Email IS NULL Email IS NULL C. Email = 'NULL' Email = 'NULL' D. Email = 0 Email = 0 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B NULL की जाँच IS NULL से की जाती है। उद्धरण चिह्नों में 'NULL' एक टेक्स्ट मान है, वास्तविक NULL नहीं। IS NULL tests for NULL. The quoted value 'NULL' is text, not an actual NULL value.
1565 Database Management Systems • SQL Basics SQL में SELECT Department, COUNT(*) FROM Employee GROUP BY Department; क्या लौटाता है? What does SELECT Department, COUNT(*) FROM Employee GROUP BY Department; return in SQL? A. केवल सभी विभागों की संयुक्त कर्मचारी संख्या Only the combined employee count across all departments B. केवल सबसे अधिक कर्मचारियों वाला विभाग Only the department with the most employees C. प्रत्येक कर्मचारी का पूरा व्यक्तिगत विवरण The complete personal details of each employee D. प्रत्येक विभाग और उससे संबंधित पंक्तियों की संख्या Each department and the number of rows belonging to it उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D GROUP BY समान Department वाले रिकॉर्डों के समूह बनाता है। COUNT(*) प्रत्येक समूह की पंक्तियाँ गिनता है। GROUP BY forms groups of records with the same Department value. COUNT(*) counts the rows in each group.
1566 Database Management Systems • SQL Basics एक SQL टेबल की पाँच पंक्तियों में Marks के मान 10, NULL, 20, NULL और 0 हैं। COUNT(Marks) और COUNT(*) के परिणाम क्रमशः क्या होंगे? A SQL table has five rows with Marks values 10, NULL, 20, NULL and 0. What are the results of COUNT(Marks) and COUNT(*) respectively? A. 3 और 5 3 and 5 B. 2 और 5 2 and 5 C. 5 और 3 5 and 3 D. 3 और 3 3 and 3 उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A COUNT(Marks) केवल गैर-NULL मान गिनता है, जिनमें 0 भी शामिल है। COUNT(*) सभी पाँच पंक्तियाँ गिनता है। COUNT(Marks) counts non-NULL values, including zero. COUNT(*) counts all five rows.
1567 Computer Networks • Network Fundamentals कंप्यूटर नेटवर्क में Protocol का अर्थ क्या है? What does a protocol mean in computer networking? A. डेटा संग्रहीत करने वाला उपकरण A device for storing data B. नेटवर्क केबल की लंबाई The length of a network cable C. संचार के लिए निर्धारित नियमों का समूह A set of rules governing communication D. कंप्यूटर स्क्रीन का आकार The size of a computer screen उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: C Correct Answer: C Protocol यह निर्धारित करता है कि उपकरण डेटा का आदान-प्रदान कैसे करेंगे। इसमें संदेश के स्वरूप और संचार प्रक्रिया जैसे नियम शामिल होते हैं। A protocol specifies how devices exchange data, including rules for message formats and communication procedures.
1568 Computer Networks • Network Fundamentals Packet Switching में बड़े संदेश का संचार सामान्यतः किस प्रकार होता है? How is a large message generally transmitted in packet switching? A. उसे छोटे पैकेटों में बाँटकर भेजा जाता है। It is divided into smaller packets for transmission. B. हर संदेश के लिए स्थायी समर्पित तार लगाया जाता है। A permanent dedicated wire is installed for every message. C. उसे केवल मुद्रित रूप में भेजा जाता है। It is transmitted only in printed form. D. उसे बिना किसी पते की जानकारी के भेजा जाता है। It is transmitted without any addressing information. उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: A Correct Answer: A Packet Switching में संदेश छोटे पैकेटों में विभाजित होता है। पैकेटों में नियंत्रण संबंधी जानकारी होती है और वे साझा नेटवर्क लिंक से भेजे जा सकते हैं। Packet switching divides a message into smaller packets containing control information. Packets can travel over shared network links.
1569 Computer Networks • Network Fundamentals नेटवर्क कनेक्शन की डेटा-वहन क्षमता को सामान्यतः किस इकाई में व्यक्त किया जाता है? Which unit is commonly used to express the data-carrying capacity of a network connection? A. Dots per inch Dots per inch B. Pages per minute Pages per minute C. Revolutions per minute Revolutions per minute D. Bits per second Bits per second उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: D Correct Answer: D नेटवर्क की डेटा दर या क्षमता bps तथा उसके गुणकों, जैसे Mbps और Gbps, में व्यक्त की जाती है। यह डेटा संचरण की दर है, संग्रहण क्षमता नहीं। Network data rate or capacity is expressed in bps and multiples such as Mbps and Gbps. It represents a transfer rate, not storage capacity.
1570 Computer Networks • Network Fundamentals नेटवर्क में Latency मुख्यतः किससे संबंधित है? What does latency primarily refer to in a network? A. कनेक्टेड प्रिंटरों की संख्या The number of connected printers B. डेटा के संचार में लगने वाला विलंब The delay involved in data communication C. हार्ड डिस्क की संग्रहण क्षमता The storage capacity of a hard disk D. पासवर्ड की लंबाई The length of a password उत्तर और व्याख्या देखें Show answer and explanation सही उत्तर: B Correct Answer: B Latency संचार में लगने वाला समय-विलंब है, जिसे अक्सर मिलीसेकंड में मापा जाता है। अधिक बैंडविड्थ होने पर भी अधिक latency संभव है। Latency is communication delay, often measured in milliseconds. A connection can have high bandwidth and still experience high latency.