Accenture Primer
Accenture DumpmediumAccenture PrimerPrimer-Dump

Accenture Accenture Primer Practice Question

Which 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?

Answer options

A
Develop an overall Model
B
Plan By Feature
C
Design By Feature
D
Build a Features List
E
Build By Feature What does public Boolean lookingAt() method do? Attempts to match the pattern partially or fully in the matcher A primary key can have NULL values. State True or False. False Name the type of join used to include rows that do not have matching values. Outer Join Meta data is described as ______ in SQL? Data Information ____ is a conceptual teamwork where software is developed in iterations Agile Many ____ are delivered in an agile process Builds Expand DSDM Dynamic System Development Method Which of the following are features of BitBucket? Code Review, Pipelines, Build Integrations, Jira Software Integrations, Trello Boards, Different Views, Projects, IDE Integration Trello Boards, Different Views In Code Phase, requirements and feedback are gathered from customers and stakeholders False Which plugins are the appropriate functionally plugins used in multibranch pipelines for validating the pull or charge requests
F
Github Branch Source
G
Github Main Source
H
BitBucket Branch Source
I
BitBucket Main Source Predict 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; i>=0;i--) try{ System.out.println(a/i); System.out.printing ("End of try") ; } catch (ArithmeticException e) { System.out.println(e); } } } endprogram 3 End of try 5 End of try 10 End of try java.lang.Arithmetic Exception: / by zero Predict the output What will be the output for the given code snippet startprogram public class Main{ public static void main(String[] args){ int[] m = new int[13]; System.out.println("m[0] is “ +m[0]); } } endprogram Ans: 0 Predict 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[3][]; arr[0] = new int[1]; arr[1]= new int[2]; arr[2]= new int[3]; int sum = 0; for(int i=0; i<3; ++i) for(int j=0; j<i+1; ++j) arr[i][j] = j+1; for(int i=0; i<3; ++i) for(int j=0; j<i+1; ++j) sum += arr[i][j]; System.out.print(sum); Ans: 10 Statement for a logically cohesive module, there are some activities to be implemented. These activities are performed from inside the module itself. Is the above given statement true? If not, choose the correct option to make it true. The activities are selected form outside the module _____ testing is done by the client in the real world environment. Beta Testing If you are asked to do a modular software design, which combination of coupling and cohesion should you use for designing the software? High cohesion and low coupling Which of the given statements is true about XP? XP narrows down towards a single project, developed and maintained by a single team. XP will not work in an environment where the manager insists on complete documentation before the team begins to code. XP will work in an environment where programmers are separated geographically. 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 in the place of phone number, it prints the Customer ID. What type of maintenance does the above scenario depict? Corrective Which one of the following is a correct declaration in Java? Char[] Tic = new char[19]; Scrum divides the development into short cycles called ______ Sprints Information hiding is achieved through which OOP principle ? Encapsulation Arrow symbols in the flowchart is used to show the sequence of steps and the relationship among them. State True/Faise. True Does the special group and group 0 is included while capturing groups using the groupCount in Java False Predict the output for the following statement. Select substr(‘Yellow is A Colour’,1,5) from … Yello Agile is useful when the client requirements are not clear or requirement frequently changes. True Which of the following declarations will cause a compile time error? String[] nameArray = {5,3,2}; Which of these are not agile methodology? BPM Agile Technology does not accepts change of requirements at any stage. False In a relational database a referential integrity constraint can be done using Foreign key Which one is YAML’s basic building block? Key Value Which of the given options are true with respect to arrays? The elements of an array can be accessed using index. 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 file. First Raju saved the changes to the server. Next Pinky saved her project. Identify which of the given statements are true. Pinky’s project over writes the changes done by Raju. Which kind of control structure is used when we don’t know the exact number of time when a code need to be executed While The practice of automatically provisioning a new environment at the time of deployment is referred to as ________ Infrastructure-as-Code(IaC) College management is in need of the report of students exam result. For this Tom has to join the tables students, courses, registration, exam, final_project. How many join conditions are needed to write the query. Ans: 4 Predict the output of the below query. Select max(salary), min(salary), sum(salary), avg(salary) from employee. Will display the max, min, sum and average salary earned by the employee In multibranch, the pipeline names should not contain _______ Spaces Which of the following takes more time? Design Testing Maintenance Feasibility Predict 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 True False Predict 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 Ans: 1 Predict 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 (ArithmeticException e){ System.out.println("ArithmeticException : divide by 0"); } } } Endprogram ArithmeticException : divide by 0 Predict the output What will be the output for the given code snippet startprogram public class Main { public static void main(String[] args) { int[] m = new int[13]; System.out.println("m[0] is "+m[0]); } } Endprogram Ans: The program runs fine and displays m[0] is 0. Predict 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 Ans: True Predict 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="REGULAREXPRESSION"; String = s=s.replaceAll(r."."); System.out.println(s); } } Endprogram Ans: ,R,E,G,U,L,A,R,E,X, P, R,E,S, S, I, O, N, Predict 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="India"; String r= "\\"; s=s.replaceAll(r,"a"); System.out.println(s); } } Endprogram Ans: PatternSyntaxException

Correct answer: Design By Feature, Build By Feature What does public Boolean lookingAt() method do? Attempts to match the pattern partially or fully in the matcher A primary key can have NULL values. State True or False. False Name the type of join used to include rows that do not have matching values. Outer Join Meta data is described as ______ in SQL? Data Information ____ is a conceptual teamwork where software is developed in iterations Agile Many ____ are delivered in an agile process Builds Expand DSDM Dynamic System Development Method Which of the following are features of BitBucket? Code Review, Pipelines, Build Integrations, Jira Software Integrations, Trello Boards, Different Views, Projects, IDE Integration Trello Boards, Different Views In Code Phase, requirements and feedback are gathered from customers and stakeholders False Which plugins are the appropriate functionally plugins used in multibranch pipelines for validating the pull or charge requests

Explanation

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.

Related Accenture Accenture Primer questions

Practice more Accenture Accenture Primer questions

PrimerDumps has 1400+ primer questions, 2026 mocks and coding hands-on — all free.