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
- What is a variable in Artificial Intelligence?
a. A fixed value
b. A symbol that holds data
c. An algorithm
d. A function
Answer: b. A symbol that holds datatestbook+1 - What type of variable typically holds numeric values in AI programs?
a. String variable
b. Boolean variable
c. Numeric variable
d. Character variable
Answer: c. Numeric variableiotmumbai.bharatividyapeeth - Which type of variable can only have two values, true or false?
a. Integer variable
b. Boolean variable
c. Float variable
d. String variable
Answer: b. Boolean variablesanfoundry - In AI, what are “simple variables”?
a. Variables with complex data structures
b. Variables holding only one data value at a time
c. Variables that store multiple lists
d. Variables used exclusively for training data
Answer: b. Variables holding only one data value at a timetestbook - What is the role of a variable in an AI agent’s environment interaction?
a. To store the entire environment data
b. To store percepts or sensor inputs temporarily
c. To store the actions permanently
d. None of the above
Answer: b. To store percepts or sensor inputs temporarilygeeksforgeeks+1 - Which of the following is NOT a characteristic of variables in AI programming?
a. Variables can change value
b. Variables are immutable
c. Variables hold data
d. Variables can represent features
Answer: b. Variables are immutabletestbook - In AI, which of the following variable types is used for textual data?
a. Numeric variables
b. Boolean variables
c. String variables
d. Floating-point variables
Answer: c. String variablesiotmumbai.bharatividyapeeth - What does it mean when a variable is “uninitialized”?
a. It has been assigned multiple values
b. It has not been assigned any value yet
c. It is assigned a default value of zero
d. It can no longer change values
Answer: b. It has not been assigned any value yet [general programming knowledge] - In AI search algorithms, variables often represent what kind of information?
a. The cost of an action
b. The current state in state-space
c. The outcome value only
d. The performance metric only
Answer: b. The current state in state-spacegeeksforgeeks - What does a “feature variable” in machine learning represent?
a. An action taken by an AI agent
b. An attribute or characteristic of data
c. The output of a model
d. The learning rate of a model
Answer: b. An attribute or characteristic of datagithub - How are variables used in fuzzy logic systems within AI?
a. They only hold binary values
b. They represent linguistic values like “high” or “low”
c. They are ignored during decision making
d. They hold only numeric ranges
Answer: b. They represent linguistic values like “high” or “low”testbook - What variable type is best for storing precise numerical values such as weights in AI models?
a. String variables
b. Floating-point variables
c. Boolean variables
d. Enumeration variables
Answer: b. Floating-point variablesiotmumbai.bharatividyapeeth - What is the default scope of a variable defined inside an AI function?
a. Global scope
b. Local scope to the function
c. Persistent across all modules
d. Universal scope
Answer: b. Local scope to the function [general programming] - Which type of variable is constrained to a set of predetermined values in AI?
a. Numeric variable
b. Enumerated variable
c. Boolean variable
d. String variable
Answer: b. Enumerated variableiotmumbai.bharatividyapeeth - In AI programming, which is a benefit of defining simple variables?
a. Easier manipulation of single data points
b. Automatically optimizing algorithms
c. Storing complex data structures
d. Handling large datasets easily
Answer: a. Easier manipulation of single data pointstestbook - Which of these is NOT commonly considered a simple variable type in AI?
a. Integer
b. String
c. List
d. Boolean
Answer: c. Listtestbook - What kind of variable would an AI system use to record whether a condition is true or false?
a. Integer variable
b. Boolean variable
c. Float variable
d. String variable
Answer: b. Boolean variablesanfoundry - What does declaring a variable in AI code typically do?
a. Assign it a value
b. Reserve space in memory for data
c. Execute a function
d. Start a loop
Answer: b. Reserve space in memory for data [general programming] - How are simple variables useful in the representation of knowledge in AI?
a. They store large databases
b. They act as placeholders for facts or states
c. They encode algorithms
d. They visualize data
Answer: b. They act as placeholders for facts or statesplacementpreparation - In rule-based systems, what is the role of variables?
a. Variables represent conditions or facts in rules
b. Variables execute actions
c. Variables store complete knowledge bases
d. Variables perform learning functions
Answer: a. Variables represent conditions or facts in rulestestbook - Ensuring type safety of variables in AI programming helps to:
a. Avoid incorrect data usage
b. Speed up execution time
c. Increase memory usage
d. Simplify output processing
Answer: a. Avoid incorrect data usage [general programming best practice] - Which variable type is ideal for storing discrete values in AI?
a. Numeric variable
b. Boolean variable
c. Categorical variable
d. Continuous variable
Answer: c. Categorical variablegithub - In AI data preprocessing, variables are often normalized. What does normalization do?
a. Converts all variables to strings
b. Adjusts variable values to a common scale
c. Deletes irrelevant variables
d. Increases the number of variables
Answer: b. Adjusts variable values to a common scalegithub - In AI, a “parameter variable” is:
a. A variable passed into a function or model
b. A variable that never changes
c. A variable that stores output only
d. A variable unrelated to AI
Answer: a. A variable passed into a function or modelgithub - Which variable type is often used to represent coordinates in AI spatial problems?
a. Integer variables
b. Floating-point variables
c. String variables
d. Boolean variables
Answer: b. Floating-point variables [general AI knowledge] - Which of the following variables would hold a label in supervised learning?
a. Feature variable
b. Target variable
c. Input variable
d. Parameter variable
Answer: b. Target variablegithub - Which AI concept often uses variables to represent states and actions?
a. Deep learning
b. Reinforcement learning
c. Genetic algorithms
d. Clustering
Answer: b. Reinforcement learninggeeksforgeeks+1 - What data type is generally used to represent categories such as “dog”, “cat” in AI?
a. Numeric variables
b. String variables
c. Boolean variables
d. Float variables
Answer: b. String variablesiotmumbai.bharatividyapeeth - When an AI variable “overflows,” it means:
a. The variable’s value exceeds its maximum limit
b. The variable has no value
c. The variable type is wrong
d. The variable is deleted
Answer: a. The variable’s value exceeds its maximum limit [general programming knowledge] - How are “state variables” used in AI?
a. Represent current conditions of the system or environment
b. Represent output only
c. Represent training data
d. Represent hardware resources
Answer: a. Represent current conditions of the system or environmentgeeksforgeeks - What type of variable is best suited for Boolean algebra in AI?
a. Integer variables
b. Boolean variables
c. List variables
d. String variables
Answer: b. Boolean variablessanfoundry - In AI rule engines, variables are placeholders for:
a. Fixed rules
b. Values that can vary during execution
c. Outputs only
d. Inputs only
Answer: b. Values that can vary during executiontestbook - In decision tree AI models, what do variables often represent?
a. Decisions
b. Data attributes used for splitting nodes
c. Final output only
d. None of the above
Answer: b. Data attributes used for splitting nodesgithub - What is “scope” of a variable in AI programming?
a. The range of values it can hold
b. The part of the program where the variable is accessible
c. The variable’s size in memory
d. Both b and c
Answer: b. The part of the program where the variable is accessible [general programming] - Which is a disadvantage of using many simple variables instead of structured data?
a. Easier to manage
b. Can become difficult to track and organize
c. Faster processing
d. Reduced memory usage
Answer: b. Can become difficult to track and organize [general programming] - What is the initial value of a variable in many AI programming languages if not explicitly initialized?
a. Null or undefined
b. Zero always
c. Random value
d. Maximum possible value
Answer: a. Null or undefined [general programming] - Which type of variable is commonly used to store sensor input in robotics AI?
a. Boolean variables
b. Numeric variables (e.g., floats)
c. String variables
d. Enumerated variables
Answer: b. Numeric variables (e.g., floats)geeksforgeeks+1 - In symbolic AI, variables often represent:
a. Data points only
b. Symbols or placeholders in logic or knowledge representation
c. Numeric weights
d. Sensor inputs
Answer: b. Symbols or placeholders in logic or knowledge representationplacementpreparation - Variables used in probabilistic AI models often represent:
a. Definite values
b. Random variables with associated probabilities
c. Fixed categories
d. Constants only
Answer: b. Random variables with associated probabilities [general AI knowledge] - Which variable type in AI holds the output prediction of a model?
a. Input variable
b. Output variable
c. Feature variable
d. Parameter variable
Answer: b. Output variablegithub - In programming AI, what does a constant variable mean?
a. It cannot be changed after initialization
b. It must be numeric
c. It is always zero
d. It varies during program execution
Answer: a. It cannot be changed after initialization [general programming] - How do variables assist in the knowledge representation in AI?
a. They encode facts or concepts to be used by the system
b. They execute actions
c. They perform learning
d. They store images only
Answer: a. They encode facts or concepts to be used by the systemplacementpreparation - Which of the following is a common practice when naming variables in AI code?
a. Use random letters
b. Use meaningful and descriptive names
c. Use numbers only
d. Use single letters always
Answer: b. Use meaningful and descriptive names [general coding practice] - How do AI models handle variables that are missing values?
a. Ignore them entirely
b. Use imputation or default values
c. Throw an error always
d. Randomly assign values
Answer: b. Use imputation or default valuesgithub - Which of the following variable categories are used to represent uncertainty in AI?
a. Boolean variables
b. Random variables
c. Integer variables
d. String variables
Answer: b. Random variables [general AI knowledge] - Which type of variable is best suited for classification output in AI?
a. Continuous variables
b. Categorical variables
c. Boolean variables
d. Floating variables
Answer: b. Categorical variablesgithub - In AI programming, what is variable shadowing?
a. Two variables with the same name in different scopes
b. Variable deletion
c. Renaming variables
d. Unused variables
Answer: a. Two variables with the same name in different scopes [general programming] - What is an attribute variable in AI?
a. A variable that defines properties of objects or entities
b. A variable that stores actions
c. A variable unrelated to objects
d. A variable that stores error messages
Answer: a. A variable that defines properties of objects or entitiesplacementpreparation - Which of the following best describes a feature vector in AI?
a. A collection of variables describing an instance
b. A single variable storing numeric data
c. A Boolean variable
d. A function
Answer: a. A collection of variables describing an instancegithub - Why is type declaration important for variables in AI programming?
a. It improves code readability and error checking
b. It makes code slower
c. It is unnecessary in AI
d. It decreases security
Answer: a. It improves code readability and error checking [general programming]
- https://testbook.com/objective-questions/mcq-on-artificial-intelligence–5eea6a0e39140f30f369e51f
- https://www.sanfoundry.com/artificial-intelligence-questions-answers/
- https://iotmumbai.bharatividyapeeth.edu/media/pdf/ETI_22618_UT1_Question_Bank_2022-23_080323.pdf
- https://www.geeksforgeeks.org/artificial-intelligence/artificial-intelligenceai-interview-questions-and-answers/
- https://github.com/IsabellaS2/AI-900
- https://www.placementpreparation.io/mcq/artificial-intelligence/page/2/
- https://www.sanfoundry.com/artificial-intelligence-mcqs-problem-solving-1/
- https://www.interviewbit.com/artificial-intelligence-mcq/
- https://byjus.com/gate/artificial-intelligence-mcqs/
- https://www.scribd.com/document/737189591/Artificial-Intelligence-MCQ-unit1-2
- https://www.javaguides.net/2024/09/artificial-intelligence-mcq-questions.html
- https://www.gyansetu.in/blog/machine-learning-mcq-interview-preparation/
- https://www.tutorialaicsip.com/mcq-artificial-intelligence-class-10/
- https://www.interviewbit.com/artificial-intelligence-interview-questions/
- https://www.scribd.com/document/703780063/AI-MCQ-QUESTION-100-mcq
- https://www.datacamp.com/blog/ai-interview-questions
- https://technicalblog.in/languagewise-mcqs/artificial-intelligence/artificial-intelligence-mcq-questions/
- https://interviewkickstart.com/blogs/articles/machine-learning-mcqs-answers
- https://www.multisoftsystems.com/interview-questions/microsoft-azure-ai-fundamentals-interview-questions-answers
- https://www.slideshare.net/slideshow/artificial-intelligence-mcq-part-1-50-ai-mcqs-multiple-choice-questions-answers/249849981