Skip to main content

Accenture TFA MCQ | Part 2

 

Question 26

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Go-Will department store wants to automate few of its functionalities.From the below options identify the functional requirements of Go-Will department store

Select one or more:
 
 
 
 

Feedback

Question 27

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

A website for Flight Booking was developed and given to the testing team for testing. It has various fields to enter the data, out of which one of the input field will take the birth year from the user ranging from 1980 to 2060. The boundary values for testing this field are?

Select one:
 

Feedback

Question 28

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

After the development of online website for global pharmacy , it was found that there were interface errors in few of the modules. In which level of testing these errors would be identified.

Select one:
 

Feedback

Question 29

Correct
Mark 1.00 out of 1.00
Flag question

Question text

In Oracle “Salary number(8,2)” can store which format of data?

Select one:
 

Feedback

Question 30

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Predict the output of the below SQL Statement

SELECT branch_name, COUNT(DISTINCT customer_name) FROM Account GROUP BY branch_id;

Select one:
 

Feedback

Question 31

Correct
Mark 1.00 out of 1.00
Flag question

Question text

In traditional approach the information was stored in ____________

Select one:
 

Feedback

Question 32

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Which of the following keywords is used with Data Control Language statements?

Select one:
 

Feedback

Question 33

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Which values are ignored by count(*) function?

Select one:
 

Feedback

Question 34

Correct
Mark 1.00 out of 1.00
Remove flag

Question text

What options can be avoided by storing data in centralized repository?

Select one or more:
 
 

Feedback

Question 35

Correct
Mark 1.00 out of 1.00
Flag question

Question text

which of the following option can be used ,in order to quit vi editor without saving the work done ?

Select one:
 

Feedback

Question 36

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Which command in UNIX displays the list of all the users who have logged into the Unix server?


Select one:
 

Feedback

Question 37

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Unix Terminals are called Dummy terminals as they do not have _____________ capability.

Select one:
 

Feedback

Question 38

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

What does the below Unix command accomplish? 

$ vi sample

Select one:
 

Feedback

Question 39

Correct
Mark 1.00 out of 1.00
Flag question

Question text

What does the below Unix command accomplish? 

$ sed 's/ABC/ZYX/' file.txt

Select one:
 

Feedback

Question 40

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Which of the following layer acts as an interface between user and kernel ?


Select one:
 

Feedback

Question 41

Correct
Mark 1.00 out of 1.00
Flag question

Question text

If you have to prevent the code from running before the document has finished loading then what Jquery function needs to be used?

Select one:
 

Feedback

Question 42

Correct
Mark 1.00 out of 1.00
Flag question

Question text

What is used in an HTML page to give instruction to the web browser about the version of HTML being used?

Select one:
 

Feedback

Question 43

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Which tag in html is used to display a horizontal line (rule) in the document ?

Select one:
 

Feedback

Question 44

Correct
Mark 1.00 out of 1.00
Flag question

Question text

What would be the code to set all elements under the

tag to green

Select one:
 

Feedback

Question 45

Correct
Mark 1.00 out of 1.00
Flag question

Question text

What would be the code to set all elements under the tag to green

Select one:
 

Feedback

Question 46

Correct
Mark 1.00 out of 1.00
Flag question

Question text

What is the output of the following code?

  
<script type="text/javascript">
x=4+"4";
document.write(x);
</script>
 

Select one:
 

Feedback

Question 47

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Find out the well-formed xml file

Select one:
 

Feedback

Question 48

Correct
Mark 1.00 out of 1.00
Flag question

Question text

Comment in XML document is given by

Select one:
 

Feedback

Question 49

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

Which of the following fragments of XML are well-formed

Select one:
 

Feedback

Question 50

Incorrect
Mark 0.00 out of 1.00
Flag question

Question text

What is the correct XPATH that selects all the state elements that have a "speak" attribute with a value of "HIN"

Select one:
 

Feedback

Comments

Must Read:

Pyramid

/*  To Print  1    2   2    3   3   3    4   4   4   4    5   5   5   5   5    */ #include   <iostream> using   namespace   std ; int   main (){       #ifndef  ONLINE_JUDGE          freopen ( "../asset/input.txt" , "r" , stdin );          freopen ( "../asset/output.txt" , "w" , stdout );     #endif     // Code here!!      int   n ;  cin >> n ;      for ( int   i = 1 ; i <= n ; i ++){          for ( int   j = 1 ; j <=  i ; j ++){     ...

Programming using Java Hands On - Control Structures | Print Username

  Print Username Jeffy, who is going to complete the higher education in this year needs to create a simple application which accept the name of a person and welcome them with a message along with their name. She wants to read the data using the class "Scanner". Implement this scenario using Java. Sample Input 1:   Enter the name: Johson Sample Output 1: Welcome Johnson. Sample Input 2:   Enter the name: Stain Polson Sample Output 2: Welcome Stain Polson. Result Description Summary of tests *Note: All the test cases might not have same weightage +------------------------------+ | 2 tests run/ 2 tests passed | +------------------------------+

Climb Stairs With Variable Jumps

 1. You are given a number n, representing the number of stairs in a staircase. 2. You are on the 0th step and are required to climb to the top. 3. You are given n numbers, where ith element's value represents - till how far from the step you       could jump to in a single move.        You can of course jump fewer number of steps in the move. 4. You are required to print the number of different paths via which you can climb to the top. Input Format A number n .. n more elements Output Format A number representing the number of ways to climb the stairs from 0 to top. Constraints 0 <= n <= 20 0 <= n1, n2, .. <= 20 Sample Input 10 3 3 0 2 1 2 4 2 0 0 Sample Output 5 Solution: import java.io.*; import java.util.*; public class Main {     public static void main(String[] args) throws Exception {         // write your code here         Scanner sc = new Scanner(System.in);   ...

Logic Development | Object Oriented Programming Pre Quiz

 

Data Formats ( XML & JSON ) XML AND JSON XML AND JSON | Quiz 1

Data Formats ( XML & JSON )  XML AND JSON  XML AND JSON Quiz 1  

Count Binary Strings

1. You are given a number n. 2. You are required to print the number of binary strings of length n with no consecutive 0's. Note: In this problem, you are given a number n. All we need to print is the number of binary strings of length n with no consecutive 0's For example: Sample Input: 3 Sample Output: 5 How 5? We have a total of eight binary numbers for length 3, out of which we have 5 numbers in which there are no consecutive zeros. Input Format A number n Output Format A number representing the number of binary strings of length n with no consecutive 0's. Constraints 0 < n <= 45 Sample Input 6 Sample Output 21 Solution: import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws Exception {     // write your code here     Scanner sc = new Scanner(System.in);     int n = sc.nextInt();          int dp[][] = new int[n+1][2];     dp[1][0] = 1;     dp[1][1] ...

Zero One Knapsack | Recursion

 1. You are given a number n, representing the count of items. 2. You are given n numbers, representing the values of n items. 3. You are given n numbers, representing the weights of n items. 3. You are given a number "cap", which is the capacity of a bag you've. 4. You are required to calculate and print the maximum value that can be created in the bag without       overflowing it's capacity. Note: Each item can be taken 0 or 1 number of times. You are not allowed to put the same item again and again. Input Format A number n v1 v2 .. n number of elements w1 w2 .. n number of elements A number cap Output Format A number representing the maximum value that can be created in the bag without overflowing it's capacity Constraints 1 <= n <= 20 0 <= v1, v2, .. n elements <= 50 0 < w1, w2, .. n elements <= 10 0 < cap <= 10 Sample Input 5 15 14 10 45 30 2 5 1 3 4 7 Sample Output 75 Solution: import java.io.*; import java.util.*; public class Main...

Coin Change Permutations

 1. You are given a number n, representing the count of coins. 2. You are given n numbers, representing the denominations of n coins. 3. You are given a number "amt". 4. You are required to calculate and print the number of permutations of the n coins using which the       amount "amt" can be paid. Note 1: You have an infinite supply of each coin denomination i.e. same coin denomination can be                    used for many installments in payment of "amt" Note 2: You are required to find the count of permutations and not combinations i.e.                   2 + 2 + 3 = 7 and 2 + 3 + 2 = 7 and 3 + 2 + 2 = 7 are different permutations of same                    combination. You should treat them as 3 and not 1. Input Format A number n n1 n2 .. n number of elements A number amt Output Format A number representing the cou...

Algorithm Analysis and Design Concepts Data Structure and Algorithms Post-Quiz

Algorithm Analysis and Design Concepts       Data Structure and Algorithms            Post-Quiz  

Subscribe to Get's Answer by Email