Mock Assessment 2026 Question Bank
Predict the output: var x = 5 ^ "0"; document.write(parseInt(x));
JavaScript coerces "0" to 0 for bitwise operations. 5 XOR 0 equals 5.
Which command is used to find out the version of jquery?
$.ui.version is the property specifically for the jQuery UI library version.
1Predict the output of the program: public class Test { public static void main(String[] args) { int n, temp = 0; int[] num_ar = new int[]{49, 56, 23, 16, 9, 34}; int[] temp_ar = new int[num_ar.length]; for(int i=0; i<num_ar.length; i++) { temp_ar[i] = num_ar[i]; } for(int i=0; i<num_ar.length; i++) { for(int j=0; j<num_ar.length; j++) { if(temp_ar[i] < temp_ar[j]) { temp = temp_ar[i]; temp_ar[i] = temp_ar[j]; temp_ar[j] = temp; } } } for(int i=0; i<num_ar.length; i++) { for(int j=0; j<num_ar.length; j++) { if(temp_ar[i] == num_ar[j]) { System.out.print(j + " "); } } } } }
The code sorts elements ascending and prints their original indices in num_ar.
1Predict the output of the program: public class JavaIntroduction { String name; int id; double salary; JavaIntroduction(String name, int id, double salary) { this.name = name; this.id = id; this.salary = salary; } JavaIntroduction(JavaIntroduction s) { id = s.id; name = s.name; salary = s.salary; } void display() { System.out.println(name + " " + id + " " + salary); } public static void main(String[] args) { JavaIntroduction s1 = new JavaIntroduction("Harish", 256, 120000); JavaIntroduction s2 = new JavaIntroduction(s1); s1.display(); s2.display(); } }
Demonstrates a copy constructor copying field values from s1 to s2.
Which of the following options are invalid variable names in Java?
Java variables cannot start with a number or use reserved keywords like 'case'.
How can we find the length of a string in Java?
In Java, String length is retrieved via the length() method.
Which AWS service provides scalable cloud storage with a pay-as-you-go pricing model?
Amazon S3 is an object storage service built for high scalability and cost-efficiency.
What AWS service provides a fully managed and scalable container orchestration service?
Amazon ECS is a managed service used to run and scale containerized applications.
Which AWS service provides virtual servers in the cloud?
EC2 stands for Elastic Compute Cloud, providing virtualized processing power.
Which AWS service is designed for data warehousing and business intelligence applications?
Redshift is a high-performance data warehouse service for large-scale analytics.
What does AWS IAM primarily help you manage?
IAM is used to manage identities and restrict resource access.
In AWS, what is the key difference between an EC2 instance store and Amazon EBS?
Instance store data is lost when instance is stopped/terminated; EBS data is persistent.
Which two statements are equivalent? 1. 16*4 2. 16>>2 3. 16/2^2 4. 16>>>2
Both signed (>>) and unsigned (>>>) right shifts of 16 by 2 bits result in 4.
In language like C, we are able to assign a char value to int and also a float value to int without doing explicit conversion. This property is termed as _______.
Weakly typed languages allow implicit type conversions without explicit casting by the programmer.
Which technology underlies the functionality of generative AI models like GPT-3?
Generative AI models like GPT-3 are based on transformer architectures, a type of deep neural network.
Which statement is true about dataset requirements for effective generative AI training?
Diversity prevents bias and allows the model to generalize better across different prompts.
What is a current limitation of generative AI models?
AI requires human oversight to correct hallucinations and ensure factual accuracy.
Which keyword is used to retrieve unique values in a SELECT statement in MySQL SQL?
DISTINCT is the standard SQL keyword for removing duplicate rows from a result set.
_______ is the type of JOIN which join the table with itself.
A self join allows a table to be joined with itself, often used for hierarchical data.
Which query will delete the records of customers who ordered more than one item?
Uses a correlated subquery to identify customers with multiple entries in the Orders table.
Which operator is used to select rows where the Price is not equal to 100?
The diamond operator <> is the standard SQL syntax for 'not equal'.
Which command allows you to mark a point within a transaction so you can roll back to it later?
SAVEPOINT allows partial rollbacks within a larger database transaction.
Predict the output: select ABS(45.926, 2) from dual.
ABS() function takes only one argument. Passing two arguments causes a syntax error.
_______ prioritizes requirements of the system and implements them in groups.
The incremental model breaks requirements into groups, delivering the system in pieces (increments) where each adds functionality.
Identify the activities in the analysis phase.
Analysis focuses on 'what' is needed (requirements). Architecture and database design belong to the Design phase ('how').
What is the main objective of integrating security into the DevOps process in DevSecOps?
DevSecOps aims to make security a core part of the workflow rather than an afterthought. Accenture Primers Assessment - Main ASSESSMENT KEY | MAY 2026
What is the purpose of a Security Sprint in DevSecOps?
A security sprint is a dedicated cycle to harden the application and resolve security backlogs.
Which DevOps practice ensures code is packaged the same way across environments?
Containers create a portable environment including dependencies, ensuring consistent behavior everywhere.
______ attribute specifies the url track of the audio file in an <audio> element.
The 'src' (source) attribute defines the path to the media file in HTML.
Finding the location of the element with a given value is ________.
Searching is the specific algorithmic process of finding the position of a target value.
Based on our question bank analysis, master these concepts to score high in May 2026 Dumps.
"Focus on understanding the logic behind pseudocode loops and selection statements, as they form the bulk of technical assessments."