Mock Assessment 2026 Question Bank
In which phase of SDLC is the software constructed/developed?
The construction phase is where the software is actually built or coded. Testing, operation, and maintenance happen after construction.
Elements stored in an array can be accessed ________.
Array elements can be accessed sequentially by traversal and randomly/directly using their index.
Which of the following are self-closing/void tags in HTML5?
br, hr, img, and input are HTML void elements. They do not require separate closing tags.
What will be the output of the given JavaScript code for calculating the area of a square?
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.
Predict the output: select ABS(45.926,2) from dual.
ABS accepts one numeric argument. Passing two arguments causes an error.
What condition is essential for stable training in Generative Adversarial Networks (GANs)?
GAN training is stable when the generator and discriminator learn in balance. If one dominates the other, training can collapse or fail.
As the complexity of a generative AI model increases, the risk of ________ also increases.
More complex models can memorize training data instead of generalizing well, increasing the risk of overfitting.
Which stage in DevOps involves integrating small code changes frequently?
Continuous Integration is the DevOps practice of frequently merging and validating small code changes.
Which principle is central to Agile methodology?
The Agile Manifesto values responding to change over following a fixed plan.
Which command allows you to check whether Python is installed from the command prompt?
python --version displays the installed Python version if Python is available in the command path.
Which Python module offers functions for generating random numbers for statistical simulations?
The random module provides random number generation functions such as random(), randint(), and choice().
Select the correct statements.
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.
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?
The code swaps content[0] and content[2], so Apple and Banana exchange positions while Orange remains in the middle.
Which query displays employee names and the new salary after an increment of Rs. 1000?
sal+1000 calculates the incremented salary while selecting each employee name.
Select the command that will revert back all the updates performed by the SQL in the transaction.
ROLLBACK undoes uncommitted changes made in the current transaction.
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.
The correct query joins orders and customers using customer_id, then filters order_id between 2 and 4 and age less than 25.
When using AWS Lambda, what is the maximum execution time allowed for a single invocation of a function?
AWS Lambda allows a maximum function timeout of 15 minutes for a single invocation.
Which best describes the difference between Amazon RDS and Amazon DynamoDB?
Amazon RDS is for managed relational databases, while Amazon DynamoDB is a managed NoSQL key-value/document database service.
Which AWS service provides virtual servers in the cloud?
Amazon EC2 provides resizable virtual servers, called instances, in the AWS Cloud.
Based on our question bank analysis, master these concepts to score high in May 2026 Primers.
"Focus on understanding the logic behind pseudocode loops and selection statements, as they form the bulk of technical assessments."