Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


Overall MCQs for Reference

  1. What is a constant in AI logic?
    a. A variable value
    b. A changing object
    c. A fixed, specific value
    d. A function symbol
    Answer: c. A fixed, specific valuealmabetter​
  2. In predicate logic, which represents an unchanging object?
    a. Variable
    b. Constant
    c. Predicate
    d. Function
    Answer: b. Constantalmabetter​
  3. Which of the following could be a constant in an AI system?
    a. “Alice”
    b. “x”
    c. add(x, y)
    d. loves(x, y)
    Answer: a. “Alice”almabetter​
  4. The mathematical value of π (pi) is best represented in AI logic as:
    a. Variable
    b. Constant
    c. Function
    d. Predicate
    Answer: b. Constantgeeksforgeeks+1​
  5. Constants in AI are used to denote which of the following?
    a. Any possible object
    b. Specific, named objects only
    c. Dynamic values
    d. Rules
    Answer: b. Specific, named objects onlyalmabetter​
  6. When specifying “42” in a knowledge base, it’s an example of:
    a. Variable
    b. Predicate
    c. Constant
    d. Function
    Answer: c. Constantalmabetter​
  7. Which term does not change during AI program execution?
    a. Variable
    b. Constant
    c. Operator
    d. Relation
    Answer: b. Constantw3schools​
  8. The statement “const int maxTries = 5;” is an example of a:
    a. Variable definition
    b. Constant definition
    c. Function definition
    d. Predicate definition
    Answer: b. Constant definitiongeeksforgeeks​
  9. Constants in AI logic can be:
    a. Modified by rules
    b. Consistent throughout the program
    c. Assigned by user input
    d. Determined at runtime
    Answer: b. Consistent throughout the programgeeksforgeeks+1​
  10. Which symbol might represent a constant in first-order logic?
    a. x
    b. y
    c. John
    d. ∀x
    Answer: c. Johnalmabetter​
  11. If “Monday” is referenced in scheduling AI, it’s:
    a. A variable
    b. A constant
    c. A predicate
    d. A quantifier
    Answer: b. A constantalmabetter​
  12. In this statement: loves(John, Mary), “John” and “Mary” are:
    a. Functions
    b. Constants
    c. Variables
    d. Quantifiers
    Answer: b. Constantsalmabetter​
  13. Which of the following is NOT a constant?
    a. “42”
    b. “Alice”
    c. x
    d. “Monday”
    Answer: c. xalmabetter​
  14. What does a constant ensure in AI knowledge representations?
    a. Dynamic referencing
    b. Data variability
    c. Uniqueness and fixity
    d. Logical contradiction
    Answer: c. Uniqueness and fixityalmabetter​
  15. Constants can be which of the following types in AI?
    a. Strings
    b. Integers
    c. Symbols
    d. All of the above
    Answer: d. All of the abovealmabetter​
  16. Which code assigns a constant value in C?
    a. int value = 10;
    b. const int value = 10;
    c. value = 10;
    d. var value = 10;
    Answer: b. const int value = 10;tutorialspoint+1​
  17. Why are constants useful in AI programs?
    a. Allow dynamic values
    b. Make code unreliable
    c. Improve readability and prevent changes
    d. Slow down computation
    Answer: c. Improve readability and prevent changesw3schools+1​
  18. In a logic statement, constants:
    a. Link rules
    b. Represent specific objects
    c. Iterate variables
    d. Form loops
    Answer: b. Represent specific objectsalmabetter​
  19. Which can be an example of a numeric constant in AI?
    a. 3.14159
    b. x
    c. color(red)
    d. predicate(x, y)
    Answer: a. 3.14159undetectable​
  20. What does “const” declare in programming?
    a. Variable
    b. Predicate
    c. Function
    d. Constant
    Answer: d. Constantw3schools​
  21. Constants in predicate logic are used for:
    a. Quantifiers
    b. Specific objects
    c. Unknown objects
    d. Functions
    Answer: b. Specific objectsalmabetter​
  22. The value “blue” in a color recognition AI is:
    a. Predicate
    b. Function
    c. Variable
    d. Constant
    Answer: d. Constantalmabetter​
  23. If “India” is a value in a geographic AI, it is:
    a. Variable
    b. Constant
    c. Quantifier
    d. Rule
    Answer: b. Constantalmabetter​
  24. The expression const float pi = 3.14159; gives which value to pi?
    a. Mutable
    b. Variable
    c. Constant
    d. Predicate
    Answer: c. Constanttutorialspoint​
  25. In Prolog, which of these is a constant?
    a. X
    b. person(X)
    c. apple
    d. loves(X, Y)
    Answer: c. applealmabetter​
  26. What happens if a constant is modified in an AI system?
    a. Nothing changes
    b. Value updates
    c. Error occurs
    d. Variable renames
    Answer: c. Error occurstutorialspoint+1​
  27. In knowledge representation, constants guarantee:
    a. Changeable references
    b. Static, unique references
    c. Open world assumption
    d. Probabilistic mapping
    Answer: b. Static, unique referencesalmabetter​
  28. Constants vs Variables: Constants are:
    a. Assigned dynamically
    b. Fixed and assigned once
    c. Always string type
    d. Used for iteration
    Answer: b. Fixed and assigned oncegeeksforgeeks+1​
  29. “const double SPEED_LIMIT = 55;” in code means:
    a. SPEED_LIMIT can be reassigned
    b. Variable value can change
    c. SPEED_LIMIT is fixed at 55
    d. SPEED_LIMIT is a predicate
    Answer: c. SPEED_LIMIT is fixed at 55geeksforgeeks​
  30. Which is not a property of constants in AI?
    a. Fixed value
    b. Immutable
    c. Can be re-declared
    d. Unchanging throughout execution
    Answer: c. Can be re-declaredw3schools​
  31. In logic statements, constants can represent:
    a. People
    b. Days
    c. Specific numbers
    d. All of these
    Answer: d. All of thesealmabetter​
  32. The main difference between constants and variables is:
    a. Constants hold unique, fixed values
    b. Variables never change
    c. Constants determine rules
    d. Variables denote functions
    Answer: a. Constants hold unique, fixed valuesalmabetter​
  33. Which of these is NOT a valid constant in AI logic?
    a. red
    b. “42”
    c. calculate(x)
    d. TRUE
    Answer: c. calculate(x)almabetter​
  34. Why use constants for domain representation in AI?
    a. Their values are not known
    b. To ensure value does not change
    c. Make code more complex
    d. To allow updates
    Answer: b. To ensure value does not changew3schools​
  35. In logic, the use of “Bob” in loves(Bob, x) is:
    a. Constant
    b. Variable
    c. Predicate
    d. Function
    Answer: a. Constantalmabetter​
  36. A constant helps AI by:
    a. Allowing variable domains
    b. Providing named reference points for objects
    c. Randomizing code execution
    d. Managing dynamic memory
    Answer: b. Providing named reference points for objectsalmabetter​
  37. Constants in programming languages are declared:
    a. With const keyword
    b. With function keyword
    c. With variable keyword
    d. With predicate keyword
    Answer: a. With const keywordtutorialspoint+1​
  38. Which of these CANNOT be a constant?
    a. 100
    b. “Anna”
    c. tempValue
    d. 3.14
    Answer: c. tempValuetutorialspoint+1​
  39. How do constants help prevent logic errors in AI?
    a. By updating frequently
    b. By remaining fixed
    c. By being variables
    d. By being inferred
    Answer: b. By remaining fixedgeeksforgeeks+1​
  40. A constant in an AI expert system ensures:
    a. Consistency in outputs
    b. Random results
    c. Variable knowledge base
    d. Logic looping
    Answer: a. Consistency in outputsalmabetter​
  41. “const int maxTries = 3;” means maxTries:
    a. Is an input
    b. Is a procedure
    c. Cannot be altered during execution
    d. Is a floating constant
    Answer: c. Cannot be altered during executionw3schools+1​
  42. The main advantage of a constant is:
    a. Improved mutability
    b. Preventing accidental value change
    c. Encouraging dynamic rule sets
    d. Increasing code redundancy
    Answer: b. Preventing accidental value changegeeksforgeeks+1​
  43. Constants can be used in which AI applications?
    a. Natural language processing
    b. Knowledge representation
    c. rule-based systems
    d. All of these
    Answer: d. All of theseplacementpreparation+1​
  44. Which symbol indicates a constant in logic?
    a. Lowercase letter
    b. Uppercase letter
    c. Quoted string or word
    d. Digit only
    Answer: c. Quoted string or wordalmabetter​
  45. “Rainy” in the predicate IsWeather(Rainy) is:
    a. Constant
    b. Variable
    c. Predicate
    d. Function
    Answer: a. Constantalmabetter​
  46. In AI, a constant is required for:
    a. Changeable parameters
    b. Unique identification
    c. Variable names
    d. Logic looping
    Answer: b. Unique identificationalmabetter​
  47. AI constants are most similar to:
    a. Mathematical constants (like π)
    b. Programming variables
    c. Dynamic memory
    d. Iterative procedures
    Answer: a. Mathematical constants (like π)undetectable+1​
  48. Which is an invalid use of a constant in C?
    a. const int MAX = 10;
    b. const float VALUE = 5.5;
    c. int var = 20;
    d. const char CH = ‘z’;
    Answer: c. int var = 20;tutorialspoint+1​
  49. Constants maintain which property in code?
    a. Flexibility
    b. Immutability
    c. Unpredictability
    d. Variability
    Answer: b. Immutabilityw3schools+1​
  50. Mathematical expressions in AI knowledge bases use constants to:
    a. Allow values to change
    b. Denote fixed relations or values
    c. Link variables
    d. Apply uncertainty
    Answer: b. Denote fixed relations or valuestutorialspoint+1​
  1. https://www.almabetter.com/bytes/tutorials/artificial-intelligence/predicate-logic-in-ai
  2. https://www.geeksforgeeks.org/c/constants-in-c/
  3. https://undetectable.ai/blog/what-is-a-constant-in-grammar/
  4. https://www.w3schools.com/cpp/cpp_variables_constants.asp
  5. https://www.tutorialspoint.com/cprogramming/c_constants.htm
  6. https://www.placementpreparation.io/mcq/artificial-intelligence/page/2/
  7. https://www.sanfoundry.com/artificial-intelligence-questions-answers/
  8. https://www.interviewbit.com/artificial-intelligence-mcq/
  9. https://testbook.com/objective-questions/mcq-on-artificial-intelligence–5eea6a0e39140f30f369e51f
  10. https://www.includehelp.com/mcq/artificial-intelligence-mcqs.aspx
  11. https://www.sanfoundry.com/artificial-intelligence-mcqs-problem-solving-1/
  12. https://www.geeksforgeeks.org/artificial-intelligence/constraint-satisfaction-problems-csp-in-artificial-intelligence/
  13. https://en.wikipedia.org/wiki/Artificial_intelligence
  14. https://gtu-mcq.com/BE/Computer-Engineering/Semester-8/2180703/5167/MCQs?q=9aZHDjblmRk%3D
  15. https://cloud.google.com/learn/what-is-artificial-intelligence
  16. https://www.scribd.com/document/732079608/Multiple-Choice-Questions-and-Answer1
  17. https://www.ibm.com/think/topics/artificial-intelligence
  18. https://technicalblog.in/languagewise-mcqs/artificial-intelligence/artificial-intelligence-mcq-questions/
  19. https://www.techtarget.com/searchenterpriseai/definition/AI-Artificial-Intelligence
  20. https://studyglance.in/objquestions/display.php?url=btech%2FAI-unit-5.txt&title=Artificial+Intelligence+%28AI%29+MCQs+-+Unit-5&subject=Artificial+Intelligence&furl=data%2Fbtech%2Fbtechobjquestions.xlsx

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!