0% found this document useful (0 votes)
1 views

Final Question

The document contains multiple-choice questions (MCQs) covering various topics in Artificial Intelligence, Machine Learning, SQL, Statistics, Python, Object-Oriented Programming, Power BI, and Feature Engineering. Each section includes questions about fundamental concepts, definitions, and applications relevant to the respective fields. The questions aim to test knowledge and understanding of key principles and practices in these areas.

Uploaded by

shasshank665
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

Final Question

The document contains multiple-choice questions (MCQs) covering various topics in Artificial Intelligence, Machine Learning, SQL, Statistics, Python, Object-Oriented Programming, Power BI, and Feature Engineering. Each section includes questions about fundamental concepts, definitions, and applications relevant to the respective fields. The questions aim to test knowledge and understanding of key principles and practices in these areas.

Uploaded by

shasshank665
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

MCQs on Artificial Intelligence

1. What does AI stand for?


a) Automated Integration
b) Artificial Intelligence
c) Advanced Innovation
d) Automated Inference
2. Which of the following is a type of AI?
a) Weak AI
b) Strong AI
c) Artificial General Intelligence
d) All of the above
3. What is the main goal of AI?
a) To replace all human jobs
b) To make machines mimic human intelligence
c) To create a self-aware robot
d) To make computers faster
4. Which programming language is widely used in AI
development?
a) Python
b) C
c) HTML
d) JavaScript
5. What is Machine Learning?
a) A type of AI that enables systems to learn from
data
b) A machine that physically learns from humans
c) A predefined rule-based algorithm
d) A robotic process automation system
6. Which of the following is NOT a type of Machine
Learning?
a) Supervised Learning
b) Unsupervised Learning
c) Reinforcement Learning
d) Hardware Learning
7. Which of the following is an example of AI in daily
life?
a) Voice assistants (Alexa, Siri)
b) Smart thermostats
c) Recommendation systems (Netflix, YouTube)
d) All of the above
8. What does NLP stand for in AI?
a) Neural Learning Processing
b) Natural Language Processing
c) National Logic Program
d) Neural Logic Programming
9. Which of these is an example of NLP application?
a) Speech recognition
b) Image classification
c) Circuit simulation
d) Data encryption
10. What is a neural network in AI?
a) A physical connection of computers
b) A biological brain network
c) A computational model inspired by human brains
d) A type of cloud storage system

1. What is Machine Learning?


a) A type of AI that enables systems to learn
from data
b) A programming language
c) A database system
d) A type of hardware device
2. What is the key element of Machine
Learning?
a) Human intervention
b) Data
c) Manual coding
d) Fixed rule-based systems
3. Which of the following best describes
Machine Learning?
a) Learning without any human supervision
b) Learning from past experiences and
patterns
c) Running pre-defined instructions
d) A rule-based decision system
4. What is the first step in developing a
Machine Learning model?
a) Collecting data
b) Running the model
c) Deploying the model
d) Writing the final report
5. What does "training" in Machine Learning
mean?
a) Training the user to use the system
b) Feeding the model with data to learn
patterns
c) Manually coding all possible outcomes
d) Running the model on new unseen data
6. What is a dataset in Machine Learning?
a) A set of rules for AI
b) A collection of data used for training and
testing models
c) A hardware component for processing ML
d) A coding framework
7. Which of the following is NOT a key
application of Machine Learning?
a) Email spam filtering
b) Movie recommendation
c) Digital painting
d) Self-driving cars
8. What is the role of data in Machine
Learning?
a) Data is used for training the model to
recognize patterns
b) Data is irrelevant in Machine Learning
c) Data is manually analyzed without
algorithms
d) Data is only required for storing output
9. What is the purpose of splitting data into
training and testing sets?
a) To check if the data is valid
b) To reduce the complexity of the model
c) To train the model effectively and
evaluate its performance
d) To make the dataset smaller
10. Which of the following is a major
challenge in Machine Learning?
a) Lack of programming languages
b) Lack of internet connection
c) Poor-quality or insufficient data
d) Expensive computer hardware
11. Why is Machine Learning important in
today's world?
a) It allows computers to make decisions
without human intervention
b) It replaces all manual coding work
c) It is a trending technology with no real
applications
d) It only helps in gaming applications
12. What is the output of a trained Machine
Learning model called?
a) Algorithm
b) Prediction
c) Instruction
d) Function
13. What is supervised learning based on?
a) Learning from labeled data
b) Learning without any guidance
c) Learning from physical movements
d) Learning only from errors
14. What is the difference between AI and
Machine Learning?
a) AI is a subset of ML
b) ML is a subset of AI
c) AI and ML are completely unrelated
d) AI is only used in robots, whereas ML is
not
15. What is a model in Machine Learning?
a) A set of rules written manually
b) A statistical representation learned from
data
c) A physical robot
d) A software application
16. What happens if a Machine Learning
model is trained with too little data?
a) It will learn effectively
b) It may not generalize well to new data
c) It will always give 100% accurate
predictions
d) It will only work for large-scale problems
17. What is a real-world example of Machine
Learning?
a) Predicting weather patterns
b) Writing emails manually
c) Manually choosing advertisements
d) Drawing on a whiteboard
18. What is the purpose of feature selection
in Machine Learning?
a) To choose the most relevant data for
training the model
b) To make the dataset larger
c) To remove labels from data
d) To replace missing data with random
values
19. What is the main reason for overfitting in
a Machine Learning model?
a) Too much reliance on past data
b) Using too little training data
c) Using too many variables or features in
training
d) The model not training for enough time
20. Which industry benefits from Machine
Learning applications?
a) Healthcare
b) Finance
c) Retail
d) All of the above

Basic MySQL MCQs (5 Questions)


1. What does SQL stand for?
a) Structured Query Language
b) Simple Query Language
c) Systematic Query Language
d) Standard Question Language
2. Which command is used to retrieve data from a
database?
a) SELECT
b) RETRIEVE
c) EXTRACT
d) FETCH
3. What is a primary key in a database?
a) A unique identifier for each record in a table
b) A key used for encryption
c) A key used to unlock the database
d) A key that allows duplicate values
4. Which SQL clause is used to filter records?
a) WHERE
b) ORDER BY
c) GROUP BY
d) HAVING
5. What command is used to remove all records from
a table without deleting the structure?
a) DELETE
b) DROP
c) TRUNCATE
d) REMOVE

Basic Statistics MCQs (5 Questions)


6. What is the mean of the numbers 5, 10, 15, 20?
a) 10
b) 15
c) 12.5
d) 20
7. What is the median of the set {2, 4, 6, 8, 10}?
a) 2
b) 4
c) 6
d) 8
8. What is the mode of the data set {3, 7, 3, 9, 3, 10}?
a) 7
b) 9
c) 3
d) 10
9. What is the probability of getting heads when
flipping a fair coin?
a) 1/3
b) 1/2
c) 1/4
d) 1
10. Which of the following measures the spread of
data?
a) Mean
b) Median
c) Standard deviation
d) Mode
Basic Python MCQs (10 Questions)
11. What is the correct file extension for Python
files?
a) .py
b) .pyt
c) .pt
d) .python
12. How do you display output in Python?
a) print()
b) echo()
c) display()
d) show()
13. How do you take user input in Python?
a) input()
b) get()
c) scan()
d) enter()
14. Which of the following is a valid Python
variable name?
a) 1variable
b) _variable
c) variable-name
d) variable@
15. What keyword is used to define a function in
Python?
a) function
b) def
c) define
d) func
16. How do you start a comment in Python?
a) //
b) #
c) --
d) /* */
17. Which data type is used to store a sequence of
characters?
a) int
b) str
c) bool
d) float
18. What will 5 == 5 return in Python?
a) True
b) False
c) Error
d) None
19. How do you create an empty list in Python?
a) list()
b) []
c) {}
d) Both a and b
20. Which keyword is used to exit a loop in
Python?
a) stop
b) exit
c) break
d) return

Python OOPs MCQs (10 Questions)


21. What does OOP stand for?
a) Object Oriented Programming
b) Oriented Object Processing
c) Operational Object Processing
d) Object Output Processing
22. What is a class in Python?
a) A blueprint for creating objects
b) A function that stores data
c) A method inside an object
d) A variable storing multiple values
23. What is an object in Python?
a) A variable that holds multiple values
b) An instance of a class
c) A function that runs inside a class
d) A separate Python script
24. Which keyword is used to define a class in
Python?
a) class
b) define
c) object
d) create
25. What is self in Python OOP?
a) A reference to the instance of the class
b) A global variable
c) A keyword for defining a method
d) A built-in function
26. How do you create an object of a class named
Car?
a) Car.create()
b) Car = new()
c) mycar = Car()
d) Car.object()
27. What is inheritance in Python?
a) A feature that allows a class to inherit properties
from another class
b) A way to define multiple classes
c) A function to store multiple values
d) A method for handling exceptions
28. Which method is called automatically when an
object is created?
a) init()
b) start()
c) object()
d) create()
29. What is encapsulation in Python?
a) The process of hiding the implementation
details of an object
b) A way to create new objects
c) A method to execute multiple functions
d) A type of loop

Basic Power BI MCQs (10 Questions)


1. What is Power BI?
a) A programming language
b) A data visualization and business intelligence
tool
c) A database management system
d) A cloud storage service
2. Which company developed Power BI?
a) Google
b) Microsoft
c) Amazon
d) IBM
3. Which of the following is NOT a component of
Power BI?
a) Power BI Desktop
b) Power BI Service
c) Power BI Mobile
d) Power AI
4. What is the primary function of Power BI?
a) Writing SQL queries
b) Creating reports and dashboards for data
visualization
c) Storing large amounts of data
d) Performing machine learning operations
5. What is a dashboard in Power BI?
a) A single-page, interactive visualization
b) A database table
c) A set of Excel spreadsheets
d) A command-line interface
6. Which language is commonly used in Power BI for
data modeling?
a) Python
b) DAX (Data Analysis Expressions)
c) C++
d) Java
7. What type of data sources can Power BI connect
to?
a) Excel files
b) SQL databases
c) Online services like Google Analytics
d) All of the above
8. What is Power Query used for in Power BI?
a) Writing Python scripts
b) Connecting and transforming data
c) Running SQL commands
d) Storing reports
9. What is the purpose of Power BI Service?
a) To create and develop dashboards
b) To publish and share reports online
c) To perform advanced data modeling
d) To write machine learning algorithms
10. Which visualization can be used to compare
trends over time?
a) Pie chart
b) Line chart
c) Scatter plot
d) Table

Basic Feature Engineering MCQs (10 Questions)


1. What is feature engineering in Machine Learning?
a) The process of selecting and transforming
variables to improve model performance
b) Writing machine learning algorithms
c) Collecting raw data
d) Running SQL queries on a dataset
2. Which of the following is NOT a feature
engineering technique?
a) Feature selection
b) Feature transformation
c) Feature creation
d) Model evaluation
3. What is the purpose of feature scaling?
a) To convert categorical features into numerical
values
b) To normalize or standardize numerical features
for better model performance
c) To remove duplicate features
d) To improve data visualization only
4. Which method is used to handle missing values in
a dataset?
a) Removing the missing values
b) Replacing missing values with
mean/median/mode
c) Using predictive modeling to estimate missing
values
d) All of the above
5. What is one-hot encoding used for?
a) Normalizing numerical values
b) Converting categorical variables into binary
vectors
c) Reducing the number of features in a dataset
d) Handling missing values
6. What is feature selection?
a) Removing irrelevant or redundant features to
improve model performance
b) Creating new features from existing ones
c) Encoding categorical features
d) Adding more features to the dataset
7. Which of the following is an example of feature
transformation?
a) Log transformation to reduce skewness
b) Removing missing values
c) Splitting data into training and testing sets
d) Replacing categorical values with numbers
8. Why is feature engineering important in Machine
Learning?
a) It helps models learn better from data
b) It increases the complexity of the dataset
c) It reduces the number of models needed
d) It ensures that data remains unchanged
9. What is the difference between feature
engineering and feature selection?
a) Feature engineering creates new features, while
feature selection removes less important ones
b) Both involve removing unnecessary data
c) Feature selection is used only in supervised
learning
d) Feature engineering is only used in deep
learning
10. Which of the following feature engineering
techniques helps in dealing with outliers?
a) Log transformation
b) Min-max scaling
c) Removing outliers
d) Both a and c

Supervised Learning: Linear Regression, Logistic


Regression, and Decision Trees (5 Questions)
1. What is the primary objective of linear regression?
a) To classify data into categories
b) To predict a continuous numerical value
c) To cluster similar data points
d) To reduce dataset size
2. In logistic regression, the output is typically:
a) A continuous value
b) A probability between 0 and 1
c) A cluster label
d) A regression coefficient
3. Which of the following is TRUE about decision
trees?
a) They can be used for both classification and
regression tasks
b) They are always more accurate than other
models
c) They require an equal number of samples in
each class
d) They can only handle numerical data
4. Which of the following is an advantage of logistic
regression?
a) It works well for binary classification problems
b) It is the best model for all machine learning
problems
c) It does not require any data preprocessing
d) It cannot handle categorical data
5. What is overfitting in decision trees?
a) When a model performs well on training data
but poorly on unseen data
b) When a model generalizes well to new data
c) When a model only works on small datasets
d) When a model does not learn from the training
data

Unsupervised Learning: Clustering Techniques (K-


Means, Hierarchical) (5 Questions)
6. What is the main goal of clustering in unsupervised
learning?
a) To assign labels to data based on prior
knowledge
b) To group similar data points together
c) To predict future values
d) To remove missing values from the dataset
7. In K-Means clustering, what does "K" represent?
a) The number of clusters
b) The number of features
c) The number of training samples
d) The number of iterations
8. Which clustering algorithm builds a hierarchy of
clusters?
a) K-Means
b) Hierarchical Clustering
c) Logistic Regression
d) Decision Trees
9. What happens if K-Means clustering is run with a
very high value of K?
a) The clusters become too large
b) Each data point may form its own cluster
c) The model will always perform better
d) The algorithm will stop working
10. How does hierarchical clustering differ from K-
Means clustering?
a) Hierarchical clustering does not require a
predefined number of clusters
b) K-Means always performs better than
hierarchical clustering
c) Hierarchical clustering only works for small
datasets
d) K-Means clustering is always deterministic

Python Basics: Syntax, Variables, Data Types, and


Operators (5 Questions)
1. What is the correct way to declare a variable in
Python?
a) int x = 10;
b) x = 10
c) variable x = 10;
d) x := 10;
2. What is the output of print(type(5.0))?
a) int
b) float
c) str
d) bool
3. Which operator is used for exponentiation in
Python?
a) ^
b) **
c) %
d) //
4. What will be the output of print(10 % 3)?
a) 1
b) 3
c) 0
d) 10
5. Which of the following is an immutable data type
in Python?
a) List
b) Tuple
c) Dictionary
d) Set

Control Structures: Loops, Conditionals, and Functions


(5 Questions)
6. Which keyword is used for writing conditional
statements in Python?
a) for
b) if
c) while
d) loop
7. What will be the output of the following code?
x=5
if x > 2:
print("Hello")
a) No output
b) Hello
c) 5
d) x > 2
8. Which loop runs at least once even if the condition
is false?
a) for loop
b) while loop
c) do-while loop (not available in Python)
d) loop function
9. What does the return statement do in a Python
function?
a) Prints a value
b) Exits the function and returns a value
c) Repeats the function
d) Pauses the function execution
10. How do you define a function in Python?
a) function myFunc():
b) def myFunc():
c) func myFunc():
d) define myFunc():

11. What is the correct way to create a list in


Python?
a) list = {1, 2, 3}
b) list = [1, 2, 3]
c) list = (1, 2, 3)
d) list = <1, 2, 3>
12. What is the key difference between a list and a
tuple?
a) Tuples are mutable, lists are immutable
b) Lists are immutable, tuples are mutable
c) Lists are mutable, tuples are immutable
d) Both are the same
13. How do you access the value associated with a
key in a dictionary?
a) dict[“key”]
b) dict(“key”)
c) dict{“key”}
d) dict->key
14. What will be the output of set([1, 2, 2, 3, 4,
4])?
a) {1, 2, 2, 3, 4, 4}
b) [1, 2, 3, 4]
c) {1, 2, 3, 4}
d) (1, 2, 3, 4)
15. Which data structure uses key-value pairs?
a) List
b) Tuple
c) Dictionary
d) Set

16. What is NumPy mainly used for?


a) Data visualization
b) Working with arrays and numerical computing
c) Machine learning models
d) String manipulation
17. What data structure is primarily used in
Pandas?
a) Series and DataFrame
b) Lists and tuples
c) Dictionaries and sets
d) Trees and graphs
18. Which Python library is used for data
visualization?
a) NumPy
b) Pandas
c) Matplotlib
d) TensorFlow
19. What is the purpose of the .head() function in
Pandas?
a) Displays the last few rows of a DataFrame
b) Displays the first few rows of a DataFrame
c) Deletes the first row of a DataFrame
d) Sorts the DataFrame
20. How do you import the NumPy library in
Python?
a) import numpy as np
b) import num.py
c) include numpy
d) import np.numpy

You might also like