1. What is a computer program?
कंप्यूटर प्रोग्राम क्या है?
a) A set of instructions
b) A hardware device
c) A software error
d) A data storage unit
Answer: a) A set of instructions
उत्तर: a) निर्देशों का सेट
2. Which language is used to write computer programs?
कंप्यूटर प्रोग्राम लिखने के लिए कौन सी भाषा का उपयोग किया जाता है?
a) English
b) Programming language
c) Spoken language
d) None
Answer: b) Programming language
उत्तर: b) प्रोग्रामिंग भाषा
3. What does CPU stand for?
CPU का क्या मतलब है?
a) Central Programming Unit
b) Central Processing Unit
c) Computer Personal Unit
d) Central Peripheral Unit
Answer: b) Central Processing Unit
उत्तर: b) सेंट्रल प्रोसेसिंग यूनिट
4. Which of these is a programming language?
इनमें से कौन सी प्रोग्रामिंग भाषा है?
a) HTML
b) CSS
c) Python
d) HTTP
Answer: c) Python
उत्तर: c) पाइथन
5. What does IDE stand for?
IDE का क्या मतलब है?
a) Integrated Development Environment
b) Internal Device Error
c) Internet Development Engine
d) Integrated Design Environment
Answer: a) Integrated Development Environment
उत्तर: a) इंटीग्रेटेड डेवलपमेंट एन्वायरनमेंट
6. Which symbol is used for assignment in many programming languages?
कई प्रोग्रामिंग भाषाओं में असाइनमेंट के लिए कौन सा चिन्ह इस्तेमाल होता है?
a) ==
b) =
c) !=
d) >
Answer: b) =
उत्तर: b) =
7. What is a variable in programming?
प्रोग्रामिंग में वेरिएबल क्या है?
a) A storage location
b) A function
c) A loop
d) A syntax error
Answer: a) A storage location
उत्तर: a) एक संग्रह स्थान
8. What does HTML stand for?
HTML का क्या मतलब है?
a) HyperText Markup Language
b) Hyperlink Text Marking Language
c) Hyperlink and Text Markup Language
d) Hyper Tool Markup Language
Answer: a) HyperText Markup Language
उत्तर: a) हायपरटेक्स्ट मार्कअप भाषा
9. What is debugging?
डिबगिंग क्या है?
a) Writing code
b) Finding and fixing errors
c) Running a program
d) Designing a program
Answer: b) Finding and fixing errors
उत्तर: b) त्रुटियों को ढूंढना और सुधारना
10. Which loop is used to execute code repeatedly?
कौन सा लूप कोड को बार-बार चलाने के लिए उपयोग किया जाता है?
a) If-else
b) For loop
c) Switch
d) Function
Answer: b) For loop
उत्तर: b) फॉर लूप
11. Which keyword is used to define a function in Python?
Python में फ़ंक्शन को परिभाषित करने के लिए कौन सा कीवर्ड है?
a) function
b) define
c) def
d) func
Answer: c) def
उत्तर: c) def
12. What is an algorithm?
एल्गोरिदम क्या है?
a) A step-by-step solution
b) A programming language
c) A computer part
d) A software error
Answer: a) A step-by-step solution
उत्तर: a) चरणबद्ध समाधान
13. Which of the following is not a programming language?
निम्नलिखित में से कौन सी प्रोग्रामिंग भाषा नहीं है?
a) Java
b) Ruby
c) Photoshop
d) C++
Answer: c) Photoshop
उत्तर: c) फोटोशॉप
14. What is syntax in programming?
प्रोग्रामिंग में सिन्टैक्स क्या है?
a) Program output
b) Program rules
c) Program errors
d) Program memory
Answer: b) Program rules
उत्तर: b) प्रोग्राम नियम
15. What does SQL stand for?
SQL का क्या मतलब है?
a) Structured Query Language
b) Simple Query Language
c) Sequential Query Language
d) Structured Question Language
Answer: a) Structured Query Language
उत्तर: a) स्ट्रक्चर्ड क्वेरी लैंग्वेज
16. Which symbol is used for comments in Python?
Python में कमेंट के लिए कौन सा चिन्ह इस्तेमाल होता है?
a) //
b) /* */
c) #
d) --
Answer: c) #
उत्तर: c) #
17. What is a loop?
लूप क्या है?
a) A program block that repeats
b) A data structure
c) A function call
d) A syntax error
Answer: a) A program block that repeats
उत्तर: a) कोड का दोहराव वाला हिस्सा
18. What does GUI stand for?
GUI का क्या मतलब है?
a) General User Interface
b) Graphical User Interface
c) Global User Interface
d) Graphics User Information
Answer: b) Graphical User Interface
उत्तर: b) ग्राफिकल यूजर इंटरफेस
19. What is an IDE used for?
IDE किस लिए उपयोग होता है?
a) Writing and testing code
b) Compiling code only
c) Designing graphics
d) Running databases
Answer: a) Writing and testing code
उत्तर: a) कोड लिखने और टेस्ट करने के लिए
20. Which of these is a conditional statement?
इनमें से कौन सा कंडीशनल स्टेटमेंट है?
a) if-else
b) for
c) while
d) switch
Answer: a) if-else
उत्तर: a) if-else
21. What is a function?
फ़ंक्शन क्या है?
a) A block of reusable code
b) A variable
c) A loop
d) An error
Answer: a) A block of reusable code
उत्तर: a) पुन: उपयोग योग्य कोड ब्लॉक
22. What is an error in programming called?
प्रोग्रामिंग में त्रुटि को क्या कहते हैं?
a) Bug
b) Code
c) Function
d) Variable
Answer: a) Bug
उत्तर: a) बग
23. What is a compiler?
कंपाइलर क्या है?
a) Converts code to machine language
b) Writes code
c) Runs hardware
d) Stores data
Answer: a) Converts code to machine language
उत्तर: a) कोड को मशीन भाषा में बदलता है
24. What is a loop used for?
लूप किस लिए उपयोग होता है?
a) To repeat instructions
b) To store data
c) To define variables
d) To debug errors
Answer: a) To repeat instructions
उत्तर: a) निर्देशों को दोहराने के लिए
25. Which one is a database language?
कौन सी भाषा डेटाबेस के लिए है?
a) SQL
b) HTML
c) CSS
d) Python
Answer: a) SQL
उत्तर: a) SQL
26. Which data type stores whole numbers?
कौन सा डेटा प्रकार पूर्णांक (integer) संग्रहीत करता है?
a) float
b) int
c) string
d) char
Answer: b) int
उत्तर: b) int
27. What is a syntax error?
सिन्टैक्स त्रुटि क्या है?
a) Mistake in grammar of code
b) Logical error
c) Runtime error
d) Hardware failure
Answer: a) Mistake in grammar of code
उत्तर: a) कोड के व्याकरण में गलती
28. What does ‘print’ do in programming?
प्रोग्रामिंग में ‘print’ क्या करता है?
a) Displays output
b) Takes input
c) Declares variable
d) Ends program
Answer: a) Displays output
उत्तर: a) आउटपुट दिखाता है
29. What is a loop that never ends called?
ऐसे लूप को क्या कहते हैं जो कभी खत्म न हो?
a) Infinite loop
b) For loop
c) While loop
d) Conditional loop
Answer: a) Infinite loop
उत्तर: a) अनंत लूप
30. Which symbol is used for ‘not equal to’?
‘नॉट इक़्वल टू’ के लिए कौन सा चिन्ह इस्तेमाल होता है?
a) ==
b) !=
c) =
d) <>
Answer: b) !=
उत्तर: b) !=
31. What is a string?
स्ट्रिंग क्या है?
a) Sequence of characters
b) A number
c) A variable
d) A function
Answer: a) Sequence of characters
उत्तर: a) अक्षरों का अनुक्रम
32. What does API stand for?
API का क्या मतलब है?
a) Application Programming Interface
b) Automated Program Instruction
c) Advanced Programming Interface
d) Application Program Integration
Answer: a) Application Programming Interface
उत्तर: a) एप्लीकेशन प्रोग्रामिंग इंटरफेस
33. What is recursion?
रिकर्शन क्या है?
a) Function calling itself
b) Looping twice
c) Declaring a variable
d) Ending a program
Answer: a) Function calling itself
उत्तर: a) फ़ंक्शन का स्वयं को कॉल करना
34. What is a syntax in programming?
प्रोग्रामिंग में सिन्टैक्स क्या है?
a) Rules for writing code
b) Output of program
c) A type of error
d) Memory location
Answer: a) Rules for writing code
उत्तर: a) कोड लिखने के नियम
35. Which of these is an example of a high-level programming language?
इनमें से कौन सी उच्च-स्तरीय प्रोग्रामिंग भाषा है?
a) Assembly
b) Machine code
c) Java
d) Binary code
Answer: c) Java
उत्तर: c) जावा
36. What does ‘break’ do in a loop?
लूप में ‘break’ क्या करता है?
a) Exits the loop
b) Skips an iteration
c) Starts a new loop
d) Ends the program
Answer: a) Exits the loop
उत्तर: a) लूप से बाहर निकलता है
37. What is the output of print(2 + 3)?
print(2 + 3) का आउटपुट क्या होगा?
a) 5
b) 23
c) 2+3
d) Error
Answer: a) 5
उत्तर: a) 5
38. Which of the following is not a loop?
निम्नलिखित में से कौन सा लूप नहीं है?
a) for
b) while
c) if
d) do-while
Answer: c) if
उत्तर: c) if
39. What does a ‘return’ statement do?
‘return’ स्टेटमेंट क्या करता है?
a) Sends value back from function
b) Prints output
c) Starts a loop
d) Declares variable
Answer: a) Sends value back from function
उत्तर: a) फ़ंक्शन से मान वापस भेजता है
40. What is the meaning of ‘class’ in OOP?
OOP में ‘class’ का क्या मतलब है?
a) Blueprint for objects
b) Function
c) Variable
d) Loop
Answer: a) Blueprint for objects
उत्तर: a) ऑब्जेक्ट का ब्लूप्रिंट
41. What is inheritance in OOP?
OOP में inheritance क्या है?
a) Acquiring properties from another class
b) Defining a function
c) Declaring a variable
d) Running a loop
Answer: a) Acquiring properties from another class
उत्तर: a) किसी अन्य क्लास की विशेषताएं प्राप्त करना
42. Which of the following is a data structure?
निम्नलिखित में से कौन सा डेटा स्ट्रक्चर है?
a) Array
b) Variable
c) Function
d) Loop
Answer: a) Array
उत्तर: a) एरे
43. What is the use of ‘if’ statement?
‘if’ स्टेटमेंट का उपयोग क्या है?
a) To make decisions
b) To repeat code
c) To declare variables
d) To define functions
Answer: a) To make decisions
उत्तर: a) निर्णय लेने के लिए
44. What is a compiler error?
कंपाइलर त्रुटि क्या है?
a) Syntax error
b) Logical error
c) Runtime error
d) Input error
Answer: a) Syntax error
उत्तर: a) सिन्टैक्स त्रुटि
45. Which operator is used for multiplication?
गुणा के लिए कौन सा ऑपरेटर उपयोग होता है?
a) +
b) -
c) *
d) /
**Answer: c) ***
**उत्तर: c) ***
46. What is the full form of URL?
URL का पूरा नाम क्या है?
a) Uniform Resource Locator
b) Unified Resource Locator
c) Uniform Reference Link
d) Unified Reference Link
Answer: a) Uniform Resource Locator
उत्तर: a) यूनिफॉर्म रिसोर्स लोकेटर
47. What is the role of an operating system?
ऑपरेटिंग सिस्टम की भूमिका क्या है?
a) Manage hardware and software
b) Write programs
c) Store data only
d) Connect to internet
Answer: a) Manage hardware and software
उत्तर: a) हार्डवेयर और सॉफ्टवेयर को प्रबंधित करना
48. Which of these is used to store multiple values?
कौन सा एकाधिक मान संग्रहीत करने के लिए उपयोग होता है?
a) Variable
b) Array
c) Function
d) Loop
Answer: b) Array
उत्तर: b) एरे
49. What is a syntax error?
सिन्टैक्स त्रुटि क्या है?
a) Error in the structure of code
b) Logical error
c) Runtime error
d) Input error
Answer: a) Error in the structure of code
उत्तर: a) कोड की संरचना में त्रुटि
50. Which of these is a type of loop?
इनमें से कौन सा लूप का प्रकार है?
a) while
b) if
c) switch
d) return
Answer: a) while
उत्तर: a) while

0 Comments:
Post a Comment