MCQsExam.com

Classes
22
Learn Discover
Subjects
91
Practice Master
MCQs
3401
Succeed Target
Which of the following is a valid way to assign a boolean value in Python?
  1. A-true
  2. B-FALSE
  3. C-True
  4. D-0
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
How do you access the third element of a list named my_list in Python?
  1. A-my_list[2]
  2. B-my_list[3]
  3. C-my_list[1]
  4. D-my_list[0]
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
What is the result of True and False in Python?
  1. A-True
  2. B-False
  3. C-1
  4. D-0
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
Which method is used to convert a string to lowercase in Python?
  1. A-upper()
  2. B-capitalize()
  3. C-lower()
  4. D-swapcase()
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
Which of the following is a valid float in Python?
  1. A-10
  2. B--5.6
  3. C-'3.14'
  4. D-[1, 2, 3]
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
What is the result of 'hello' + 'world' in Python?
  1. A-'helloworld'
  2. B-'hello world'
  3. C-'hello' 'world'
  4. D-Error
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
What is the result of 3.5 + 2 in Python?
  1. A-5
  2. B-5.5
  3. C-6
  4. D-3.7
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
Which of the following is an invalid integer in Python?
  1. A-123
  2. B--456
  3. C-0
  4. D-12.34
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
What is the result of 5 // 2 in Python?
  1. A-2.5
  2. B-2
  3. C-3
  4. D-2.0
  5. Posted By: MCQSEXAM
  6. Data Science / Python
  7. More about this MCQ
Which of the following is an example of a key performance indicator (KPI) in web analytics?
  1. A-Number of website visitors
  2. B-Website design layout
  3. C-Website hosting provider
  4. D-Website domain name
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is not a common application of Big Data Analytics in web development?
  1. A-Personalized recommendations
  2. B-Fraud detection
  3. C-Natural language processing
  4. D-Graphic design
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
What is the primary goal of sentiment analysis?
  1. A-To analyze data stored in a NoSQL database
  2. B-To analyze the emotional tone of text data
  3. C-To optimize data storage and retrieval
  4. D-To predict future stock market trends
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is not a commonly used data visualization tool?
  1. A-Tableau
  2. B-Matplotlib
  3. C-Power BI
  4. D-Hadoop
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
What is the purpose of data visualization in Big Data Analytics?
  1. A-To make data easier to understand and interpret
  2. B-To encrypt sensitive data
  3. C-To store large volumes of data
  4. D-To perform complex statistical analysis
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is not a step in the data analytics process?
  1. A-Data collection
  2. B-Data visualization
  3. C-Data cleansing
  4. D-Data encryption
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which type of analytics focuses on recommending the best course of action?
  1. A-Descriptive analytics
  2. B-Predictive analytics
  3. C-Prescriptive analytics
  4. D-Diagnostic analytics
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which type of analytics focuses on predicting future outcomes?
  1. A-Descriptive analytics
  2. B-Predictive analytics
  3. C-Prescriptive analytics
  4. D-Diagnostic analytics
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which type of analytics focuses on describing what happened in the past?
  1. A-Descriptive analytics
  2. B-Predictive analytics
  3. C-Prescriptive analytics
  4. D-Diagnostic analytics
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is an example of unstructured data?
  1. A-Customer transactions in a database
  2. B-Text documents
  3. C-Stock market data
  4. D-Sensor readings
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is an example of structured data?
  1. A-Social media posts
  2. B-Sensor data
  3. C-Email messages
  4. D-Database tables
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is not a common challenge in Big Data Analytics?
  1. A-Data security and privacy
  2. B-Data volume and velocity
  3. C-Data validity and reliability
  4. D-Data integration and quality
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
What is MapReduce?
  1. A-A programming model for processing large datasets in parallel.
  2. B-A relational database management system.
  3. C-A NoSQL database.
  4. D-A data visualization tool.
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is a popular tool for real-time Big Data processing?
  1. A-Apache Hadoop
  2. B-Apache Spark
  3. C-MongoDB
  4. D-Cassandra
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which programming language is commonly used for Big Data Analytics?
  1. A-Java
  2. B-Python
  3. C-C++
  4. D-Ruby
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which technology is commonly used for distributed storage and processing of Big Data?
  1. A-MongoDB
  2. B-MySQL
  3. C-Hadoop
  4. D-SQLite
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which of the following is not a characteristic of Big Data?
  1. A-Volume
  2. B-Velocity
  3. C-Variety
  4. D-Validity
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
What is Big Data Analytics?
  1. A-Analyzing small datasets using traditional methods.
  2. B-Analyzing large volumes of data to extract useful insights.
  3. C-Analyzing only structured data.
  4. D-Analyzing data without any specific purpose.
  5. Posted By: MCQSEXAM
  6. Data Science / Big Data Analytics
  7. More about this MCQ
Which class is used to add spacing between columns in a grid container in Bootstrap 5?
  1. A-gap
  2. B-col-gap
  3. C-row-gap
  4. D-column-gap
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which attribute is used to enable the lightbox feature for images in Bootstrap 5?
  1. A-data-bs-toggle
  2. B-data-bs-target
  3. C-data-bs-lightbox
  4. D-data-bs-modal
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
Which layout system is used in Bootstrap 5?
  1. A-Flexbox
  2. B-Grid
  3. C-Floats
  4. D-Table
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
What's the primary programming language of Bootstrap 5?
  1. A-JavaScript
  2. B-CSS
  3. C-HTML
  4. D-TypeScript
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
Which class is used to create a progress bar in Bootstrap?
  1. A-.progress
  2. B-.progress-bar
  3. C-.bar
  4. D-.loading-bar
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a breadcrumb navigation in Bootstrap?
  1. A-.breadcrumb
  2. B-.nav-breadcrumb
  3. C-.nav-path
  4. D-.path
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a dropdown menu in Bootstrap?
  1. A-.dropdown-menu
  2. B-.menu-dropdown
  3. C-.menu
  4. D-.dropdown
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a tooltip in Bootstrap?
  1. A-.popup
  2. B-.tooltip
  3. C-.hint
  4. D-.popover
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a modal in Bootstrap?
  1. A-.modal-dialog
  2. B-.popup
  3. C-.dialog-box
  4. D-.modal-popup
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a responsive table in Bootstrap?
  1. A-.responsive-table
  2. B-.table-responsive
  3. C-.table
  4. D-.table-grid
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a responsive image in Bootstrap?
  1. A-.img-responsive
  2. B-.responsive-img
  3. C-.image-responsive
  4. D-.responsive-image
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
Which class is used to create a card in Bootstrap?
  1. A-.panel
  2. B-.card
  3. C-.box
  4. D-.container
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a responsive embed video in Bootstrap?
  1. A-.embed-responsive
  2. B-.video-responsive
  3. C-.responsive-video
  4. D-.embed-video
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which class is used to create a button group in Bootstrap?
  1. A-.btn-group
  2. B-.button-group
  3. C-.group-btn
  4. D-.button-container
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which JavaScript library does Bootstrap depend on for its components?
  1. A-jQuery
  2. B-React
  3. C-Angular
  4. D-Vue.js
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
What is the purpose of the .container class in Bootstrap?
  1. A-To center-align content
  2. B-To create a responsive grid container
  3. C-To apply a border around elements
  4. D-None of the above
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
Which class is used to create a responsive navigation bar in Bootstrap?
  1. A-.navbar
  2. B-.nav
  3. C-.navigation
  4. D-.navbar-responsive
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
Which grid system does Bootstrap use?
  1. A-Flexbox
  2. B-CSS Grid
  3. C-Floats
  4. D-None of the above
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
What is the latest version of Bootstrap as of 2024?
  1. A-3.x
  2. B-4.x
  3. C-5.x
  4. D-6.x
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
Which CSS preprocessor does Bootstrap use?
  1. A-Sass
  2. B-Less
  3. C-Stylus
  4. D-None
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
What is Bootstrap?
  1. A-A programming language
  2. B-A front-end framework
  3. C-A server-side scripting language
  4. D-A database management system
  5. Posted By: MCQSEXAM
  6. Computer Science MCQs / Bootstrap
  7. More about this MCQ
What is the purpose of sequence padding in Recurrent Neural Networks?
  1. A-To reduce the memory consumption of the network
  2. B-To handle variable-length input sequences
  3. C-To improve the convergence rate during training
  4. D-To prevent overfitting of the model
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the purpose of the input embedding layer in Recurrent Neural Networks?
  1. A-To reduce the dimensionality of the input data
  2. B-To convert categorical inputs into continuous representations
  3. C-To apply non-linear transformations to the input data
  4. D-To compute the loss function
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
Which method is commonly used to address the vanishing gradient problem in Recurrent Neural Networks?
  1. A-Gradient clipping
  2. B-Dropout regularization
  3. C-Weight initialization techniques
  4. D-Batch normalization
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
How does the depth of Recurrent Neural Networks affect their performance?
  1. A-Deeper networks have lower computational complexity
  2. B-Deeper networks are less prone to overfitting
  3. C-Deeper networks can capture more complex patterns but may suffer from vanishing/exploding gradients
  4. D-Deeper networks require fewer parameters
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the main disadvantage of Recurrent Neural Networks compared to other architectures, such as Convolutional Neural Networks (CNNs)?
  1. A-Higher computational complexity
  2. B-Difficulty in handling spatial data
  3. C-Susceptibility to overfitting
  4. D-Limited memory retention over long sequences
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
Which activation function is commonly used in the hidden layers of Recurrent Neural Networks?
  1. A-Sigmoid
  2. B-Tanh (hyperbolic tangent)
  3. C-ReLU (Rectified Linear Unit)
  4. D-Softmax
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
How does the attention mechanism in Recurrent Neural Networks improve performance in tasks such as machine translation?
  1. A-By reducing model complexity
  2. B-By focusing on relevant parts of the input sequence
  3. C-By increasing the number of parameters
  4. D-By speeding up the training process
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the role of the recurrent connection in Recurrent Neural Networks?
  1. A-To pass information from the input layer to the output layer
  2. B-To introduce non-linearity into the network
  3. C-To maintain a memory of previous time steps
  4. D-To compute the loss function
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
In what way does teacher forcing improve training stability in Recurrent Neural Networks?
  1. A-By preventing overfitting
  2. B-By accelerating convergence
  3. C-By ensuring consistent input-output alignment during training
  4. D-By reducing computational complexity
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the purpose of the output layer in Recurrent Neural Networks?
  1. A-To compute the loss function
  2. B-To make predictions based on the final hidden state
  3. C-To apply regularization to the network
  4. D-To control the flow of information in the network
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the main drawback of vanilla RNNs when it comes to gradient propagation during training?
  1. A-Exploding gradients
  2. B-Vanishing gradients
  3. C-Stagnant gradients
  4. D-Oscillating gradients
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the purpose of bidirectional processing in Bidirectional Recurrent Neural Networks (Bi-RNNs)?
  1. A-To improve training speed
  2. B-To reduce memory consumption
  3. C-To capture information from both past and future contexts
  4. D-To decrease the model's complexity
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the term used to describe the process of unfolding the time steps in a Recurrent Neural Network during training?
  1. A-Backpropagation
  2. B-Gradient descent
  3. C-Unrolling
  4. D-Regularization
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
Which component of Recurrent Neural Networks allows them to retain information about previous inputs?
  1. A-Input layer
  2. B-Hidden layer
  3. C-Output layer
  4. D-Memory cell
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the main advantage of RNNs with attention mechanisms over traditional RNNs in sequence-to-sequence tasks?
  1. A-Improved computational efficiency
  2. B-Ability to handle fixed-length sequences
  3. C-Enhanced capability to focus on relevant parts of the input sequence
  4. D-Reduced memory requirements
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What distinguishes Gated Recurrent Units (GRUs) from Long Short-Term Memory (LSTM) cells?
  1. A-GRUs have an additional input gate
  2. B-GRUs do not have separate memory and output gates
  3. C-GRUs have a simpler architecture with fewer parameters
  4. D-GRUs use different activation functions than LSTMs
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the purpose of the forget gate in a Long Short-Term Memory (LSTM) cell?
  1. A-To update the cell state with new information
  2. B-To remove irrelevant information from the cell state
  3. C-To control the flow of information into the cell state
  4. D-To compute the output of the LSTM cell
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
Which variant of Recurrent Neural Networks addresses the issue of vanishing gradients and is capable of capturing long-term dependencies?
  1. A-Long Short-Term Memory (LSTM)
  2. B-Gated Recurrent Unit (GRU)
  3. C-Bidirectional RNN
  4. D-Elman network
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
Which of the following is a limitation of traditional RNNs when processing long sequences?
  1. A-They are prone to overfitting
  2. B-They have difficulty capturing long-term dependencies
  3. C-They require large amounts of training data
  4. D-They have a high computational cost
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
What is the primary advantage of Recurrent Neural Networks (RNNs) over traditional feedforward neural networks?
  1. A-Ability to handle sequential data
  2. B-Faster training time
  3. C-Higher interpretability
  4. D-Lower computational complexity
  5. Posted By: MCQSEXAM
  6. Data Science / Recurrent Neural Networks (RNNs)
  7. More about this MCQ
Which technique is used to mitigate the risk of overfitting in Gradient Boosting Machines?
  1. A-Early stopping
  2. B-Increasing the learning rate
  3. C-Reducing the number of trees
  4. D-Decreasing the regularization strength
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What is the effect of increasing the number of trees (iterations) in Gradient Boosting Machines?
  1. A-Decreases bias and increases variance
  2. B-Increases bias and decreases variance
  3. C-Increases both bias and variance
  4. D-Decreases both bias and variance
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
Which hyperparameters are commonly tuned in Gradient Boosting Machines to optimize performance?
  1. A-Number of trees (iterations) and learning rate
  2. B-Maximum depth of trees and number of features to consider
  3. C-Regularization strength and kernel type
  4. D-Number of clusters and cluster distance metric
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What is the significance of regularization in Gradient Boosting Machines?
  1. A-It reduces the computational complexity of the model
  2. B-It prevents overfitting by penalizing complex models
  3. C-It improves the interpretability of the model
  4. D-It adjusts the learning rate dynamically during training
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
How does early stopping contribute to the training process in Gradient Boosting Machines?
  1. A-It stops the training process when the validation error starts increasing
  2. B-It allows the model to continue training until convergence
  3. C-It speeds up the training process by skipping unnecessary iterations
  4. D-It adjusts the learning rate dynamically during training
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What is the main advantage of Gradient Boosting Machines over Random Forests?
  1. A-Faster training time
  2. B-Better scalability to large datasets
  3. C-Higher interpretability of the model
  4. D-Improved predictive performance
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
Which base learners are commonly used in Gradient Boosting Machines?
  1. A-Decision trees
  2. B-Support Vector Machines
  3. C-Neural networks
  4. D-Naive Bayes classifiers
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What happens if the learning rate in Gradient Boosting Machines is set too high?
  1. A-The model becomes more prone to overfitting.
  2. B-The training time increases significantly.
  3. C-The model becomes more interpretable.
  4. D-The model's performance improves.
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What is the role of learning rate (shrinkage) in Gradient Boosting Machines?
  1. A-It controls the number of weak learners in the ensemble.
  2. B-It adjusts the weights of each weak learner.
  3. C-It regulates the step size during gradient descent optimization.
  4. D-It determines the depth of the decision trees.
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
Which concept is utilized to combine multiple weak learners into a strong predictive model in Gradient Boosting Machines?
  1. A-Bagging
  2. B-Boosting
  3. C-Stacking
  4. D-Dropout
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What is the main difference between Gradient Boosting Machines and Random Forests?
  1. A-GBM uses decision trees as base learners, while Random Forests use linear models.
  2. B-GBM trains weak learners sequentially, while Random Forests train them in parallel.
  3. C-GBM optimizes a different objective function compared to Random Forests.
  4. D-GBM does not utilize ensemble techniques, unlike Random Forests.
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
Which technique does Gradient Boosting Machines utilize to minimize the loss function during training?
  1. A-Gradient descent
  2. B-Random forest
  3. C-Naive Bayes
  4. D-K-means clustering
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
What is the primary objective of Gradient Boosting Machines (GBM) in machine learning?
  1. A-Clustering
  2. B-Regression
  3. C-Classification
  4. D-Dimensionality reduction
  5. Posted By: MCQSEXAM
  6. Data Science / Gradient Boosting Machines (GBM)
  7. More about this MCQ
Which of the following is a key advantage of the Naive Bayes algorithm?
  1. A-It is robust to overfitting
  2. B-It works well with small datasets
  3. C-It requires minimal computational resources
  4. D-It can capture complex nonlinear relationships in the data
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
In Naive Bayes, how are continuous features typically handled during training?
  1. A-By discretizing them into bins
  2. B-By transforming them to follow a Gaussian distribution
  3. C-By applying Laplace smoothing
  4. D-By normalizing them to have zero mean and unit variance
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
What is the impact of multicollinearity among features on the performance of the Naive Bayes algorithm?
  1. A-It leads to overfitting of the model
  2. B-It has no impact on the performance of the model
  3. C-It can degrade the performance of the model
  4. D-It improves the interpretability of the model
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
How does the choice of the Naive Bayes variant affect the handling of feature types in the data?
  1. A-It affects the model's interpretability
  2. B-It affects the model's computational complexity
  3. C-It determines whether the model can handle categorical or continuous features
  4. D-It determines the number of parameters in the model
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
What is the computational complexity of training a Naive Bayes model?
  1. A-O(n)
  2. B-O(n log n)
  3. C-O(n^2)
  4. D-O(1)
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
Which of the following assumptions does the Naive Bayes algorithm make about the data?
  1. A-Features are not correlated with each other
  2. B-Features have a Gaussian distribution
  3. C-Features have equal importance in predicting the class label
  4. D-Features are linearly separable
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
What is Laplace smoothing used for in Naive Bayes?
  1. A-To reduce computational complexity
  2. B-To handle missing values in the data
  3. C-To avoid zero probabilities for unseen feature-value combinations
  4. D-To regularize the model and prevent overfitting
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
In Naive Bayes, how are the probabilities of different classes calculated for a given data instance?
  1. A-By maximizing the likelihood of the class given the features
  2. B-By calculating the prior probabilities of the classes
  3. C-By summing the probabilities of individual features
  4. D-By minimizing the error between predicted and actual class labels
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
Which Naive Bayes variant is suitable for handling categorical features?
  1. A-Gaussian Naive Bayes
  2. B-Multinomial Naive Bayes
  3. C-Bernoulli Naive Bayes
  4. D-Poisson Naive Bayes
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
What type of probability distribution is commonly used for continuous features in Naive Bayes?
  1. A-Normal (Gaussian) distribution
  2. B-Bernoulli distribution
  3. C-Binomial distribution
  4. D-Poisson distribution
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
Which probability theorem is fundamental to the Naive Bayes algorithm?
  1. A-Bayes' theorem
  2. B-Central limit theorem
  3. C-Chebyshev's inequality
  4. D-Bernoulli's theorem
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
What is the underlying assumption of the Naive Bayes algorithm?
  1. A-Independence of features
  2. B-Linearity of data
  3. C-Multicollinearity of features
  4. D-Normality of data distribution
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
What is the primary objective of the Naive Bayes algorithm in machine learning?
  1. A-Clustering
  2. B-Regression
  3. C-Classification
  4. D-Dimensionality reduction
  5. Posted By: MCQSEXAM
  6. Data Science / Naive Bayes
  7. More about this MCQ
In the KNN algorithm, what is the role of the parameter "weights" when determining the class label of a new data point?
  1. A-It assigns equal weight to all neighbors
  2. B-It assigns higher weight to closer neighbors
  3. C-It assigns higher weight to farther neighbors
  4. D-It has no impact on the algorithm
  5. Posted By: MCQSEXAM
  6. Data Science / K-Nearest Neighbors (KNN)
  7. More about this MCQ
Which of the following statements is true about the KNN algorithm's decision boundary?
  1. A-It is linear for all values of K
  2. B-It is non-linear for odd values of K
  3. C-It becomes more complex as K increases
  4. D-It becomes more linear as K increases
  5. Posted By: MCQSEXAM
  6. Data Science / K-Nearest Neighbors (KNN)
  7. More about this MCQ
What is the effect of increasing the value of K in the KNN algorithm on the model's bias and variance?
  1. A-Increases bias, decreases variance
  2. B-Decreases bias, increases variance
  3. C-Increases both bias and variance
  4. D-Decreases both bias and variance
  5. Posted By: MCQSEXAM
  6. Data Science / K-Nearest Neighbors (KNN)
  7. More about this MCQ
How does the choice of an odd value for K impact the KNN algorithm in binary classification tasks?
  1. A-It ensures a balanced number of neighbors for each class
  2. B-It leads to a smoother decision boundary
  3. C-It makes tie-breaking easier
  4. D-It has no impact on the algorithm
  5. Posted By: MCQSEXAM
  6. Data Science / K-Nearest Neighbors (KNN)
  7. More about this MCQ
What is the primary drawback of the KNN algorithm when dealing with large datasets?
  1. A-High computational complexity during training
  2. B-Sensitivity to the choice of distance metric
  3. C-Difficulty in selecting the optimal value of K
  4. D-Inability to handle categorical features
  5. Posted By: MCQSEXAM
  6. Data Science / K-Nearest Neighbors (KNN)
  7. More about this MCQ
What is the role of feature scaling in the KNN algorithm?
  1. A-To speed up the computation of distances
  2. B-To improve the interpretability of the model
  3. C-To normalize the data and ensure equal importance of features
  4. D-To reduce the dimensionality of the data
  5. Posted By: MCQSEXAM
  6. Data Science / K-Nearest Neighbors (KNN)
  7. More about this MCQ
MCQs Exam