Complete Subject Question Bank (Dumps)
Which of the following options are valid for the relationship between the configuration objects?
The source marks the correct answer as: A curved arrow indicates a compositional relation; A double-headed straight arrow indicates an interrelationship.
Match the following facts about Version Management
The source marks the correct answer as: Lock a file → Serialized changes to file; When a member of the team wants his code to work in isolation → Create branches; If a file is changed and we want to roll back to the previous version → Automatic backup.
Version Control allows users to lock files so they can only be edited by one person at a time and track changes to files
The source marks the correct answer as: True.
Choose the missing steps involved in the Change Control Process in the correct order:
The source marks the correct answer as: Evaluate impacts of change request.
Match the correct option The standard document where the requester fills the change in the change management process Change Request Form
The source marks the correct answer as: The standard document where the requester fills the change in the change management process → Change Request Form; Process that ensures that changes made are recorded and controlled → Change Management; Who authenticates that the change proposed is valid → Change Control Board; Process that ensures different versions of the project is managed → Configuration Management.
Which of the following describes the change history of an object?
The source marks the correct answer as: Evolution graph.
From the options identify the features that are part of the software configuration management
The source marks the correct answer as: Version management; Concurrency control; Synchronisation control.
_________ is a committee that makes decisions regarding whether or not proposed changes to a software project can be incorporated.
The source marks the correct answer as: Change Control Board.
Version Management allows parallel concurrent development. State True or False.
The source marks the correct answer as: True.
State true or false. Automated tools are available in the market, for managing change and versioning the software
The source marks the correct answer as: True.
Software maintenance for the change of the platform is an example for --------- maintenance
The source marks the correct answer as: Adaptive.
In Software maintenance, changes are implemented by modifying existing components and adding new components to the system. State if True or False.
The source marks the correct answer as: True.
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?
The source marks the correct answer as: Perfective.
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?
The source marks the correct answer as: Preventive Maintanence.
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?
The source marks the correct answer as: Perfective Maintanence.
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.
The source marks the correct answer as: False.
Y2K problem is an example for ------------- maintenance
The source marks the correct answer as: Preventive.
Match the appropriate opening and closing blocks in looping statements.
The source marks the correct answer as: WHILE → END WHILE; IF → END IF; BEGIN → END; FOR → END FOR.
Which looping logic is exit controlled?
The source marks the correct answer as: do-while loop.
1BEGIN
The question asks which statement should be inserted to complete the factorial pseudocode. Option 9 hints 'The logic for finding a factorial is factorial * index', pointing to option 3: 'factorial <-- factorial * i', which is the core computation statement inside the FOR loop that multiplies the running factorial by the current index i.
Consider the output: “0, 2, 4, 6, 8 ,10 ,12, 16” Which of the below given pseudo code snippet gives the above output?
The source marks the correct answer as: 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.
Predict the output of the given flowchart.
The 8 options before the explanation form 4 paired answer choices: (0,1)='2,1'; (2,3)='1,2'; (4,5)='2,2'; (6,7)='1,1'. The embedded explanation states the print executes first printing count as 1, then count is incremented, and when the condition becomes false the final value 2 is printed. Output is '1' then '2', matching options at indices 2 and 3.
Iteration/looping is a repetition of___________
The source marks the correct answer as: single statement; Block of statements.
Do-while looping statement is almost same as______
The source marks the correct answer as: While loop.
1What is true about FOR LOOP?
The source marks the correct answer as: In for loop, the exact number of iterations is known.
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?
The source marks the correct answer as: For loop.
1What will be the output for WHILE loop? BEGIN DECLARE number SET number <-- 30 WHILE number>0 number <-- number-4 END WHILE PRINT number END
The source marks the correct answer as: -2.
1What is the output for FOR-loop snippet? FOR i <--1 to 15 PRINT i i <-- i+3 END FOR
The source marks the correct answer as: 1 4 7 10 13.
Which of the following symbols is inappropriate in building the flowchart pertaining to sequential flow of program?
The source marks the correct answer as: diamond.
The statement / statements within the loop must get executed at least once except for do-while statement. State True/False.
The source marks the correct answer as: False.
Which of the following statements are true with respect to looping statements?
The source marks the correct answer as: initial condition must be applied before the loop begins to execute; the condition under which the iterative process should get terminated must be given.
Which of the following statements are true?
An operand in an expression can be a variable, a constant, or a function call — it is not restricted to one type. Option 0 ('always a constant') and option 1 ('always a variable') are false. Option 3 ('can be a variable or a constant') is the correct and complete statement.
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?
The source marks the correct answer as: While.
Identify the logic which suits the flowchart?
The source marks the correct answer as: While loop.
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.
The correct sequence is: 1-BEGIN, 4-DECLARE candy_count, 2-SET candy_count<-0, 5-WHILE candy_count<=100, 6-candy_count+2, 3-END WHILE, 7-END, i.e. '1425637'. The source explanation confirms '1425637'. Option index 9 ('1 4 2 5 6 3 7') matches this order: declare before initialise, initialise before loop, update inside loop, end while, then END.
Looping statements are also called ____________
The source marks the correct answer as: Iteration logic.
Choose the pseudocode for the below problem statement.
Block D (indices 54-68) is the correct palindrome-check pseudocode. It correctly initialises reverse=0 and temp=number BEFORE the loop, then extracts digits with rem=number%10, builds reverse, and divides number by 10. After the loop it correctly prints 'Number is Fancy' when temp==reverse and 'Number is Not Fancy' otherwise. Block A inverts the print messages; Block B divides before extracting rem (wrong algorithm); Block C initialises inside the loop (resets each iteration) and has a missing PRINT in the THEN branch.
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?
The source marks the correct answer as: FOR index <- 0 to n copyquizmark[index] <- quizmark[index] index <- index+1 END FOR.
1Assume, number[100] <- 99. How many elements can be stored inside the array variable number?
The source marks the correct answer as: The statement gives no clue about the number of elements that can be stored.
Map the scenario to its appropriate array type
The source marks the correct answer as: Map the scenario to its appropriate array type Matrix multiplication [2D ARRAY ].
Which of the following are False with respect to the manipulation of arrays?
The source marks the correct answer as: It is possible to increase the size of the array; An array can store heterogeneous data.
Negative elements can be placed inside an array. State true / false
The source marks the correct answer as: True.
The names of all associates undergoing training are stored in an array named associate_name[50]. The 5th associates’ name is retrieved as
The source marks the correct answer as: associate_name[4]; associate_name[3+1].
Information about ___________ need not be specified when declaring an array
The source marks the correct answer as: the elements to be stored in the array.
It is not possible to do a search operation in an array that is not sorted. State True/False.
The source marks the correct answer as: False.
Random access is not possible in an array. State True/False
The source marks the correct answer as: False.
Assume you have an array named numbers of size 10. Which of the assignment is valid?
The source marks the correct answer as: numbers[0] <- 10; numbers[9] <- 5.
Which of the following statements is correct with respect to arrays?
The source marks the correct answer as: Elements in an array are arranged contiguously.
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?
The source marks the correct answer as: No.
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?
The source marks the correct answer as: two-dimensional arrays.
It is possible to traverse through an array from the first position to the last and not vice versa. State true or false.
The source marks the correct answer as: False.
An Array consists of rows and columns is also called as________
The source marks the correct answer as: Two-dimensional array.
Choose the correct Pseudo code to store names in an array and display a name.
Correct pseudocode must DECLARE the array before use, then INPUT data into it, then PRINT. Block D (indices 15-19) follows this order: BEGIN, DECLARE name[20], INPUT name, PRINT name, END. Block A (0-4) has END before PRINT; Block B (5-9) declares after INPUT; Block C (10-14) prints before declaring.
A farmer has 17 sheep and all but nine die. How many are left?
The source marks the correct answer as: 9.
In a year, there are 12 months. Seven months have 31 days. How many months have 28 days?
The source marks the correct answer as: 12.
What is the next letter in the following sequence? J,F, M, A, M, J, J, A, __.
The source marks the correct answer as: S.
Select the appropriate code snippet for the given problem statement provided as pseudocode.
The source marks the correct answer as: FOR i IN 0 to 4 DO.
Choose the correct pseudocode for the below problem statement.
Block C (indices 49-65) is correct. It reads all values first (nested FOR), then for each row (outer FOR i) sets max=arr[i][0], traverses columns (inner FOR j) to find the maximum, then PRINTS the row maximum INSIDE the outer loop (after inner FOR ends, before END FOR i). Block B prints after both loops (only one output); Block A sets max outside the row loop; Block D has READ misplaced outside the inner loop.
If you are asked to do a modular software design, which combination of coupling and cohesions should you use for designing the software?
Modular software design requires high cohesion (each module does one well-defined thing) and low coupling (modules are independent with minimal dependencies). High coupling makes modules tightly dependent, hindering modularity.
Statement: For a logically cohesive module, there are some activities to be implemented. These activities are preferred from inside the module itself. Is the above given statement true? If not, choose the correct option to make it true.
In a logically cohesive module, activities are grouped by logical similarity (e.g., all input operations). The activities to perform are selected from OUTSIDE the module by the calling code, not from inside the module itself. The given statement is therefore false, and option 0 corrects it.
What kind of controlled structure is used when we don’t know the exact number of times a code needs to be executed?
A 'while' loop is used when the exact number of iterations is unknown ahead of time — it continues as long as a condition is true. A 'for' loop is used when the iteration count is known; 'switch' and 'if-else' are selection structures, not iteration structures.
Which of the given statements is true about XP?
Options 4-7 are noise from a merged question. For XP: option 1 is true — XP conflicts with environments that demand complete documentation before coding begins, as XP values working software over comprehensive documentation and relies on iterative, adaptive development. Options 2 and 3 are false (XP requires co-located teams and is not suited for large-scale or geographically distributed systems).
Which two phases of feature driven development are repeated until no more feature exist?
In Feature Driven Development (FDD), the first three phases (Develop overall model, Build feature list, Plan by feature) are done once. Only 'Design by feature' and 'Build by feature' are repeated for each feature. Option 6 ('c and e') maps to Design by feature (c, index 2) and Build by feature (e, index 4), which are the two iterated phases.
1Predict the output What will be the output for the given code snippet startprogram public class Main { public static void main(String[] args) { try { System.out.println(4/0); try{ Int[] a={1,2,3}; System.out.println(a[3]); } catch(ArrayIndexOutOfBoundsException e) { System.out.println(“Out of bounds”); } }catch(ArthmeticException e){ System.out.println(“ArithmaticException : divide by 0”); } } } endprogram
The statement '4/0' in the outer try block immediately throws an ArithmeticException. Control jumps directly to the outer catch(ArithmeticException), so the inner try block (with the array access) is never reached. The output is only 'ArithmaticException: divide by 0'.
Which of the following declarations will cause a compile time error? a.int[] scores = null;
Option 2, 'String[] nameArray = (5,3,2);', causes a compile-time error because array initializers must use curly braces '{5,3,2}' not parentheses. Options 0 and 1 are valid array declarations. The question includes 'a. int[] scores = null;' in the stem as another valid option.
Arrow symbols in the flowchart is used to show the sequence of steps and the relationship among them. State true and false
True. Arrow symbols (flow lines) in a flowchart represent the direction of flow and show the sequence of steps and the relationships (decisions, loops) among them. This is a fundamental definition of flowchart notation.
Information hiding is achieved through which OOP principle?
Encapsulation achieves information hiding by bundling data (fields) and methods together in a class and restricting direct access to an object's internal state through access modifiers (private, protected). Inheritance relates to reuse; Typing and Hierarchy are not the primary OOP principle for information hiding.
In multibranch, the pipeline names should not contain___________.
In Jenkins Multibranch Pipelines, pipeline (branch) names must not contain spaces, as spaces in names cause issues with URL encoding and pipeline job naming conventions. Special characters are also problematic, but 'spaces' is the primary restriction stated in the Accenture Primer curriculum.
Which are the phases of CI/CD pipeline?
Options 4-7 are noise from a merged question about iterative development frameworks (answer: Agile). For CI/CD pipeline phases, the standard phases are Source, Build, Test, and Deploy. From the given options, Source (index 0) and Deploy (index 3) are the definitive CI/CD pipeline phases. Operate and Monitor are DevOps operational phases that extend beyond the core CI/CD pipeline.
Predict the output of the following statement. Select substr(“Yellow is A colour”,1,5) from dual;
In Oracle SQL, SUBSTR(string, start_position, length) uses 1-based indexing. SUBSTR('Yellow is A colour', 1, 5) starts at position 1 ('Y') and takes 5 characters, returning 'Yello'. 'Yellow' would require length 6; 'Yel' requires length 3; 'elow' would start at position 2.
column header is referred as
In relational database terminology, a column header (column name) is called an attribute. Tuples refer to rows, a domain is the set of allowed values for a column, and a table is the entire relation.
At which level of testing the non-functional requirements are tested?
System testing verifies both functional and non-functional requirements (performance, security, reliability, scalability) of the complete integrated system. Unit and integration testing focus on functional correctness at module/component level; acceptance testing validates business requirements with end-users.
Agile methodology does not accepts change of requirements at any stage
False. Agile explicitly welcomes and accommodates changing requirements even late in development. The Agile Manifesto principle states: 'Welcome changing requirements, even late in development. Agile processes harness change for the customer's competitive advantage.' The statement in the question is the opposite of Agile's core principle.
In a relational database a referential integrity constraint can be done using
Referential integrity is enforced in a relational database through a foreign key constraint, which ensures that a value in one table's column must exist as a primary key in the referenced table. Primary keys enforce entity integrity (uniqueness/not-null), not referential integrity across tables.
Which of the given options are true with respect to arrays?
Both options 0 and 1 are true: arrays have a fixed size once declared (you cannot resize a static array), and elements are accessed using a zero-based index. Option 3 is false — arrays can store negative values. Option 2 is misleading — while arrays can be sorted in decreasing order, this is not an intrinsic property of arrays.
Name the type of join used to include rows that do not have matching values
An outer join (LEFT, RIGHT, or FULL OUTER JOIN) includes rows from one or both tables that do not have matching values in the other table, filling unmatched columns with NULL. Inner join returns only matching rows; Cartesian product returns all combinations; non equi-join uses a non-equality condition but still requires some relationship.
Expand DSDM
DSDM stands for Dynamic Systems Development Method (sometimes called Dynamic Software Development Method). It is an agile project delivery framework that was developed in the UK and focuses on delivering on time and on budget. Options 1, 2, and 3 substitute incorrect words.
A primary key can have null values. State True and False.
False. A primary key cannot have NULL values — it must be NOT NULL and unique. NULL represents an unknown value, and allowing it in a primary key would violate entity integrity. This is a fundamental SQL/relational database constraint.
Meta data is declared as ________in SQL?
In SQL and DBMS, metadata (data about data — table names, column names, data types, constraints, indexes, etc.) is stored in and declared as the Data Dictionary (also called the system catalog or information schema). Options 1, 2, and 3 are not standard DBMS terminology.
Which of the following is true about Continuous Integration?
Continuous Integration is triggered immediately after developers check-in (commit/push) code to the shared repository. The CI server automatically builds and tests the new code. Option 3 is partially related but describes CI loosely; option 0 is the most precise and standard definition of when CI is performed.
The practice of automatically provisioning a new environment at the time of deployment is referred to as _____________
Infrastructure-as-Code (IaC) is the practice of automatically provisioning and managing infrastructure (servers, networks, databases) through machine-readable configuration files rather than manual processes. This enables automatic environment provisioning at deployment time. CI handles code integration; Configuration Management manages existing system state; 'Continuous Development' is not a standard term.
Scrum divides the development into short cycles called___________.
Scrum divides the development process into short, fixed-length cycles called Sprints (typically 1–4 weeks).
Which of the following is a correct declaration in java?
In Java, char arrays are declared with square brackets and size: 'char[] Tic = new char[19];'. Using parentheses like new char() or new char(14) is invalid syntax.
Raghav has developed an application to automate the billing process of the Aarvee Departmental Store. When the product is in operation, the client found that the place of the phone number, it prints the Customer ID. So he approaches Raghav to fix the issue. What type of Maintenance does the above scenario depict?
Corrective maintenance involves fixing bugs discovered after deployment. The system printed Customer ID instead of phone number, which is a defect being corrected.
Consider the scenario: You have written a code to display a menu on the screen and some operation are preformed based on the given user input. Which control structure would you use, so that the menu is guaranteed to show/display at least once on the screen, before performing the operation.
A Do-While loop is an exit-controlled loop that executes the body at least once before checking the condition, ensuring the menu is displayed before user input is processed.
1Predict the output for the given pseudo code snippet. SET count = 1 While count less than or equal to 5 Print “Hello, world” Count = count + 1 END WHILE
count starts at 1 and increments to 6 before the condition (count <= 5) fails. The loop body executes for count = 1, 2, 3, 4, 5 — exactly 5 times.
Pinky and Raju are working on an insurance project. They are not aware of SVN. So they created a common project on the server. Both retrieved the project from the server. They made relevant changes to the life. First Raju saved the changes to the server. Next Pinky saved her project identify which of the given statements are true.
Without version control (SCM), saving a shared file simply overwrites the previous version. Since Pinky saves after Raju, Pinky's version overwrites all of Raju's changes.
does the special group or group 0 is included while coupling groups using the groupCount in java.
Java's Matcher.groupCount() returns the number of capturing groups in the pattern, explicitly excluding group 0 (which represents the entire match). So group 0 is NOT included.
Many_________________ are delivered in an agile process.
In Agile, many Builds (incremental versions of working software) are delivered throughout the development process, with working software produced at the end of every sprint.
1Predict the output startprogram class Product { String productName; } class Mobile extends Product { String mobileName; void display() { super.productName = mobileName + “Brand New !”; System.out.println(mobileName +” “ + productName); } } class Main { public Static void main(String args[]) { Mobile obj = new Mobile(); obj.productName=”1”; obj.mobileName=”2”; obj.display(); } } endprogram
In display(): super.productName = mobileName + 'Brand New !' = '2Brand New !'. Then System.out.println(mobileName + ' ' + productName) prints '2 2Brand New !' because productName now holds '2Brand New !'.
1Predict the output import java.util.Scanner; class WeightLimitExceeded extends Exception { WeightLimitExceeded(int x) { System.out.print(Math.abs(15-x) + "kg: "); } } public class Main{ void validWeight(int weight) throws WeightLimitExceeded { if(weight > 15) throw new WeightLimitExceeded(weight); else System.out.println("You are ready to fly!"); } public static void main(String[] args) { Main ob = new Main(); Scanner in=new Scanner(System.in); for(int i=0;i<2;i++) { try { ob.validWeight(in.nextInt()); } catch(WeightLimitExceeded e) { System.out.println(e); } } } } What will be the output for the given code snippet
For input weight=20: WeightLimitExceeded constructor prints Math.abs(15-20)=5, so '5kg: '. Then catch prints the exception object (class name) = 'WeightLimitExceeded'. For input weight=10: 'You are ready to fly!' is printed.
1Predict the output What will be the output for the given code snippet Startprogram Public class Main{ public static void main(String args[]) try { System.out.println(4 / 0); try { int[] a = {1,2,3}; System.out.println(a[3]); } catch(ArrayIndexOutOfBoundsException e){ System.out.println(“Out of bounds”); } } catch (AritjmeticException e) { System.out.println(“AritjmeticException : divide by 0”); } } } endprogram
System.out.println(4/0) throws ArithmeticException immediately, jumping to the outer catch block. The inner try-catch is never reached. Output: 'AritjmeticException : divide by 0'.
1Predict the output What will be the output for the given code snippet startprogram Public class Main{ public static void main(String args[]) int a =10; for(int i=3;1>=0;1++) try{ System.out.println(a / i); System.out.println(“End of try”); } catch(ArithmaticException e) { System.out.println(e); } } } endprogram
Loop runs from i=3 down to i=0 (i>=0, i--). For i=3: 10/3=3, 'End of try'; i=2: 10/2=5, 'End of try'; i=1: 10/1=10, 'End of try'; i=0: ArithmeticException caught and printed.
1Predict the output What will be the output for the given code snippet Startprogram Import java.util.regex; Public class Main{ public static void main(String args[]) { String s=”ABC”; Pattern p=Pattern.compile(s); String r=”ABCABCABCABC”; Matcher m=p.matcher(r); System.out.println(m.lookingAt()); } } endprogram
Matcher.lookingAt() attempts to match the pattern at the beginning of the input. The pattern 'ABC' matches the start of 'ABCABCABCABC', so it returns true.
1Predict the output What will be the output for the given code snippet startprogram Import java.util.regex; Public class Main{ public static void main(String args[]) { Pattern p=Pattern.compile(“\\d”); String test=”India123”; Matcher m=p.matcher(test); If(m!null) { System.out.println(m.find()); System.out.println(m.matches()); } } } endprogram
Pattern \d on string 'India123': m.find() searches for a digit anywhere in the string — 'India123' contains digits, so returns true. m.matches() requires the entire string to match \d — 'India123' does not fully match a single digit, so returns false. Output: true\nfalse.
1Predict the output What will be the output for the given code snippet startprogram Public class Main{ public static void main(String args[]) { int arr[] = new int[] {0,1,2,3,4,5,6,7,8,9}; int n=6; n = arr[arr[n] / 2]; System.out.println(arr[n] / 2); } } endprogram
arr={0..9}, n=6. Step 1: n = arr[arr[6]/2] = arr[6/2] = arr[3] = 3. Step 2: System.out.println(arr[3]/2) = 3/2 = 1 (integer division).
1Predict the output public class Main{ public static void main(String args[])
int[] m = new int[13] initializes all elements to 0 (Java default for int arrays). The program compiles and runs fine, displaying 'm[0] is 0'. Option (c) is correct.
1Predict the output import java.util.regex.*; public class Hello {
replaceAll("", ",") uses an empty-string regex which matches every position between characters (and at start/end). Result: ',R,E,G,U,L,A,R,E,X,P,R,E,S,S,I,O,N,'.
1Predict the output import java.util.Scanner; public class Main { static void func(int a,int b) throws ArithmeticException, ArrayIndexOutOfBoundsException { System.out.println(10/a); int[] arr={1,2,3}; System.out.println(arr[b]); } public static void main(String[] args) { Scanner in=new Scanner(System.in); for(int i=0;i<3;i++) { try{ func(in.nextInt(),in.nextInt()); } catch(ArithmeticException e){ System.out.println("can't divide by zero"); } catch(ArrayIndexOutOfBoundsException e) { System.out.println("Out of bounds"); } } } }
For inputs (2,1), (0,any), (2,5): func(2,1) prints 10/2=5 and arr[1]=2; func(0,_) throws ArithmeticException; func(2,5) prints 5 then ArrayIndexOutOfBoundsException. Output matches option 0.
Which plugin are the appropriate functionality plugins used in multibranch pipelines for validating the pull or change requests. (Select any two) *) GitHub Branch Source
The question states 'GitHub Branch Source' is already selected. The second correct plugin for validating pull/change requests in Jenkins multibranch pipelines is 'Bitbucket Branch Source' (index 1). These two cover GitHub and Bitbucket SCM sources.
In code phase, requirements and feedback are gathered from customers and stakeholders.
False. In the DevOps lifecycle, requirements and feedback from customers are gathered in the Plan phase, not the Code phase. The Code phase is where actual development occurs.
Agile is useful when the client requirements are not clear or requirement frequently changes.
True. Agile is specifically designed for projects where requirements are unclear, incomplete, or likely to change frequently, allowing iterative delivery and continuous adaptation.
Assume we have created a table employees with the columns: employee_id, employee_name, salary, designation and manager_id. Here employee_id is set as primary key and manager_id is a foreign key which refers to employee_id in the employees. Manju wants to display the employee details along with the manager id and manager name. Select which query suits the above requirement.
The correct self-join condition is e.manager_id = m.employee_id (employee's manager_id links to the manager's employee_id). Option 2 correctly selects e.employee_id, e.employee_name, e.salary, and manager's employee_id and employee_name using this condition.
1Predict the output What will be the output for the given code snippet startprogram import java.util.Scanner; public class Main{ public static void throwit(){ System.out.println("throwit"); throw new RunTimeException(); } public static void main(String[] args){ try{ System.out.println("Hello"); throwit(); }catch(Exception re){ System.out.println("Caught"); }finally{ System.out.println("Finally"); } System.out.println("After"); } }
Execution: 'Hello' printed, throwit() called printing 'throwit' then throwing RuntimeException, caught by catch(Exception) printing 'Caught', finally block prints 'Finally', then 'After' is printed. Option 0 shows the full correct sequence.
This loop statement is also called as exit-controlled loop 1 4 2 a l ✓ o f o ✓ p ✓ i ✓ n ✓ g g ✓ r o 3 i ✓ t ✓ e ✓ r ✓ a ✓ t ✓ i ✓ o ✓ n i t 5 d ✓ o ✓ w ✓ h ✓ i ✓ l ✓ e m Question 18 Correct Mark 1.00 out of 1.00 Identify the logic which suits the flowchart? Select one:
The Do-while loop is the exit-controlled loop (condition checked after body executes). The word puzzle in the question spells out 'do while loop iteration'.
What is the output of the query:
The source marks the correct answer as: Stay home! Stay safe!.
Choose legal identifiers from the below options: a)4thvariable b)_98_
In Java, identifiers can start with a letter, underscore (_), or dollar sign ($). '4thvariable' starts with a digit (illegal), '_98_' is valid (in stem), '&count' uses & (illegal), '$says' uses $ (legal in Java), 'new' is a reserved keyword (illegal). '$says' (index 1) is the legal identifier among the options.
William is planning to develop software- Customer Feedback System, which helps the department store to predict the sales target. His requirements are clear but his requirements are not stable. Suggest a software development
The source marks the correct answer as: Prototype model.
1import java.util.ArrayList; import java.util.List; class TestMain{
The source marks the correct answer as: List<List<Integer>>db= new ArrayList<List<List<Integer>>();.
1public class Main { public void printVal(Integer i)
The source marks the correct answer as: int 127.
1public class TestMain extends Tree { public static void main(String s[])
The code attempts to use TestMain as an inner class of Tree (new Tree().new TestMain()), but TestMain is a top-level class extending Tree, not an inner class. This results in a compile-time error.
1public class Main{ public static void main (String[] args){ String a[]=new String[-9/-4];
The source marks the correct answer as: Kawasaki.
1predict output class TestMain{ int x=50;
f3 = isvalid(f1, f2): z = x (z points to f1), then the method returns z (which is f1). So f3 == f1 is true, and f1.x == f3.x is true (both point to same object, x=50). Output: true true.
1class mammel{ String name= "Dog"; String makenoise(){
mammel m = new Cat() — polymorphism applies to methods, not fields. m.makeNoise() calls Cat's overridden method ('Meow'). m.name accesses mammel's field ('Dog'). Output: 'Dog Meow'. Option 9 (mammel m=new Cat()) represents the polymorphic assignment that drives this behavior.
Bonus calculated module was unit tested by the developer. Depending on the salary the bonus needs to be calculated. Assume if one of the salary-range is between to
This question is too garbled for reliable option selection. Equivalence Partitioning divides inputs into classes where values within a class are treated equivalently. For a range like 5000–10000 with 10% bonus, valid partitions are: one value in range, one below, one above.
What is the command to concatenate fname and lname with a space in between and display the output under the heading of “Full Name”?
The source marks the correct answer as: select fname||’ ’||lname as ‘Full Name’ from employee;.
Consider the following table structure and write a query to display all the employees who have and don’t have department id assigned
The source marks the correct answer as: 1) SELECT FNAME,DEPTID,DNAME FROM EMP E LEFT OUTER JOIN DEPT D.
Select statements true about persistence Answer = i) persistence is way through which life time of object exists even after the terminates
Statement i (persistence keeps objects alive beyond program termination) is true. Statement ii (Java uses serialization for object persistence) is also true and correct. Statement iii is false (that describes non-persistence). Statement iv is false (developer must implement persistence). Option 0 (ii) is a true statement about persistence.
1public class TestMain { {
The source marks the correct answer as: 6.
1class Rays { static String s=""; protected Rays(){
new Main() calls Main constructor which first calls super() (Rays constructor), appending 'Rays' to s, then appends 'SubAlpha'. Final output: 'RaysSubAlpha'. Option 9 (System.out.println(s)) is the statement that produces this output.
Cost effectiveness - A)Ability to handle most of the changes without having to rewrite the entire program 2)Eficiency - B)Deals with the amount of time and memory
The matching is: 1)Cost effectiveness=A (handle changes without rewriting), 2)Efficiency=B (time and memory), 3)Portability=C (run on different platforms). All three pairings are correct. The answer is embedded across the stem and options.
1public class Main { {
The source marks the correct answer as: haiHellodisplayHellodisplay.
in which of the given data structures, is pointers concept applied?
Both Linked lists and Binary trees use the pointer concept. Linked list nodes contain a pointer to the next node, and binary tree nodes contain pointers to left and right children.
appending content to existing file in vi editor can be done in mode. Command mode Insert mode
In vi editor, pressing 'a' (append) enters insert mode positioned after the cursor, allowing content to be appended. This mode is referred to as 'Append mode' in the context of this question.
choose the data control Language commands?
DCL (Data Control Language) commands are GRANT and REVOKE. COMMIT is a TCL (Transaction Control Language) command. Grant (index 1) is the DCL command among the options.
choose the methods(s) of the stringbuilder class Intern() Delete()
StringBuilder methods include append() (index 0), reverse() (index 1), and replace() (index 2). All three are valid StringBuilder methods. intern() is a String method (not StringBuilder), and delete() is also a StringBuilder method but listed in the question stem.
Consider the following structure Customer (custid,custnmae,address,city,country) Choose the option display all customer who all are not from Hyderabad and delhi.
Both options are logically correct for excluding Hyderabad and Delhi. 'NOT IN ("Hyderabad","Delhi")' (index 1) and 'city <> "Hyderabad" AND city <> "Delhi"' (index 2) are equivalent and both return customers not from either city.
which of the given options are true with respect to linked lists, when compared to arrays 1.Linked lists are dynamic in size
Only 'Linked lists are dynamic in size' (statement 1, in the question stem) is true about linked lists compared to arrays. Random access is NOT possible in linked lists (must traverse sequentially), and insertions/deletions are efficient (O(1)), not expensive. None of the options (0–2) are true statements.
consider a scenario: you have written a code to display a menu on the screen and some operations are performed based on the given user input. Which control structure would you use ,so that the menu is guaranteed to
The source marks the correct answer as: do-while loop.
US Insurance project development team members are divided into two groups, one team works in the development office in India and the other group works onsite, ie,
The source marks the correct answer as: DSDM.
Which of the following is not a part of SRS document Ans – Functional Requirement
SRS (Software Requirements Specification) documents requirements — functional requirements, non-functional requirements, and hardware/software specifications. Implementation Details (how the software will be built) are NOT part of SRS; they belong in design documents.
Sam and rose are working on the loan monitoring project the head version was checked out By both sam and rose .both of them made their changes in the local
The source marks the correct answer as: Second projects gets over written by the first one.
ERD Example consider the given scenario. A product may or may not have a sale. A sale can have one or more products.Iden9fy the op9onality between the
The optionality between product and sales: a product may or may not have a sale (0 or more sales), and a sale must have one or more products. The embedded answer 'correct option: 1…0' in option 1 indicates the correct optionality notation.
In a binary search algorithm, if the element to be searched is lesses than the pivot value (middle value), then is split in half. Right interval
In binary search, when the target element is less than the pivot (middle value), the search continues in the Left interval (lower half) of the array.
1startprogram public interface studentmark{ /*insert code here*/ int mark=100;
In Java interfaces, fields are implicitly public static final. Adding 'abstract' to a field causes a compile error (abstract is for methods/classes, not fields). Adding 'private' causes a compile error (interface members must be public). Both abstract (index 4) and private (index 5) cause compilation errors.
)Amaze Agencies, Customers can apply for loan. To apply loan the customers should get registered first then apply for the loan. The admin will approve the
The answer is embedded in option 3: 'Ans: Customer, Loan, Register.' From the scenario, Customer (applies for loan), Loan (the loan entity), and Register (registration process) are the key classes.
1class High{ public High(String s){ System.out.print("From High");
The source marks the correct answer as: compile time error.
The following XML fragment is legal. Startprogram<2020SalesReport> <income>1000000</income>
The source marks this as True (option 2). Note: by strict XML specification, element names cannot begin with digits, making <2020SalesReport> invalid. However, the embedded answer in the source PDF is 'Ans: True'.
1)INNER JOIN 2)LEFT OUTERJOIN 4)RIGHT OUTER JOIN 5)FULL OUTER JOIN WITH A)Returns records that have matching values in both tables B)Returns the matched records
Standard SQL JOIN mappings: 1-INNER JOIN=A (matching values in both), 2-LEFT OUTER=B (all left, matched right), 3-RIGHT OUTER=C (all right, matched left), 4-FULL OUTER=D (all when match in either). Option 9 'd>1-a,2-b,3-c,4-d' represents this correct mapping.
Suresh Associate Professor 150000 5yrs Which is the command to display the outbusas tolos?
The source marks the correct answer as: cut -d: -f 2,3 staff dat|sort -r.
1public class demo { static int num1=85; Note=
After swapping: num1 becomes 58, num2 becomes 85. The output statements at options 8 and 9 (System.out.println for num1 and num2) produce 'num1=58' and 'num2=85'.
predict the output display the loan type and the number of customers under each loan type,considering only those loan types which are taken by more than one customer.
All three options together form the complete SQL query: SELECT loan_type, COUNT(customer_id) FROM loans_taken JOIN loans ON loan_id GROUP BY loan_type HAVING COUNT(customer_id)>1 ORDER BY loan_type.
1Consider the following css code snippet Startprogram H1{
The source marks the correct answer as: horizontal shadow 2px,vertical shadow 3px,blur 5px.
which of the below are functional interfaces?
A functional interface has exactly one abstract method. Comparable (compareTo()) and Comparator (compare()) are functional interfaces. Cloneable and Serializable are marker interfaces (no abstract methods). The explanation about use-case statements being both true also refers to the embedded statements in options 6–9.
Spot the error. Observe the given algorithm to calculate the simple interest. Identify the incorrect step (if any)
The source marks the correct answer as: Step 4.
1class Television { public void getPictureResolution(){
new Television() creates a Television object. Casting it to smartTv with ((smartTv)new Television()) throws a ClassCastException at runtime because Television is not a subtype of smartTv. The catch block prints 'Class cast exception was caught' (option 8).
in CSS, which of the following code/ codes can be used for colouringa table background in red?
The source marks the correct answer as: code 1 only.
1class TestMain{ public static void main (String[] args) { Map<Tasks, String> m= new HashMap<Tasks, String>();
Tasks class does not override hashCode() or equals(), so identity-based comparison is used. t1, t2, and t3 are three distinct objects, so all three put() calls add separate entries. m.size() = 3. Option 6 (System.out.println(m.size())) is the statement that outputs 3.
Agile methodology accepts change of requirement at any stage. State true or
The source marks the correct answer as: 1.
when an exception occours in a method.The method creates an object for that exception. To handel the exception, it is given to the run time system.the run time system searches for all the methods in the call stack,it is cannot find the
The source marks the correct answer as: nosuchmethodexception.
1class BlackBoard{ Short story=200; BlackBoard write(BlackBoard bb)
The source marks the correct answer as: 1.
1import java.util.*; public class Main {
sortFruit reverses the natural order (return str2.compareTo(str1)). Sorted descending: Watermelon, Mango, Banana, Apple. Arrays.binarySearch on a reverse-sorted array with key 'map' returns a negative index (implementation-defined, shown as -5). Output: 'Watermelon Mango Banana Apple -5'. Option 9 (return str2.compareTo(str1)) is the key comparator logic.
What is the relationship between these two Building has rooms Ans Composition
The answer 'Composition' is stated in the question stem itself ('Ans Composition'). None of the options (Aggregation, Generalization, Hierarchy) is correct. Building–Room is a composition relationship because rooms cannot exist independently of the building.
A Software needs to be developed for a Sterlin Hospital to monitor the radiations given for cancer patients. Even a very minute deviation would result in the risk of the life of the patient. Which would be the appropriate life cycle model used to implement the given scenario Select one:
The Spiral model is best suited for high-risk, safety-critical systems like medical radiation monitoring. It incorporates risk analysis at each iteration, making it ideal where even a minute deviation could be life-threatening.
Consider the scenario. For an insurance, a customer makes a claim. The claim can be a normal or a critical claim. The insurance company confirms the claim. What diagram
A State Chart Diagram (State Machine Diagram) shows state changes of a component triggered by events, depicting the dynamic nature and transitions of a system. Option 3 contains the embedded correct answer: 'Correct answer: state chart diagram'.
which of the following is not a principle of dsdm?
The source marks the correct answer as: easy to understand modes; fully transparant.
in javascript what will be returned by the following code snippet?
The source marks the correct answer as: month as number from 0 to 11.
1class ClassA protected void show(){ System.out.print("Super Class Method"),
The source marks the correct answer as: compite time error.
1class One { } class Two extends One {
The varargs method print(One[]...a2) is called three times. Static field s='Print', s is concatenated with results ('4', '3', '4'). Output: 'Print 434'. Option 8 (System.out.println(s)) is the print statement that outputs this result.
SPOT THE ERROR:
The source marks the correct answer as: step4; b and c; indexoutofbound; CTE.
Which of the given options define a set of activities that transform the client needs to an effective software solution
The source marks the correct answer as: Software planning; /; #review; compilation error; ENTITY.
1Which jquery syntax hides all the paragraph elements Ans- $(“p”).hide(); Integer i=new Integer(-5); Double d=new Double(new Integer(-6)); System.out.println(i%d); short no=4; System.out.println((no-i)*d); Ans= -5.0 -54.0 Predict the output for the given pseudo code snippet SET count = 1 WHILE count less than or equal to 5 print "Hello, world" count = count+1 END WHILE Prints “Hello, world” 5 times At which level of testing the non functional requirements are tested? System Testing Consider a scenario: You have written a code to display a menu on the screen and some operations are performed based on the given user input. Which control structure would you use, so that the menu is guaranteed to show display at least once on the screen, before performing the operation. Do-While Which two phases of Feature Driven Development are repeated until no more features exixst?
In Feature Driven Development (FDD), the first three activities (Develop Overall Model, Build Features List, Plan By Feature) are done once. The last two — Design By Feature (index 2) and Build By Feature (index 4) — are repeated iteratively for each feature until all features are complete.
Based on our question bank analysis, master these concepts to score high in Accenture Primer.
"Focus on understanding the logic behind pseudocode loops and selection statements, as they form the bulk of technical assessments."