Computer Fundamentals — MCQ Practice

Hindi aur English dono mein practice karo — click karo answer check karne ke liye

📚 2941 Questions 🌐 Hindi + English ✅ Free
भाषा / Language:
2941 questions
1876
EN + हिं Medium
GB API gateway provides?
IN एपीआई गेटवे प्रदान करता है?
A
Database access डेटाबेस पहुंच
B
Centralized API management — rate limiting, auth, routing, monitoring केंद्रीकृत एपीआई प्रबंधन - दर सीमित करना, प्राधिकरण, रूटिंग, निगरानी
C
Direct microservice access डायरेक्ट माइक्रोसर्विस एक्सेस
D
Storage management भंडारण प्रबंधन
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) API gateway acts as entry point for APIs, handling authentication, rate limiting, routing, and observability.
व्याख्या (हिन्दी) एपीआई गेटवे एपीआई के लिए प्रवेश बिंदु के रूप में कार्य करता है, प्रमाणीकरण, दर सीमित करने, रूटिंग और अवलोकन को संभालता है।
1877
EN + हिं Medium
GB Rate limiting prevents?
IN दर सीमित करना रोकता है?
A
Data loss डेटा हानि
B
API abuse by limiting requests per time period per client प्रति ग्राहक प्रति समय अवधि के अनुरोधों को सीमित करके एपीआई का दुरुपयोग
C
Encryption failures एन्क्रिप्शन विफलता
D
Routing loops रूटिंग लूप
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Rate limiting restricts the number of API requests a client can make in a time window, preventing abuse and DDoS.
व्याख्या (हिन्दी) दर सीमित करने से एक ग्राहक द्वारा एक समय विंडो में किए जाने वाले एपीआई अनुरोधों की संख्या सीमित हो जाती है, जिससे दुरुपयोग और DDoS को रोका जा सकता है।
1878
EN + हिं Medium
GB mTLS vs TLS: mTLS adds?
IN एमटीएलएस बनाम टीएलएस: एमटीएलएस जोड़ता है?
A
Faster handshake तेजी से हाथ मिलाना
B
Client certificate authentication in addition to server certificate सर्वर प्रमाणपत्र के अतिरिक्त क्लाइंट प्रमाणपत्र प्रमाणीकरण
C
More cipher suites अधिक सिफर सुइट्स
D
UDP support यूडीपी समर्थन
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) mTLS requires both server and client to present valid certificates, enabling two-way mutual authentication.
व्याख्या (हिन्दी) एमटीएलएस को दो-तरफ़ा पारस्परिक प्रमाणीकरण को सक्षम करने के लिए सर्वर और क्लाइंट दोनों को वैध प्रमाणपत्र प्रस्तुत करने की आवश्यकता होती है।
1879
EN + हिं Medium
GB Service-to-service authentication without secrets using SPIFFE/SPIRE provides?
IN SPIFFE/SPIRE का उपयोग करके रहस्यों के बिना सेवा-से-सेवा प्रमाणीकरण प्रदान करता है?
A
Password-based auth पासवर्ड-आधारित प्रमाणीकरण
B
Workload identity via X.509 SVIDs automatically issued to workloads X.509 SVIDs के माध्यम से कार्यभार की पहचान स्वचालित रूप से कार्यभार के लिए जारी की जाती है
C
Token-based only केवल टोकन आधारित
D
Manual certificate management मैनुअल प्रमाणपत्र प्रबंधन
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) SPIFFE/SPIRE issues short-lived X.509 SVIDs (SPIFFE Verifiable Identity Documents) to workloads without secrets.
व्याख्या (हिन्दी) SPIFFE/SPIRE बिना किसी रहस्य के कार्यभार के लिए अल्पकालिक X.509 SVID (SPIFFE सत्यापन योग्य पहचान दस्तावेज़) जारी करता है।
1880
EN + हिं Medium
GB Which sorting has best worst-case and is stable?
IN कौन सी सॉर्टिंग सबसे खराब स्थिति वाली है और स्थिर है?
A
Quick sort त्वरित छँटाई
B
Heap sort ढेर बनाएं और छांटें
C
Merge sort मर्ज सॉर्ट
D
Intro sort परिचय क्रम
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Merge sort has O(n log n) worst case and is stable — it preserves relative order of equal elements.
व्याख्या (हिन्दी) मर्ज सॉर्ट में O(n log n) सबसे खराब स्थिति है और यह स्थिर है - यह समान तत्वों के सापेक्ष क्रम को संरक्षित करता है।
1881
EN + हिं Medium
GB Intro sort (std::sort in C++) combines?
IN इंट्रो सॉर्ट (std::sort C++ में) संयोजित होता है?
A
Only quicksort केवल त्वरित सॉर्ट
B
Quicksort, Heapsort, and Insertion sort for optimal performance इष्टतम प्रदर्शन के लिए क्विकॉर्ट, हीप्सॉर्ट और इंसर्शन सॉर्ट
C
Mergesort and Bubblesort मर्जसॉर्ट और बबलसॉर्ट
D
Radix and Counting sort मूलांक और गिनती क्रम
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Introsort starts with quicksort, switches to heapsort if recursion depth exceeds limit, then insertion sort for small arrays.
व्याख्या (हिन्दी) इंट्रोसॉर्ट क्विकसॉर्ट से शुरू होता है, यदि रिकर्सन गहराई सीमा से अधिक हो जाती है तो हीप्सॉर्ट पर स्विच हो जाता है, फिर छोटे एरे के लिए इंसर्शन सॉर्ट होता है।
1882
EN + हिं Medium
GB TimSort (Python's default sort) is based on?
IN टिमसॉर्ट (पायथन का डिफ़ॉल्ट सॉर्ट) किस पर आधारित है?
A
Pure merge sort शुद्ध मर्ज सॉर्ट
B
Natural runs + merge sort — optimized for real-world partially sorted data प्राकृतिक रन + मर्ज सॉर्ट - वास्तविक दुनिया के आंशिक रूप से सॉर्ट किए गए डेटा के लिए अनुकूलित
C
Radix sort मूलांक क्रम
D
Counting sort गिनती क्रम
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) TimSort finds natural sorted runs in data and merges them efficiently — O(n) best case for nearly sorted data.
व्याख्या (हिन्दी) टिमसॉर्ट डेटा में प्राकृतिक क्रमबद्ध रन ढूंढता है और उन्हें कुशलता से मर्ज करता है - लगभग क्रमबद्ध डेटा के लिए ओ (एन) सबसे अच्छा मामला है।
1883
EN + हिं Medium
GB Patience sorting achieves?
IN धैर्य छँटाई हासिल होती है?
A
O(n²) always O(n²) हमेशा
B
O(n log n) and finds longest increasing subsequence O(n log n) और सबसे लंबे समय तक बढ़ने वाला अनुवर्ती पाता है
C
O(n) always ओ(एन) हमेशा
D
O(log n) ओ(लॉग एन)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Patience sort is related to the card game patience and achieves O(n log n) while finding the LIS.
व्याख्या (हिन्दी) धैर्य सॉर्ट कार्ड गेम धैर्य से संबंधित है और एलआईएस ढूंढते समय ओ (एन लॉग एन) प्राप्त करता है।
1884
EN + हिं Medium
GB LIS (Longest Increasing Subsequence) optimal solution is?
IN एलआईएस (सबसे लंबे समय तक बढ़ने वाला अनुवर्ती) इष्टतम समाधान है?
A
O(n²) DP ओ(एन²) डीपी
B
O(n log n) using patience sort/binary search O(n log n) धैर्य सॉर्ट/बाइनरी खोज का उपयोग कर
C
O(n) पर)
D
O(n³) ओ(एन³)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) LIS can be solved in O(n log n) using a patience sort variant with binary search.
व्याख्या (हिन्दी) एलआईएस को बाइनरी सर्च के साथ धैर्य सॉर्ट वेरिएंट का उपयोग करके ओ (एन लॉग एन) में हल किया जा सकता है।
1885
EN + हिं Hard
GB LCS (Longest Common Subsequence) has time complexity?
IN एलसीएस (सबसे लंबा सामान्य अनुवर्ती) में समय जटिलता है?
A
O(n log n) ओ(एन लॉग एन)
B
O(n×m) using dynamic programming O(n×m) गतिशील प्रोग्रामिंग का उपयोग करते हुए
C
O(n²) always O(n²) हमेशा
D
O(n+m) ओ(एन+एम)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) LCS uses DP with an n×m table, giving O(n×m) time complexity for strings of length n and m.
व्याख्या (हिन्दी) एलसीएस एन×एम तालिका के साथ डीपी का उपयोग करता है, जो लंबाई एन और एम की स्ट्रिंग के लिए ओ(एन×एम) समय जटिलता देता है।
1886
EN + हिं Medium
GB Edit distance (Levenshtein) DP has complexity?
IN दूरी संपादित करें (लेवेनशेटिन) डीपी में जटिलता है?
A
O(n) पर)
B
O(n×m) ओ(एन×एम)
C
O(n log n) ओ(एन लॉग एन)
D
O(n²) only for equal length O(n²) केवल समान लंबाई के लिए
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Edit distance DP uses an (n+1)×(m+1) table, giving O(n×m) time and space complexity.
व्याख्या (हिन्दी) दूरी संपादित करें DP एक (n+1)×(m+1) तालिका का उपयोग करता है, जो O(n×m) समय और स्थान जटिलता देता है।
1887
EN + हिं Medium
GB Manacher's algorithm finds?
IN मैनाचेर का एल्गोरिदम ढूँढता है?
A
Shortest palindrome सबसे छोटा पलिंड्रोम
B
All palindromic substrings in O(n) time O(n) समय में सभी पैलिंड्रोमिक सबस्ट्रिंग
C
LCS साख पत्र
D
Suffix array प्रत्यय सारणी
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Manacher's algorithm finds the longest palindromic substring (and all palindromes) in O(n) time.
व्याख्या (हिन्दी) मैनाचेर का एल्गोरिदम O(n) समय में सबसे लंबी पैलिंड्रोमिक सबस्ट्रिंग (और सभी पैलिंड्रोम) ढूंढता है।
1888
EN + हिं Medium
GB Z-algorithm for string matching runs in?
IN स्ट्रिंग मिलान के लिए Z-एल्गोरिदम चलता है?
A
O(n×m) ओ(एन×एम)
B
O(n+m) ओ(एन+एम)
C
O(n log n) ओ(एन लॉग एन)
D
O(m log n) ओ(एम लॉग एन)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Z-algorithm computes Z-array in O(n+m) enabling efficient pattern matching.
व्याख्या (हिन्दी) Z-एल्गोरिदम कुशल पैटर्न मिलान को सक्षम करने के लिए O(n+m) में Z-सरणी की गणना करता है।
1889
EN + हिं Medium
GB Suffix array construction optimal time is?
IN प्रत्यय सरणी निर्माण इष्टतम समय है?
A
O(n²) ओ(एन²)
B
O(n log n) or O(n) ओ(एन लॉग एन) या ओ(एन)
C
O(n log² n) ओ(एन लॉग² एन)
D
O(n×m) ओ(एन×एम)
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) Suffix arrays can be constructed in O(n log n) using prefix doubling or O(n) using SA-IS algorithm.
व्याख्या (हिन्दी) प्रत्यय सरणियों का निर्माण O(n log n) में उपसर्ग दोहरीकरण का उपयोग करके या O(n) में SA-IS एल्गोरिथ्म का उपयोग करके किया जा सकता है।
1890
EN + हिं Medium
GB Longest common prefix (LCP) array with suffix array enables?
IN प्रत्यय सरणी के साथ सबसे लंबी सामान्य उपसर्ग (एलसीपी) सरणी सक्षम करती है?
A
O(n²) string ops O(n²) स्ट्रिंग ऑप्स
B
O(n) or O(1) answers to many string queries after O(n log n) preprocessing O(n लॉग n) प्रीप्रोसेसिंग के बाद O(n) या O(1) कई स्ट्रिंग प्रश्नों के उत्तर देता है
C
O(n log n) always ओ(एन लॉग एन) हमेशा
D
No improvement कोई सुधार नहीं
✅ Correct Answer:
💡 Explanation / व्याख्या
Explanation (English) LCP array combined with suffix array enables efficient O(n) string operations like counting occurrences.
व्याख्या (हिन्दी) प्रत्यय सरणी के साथ संयुक्त एलसीपी सरणी घटनाओं की गिनती जैसे कुशल ओ (एन) स्ट्रिंग संचालन को सक्षम बनाती है।
1876–1890 of 2941