Back to 2026 Dashboard

May 2026 Primers

Mock Assessment 2026 Question Bank

SDLC#1

In which phase of SDLC is the software constructed/developed?

A
Construction
B
Testing
C
Operation
D
Maintenance

The construction phase is where the software is actually built or coded. Testing, operation, and maintenance happen after construction.

Arrays#2

Elements stored in an array can be accessed ________.

A
Sequentially
B
Randomly
C
Both sequentially and randomly

Array elements can be accessed sequentially by traversal and randomly/directly using their index.

HTML5 Tags#3

Which of the following are self-closing/void tags in HTML5?

A
br
B
hr
C
img
D
input

br, hr, img, and input are HTML void elements. They do not require separate closing tags.

Functions#4

What will be the output of the given JavaScript code for calculating the area of a square?

A
JavaScript Functions
B
Error since there is no variable for getting and storing the result returned from function
C
Error due to invalid function call inside script tag
D
Error in function definition inside script tag

The function call is valid and the return value can be directly concatenated into innerHTML. Among the visible options, the non-error output is represented by the page heading/text beginning with JavaScript Functions.

Functions#5

Predict the output: select ABS(45.926,2) from dual.

A
45.926
B
45.93
C
Error
D
45.92

ABS accepts one numeric argument. Passing two arguments causes an error.

GANs#6

What condition is essential for stable training in Generative Adversarial Networks (GANs)?

A
Generator loss must always be zero
B
Discriminator must outperform the generator
C
Both networks reaching a balanced learning state
D
Running only the generator

GAN training is stable when the generator and discriminator learn in balance. If one dominates the other, training can collapse or fail.

Model Complexity#7

As the complexity of a generative AI model increases, the risk of ________ also increases.

A
underfitting
B
biasing
C
overfitting

More complex models can memorize training data instead of generalizing well, increasing the risk of overfitting.

Continuous Integration#8

Which stage in DevOps involves integrating small code changes frequently?

A
Continuous Integration
B
Continuous Monitoring
C
Manual Review
D
Final Build

Continuous Integration is the DevOps practice of frequently merging and validating small code changes.

Agile Manifesto#9

Which principle is central to Agile methodology?

A
Strict documentation over working software
B
Responding to change over following a plan
C
Lengthy development cycles
D
Isolated team structures

The Agile Manifesto values responding to change over following a fixed plan.

Command Line#10

Which command allows you to check whether Python is installed from the command prompt?

A
python --version
B
python install
C
python setup
D
py run

python --version displays the installed Python version if Python is available in the command path.

Standard Library#11

Which Python module offers functions for generating random numbers for statistical simulations?

A
math
B
itertools
C
random
D
statistics

The random module provides random number generation functions such as random(), randint(), and choice().

Data Types#12

Select the correct statements.

A
Tuple is mutable
B
Set is an unordered collection of unique items
C
Dictionary is an ordered collection of key-value pairs
D
List is mutable

Tuples are immutable, sets contain unique unordered items, and lists are mutable. The dictionary statement depends on Python version, but in basic primer context dictionaries are usually taught as key-value collections rather than selected here as the intended answer.

File Handling#13

What will be the content of file shop.txt after executing the shown Python code that writes Apple, Orange, Banana and then swaps the first and third lines?

A
Banana Orange Apple
B
Apple Banana Orange
C
Orange Banana Apple
D
Banana Apple Orange

The code swaps content[0] and content[2], so Apple and Banana exchange positions while Orange remains in the middle.

SELECT Expressions#14

Which query displays employee names and the new salary after an increment of Rs. 1000?

A
SELECT ename, sal FROM emp
B
SELECT ename, sal+1000 FROM emp
C
SELECT ename, 1000 FROM emp
D
SELECT * FROM employee

sal+1000 calculates the incremented salary while selecting each employee name.

Transactions#15

Select the command that will revert back all the updates performed by the SQL in the transaction.

A
COMMIT
B
TRUNCATE
C
DELETE
D
ROLLBACK

ROLLBACK undoes uncommitted changes made in the current transaction.

Joins#16

Create a query that joins the customers and orders tables, with the customer's age being less than 25 and the order_id ranging between 2 and 4.

A
select o.order_id,item,country from orders o join customers c where o.order_id between 2 and 4 and age <25;
B
select o.order_id,item,country from orders o join customers c on o.customer_id=c.customer_id where o.order_id between 2 and 4 and age <25;
C
select o.order_id,item,country from orders o,customers c where o.order_id in 2,4 and age <25;

The correct query joins orders and customers using customer_id, then filters order_id between 2 and 4 and age less than 25.

Lambda#17

When using AWS Lambda, what is the maximum execution time allowed for a single invocation of a function?

A
15 seconds
B
1 minute
C
5 minutes
D
15 minutes

AWS Lambda allows a maximum function timeout of 15 minutes for a single invocation.

Databases#18

Which best describes the difference between Amazon RDS and Amazon DynamoDB?

A
Amazon RDS is a NoSQL database while Amazon DynamoDB is a relational database
B
Amazon RDS is a fully managed relational database service while Amazon DynamoDB is a fully managed NoSQL database service
C
Amazon RDS is used for serverless computing while Amazon DynamoDB is used for object storage
D
Amazon RDS and Amazon DynamoDB are interchangeable terms for the same database service

Amazon RDS is for managed relational databases, while Amazon DynamoDB is a managed NoSQL key-value/document database service.

Compute#19

Which AWS service provides virtual servers in the cloud?

A
Amazon S3
B
Amazon EC2
C
Amazon CloudTrail
D
AWS Glue

Amazon EC2 provides resizable virtual servers, called instances, in the AWS Cloud.

Key Topics to Study

Based on our question bank analysis, master these concepts to score high in May 2026 Primers.

Preparation Tip

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