Computer AwarenessHardSBI Clerk Mains · IBPS SO IT Officer
Prolog, long used in artificial intelligence, is an example of which programming style?
- A. Logic programming, based on facts and rules
- B. Procedural programming, based on step-by-step commands
- C. Assembly programming, based on processor mnemonics
- D. Markup, based on tags that describe document layout
Correct answer: A. Logic programming, based on facts and rules
A Prolog program states facts and rules, and the system infers answers to queries. It is not procedural like C, and markup languages like HTML are not programming languages at all.
हिंदी में
कृत्रिम बुद्धिमत्ता में लंबे समय से प्रयुक्त Prolog किस प्रोग्रामिंग शैली का उदाहरण है?
- A. लॉजिक प्रोग्रामिंग, जो तथ्यों और नियमों पर आधारित है
- B. प्रक्रियात्मक प्रोग्रामिंग, जो चरण-दर-चरण आदेशों पर आधारित है
- C. असेंबली प्रोग्रामिंग, जो प्रोसेसर निमोनिक पर आधारित है
- D. मार्कअप, जो दस्तावेज़ लेआउट वर्णित करने वाले टैगों पर आधारित है
उत्तर: A. Prolog प्रोग्राम तथ्य और नियम बताता है, और प्रणाली प्रश्नों के उत्तर अनुमानित करती है। यह C जैसी प्रक्रियात्मक नहीं है, और HTML जैसी मार्कअप भाषाएँ प्रोग्रामिंग भाषाएँ ही नहीं हैं।
More Computer Awareness questions
- A compiler translates a C source file. What is its output called, before the linker combines it with library code?
- Match the flowchart symbol with its use: 1. Diamond 2. Parallelogram 3. Oval 4. Rectangle; a. Start or end b. Processing step c. Decision…
- A company modifies a program released under the GNU GPL and distributes the modified version to customers. What does the GPL require?
- Software that is stored permanently in a device's ROM or flash memory and directly controls its hardware, such as the BIOS or a router's…
- Which of these is utility software rather than application software?
- Which single logic gate can act as a 1-bit equality comparator, giving 1 exactly when its two inputs are the same?