Back to Dashboard

Essentials

Complete Subject Question Bank

Genai#1

In a neural network, what does a neuron compute?

A
A weighted sum followed by an activation function
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: A weighted sum followed by an activation function.

Genai#2

Which function introduces non-linearity in a neural network?

A
Activation Function
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Activation Function.

Genai#3

Which of the following is NOT a layer type in a typical neural network?

A
Quantum Layer
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Quantum Layer.

Genai#4

Which application of ML is used to detect unusual patterns in data?

A
Anomaly Detection
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Anomaly Detection.

Genai#5

In which type of ML does an agent learn by interacting with an environment?

A
Reinforcement Learning
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Reinforcement Learning.

Genai#6

Which of the following is a common activation function in neural networks?

A
ReLU (Rectified Linear Unit)
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: ReLU (Rectified Linear Unit).

Genai#7

How is a neural network's performance typically evaluated during training?

A
Using a validation set
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Using a validation set.

Genai#8

Which of the following is a challenge in training deep neural networks?

A
Vanishing/Exploding gradients
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Vanishing/Exploding gradients.

Genai#9

What is the role of the loss function in training a neural network?

A
To quantify the difference between predicted and actual values
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: To quantify the difference between predicted and actual values.

Genai#10

What is the primary purpose of backpropagation?

A
Adjusting weights based on the error
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Adjusting weights based on the error.

Genai#11

What is the primary purpose of a loss function in training neural networks?

A
To quantify the difference between predicted and actual values
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: To quantify the difference between predicted and actual values.

Genai#12

Which of the following is a technique to prevent overfitting in neural networks?

A
Dropout
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Dropout.

Genai#13

Which of the following is NOT a common machine learning algorithm?

A
Quantum Entanglement
B
Supervised Learning
C
Unsupervised Learning
D
Reinforcement Learning

The correct answer is: Quantum Entanglement.

Genai#14

What is the main difference between regression and classification?

A
Regression predicts a continuous output, Classification predicts a discrete label
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Regression predicts a continuous output, Classification predicts a discrete label.

Genai#15

What is the primary goal of machine learning?

A
To allow computers to learn from data
B
Supervised Learning
C
Unsupervised Learning
D
Reinforcement Learning

The correct answer is: To allow computers to learn from data.

Genai#16

In the context of neural networks, what does the term "backpropagation" refer to?

A
The method of adjusting weights based on the error
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: The method of adjusting weights based on the error.

Genai#17

Which component of a neural network is responsible for combining inputs and passing them to the next layer?

A
Neuron (or Node)
B
Recurrent Neural Network (RNN)
C
Convolutional Neural Network (CNN)
D
Generative Adversarial Network (GAN)

The correct answer is: Neuron (or Node).

Genai#18

Which activation function outputs a value between 0 and 1?

A
Sigmoid
B
Likelihood function
C
Support Vector Machines
D
Decision Trees

The correct answer is: Sigmoid.

Genai#19

Which of the following is NOT a type of machine learning?

A
Recursive Learning
B
Supervised Learning
C
Unsupervised Learning
D
Reinforcement Learning

The correct answer is: Recursive Learning.

Genai#20

Which application of ML is used to group similar items?

A
Clustering
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Clustering.

Genai#21

Which of the following is NOT a direct application of the Transformer architecture?

A
Image recognition
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Image recognition.

Genai#22

Which generative model introduced a stochastic layer that models data in a latent space?

A
VAE
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Multi-layer Perceptron (MLP)

The correct answer is: VAE.

Genai#23

What is the primary advantage of Transformers over RNNs in terms of processing sequences?

A
Parallel Processing
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Parallel Processing.

Genai#24

Which AI model series by OpenAI, based on the Transformer architecture, is known for generating highly coherent content?

A
GPT series
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: GPT series.

Genai#25

What mechanism allows the Transformer model to weigh the importance of different words in a sequence?

A
Self-Attention Mechanism
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Self-Attention Mechanism.

Genai#26

Which model can transform horse photos into zebra photos without direct comparison?

A
CycleGAN
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: CycleGAN.

Genai#27

What is the main innovation introduced by the "Attention Is All You Need" paper?

A
Transformer architecture
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Transformer architecture.

Genai#28

Which model is known for its rules for creating stable and effective AI image-makers?

A
DCGAN
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: DCGAN.

Genai#29

Which model demonstrated that using larger architectures can produce better images?

A
BigGAN
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: BigGAN.

Genai#30

In the context of GANs, what is the role of the Discriminator?

A
To distinguish between real and generated data
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: To distinguish between real and generated data.

Genai#31

Who introduced Generative Adversarial Networks (GANs)?

A
Ian Goodfellow
B
Generative Adversarial Network (GAN)
C
Recurrent Neural Network (RNN)
D
Convolutional Neural Network (CNN)

The correct answer is: Ian Goodfellow.

Genai#32

What is the primary purpose of generative models?

A
Generating new data
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Generating new data.

Genai#33

Which of the following research papers is foundational for Variational Autoencoders (VAEs)?

A
"Generative Adversarial Nets"
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: "Generative Adversarial Nets".

Genai#34

Which model uses a probabilistic approach to encode and decode data?

A
VAE
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: VAE.

Genai#35

Which of the following is NOT a direct application of GANs but rather an outcome of its influence?

A
Reinforcement learning in game playing
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Reinforcement learning in game playing.

Genai#36

In which year were Generative Adversarial Networks (GANs) first introduced?

A
2014
B
Generative Adversarial Network (GAN)
C
Recurrent Neural Network (RNN)
D
Convolutional Neural Network (CNN)

The correct answer is: 2014.

Genai#37

Which architecture is primarily associated with attention mechanisms?

A
Transformer
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Transformer.

Genai#38

What are the two main components of a GAN?

A
Generator and Discriminator
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Generator and Discriminator.

Genai#39

Which model marked a significant milestone in the use of transformers in NLP?

A
BERT
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: BERT.

Genai#40

Which pioneering research in Generative AI specifically emphasized the generation of text sequences?

A
"Sequence to Sequence Learning with Neural Networks"
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: "Sequence to Sequence Learning with Neural Networks".

Genai#41

How might AI transform the fitting experience in fashion retail?

A
By allowing customers to virtually "try on" clothes
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: By allowing customers to virtually "try on" clothes.

Genai#42

What is a potential challenge of over-relying on AI in fashion?

A
Overshadowing human creativity and intuition
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Overshadowing human creativity and intuition.

Genai#43

Which is a potential future application of Generative AI in fashion?

A
Hyper-personalized clothing
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: Hyper-personalized clothing.

Genai#44

What could be a futuristic application of Generative AI in creating personalized clothing?

A
By designing clothing based on an individual's mood
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: By designing clothing based on an individual's mood.

Genai#45

Which brand has utilized AI for generating new clothing designs?

A
StitchFix
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: StitchFix.

Genai#46

How can Generative AI contribute to sustainable fashion?

A
By designing sustainable fabrics
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: By designing sustainable fabrics.

Genai#47

What aspect of AI in fashion raises concerns about user privacy?

A
Personalized shopping experiences
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Personalized shopping experiences.

Genai#48

In the context of sustainability, how might AI be used in material design?

A
By simulating and designing eco-friendly materials
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: By simulating and designing eco-friendly materials.

Genai#49

Who is a prominent virtual influencer mentioned in the case study?

A
Lil Miquela
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Lil Miquela.

Genai#50

How can Generative AI potentially impact inventory management in fashion?

A
By predicting fashion trends with higher accuracy
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: By predicting fashion trends with higher accuracy.

Genai#51

Beyond body image standards, what's another ethical concern regarding virtual models?

A
The authenticity of virtual influencers in advertising campaigns
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: The authenticity of virtual influencers in advertising campaigns.

Genai#52

Why might there be concerns about an over-reliance on data-driven AI in fashion?

A
Fashion inherently values human creativity and intuition
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Fashion inherently values human creativity and intuition.

Genai#53

How does AI enhance the shopping experience?

A
By providing personalized product recommendations
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: By providing personalized product recommendations.

Genai#54

What ethical concern arises from the use of virtual models in fashion?

A
Questions about body image standards and job losses for human models
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Questions about body image standards and job losses for human models.

Genai#55

What is the global valuation of the fashion industry?

A
$2.5 trillion
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: $2.5 trillion.

Genai#56

If an AI system is designed to label images of cats and dogs, it is primarily a _______ model.

A
Discriminative
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Discriminative.

Genai#57

Which AI type is best for predicting outcomes?

A
Regression AI
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Regression AI.

Genai#58

Which is NOT a real-world application of Generative AI?

A
Predicting stock market prices
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: Predicting stock market prices.

Genai#59

Which of the following is a direct application of Generative AI in the entertainment industry?

A
Creating realistic CGI characters
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: Creating realistic CGI characters.

Genai#60

In the context of AI, which model type is more concerned with the underlying distribution of data?

A
Generative AI
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Generative AI.

Genai#61

What is Generative AI primarily used for?

A
Generating new data
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: Generating new data.

Genai#62

Generative AI can be used to create which of the following?

A
New artworks and music pieces
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: New artworks and music pieces.

Genai#63

How does Generative AI differ from Classification AI?

A
It generates new data rather than categorizing existing data
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: It generates new data rather than categorizing existing data.

Genai#64

Which statement best describes the role of Generative AI?

A
It focuses on generating data based on learned patterns
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: It focuses on generating data based on learned patterns.

Genai#65

Why is Generative AI considered significant in the realm of artificial intelligence?

A
It can produce new, previously unseen data samples
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: It can produce new, previously unseen data samples.

Genai#66

Which of the following fields can utilize Generative AI to create new, original content or simulations?

A
Art and Music
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: Art and Music.

Genai#67

Generative AI is closely related to which type of models?

A
Generative models
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Generative models.

Genai#68

Which type of AI is primarily concerned with how data is generated rather than how it's separated?

A
Generative AI
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Generative AI.

Genai#69

In which application is Generative AI NOT typically used?

A
Automating customer service chats
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: Automating customer service chats.

Genai#70

What does AI stand for?

A
Artificial Intelligence
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Artificial Intelligence.

Genai#71

Which of the following is NOT a type of AI?

A
Generative Art
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Generative Art.

Genai#72

Which statement best defines Generative AI?

A
GenerativeAI that can generate new data samples
B
Generative Adversarial Network (GAN)
C
Support Vector Machines
D
Decision Trees

The correct answer is: GenerativeAI that can generate new data samples.

Genai#73

Which of the following is NOT a property of likelihood?

A
It is normalized like a probability
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: It is normalized like a probability.

Genai#74

Which model type aims to capture the joint probability P(x, y)?

A
Generative Model
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Generative Model.

Genai#75

Which of the following best describes the difference between generative and discriminative models?

A
Generative models learn the data distribution, while discriminative models learn the decision boundary
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Generative models learn the data distribution, while discriminative models learn the decision bounda....

Genai#76

Within the architecture of Generative Adversarial Networks (GANs), which duo of fundamental elements are paramount?

A
Generator and Discriminator
B
Generative Adversarial Network (GAN)
C
Recurrent Neural Network (RNN)
D
Convolutional Neural Network (CNN)

The correct answer is: Generator and Discriminator.

Genai#77

For what tasks can generative models be applied?

A
Data generation, denoising, inpainting, and more
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Data generation, denoising, inpainting, and more.

Genai#78

What does a probability distribution provide?

A
A mathematical description of outcomes for a random variable
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: A mathematical description of outcomes for a random variable.

Genai#79

What's a significant hurdle when training GANs?

A
Mode collapse
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Mode collapse.

Genai#80

Within generative models, what function does the discriminator serve in GANs?

A
To distinguish between real and generated data
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Likelihood function

The correct answer is: To distinguish between real and generated data.

Genai#81

How is the likelihood of data given a model symbolized?

A
P(data | model)
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: P(data | model).

Genai#82

If a model is better at distinguishing between classes rather than generating data, it is likely a _______.

A
Discriminative model
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Discriminative model.

Genai#83

Which model type is primarily concerned with determining P(y | x)?

A
Discriminative Model
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Discriminative Model.

Genai#84

What is the primary goal of generative models in AI?

A
To generate new data samples
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: To generate new data samples.

Genai#85

Which statement best differentiates generative from discriminative models?

A
Generative models learn the joint probability distribution, while discriminative models learn the conditional probability
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Generative models learn the joint probability distribution, while discriminative models learn the co....

Genai#86

Which of the following is crucial for understanding the behavior of generative models?

A
Probability distributions and likelihood
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Probability distributions and likelihood.

Genai#87

In the context of generative models, what does P(x) represent?

A
The probability distribution of the data x
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: The probability distribution of the data x.

Genai#88

Which of the following is NOT a generative model?

A
Support Vector Machines
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Decision Trees

The correct answer is: Support Vector Machines.

Genai#89

Generative models are primarily used for which of the following tasks?

A
Generating new data samples similar to the input data
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Generating new data samples similar to the input data.

Genai#90

What does likelihood measure in the context of a model?

A
How well the model explains the observed data
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: How well the model explains the observed data.

Genai#91

In the context of models, what does P(x | y) typically represent?

A
The probability of x given y
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: The probability of x given y.

Genai#92

What is a primary application of VAEs mentioned in the case study?

A
Anomaly Detection
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Anomaly Detection.

Genai#93

What is the y-axis label of the chart visualizing the error?

A
Reconstruction Error
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Reconstruction Error.

Genai#94

Which is NOT a challenge in implementing VAEs for this use-case?

A
Increasing data storage costs
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Increasing data storage costs.

Genai#95

For how many epochs is the VAE trained?

A
50
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: 50.

Genai#96

What criterion is used to determine if a data point is anomalous?

A
If its error is above the 99th percentile
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: If its error is above the 99th percentile.

Genai#97

What is the VAE trained to learn effectively?

A
A compressed representation of the data
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: A compressed representation of the data.

Genai#98

Why is understanding the VAE's outputs challenging?

A
They can be complex and non-intuitive
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: They can be complex and non-intuitive.

Genai#99

In the VAE, what does the sampling function introduce?

A
Randomness
B
Likelihood function
C
Support Vector Machines
D
Decision Trees

The correct answer is: Randomness.

Genai#100

What two components combine to form the VAE's loss?

A
MSE and KL divergence
B
Cross-entropy loss
C
Support Vector Machines
D
Decision Trees

The correct answer is: MSE and KL divergence.

Genai#101

Which of the following is NOT an attribute in the given data?

A
Humidity
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Humidity.

Genai#102

What type of dataset does the manufacturing plant collect?

A
Time Series Dataset
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Time Series Dataset.

Genai#103

How is the data divided for training the VAE?

A
80-20
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: 80-20.

Genai#104

What does the VAE attempt to minimize during training?

A
Loss
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Loss.

Genai#105

Why is data preprocessing required before training the VAE?

A
To ensure it is suitable for training
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: To ensure it is suitable for training.

Genai#106

Over time, due to certain changes, what might be required of the VAE model?

A
Continuous adaptation
B
Diffusion Model
C
Support Vector Machines
D
Decision Trees

The correct answer is: Continuous adaptation.

Genai#107

In which application can VAEs detect unusual patterns?

A
Anomaly detection in industrial equipment
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Anomaly detection in industrial equipment.

Genai#108

Which of the following is a key component of the VAE loss function?

A
KL divergence
B
Cross-entropy loss
C
Likelihood function
D
Support Vector Machines

The correct answer is: KL divergence.

Genai#109

In which application might VAEs be used to enhance image quality?

A
Medical imaging
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Medical imaging.

Genai#110

Why is the reparameterization trick important in VAEs?

A
It allows backpropagation through random nodes
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: It allows backpropagation through random nodes.

Genai#111

Which optimization technique is commonly used with VAEs?

A
Stochastic gradient descent (SGD)
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Stochastic gradient descent (SGD).

Genai#112

Autoencoders primarily focus on which aspect of data?

A
Reconstruction
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Reconstruction.

Genai#113

Which of the following is NOT a typical use case for VAEs?

A
Real-time speech translation
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Real-time speech translation.

Genai#114

Why is variational inference used in VAEs?

A
To approximate intractable posterior distributions
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: To approximate intractable posterior distributions.

Genai#115

How do VAEs differ from traditional autoencoders?

A
VAEs introduce randomness via a probabilistic layer
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: VAEs introduce randomness via a probabilistic layer.

Genai#116

What do VAEs use to generate a distribution over latent variables?

A
Variational inference
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Variational inference.

Genai#117

Why are autoencoders considered generative models?

A
They can reconstruct and generate data similar to the input
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: They can reconstruct and generate data similar to the input.

Genai#118

Reparameterization trick is used to...

A
Deal with the non-differentiability of sampling in VAEs
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Deal with the non-differentiability of sampling in VAEs.

Genai#119

What does VAE stand for?

A
Variational Autoencoder
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Variational Autoencoder.

Genai#120

What is the primary role of autoencoders in generative modeling?

A
Data compression and reconstruction
B
Generative Adversarial Network (GAN)
C
Diffusion Model
D
Support Vector Machines

The correct answer is: Data compression and reconstruction.

Genai#121

Which application does NOT typically use VAEs?

A
Text summarization
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Text summarization.

Genai#122

Why is the reparameterization trick crucial in training VAEs?

A
It allows backpropagation through stochastic nodes
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: It allows backpropagation through stochastic nodes.

Genai#123

In the context of Variational Autoencoders (VAEs), what does variational inference help achieve?

A
Approximation of complex posterior distributions
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Approximation of complex posterior distributions.

Genai#124

Which component of the VAE loss function ensures the latent variables adhere to a standard distribution?

A
KL divergence
B
Cross-entropy loss
C
Likelihood function
D
Support Vector Machines

The correct answer is: KL divergence.

Genai#125

In which application might you use a VAE for generating new, coherent samples?

A
Designing virtual fashion items
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Designing virtual fashion items.

Genai#126

Which of the following is NOT a type of autoencoder?

A
Supervised autoencoder
B
Support Vector Machines
C
Decision Trees
D
K-Nearest Neighbors

The correct answer is: Supervised autoencoder.

Software Fundamentals#127
Logic Block
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Select the appropriate code snippet for the given problem statement provided as pseudocode. Problem Statement : Dinner Plan Five friends plan to go out for dinner. They plan to order equal number of dishes. Each row specifies individual cost. Find the total amount each person needs to pay. Assume the values for this matrix for 3 dishes are 12 23 18 45 32 60 42 39 23 54 42 60 25 84 30 The output will be Amount to be paid by person 1 is 53 Amount to be paid by person 2 is 137 Amount to be paid by person 3 is 104 Amount to be paid by person 4 is 156 Amount to be paid by person 3 is 139 Explanation : Output is the sum of each row Code: BEGIN DECLARE variable arr[5][20], n, sum=0 ___________________ FOR j IN 0 to n-1 DO READ arr[i][j] END FOR END FOR FOR i IN 0 TO 4 DO SET sum = 0 FOR j IN 0 TO n-1 DO sum = sum + arr[i][j] END FOR PRINT "Amount to be paid by person "+(i+1)+" is "+sum END FOR END
A
FOR i IN 0 to 4 DO
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: FOR i IN 0 to 4 DO.

Software Fundamentals#128

Choose the correct pseudocode for the below problem statement. Problem Statement : Find Maximum value Choose a pseudo code to find the maximum values in each row of a matrix. Assume it is a 3x3 matrix. Explanation : Matrix will be with index (0,0) (0,1) (0,2) (1,0) (1,1) (1,2) (2,0) (2,1) (2,2) Assume the values for this matrix are 12 23 18 45 32 60 42 39 23 The output will be Max value in row 1 is 23 Max value in row 2 is 60 Max value in row 3 is 42

A
BEGIN DECLARE variable arr[3][3] FOR i IN 0 to 2 DO FOR j IN 0 to 2 DO READ arr[i][j] END FOR END FOR FOR i IN 0 TO 2 DO SET max = arr[i][0] FOR j IN 0 TO 2 DO IF arr[i][j]>max THEN max = arr[i][j] END IF END FOR PRINT "Max value in row "+(i+1)+" is "+max END FOR END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE variable arr[3][3] FOR i IN 0 to 2 DO FOR j IN 0 to 2 DO READ arr[i][j] E....

Software Fundamentals#129

A mathematical quiz context happened in a school and the scores are stored in an array named quizmark. The coordinating person wants to copy the quiz score into another array named copyquizmark. Which of these options will do that?

A
FOR index <- 0 to n copyquizmark[index] <- quizmark[index] END FOR
B
Incorrect HTML/JavaScript syntax
C
Valid syntax but does not satisfy the requirement
D
Unrelated markup or method

The correct answer is: FOR index <- 0 to n copyquizmark[index] <- quizmark[index] END FOR.

Software Fundamentals#130
Logic Block
1
2
3
4
5
Assume, number[100] <- 99. How many elements can be stored inside the array variable number?
A
The statement gives no clue about the number of elements that can be stored
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: The statement gives no clue about the number of elements that can be stored.

Software Fundamentals#131

Which of the following are False with respect to the manipulation of arrays?

A
An array can store heterogeneous data It is possible to increase the size of the array
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: An array can store heterogeneous data It is possible to increase the size of the array.

Software Fundamentals#132

Negative elements can be placed inside an array. State true / false

A
TRUE
B
FALSE

This statement is true. Negative elements can be placed inside an array. State true / false.

Software Fundamentals#133

The names of all associates undergoing training are stored in an array named associate_name[50]. The 5th associates’ name is retrieved as

A
associate_name[3+1] associate_name[4]
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: associate_name[3+1] associate_name[4].

Software Fundamentals#134

Information about ___________ need not be specified when declaring an array

A
the elements to be stored in the array
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: the elements to be stored in the array.

Software Fundamentals#135

It is not possible to do a search operation in an array that is not sorted. State True/False.

A
TRUE
B
FALSE

This statement is false. It is not possible to do a search operation in an array that is not sorted. State True/False is incorrect.

Software Fundamentals#136

The operation of ordering the elements in the list is known as

A
Sorting
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Sorting.

Software Fundamentals#137

Random access is not possible in an array. State True/False

A
TRUE
B
FALSE

This statement is false. Random access is not possible in an array. State True/False is incorrect.

Software Fundamentals#138

Assume you have an array named numbers of size 10. Which of the assignment is valid?

A
numbers[0] <- 10 numbers[9] <- 5
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: numbers[0] <- 10 numbers[9] <- 5.

Software Fundamentals#139

Which of the following statements is correct with respect to arrays?

A
Elements in an array are arranged contiguously.
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: Elements in an array are arranged contiguously..

Software Fundamentals#140

Expression within [ ] should always resolve to a

A
positive number
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: positive number.

Software Fundamentals#141

Consider you buy a laptop. You want to store the details of that laptop such as price, model_name,model_number, warranty_period into a single array named details[10]. Is ths possible?

A
no
B
One-dimensional array
C
Two-dimensional array
D
Multi-dimensional array

The correct answer is: no.

Software Fundamentals#142

List of songs stored in your mobile phone is a good example for

A
single-dimensional arrays
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: single-dimensional arrays.

Software Fundamentals#143

Consider you want to compare the prices of redmi , sony, samsung phones in three online sites like amazon,flipkart,ebay. Which array type is best suitable to do this comparision?

A
two-dimensional arrays
B
One-dimensional array
C
Multi-dimensional array
D
Bubble Sort

The correct answer is: two-dimensional arrays.

Software Fundamentals#144

It is possible to traverse through an array from the first position to the last and not vice versa. State true or false.

A
TRUE
B
FALSE

This statement is false. It is possible to traverse through an array from the first position to the last and not vice versa. is incorrect.

Software Fundamentals#145

An Array consists of rows and columns is also called as________

A
Two-dimensional array
B
One-dimensional array
C
Multi-dimensional array
D
Bubble Sort

The correct answer is: Two-dimensional array.

Software Fundamentals#146

Choose the correct Pseudo code to store names in an array and display a name.

A
BEGIN DECLARE name [20] INPUT name PRINT name END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE name [20] INPUT name PRINT name END.

Software Fundamentals#147

Expression is a combination of ___________, ____________ and _______________

A
variables, constants, operators
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: variables, constants, operators.

Software Fundamentals#148

1.Take 1 away from me and you get a prime number; add 1 to me and you get twice that prime number.

A
3
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 3.

Software Fundamentals#149

Find out the logic of series and complete. 9 = 4, 21 = 9, 22 = 9, 24 = 10, 8 = 5, 7 = 5, 99 = 10, 100 = 7, 16 = ?

A
7
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 7.

Software Fundamentals#150

I am an odd number; take away an alphabet and I become even. What am I?

A
7
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 7.

Software Fundamentals#151
Logic Block
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Select the appropriate code snippet for the given problem statement provided as pseudocode. Problem Statement : Strong number Check if a given number is a strong number. 145 is a strong number because 1!+4!+5! = 145. Sample Input : 145 Sample Output : Strong number Code: BEGIN DECLARE variables number, sum, temp, remainder, fact READ number SET sum=0, temp=number __________________ remainder = number % 10 SET fact = 1 FOR i IN 1 to remainder DO fact = fact *i END FOR sum = sum+ fact number = number / 10 END WHILE IF sum==temp THEN PRINT "Strong number" ELSE PRINT "Not a Strong number" END IF END
A
WHILE number != 0
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: WHILE number != 0.

Software Fundamentals#152

Choose the pseudocode for the below problem statement. Problem Statement : Vehicle Registration Mr.William buys a new Audi car. During the vehicle registration, he desires a fancy number in such a way that both the number and its reverse are the same. Generate an algorithm to find that fancy number. Sample Input : 1221 Sample Output : Number is Fancy

A
BEGIN DECLARE variables number, reverse, rem, temp READ number SET reverse = 0, temp = number WHILE number !=0 DO rem = number%10 reverse = reverse*10 + rem number = number/10 END WHILE IF temp == reverse THEN PRINT "Number is Fancy" ELSE PRINT "Number is Not Fancy" END IF END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE variables number, reverse, rem, temp READ number SET reverse = 0, temp = number....

Software Fundamentals#153

Consider the output: “0, 2, 4, 6, 8 ,10 ,12, 16” Which of the below given pseudo code snippet gives the above output?

A
BEGIN DECLARE number, count, even SET count <-- 8, number <-- 0, even <-- 0 WHILE number<count PRINT even SET even <-- even + 2 number <-- number + 1 END WHILE PRINT even END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE number, count, even SET count <-- 8, number <-- 0, even <-- 0 WHILE number<count ....

Software Fundamentals#154

Predict the output of the given flowchart.

A
1 2
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 1 2.

Software Fundamentals#155

Iteration/looping is a repetition of___________ Select one or more:

A
single statement
B
Block of statements

The correct answers are: single statement, Block of statements.

Software Fundamentals#156

Do-while looping statement is almost same as______

A
While loop
B
FOR loop
C
Bubble Sort
D
Merge Sort

The correct answer is: While loop.

Software Fundamentals#157
Logic Block
1
What is true about FOR LOOP?
A
In for loop, the exact number of iterations is known
B
WHILE loop
C
DO-WHILE loop
D
Bubble Sort

The correct answer is: In for loop, the exact number of iterations is known.

Software Fundamentals#158

Jack wants to book flight tickets in Feather-Airways’ online portal for his family of five. Passenger details like name, age, gender etc. should be entered for each member. The same process of getting details continues for all the five members. The above scenario is a good example for which looping statements?

A
For loop
B
WHILE loop
C
DO-WHILE loop
D
Bubble Sort

The correct answer is: For loop.

Software Fundamentals#159
Logic Block
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
What will be the output for WHILE loop? BEGIN DECLARE number SET number <-- 30 WHILE number>0 number <-- number-4 END WHILE PRINT number END
A
-2
B
FOR loop
C
WHILE loop
D
DO-WHILE loop

The correct answer is: -2.

Software Fundamentals#160
Logic Block
1
2
3
4
5
6
7
8
9
What is the output for FOR-loop snippet? FOR i <--1 to 15 PRINT i i <-- i+3 END FOR
A
1 4 7 10 13
B
FOR loop
C
WHILE loop
D
DO-WHILE loop

The correct answer is: 1 4 7 10 13.

Software Fundamentals#161

Which of the following symbols is inappropriate in building the flowchart pertaining to sequential flow of program?

A
Diamond
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Diamond.

Software Fundamentals#162

The statement / statements within the loop must get executed at least once except for do-while statement. State True/False.

A
TRUE
B
FALSE

This statement is false. The statement / statements within the loop must get executed at least once except for do-while state is incorrect.

Software Fundamentals#163

Which of the following statements are true with respect to looping statements? Select one or more:

A
the condition under which the iterative process should get terminated must be given
B
initial condition must be applied before the loop begins to execute

The correct answers are: the condition under which the iterative process should get t, initial condition must be applied before the loop begins to .

Software Fundamentals#164

Which of the following statements are true?

A
An operand is a mandatory element in an expression., The operand in an expression can be a variable or a constant.
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: An operand is a mandatory element in an expression., The operand in an expression can be a variable ....

Software Fundamentals#165

Consider you have a Rubik cube with different colors in each face. To solve this cube, you will continue to rotate the sides until you reach same colors in all faces. This is a real time example for which looping statements?

A
While loop
B
FOR loop
C
Bubble Sort
D
Merge Sort

The correct answer is: While loop.

Software Fundamentals#166
Logic Block
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
It's Halloween. You go from house to house, tricking or treating. You get 2 candies from each house that you go to. You must return home once you collect 100 candies. Can you arrange the sequence for this loop activity. 1 BEGIN 2 SET candy count <- 0 3 END WHILE 4 DECLARE candy_count 5 WHILE candy_count<=100 6 candy count <- candy_count+2 7 END
A
1 4 2 5 6 3 7
B
FOR loop
C
WHILE loop
D
DO-WHILE loop

The correct answer is: 1 4 2 5 6 3 7.

Software Fundamentals#167

Looping statements are also called ____________

A
Iteration logic
B
FOR loop
C
WHILE loop
D
DO-WHILE loop

The correct answer is: Iteration logic.

Software Fundamentals#168

Which of the following options are the steps involved in Requirements Analysis? Select one or more:

A
Requirements Gathering
B
Analysis of the gathered requirements

The correct answers are: Requirements Gathering, Analysis of the gathered requirements.

Software Fundamentals#169

From the below options, identify the role of the system analyst.

A
Creates SRS
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Creates SRS.

Software Fundamentals#170

Identify the correct statements from the below options.

A
Analysis is performed followed by High level design and then Low level design
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Analysis is performed followed by High level design and then Low level design.

Software Fundamentals#171

Match the correct objectives of each phase involved in Requirements Engineering

A
Requirements Specification → Documents all the requirements properly, Requirements Analysis → Analyzing the customer and the user/stakeholder to arrive at a definition of software requirements, Requirements Elicitation → Gathering requirements from the users, customers and other stake holders
B
Incorrect matching/order option A
C
Incorrect matching/order option B
D
Incorrect matching/order option C

The correct answer is: Requirements Specification → Documents all the requirements properly, Requirements Analysis → An....

Software Fundamentals#172

Identify the type of design that helps in transforming the data model created during requirements analysis phase into the data structures that will be used to implement the software

A
Data Design
B
Waterfall model
C
Agile model
D
Spiral model

The correct answer is: Data Design.

Software Fundamentals#173

Match the objectives of the types of design involved

A
Architecture design → Defines the modules of the system and the functions that each module perform, Low Level Design → Focuses on writing a detailed algorithm, Interface design → Describes how the software communicates with itself, and with the users interacting with the software
B
Incorrect matching/order option A
C
Incorrect matching/order option B
D
Incorrect matching/order option C

The correct answer is: Architecture design → Defines the modules of the system and the functions that each module perform,....

Software Fundamentals#174

Whenever a new product is arrived, the stock needs to be updated. This requirement is an example for non functional requirement. State true or False

A
TRUE
B
FALSE

This statement is false. Whenever a new product is arrived, the stock needs to be updated. This requirement is an example for is incorrect.

Software Fundamentals#175

Identify the possible entities from the given option Select one or more:

A
Customer
B
Sale

The correct answers are: Customer, Sale.

Software Fundamentals#176

Consider the below scenario. A team has many players and the player belongs to one team. Identify the cardinality between player and team

A
M:1
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: M:1.

Software Fundamentals#177

Which of the following are available in SRS Document?

A
Functional Requirements
B
Non Functional Requirements
C
Constraints

The correct answers are: Functional Requirements, Non Functional Requirements, Constraints.

Software Fundamentals#178

What kind of non functional requirement best suit the below scenario: Whenever the new offers are published in the online shopping site, an sms has to be sent to all the registered customers within 10 minutes of publishing

A
Performance Requirement
B
Functional requirements
C
Non-functional requirements
D
Function

The correct answer is: Performance Requirement.

Software Fundamentals#179

_______ describes how the development activities will be performed and how development phases follow each other.

A
Software Development Process
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Software Development Process.

Software Fundamentals#180

During which phase the following activities are performed: Identifying the major modules of the system, how these modules integrate, the architecture of the system and describing pseudo code for each of the identified module

A
Design
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Design.

Software Fundamentals#181

Aesthetics of the website is part of the functional requirement. State true or false

A
TRUE
B
FALSE

This statement is false. Aesthetics of the website is part of the functional requirement. State true or false is incorrect.

Software Fundamentals#182

_________ is the application of a systematic, disciplined, quantifiable approach to the design, development, operation and maintenance of software.

A
Software Engineering
B
System Design
C
High level design
D
Low level design

The correct answer is: Software Engineering.

Software Fundamentals#183

Requirement came to Allen Software company to develop a software for military purpose. .00001 second delay in the missile launching software would create greater loss to the human life. What kind of model is best suited for this scenario?

A
Spiral model
B
Waterfall model
C
Agile model
D
V-model

The correct answer is: Spiral model.

Software Fundamentals#184

Question 1 Pointing to a photograph of a boy Mathew said, "He is the son of the only son of my mother." How is Mathew related to that boy?

A
The boy in the photograph is the son of Mathew. Hence , Mathew is the father of boy.
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: The boy in the photograph is the son of Mathew. Hence , Mathew is the father of boy..

Software Fundamentals#185

Save Tweety Silvester and Tweety are friends. Bender was one of the Silvester's enemy. One day Silvester and Tweety went on to a trip. Bender planned to kidnap Tweety.. He kidnapped and kept her in one of the hot balloons tied up to a height. There were 50 hot balloons numbered from one. Each balloon will fly to a certain height. Only the numbers having both 3 and 7 as its factors can fly upto the height of the Tweety's balloon. Silvester was confused and he didn't know which numbered balloon can fly to Tweety. (Note: If balloon number is greater than 50, or balloon number less than 1, then it should display invalid balloon number)

A
BEGIN
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: BEGIN.

Software Fundamentals#186

Hide and Seek One day, Bunny and his friends were playing hide and seek in the forest. Tom went along to hide. He finds an abandoned bag containing a board(8x8) game in a cave. He gets excited and starts playing the game only to realizes that it's magical. He has three chances to roll the dice. Each turn's outcome will lead into a new surrounding and some would be dangerous. If the outcome of rolling dices is in multiples of 3 then he will be caught in a dangerous phase. Note if any one outcome is multiple of 3, then tom is in danger. (If the outcome of rolling dices is either 0 or less than that you should tell Tom as "Invalid Turn". )

A
BEGIN DECLARE variables turn1,turn2,turn3 READ turn1, turn2, turn3 IF turn1>0 AND turn2>0 AND turn3>0 THEN IF turn1%3==0 OR turn2%3==0 OR turn3%3==0 THEN PRINT "Tom is in Danger" ELSE PRINT "Tom is Safe" END IF ELSE PRINT "Invalid turn" END IF END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE variables turn1,turn2,turn3 READ turn1, turn2, turn3 IF turn1>0 AND turn2>0 AND....

Software Fundamentals#187
Logic Block
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Choose the correct options to complete the pseudo-code and determine whether the number is positive, zero, or negative. BEGIN DECLARE number READ number IF _________ PRINT “Number is positive” IF _________ PRINT “Number is zero” IF _________ PRINT “Number is Negative” END IF END
A
number>0, number==0, number<0
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: number>0, number==0, number<0.

Software Fundamentals#188

You are returning home from a hotel. On the way, you find a sealed envelope in a street, fully addressed with unused stamps on it. What would you do???

A
post it at the nearest mail box.
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: post it at the nearest mail box..

Software Fundamentals#189

Decision statements are also called as _______________.

A
Selection logic
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Selection logic.

Software Fundamentals#190

When a single if-else logic is used, how many possible choices can be there?

A
2
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 2.

Software Fundamentals#191

If a doctor gives you 3 pills and tells you to take one pill every half hour, how long would it take before all the pills had been taken?

A
1 hour
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 1 hour.

Software Fundamentals#192

From the option, find the correct pseudo-code to find the greatest of three numbers

A
BEGIN DECLARE variables a,b,c READ a,b,c IF a>b IF a>c PRINT “a” ELSE PRINT “c” ELSE IF b>c PRINT “b” ELSE PRINT “c” END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE variables a,b,c READ a,b,c IF a>b IF a>c ....

Software Fundamentals#193

Manual execution of the steps in the algorithm is called as _____

A
Dry run
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Dry run.

Software Fundamentals#194

A computer program must either use conditional statements or looping statements or sequential statements to solve a problem. All of them must not appear in the same program. State true/ false.

A
TRUE
B
FALSE

This statement is false. A computer program must either use conditional statements or looping statements or sequential statem is incorrect.

Software Fundamentals#195

Which statement logic implements multiple-way selection?

A
Else if ladder
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Else if ladder.

Software Fundamentals#196

By default, the flow of a program is________

A
top to bottom
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: top to bottom.

Software Fundamentals#197

Identify the logic which suits the flowchart

A
Else-if Ladder
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Else-if Ladder.

Software Fundamentals#198
Logic Block
1
Which of the keyword is used to close the IF block, while writing a pseudo-code?
A
End if
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: End if.

Software Fundamentals#199

Which of the following is not a keyword used in a pseudo-code

A
Start
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Start.

Software Fundamentals#200
Logic Block
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Consider the pseudo-code snippet. What output do you think the snippet will produce if the sample input for number is 3? BEGIN DECLARE number READ number IF number>=0 IF number == 0 PRINT “Zero” ELSE PRINT “Three” ENDIF PRINT “No Value” END
A
Three No value
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Three No value.

Software Fundamentals#201

What do you infer from this statement? “Only if Alvin is happy, then he does not go to work.”

A
If Alvin is not happy, he goes to work.
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: If Alvin is not happy, he goes to work..

Software Fundamentals#202

Go to statements in the algorithm is…

A
Used to alternate the flow of the program
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Used to alternate the flow of the program.

Software Fundamentals#203

Arrange the pseudo-code logic for checking a number divisible by 5 or 11.

A
BEGIN DECLARE number READ number IF number%5==0 THEN PRINT “number divisible by 5” ELSE IF number%11==0 THEN PRINT “number divisible by 11” ELSE PRINT ““number not divisible by 5 or 11” END IF END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE number READ number IF number%5==0 THEN PRINT “number divisible by 5” ELSE IF number%11....

Software Fundamentals#204

______________must be used when a set of statements needs to be executed only if a condition is met.

A
selection statements
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: selection statements.

Software Fundamentals#205

Identify the correct pseudo-code logic for checking a number divisible by 5 or 11.

A
BEGIN DECLARE number READ number IF number%5==0 THEN PRINT “number divisible by 5” ELSE IF number%11==0 THEN PRINT “number divisible by 11” ELSE PRINT “number not divisible by 5 or 11” END IF END
B
Incorrect pseudocode with wrong initialization/order
C
Incorrect pseudocode with missing loop or condition
D
Incorrect pseudocode with wrong output statement

The correct answer is: BEGIN DECLARE number READ number IF number%5==0 THEN PRINT “number div....

Software Fundamentals#206

If there are 6 chocolates and you take away 4, how many do you have?

A
4
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 4.

Software Fundamentals#207
Logic Block
1
2
3
4
5
6
7
8
9
READ age IF age>18 THEN PRINT “Eligible to vote” ENDIF The given pseudo-code snippet is an example for_______
A
Simple If logic
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Simple If logic.

Software Fundamentals#208

Which of the following options are valid for the relationship between the configuration objects?

A
A curved arrow indicates a compositional relation
B
A double-headed straight arrow indicates an interrelationship

The correct answers are: A curved arrow indicates a compositional relation, A double-headed straight arrow indicates an interrelationshi.

Software Fundamentals#209

Version Control allows users to lock files so they can only be edited by one person at a time and track changes to files

A
TRUE
B
FALSE

This statement is true. Version Control allows users to lock files so they can only be edited by one person at a time and tr.

Software Fundamentals#210

Choose the missing steps involved in the Change Control Process in the correct order: Identify and submit change request ____________ Plan the change Implement and test the change Verify implementation of change Close change request

A
Evaluate impacts of change request
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Evaluate impacts of change request.

Software Fundamentals#211

State true or false. Automated tools are available in the market, for managing change and versioning the software

A
TRUE
B
FALSE

This statement is true. State true or false. Automated tools are available in the market, for managing change and versioning.

Software Fundamentals#212

Version Management allows parallel concurrent development. State True or False.

A
TRUE
B
FALSE

This statement is true. Version Management allows parallel concurrent development. State True or False.

Software Fundamentals#213

Which of the following describes the change history of an object?

A
Evolution graph
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Evolution graph.

Software Fundamentals#214

_________ is a committee that makes decisions regarding whether or not proposed changes to a software project can be incorporated.

A
Change Control Board
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Change Control Board.

Software Fundamentals#215

From the options identify the features that are part of the software configuration management

A
Version management
B
Concurrency control
C
Synchronisation control

The correct answers are: Version management, Concurrency control, Synchronisation control.

Software Fundamentals#216

Y2K problem is an example for ------------- maintenance

A
Preventive
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Preventive.

Software Fundamentals#217

Client wanted to add a new feature to his existing application "Discount Offers" for all the existing customers. Whenever a new product comes to the supermarket, their customer's should be intimated with the week day offer. What kind of maintenance is this?

A
Perfective Maintenance
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Perfective Maintenance.

Software Fundamentals#218

Client has developed an application that allows each of their customers to store 2TB of data. As the number of Customers are increasing client feels the storage space has to be increased for smooth operations to its customers. What type of maintanence is this?

A
Preventive Maintenance
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Preventive Maintenance.

Software Fundamentals#219

In an online shopping application, during customer registration the customer was made to enter his city in a text box. As the site became popular for online shopping, the client came back to include autocomplete feature in the city field to improve user friendliness. What maintenance needs to be carried out in this scenario?

A
Perfective
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Perfective.

Software Fundamentals#220

Any changes done to the software during the operational phase of the software before project wind up is called as maintenance. State if True or False.

A
TRUE
B
FALSE

This statement is false. Any changes done to the software during the operational phase of the software before project wind up is incorrect.

Software Fundamentals#221

In Software maintenance, changes are implemented by modifying existing components and adding new components to the system. State if True or False.

A
TRUE
B
FALSE

This statement is true. In Software maintenance, changes are implemented by modifying existing components and adding new com.

Software Fundamentals#222

Software maintenance for the change of the platform is an example for --------- maintenance

A
Adaptive
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Adaptive.

Software Fundamentals#223

Which conforms that the software meets its technical specifications?

A
Verification
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Verification.

Software Fundamentals#224

The software is put into operation in the client’s environment. The client comes back to enhance the UI to attract more customers. This phase is called as ­­­­­­­­­­­­­­­­­_______________

A
Maintenance
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Maintenance.

Software Fundamentals#225

Which of the below is one of the phase of the prototype model?

A
Quick design
B
Waterfall model
C
Agile model
D
Spiral model

The correct answer is: Quick design.

Software Fundamentals#226

Major functions are addressed in the first cycles there by delivering an operational product. Which of the SDLC process models achieves this?

A
Incremental model
B
Function
C
Waterfall model
D
Agile model

The correct answer is: Incremental model.

Software Fundamentals#227

Beta technologies has undertaken a collision avoidance system software to be implemented for airports. Additional safety measures have to be automated by warning pilots when another aircraft gets closer, otherwise impacts are huge. Which of the following SDLC process models best suits the requirement?

A
Spiral model
B
Waterfall model
C
Agile model
D
V-model

The correct answer is: Spiral model.

Software Fundamentals#228

The student mark processing system software has been developed and deployed at the St. Peters university. The system shows the grade as 0 for all the students rather than the actual grade. Which phase below was not done properly during the SDLC?

A
Software Testing
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Software Testing.

Software Fundamentals#229

Which model emphasizes Validation and Verification at each level of stage containment?

A
V-Model
B
Waterfall model
C
Agile model
D
Spiral model

The correct answer is: V-Model.

Software Fundamentals#230

Consider that you have to develop a flight control system. The system is simulated as such that the original system is working. There are many potential hazards with such a system. What model would you suggest to develop the system?

A
Spiral model
B
Waterfall model
C
Agile model
D
V-model

The correct answer is: Spiral model.

Software Fundamentals#231

Testing performed by the user to ensure that the system meets the agreed upon quality attributes and the specification is called as….

A
Acceptance testing
B
Unit testing
C
Integration testing
D
System testing

The correct answer is: Acceptance testing.

Software Fundamentals#232

Choose the option that accurately represents the sequential order of phases in the Waterfall model.

A
Requirement Gathering, Analysis, Design, Implementation, Testing, Deployment, Maintenance
B
Waterfall model
C
Agile model
D
Spiral model

The correct answer is: Requirement Gathering, Analysis, Design, Implementation, Testing, Deployment, Maintenance.

Software Fundamentals#233

Scenario: LIC has manually carried out their process of premium collection procedure for the past 45 years. Now, they have employed the services of another company to automate the above. Question: Which of the following models would you suggest to the outsource company?

A
Waterfall model
B
Agile model
C
Spiral model
D
V-model

The correct answer is: Waterfall model.

Software Fundamentals#234

ABC company comes to the Allen Software Company with various requirement. The client wants the functionality to view all the employee profile, view salary information of the employee and view the leave details.Once each functionality is completed the module will be delivered to the client. Which would be the right model for this scenario

A
Incremental model
B
Functional requirements
C
Non-functional requirements
D
Function

The correct answer is: Incremental model.

Software Fundamentals#235

A client wants to develop a Web application for the new Super market store. The client want to have lot of UI components and customers will have lot of interactions with the UI. What model is best suited

A
Prototype
B
Waterfall model
C
Agile model
D
Spiral model

The correct answer is: Prototype.

Software Fundamentals#236

________ involves transformation of user needs into an effective software solution.

A
Software development process
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Software development process.

Software Fundamentals#237

Spiral life cycle model is not suitable for products that are vulnerable to large number of risks. State if True or False.

A
TRUE
B
FALSE

This statement is false. Spiral life cycle model is not suitable for products that are vulnerable to large number of risks. S is incorrect.

Software Fundamentals#238

When there is a difference between the output what is expected and the actual one is termed as……

A
Defect
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Defect.

Software Fundamentals#239

XYZ Finance Co. has, at present, started its operations in India. Based on the first six months performance, it has plans for expansion across five countries. They want to automate their operations at this stage. What is the process model that the developer should choose to adopt?

A
Evolutionary prototyping model
B
Waterfall model
C
Agile model
D
Spiral model

The correct answer is: Evolutionary prototyping model.

Software Fundamentals#240

Identify this technique of dynamic testing where, For a range of input, three values are chosen, One value above the range, One value below the range, and One value within the range

A
Equivalence partitioning
B
Testing
C
Unit testing
D
Integration testing

The correct answer is: Equivalence partitioning.

Software Fundamentals#241

What is the difference between the actual output of a software and the correct output?

A
Error
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Error.

Software Fundamentals#242

What is the type of testing in which the tester will know about the input and the expected output details based on the specification document only but no knowledge on implementation?

A
Black Box Testing
B
Unit testing
C
Integration testing
D
System testing

The correct answer is: Black Box Testing.

Software Fundamentals#243

Identify the correct phases of software testing life cycle.

A
Requirements Analysis,Test Preparation,Test Case development,Test Environment Set up,Test Execution,Test Cycle closure
B
Testing
C
Unit testing
D
Integration testing

The correct answer is: Requirements Analysis,Test Preparation,Test Case development,Test Environment Set up,Test Execution,....

Software Fundamentals#244

Which all of the following options would basis path testing perform?

A
Statement Coverage
B
Condition or Branch Coverage
C
Loop Coverage

The correct answers are: Statement Coverage, Condition or Branch Coverage, Loop Coverage.

Software Fundamentals#245

Tester is trying to test whether the values in the drop down are listed properly. What type of testing the tester performs in this scenario?

A
Black box testing
B
Unit testing
C
Integration testing
D
System testing

The correct answer is: Black box testing.

Software Fundamentals#246

After implementation of Library management system, the tester identified that certain logic are redundantly rewritten by the developers, and the coding standards are violated in few modules. What type of testing is carried out to identify these errors?

A
Static Testing
B
Unit testing
C
Integration testing
D
System testing

The correct answer is: Static Testing.

Software Fundamentals#247

Determine the cyclomatic complexity for the following code: Accept year if(year mod 4=0 and year mod 100!=0) or(year mod 400 =0) print year is leap else print year is not leap end if.

A
4
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 4.

Software Fundamentals#248

Boundary value analysis can only be used during white-box testing. State if True or False.

A
TRUE
B
FALSE

This statement is false. Boundary value analysis can only be used during white-box testing. State if True or False is incorrect.

Software Fundamentals#249

In the online shopping portal, for customer registration the password field can accept only characters in the range of 5 to 25. Derive test cases using Boundary value analysis

A
5,25,4,26
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: 5,25,4,26.

Software Fundamentals#250

Walk through is performed by the trained moderator, whereas the Inspection is usually conducted by the author itself to record defects and deviations

A
TRUE
B
FALSE

This statement is false. Walk through is performed by the trained moderator, whereas the Inspection is usually conducted by t is incorrect.

Software Fundamentals#251

The testing technique that deals with the internal logic and structure of the code is called ________.

A
WhiteBox Testing
B
Unit testing
C
Integration testing
D
System testing

The correct answer is: WhiteBox Testing.

Software Fundamentals#252

The standard document that describes all the requirements of the system is called as …

A
Software Requirement Specification
B
Requirements Gathering
C
Functional requirements
D
Non-functional requirements

The correct answer is: Software Requirement Specification.

Software Fundamentals#253

Client Comes to Allen Company for a Banking Solution. Who from the below options would be best suited to gather all the requirements correctly from the client

A
System analyst
B
Requirements Gathering
C
Functional requirements
D
Non-functional requirements

The correct answer is: System analyst.

Software Fundamentals#254

In remote control Car application, in the step by step execution of the requirement described, it is mentioned when the fuel level goes below the minimum level, the application should indicate the user in red color. In the output section of the same process it is mentioned that the indicator will glow pink. What is the kind of requirement specified in SRS?

A
Contradicting
B
Requirements Gathering
C
Functional requirements
D
Non-functional requirements

The correct answer is: Contradicting.

Software Fundamentals#255

A good SRS should be ______, ________ and _______.

A
Traceable, Consistent, Complete
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Traceable, Consistent, Complete.

Software Fundamentals#256

Client Comes to Allen Company for a Banking Solution.Which phase of SDLC is best suited to gather what is expected from client

A
Requirement analysis
B
Bubble Sort
C
Merge Sort
D
Quick Sort

The correct answer is: Requirement analysis.

Software Fundamentals#257

An SRS has the following requirement.The stock exchange shall show the stock report for the next 24 hours.What is the issue with this requirement

A
Ambiguous
B
Requirements Gathering
C
Functional requirements
D
Non-functional requirements

The correct answer is: Ambiguous.

Web Technologies#258

In the web page, we have a field called phoneno and inside this textbox field, the text : "Only numbers are allowed" must appear. This should get disappeared automatically once we type the phoneno into it. Which of the below options will suit the given scenario?

A
<input type="text" placeholder="Only numbers are allowed">
B
<input type="tel" placeholder="Only numbers are allowed">

The correct answers are: <input type="text" placeholder="Only numbers are allowed">, <input type="tel" placeholder="Only numbers are allowed">.

Web Technologies#259

Ram has designed a portal that fetches the citizens' feedback regarding the voting process in India. The portal allows the end user to choose either 'like' image or 'unlike' image, so that it gets redirected to a page : "thanks.html".

A
<form action="thanks.html"> <input type="image" src="like.jpg" alt="submit"/> <input type="image" src="unlike.jpg" alt="submit"/> </form> // we are using input tag & not img bca we want to choose between 'like' and 'unlike' images & not only display them as pics
B
Incorrect HTML/JavaScript syntax
C
Valid syntax but does not satisfy the requirement
D
Unrelated markup or method

The correct answer is: <form action="thanks.html"> <input type="image" src="like.jpg" alt="submit"/> <input type="image" ....

Web Technologies#260

Choose the relavant HTML input type attributes.

A
MobileNo
B
HTML5
C
innerHTML
D
<div>

The correct answer is: MobileNo.

Web Technologies#261

If the phone number should accept only 10 digit numbers, which of the following options will suit?

A
<input type="text" pattern="[0-9]{10}"/>
B
Incorrect HTML/JavaScript syntax
C
Valid syntax but does not satisfy the requirement
D
Unrelated markup or method

The correct answer is: <input type="text" pattern="[0-9]{10}"/>.

Web Technologies#262

Consider the below webpage:

A
<input type="date" id="date" name="date" list="holidays"> <datalist id="holidays"> <option label="Republic Day">2017-01-26</option> <option label="May Day">2017-05-01</option> <option label="Independence Day">2017-08-15</option> </datalist> // datalist is used instead of select because we can add our own options also but using select tag we can choose only between options
B
Incorrect HTML/JavaScript syntax
C
Valid syntax but does not satisfy the requirement
D
Unrelated markup or method

The correct answer is: <input type="date" id="date" name="date" list="holidays"> <datalist id="holidays"> <option label....

Web Technologies#263

Which of the following is/are the new feature(s) of HTML5?

A
Performs Client-Side validation
B
Supports offline Storage

The correct answers are: Performs Client-Side validation, Supports offline Storage.

Web Technologies#264

HTML stands for __________

A
Hyper Text Markup Language
B
HTML5
C
innerHTML
D
<div>

The correct answer is: Hyper Text Markup Language.

Web Technologies#265

Which element is a container for all the head elements, and may include the document title, scripts, styles, meta information, and more?

A
<head></head>
B
Incorrect HTML/JavaScript syntax
C
Valid syntax but does not satisfy the requirement
D
Unrelated markup or method

The correct answer is: <head></head>.

Web Technologies#266

An application that lets you search and see material on the internet is

A
Browser
B
<div>
C
<span>
D
<section>

The correct answer is: Browser.

Web Technologies#267

John wants to animate (moving effect) an element in the webpage he designed. For this, he set its CSS position property to its default value and applied the animations. If there is no syntax error in the code, what would be output he gets?

A
Animation failed because the CSS position property set to default value, Animation failed because the CSS position property set to static
B
Responsive design
C
<div>
D
<span>

The correct answer is: Animation failed because the CSS position property set to default value, Animation failed because th....

Web Technologies#268

jQuery is a JavaScript Object Notation library

A
False
B
JavaScript
C
jQuery
D
<div>

The correct answer is: False.

Web Technologies#269

Some people don’t want animation to interfere with their web page experience. What do I do if I want to let a user turn off the animation?

A
Use the jquery method:stop()
B
<div>
C
<span>
D
<section>

The correct answer is: Use the jquery method:stop().

Web Technologies#270

Raju wants to remove an event handler that was attached with on() function.Help him to select the correct option.

A
off()
B
<div>
C
<span>
D
<section>

The correct answer is: off().

Web Technologies#271

Rhita wants to replace a jQuery code '$(document).ready(fun)' using another equivalent method. Help her to find the correct method from the given options.

A
$(fun)
B
Incorrect option A
C
Incorrect option B
D
Incorrect option C

The correct answer is: $(fun).

Web Technologies#272

$("#name").remove(); This will remove the text field when you click on the button. State true or false.

A
TRUE
B
FALSE

This statement is true. $("#name").remove(); This will remove the text field when you click on the button. State true or fal.

Web Technologies#273

Bind an event handler to the "blur" JavaScript event on an element.

A
.blur()
B
JavaScript
C
<div>
D
<span>

The correct answer is: .blur().

Web Technologies#274

When referencing an HTML element using jQuery preceded by a ‘ # ‘ , what JavaScript function is this equivalent to?

A
getElementById
B
Incorrect option A
C
Incorrect option B
D
Incorrect option C

The correct answer is: getElementById.

Web Technologies#275

The following elements are newly added elements in HTML5: <section> <article> <aside>

A
Semantic elements
B
HTML5
C
innerHTML
D
<div>

The correct answer is: Semantic elements.

Web Technologies#276

Which of the following is most appropriate tag in html 5 to divide the document into logical document groups?

A
<section>
B
HTML5
C
innerHTML
D
<div>

The correct answer is: <section>.

Web Technologies#277

If you want to change the color of a link to red when moving mouse pointer on top of it, which CSS property you need to change?

A
a:hover{ color: red; }
B
CSS
C
<div>
D
<span>

The correct answer is: a:hover{ color: red; }.

Web Technologies#278

Which of the following is/are true about HTML?

A
Some of the tags are self closing while some of the tags must be explicitly closed in HTML5
B
Browser does not throw any error even if we have mistaken in the HTML syntax

The correct answers are: Some of the tags are self closing while some of the tags mus, Browser does not throw any error even if we have mistaken in.

Web Technologies#279

What is the output of the below code snippet <script type="text/javascript"> amt=55+"55"; document.write(amt); </script>

A
5555
B
JavaScript
C
<div>
D
<span>

The correct answer is: 5555.

Web Technologies#280

Choose the correct JavaScript statement which helps you to write "World of JavaScript" in a web page?

A
document.write("World of JavaScript")
B
Incorrect option A
C
Incorrect option B
D
Incorrect option C

The correct answer is: document.write("World of JavaScript").

Web Technologies#281

Which of the below is the correct syntax for exectuing some code if "amt" is equal to 5000?

A
if (amt == 5000)
B
<div>
C
<span>
D
<section>

The correct answer is: if (amt == 5000).

Web Technologies#282

Ram is the developer of Allen Software company. He is designing the website for the banking application. There is a button called 'check interest rates'. When that button is clicked, the user has to be redirected to a seperate page to show the domestic interest rates. Help Ram in accomplishing this task using the javascript.

A
window.location
B
Incorrect option A
C
Incorrect option B
D
Incorrect option C

The correct answer is: window.location.

Web Technologies#283

The parseInt() method converts the string to a integer. Before applying this function, Ram wants to know the type of the argument that is passed to the function. Which operator in javascript would support this ?

A
typeof
B
JavaScript
C
<div>
D
<span>

The correct answer is: typeof.

Web Technologies#284

Polson is allocated with the task of email validation in java script. He needs to extract character by character and check for email validation like looking for @ . etc. Which method is best suited to extract every character from the text?

A
charAt()
B
<div>
C
<span>
D
<section>

The correct answer is: charAt().

Web Technologies#285

Predict the output of the following JavaScript code: <html> <head> <script> var txt= "pass 70% fail 30%"; var pattern = /\D/g; var res= txt.match(pattern); document.write(res); </script> </head> </html>

A
p,a,s,s, ,%, ,f,a,i,l, ,%
B
JavaScript
C
HTML5
D
innerHTML

The correct answer is: p,a,s,s, ,%, ,f,a,i,l, ,%.

Web Technologies#286

Sita wishes to greet the user when the user clicks on "Greet Me" button. In which event does she need to write the JavaScript code for greeting the user?

A
onclick
B
JavaScript
C
<div>
D
<span>

The correct answer is: onclick.

Web Technologies#287

Which of the below java script code helps to change the content of the paragraph tag dynamically? <p id="pid1">Aim Higher.. Sky is your limit

A
document.getElementById("pid1").innerHTML = "Never give up!!";
B
Incorrect option A
C
Incorrect option B
D
Incorrect option C

The correct answer is: document.getElementById("pid1").innerHTML = "Never give up!!";.

Web Technologies#288

Which of the below statements are used to comment a line in JavaScript file?

A
// this is a comment
B
JavaScript
C
<div>
D
<span>

The correct answer is: // this is a comment.

Web Technologies#289

When a user views a page containing a JavaScript program, which machine actually executes the script?

A
The User's machine running a Web browser
B
JavaScript
C
<div>
D
<span>

The correct answer is: The User's machine running a Web browser.

Web Technologies#290

When you want to enclose; some JavaScript statements to an HTML file, which is the correct tag you have to use?

A
<SCRIPT>
B
JavaScript
C
HTML5
D
innerHTML

The correct answer is: <SCRIPT>.

Web Technologies#291

David, a beginner in web development trying to perform one particular operation using client side JavaScript. Choose the correct option(s) that he can't be done with client-side JavaScript?

A
Store the form's contents to a database file on the server
B
JavaScript
C
<div>
D
<span>

The correct answer is: Store the form's contents to a database file on the server.

Key Topics to Study

Based on our question bank analysis, master these concepts to score high in Essentials.

GenAISoftwareArrayPseudocodeAlgorithmSortingNeuralJavaScript
Preparation Tip

"Focus on understanding the logic behind pseudocode loops and selection statements, as they form the bulk of technical assessments."