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:

Programming using Java Hands On - Arrays | Find & Display the position of a number

  Write a java program to find the given number from the array of elements and display its position. If the number is not present in an array then display it as 0. Assume the position starts from 1. Sample Input 1 Enter the array size 4 Enter the values 9 32 17 4 Enter the number to find 17 Sample Output 1 3 Sample Input  2 Enter the array size 3 Enter the values 29 53 11 Enter the number to find 49 Sample Output  2 0 Result Description Summary of tests *Note: All the test cases might not have same weightage +------------------------------+ |4 tests run / 4 tests passed | +------------------------------+ TEST CASE PASSED

Programming using Java Hands On - Control Structures | Bill Generation

Bill Generation Tom went to a movie with his friends in a multiplex theatre and during break time he bought pizzas, puffs and cool drinks.  Consider   the following prices :  Rs.100/pizza Rs.20/puffs Rs.10/cooldrink Generate a bill for What Tom has bought. Sample Input 1: Enter the no of pizzas bought:10 Enter the no of puffs bought:12 Enter the no of cool drinks bought:5 Sample Output 1: Bill Details No of pizzas:10 No of puffs:12 No of cooldrinks:5 Total price=1290 ENJOY THE SHOW!!! Result Description Summary of tests *Note: All the test cases might not have same weightage +------------------------------+ | 6 tests run/ 6 tests passed | +------------------------------+

RDBMS Data Definition Language | Create Payments table

  Refer the below schema and create the table payments. Column Name Datatype Size Constraint Constraint name Reference table – Column name Payment_ID Varchar2 3 PRIMARY KEY PK_PAYMENTS   Ticket_ID Varchar2 3 FOREIGN KEY   FK_PAYMENTS_TICKETS TICKETS - TICKET_ID BD_ID Number 11 FOREIGN KEY   FK_PAYMENTS_BOOKINGDETAILS BOOKINGDETAILS-BD_ID DISCOUNT_ID Varchar2 3 FOREIGN KEY   FK_PAYMENTS_DISCOUNTS DISCOUNTS-DISCOUNT_ID Result Description Summary of tests +------------------------------+ | 3 tests run / 3 test passed | +------------------------------+

Logic Development | Object Oriented Programming Pre Quiz

 

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] ...

Inverted Pattern

  /* @ToDo  Inverted Pattern 1   2   3   4   5    1   2   3   4    1   2   3    1   2    1    */ #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 = 0 ; i < n ; i ++){          for ( int   j = 1 ; j <= n - i ; j ++)  ...

UNIX Introduction to Unix | Pre-Quiz

  Feedback Congratulations! You have passed by securing more that 80%. Question  1 Correct Mark 1.00 out of 1.00 Flag question Question text  Solaris is the name of a flavor of UNIX from _____________. Select one: a.  HP  b.  Sun Microsystems   c.  IBM  d.  Digital Equipment Corp Feedback Your answer is correct. The correct answer is: Sun Microsystems Question  2 Correct Mark 1.00 out of 1.00 Flag question Question text Match the following: HP-UX Answer 1 Choose... IBM Redhat Hewlett Packard Sun Microsystem   AIX             Answer 2 Choose... IBM Redhat Hewlett Packard Sun Microsystem   Linux Answer 3 Choose... IBM Redhat Hewlett Packard Sun Microsystem   Solaris Answer 4 Choose... IBM Redhat Hewlett Packard Sun Microsystem   Feedback Your answer is correct. The correct answer is: HP-UX → Hewlett Packard, AIX             → IBM, Linux → Redhat,...

0-1 Pattern

  /* @ToDo  0-1 Pattern     1     0   1     0   1   0     1   0   1   0     1   0   1   0   1 */ #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 ;      int   sign  =  1 ;      for ( int   i = 1 ; i <= n ; i ++){    ...

Target Sum Subsets - Dp

1. You are given a number n, representing the count of elements. 2. You are given n numbers. 3. You are given a number "tar". 4. You are required to calculate and print true or false, if there is a subset the elements of which add       up to "tar" or not. Input Format A number n n1 n2 .. n number of elements A number tar Output Format true or false as required Constraints 1 <= n <= 30 0 <= n1, n2, .. n elements <= 20 0 <= tar <= 50 Sample Input 5 4 2 7 1 3 10 Sample Output true Solution: import java.io.*; import java.util.*; public class Main {     public static void main(String[] args) throws Exception {         Scanner sc = new Scanner(System.in);         int n = sc.nextInt();         int[] arr = new int[n];         for(int i=0;i<n;i++)             arr[i] = sc.nextInt();         int tar = sc.nextInt(); ...

Subscribe to Get's Answer by Email