Searching for "ING"

Q:

A standard deck of playing cards has 13 spades. How many ways can these 13 spades be arranged?

A) 13! B) 13^2
C) 13^13 D) 2!
 
Answer & Explanation Answer: A) 13!

Explanation:

The solution to this problem involves calculating a factorial. Since we want to know how 13 cards can be arranged, we need to compute the value for 13 factorial.

 

13! = (1)(2)(3)(4)(5)(6)(7)(8)(9)(10)(11)(12)(13) = 6,227,020,800

Report Error

View Answer Report Error Discuss

Q:

Which among the following is the disadvantage of circular list?

A) An info field that contains the information stored in the node B) Can’t traverse the list backward
C) A pointer to the node is given we cannot delete the node D) Both 2 and 3
 
Answer & Explanation Answer: D) Both 2 and 3

Explanation:

Both 2 and 3 are clearly the diadvantages of circular list

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

Q:

How many number of times will the digit ‘7' be written when listing the integers from 1 to 1000?

A) 243 B) 300
C) 301 D) 290
 
Answer & Explanation Answer: B) 300

Explanation:

7 does not occur in 1000. So we have to count the number of times it appears between 1 and 999. Any number between 1 and 999 can be expressed in the form of xyz where 0 < x, y, z < 9.

 

1. The numbers in which 7 occurs only once. e.g 7, 17, 78, 217, 743 etc

 

This means that 7 is one of the digits and the remaining two digits will be any of the other 9 digits (i.e 0 to 9 with the exception of 7)

 

You have 1*9*9 = 81 such numbers. However, 7 could appear as the first or the second or the third digit. Therefore, there will be 3*81 = 243 numbers (1-digit, 2-digits and 3- digits) in which 7 will appear only once.

 

In each of these numbers, 7 is written once. Therefore, 243 times.

 

 

2. The numbers in which 7 will appear twice. e.g 772 or 377 or 747 or 77

 

In these numbers, one of the digits is not 7 and it can be any of the 9 digits ( 0 to 9 with the exception of 7).

 

There will be 9 such numbers. However, this digit which is not 7 can appear in the first or second or the third place. So there are 3 * 9 = 27 such numbers.

 

In each of these 27 numbers, the digit 7 is written twice. Therefore, 7 is written 54 times.

 

 

3. The number in which 7 appears thrice - 777 - 1 number. 7 is written thrice in it.

 

Therefore, the total number of times the digit 7 is written between 1 and 999 is

 

243 + 54 + 3 = 300

Report Error

View Answer Report Error Discuss

Q:

How many lines can you draw using 3 non collinear (not in a single line) points A, B and C on a plane?

A) 3 B) 6
C) 2 D) 4
 
Answer & Explanation Answer: A) 3

Explanation:

You need two points to draw a line. The order is not important. Line AB is the same as line BA. The problem is to select 2 points out of 3 to draw different lines. If we proceed as we did with permutations, we get the following pairs of points to draw lines.

 

AB , AC

 

BA , BC

 

CA , CB

 

There is a problem: line AB is the same as line BA, same for lines AC and CA and BC and CB.

 

The lines are: AB, BC and AC ; 3 lines only.

 

So in fact we can draw 3 lines and not 6 and that's because in this problem the order of the points A, B and C is not important.

Report Error

View Answer Report Error Discuss

Q:

Which among the following is the relationship constraints

A) Cardinality ratio B) Participation constraints
C) Both A and B D) None of the above
 
Answer & Explanation Answer: C) Both A and B

Explanation:

Both of them are relation ship constraints

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

Q:

The relationship where both the participating entities belong to same entity type is called

A) Participation B) Recursive
C) Standard D) Normal
 
Answer & Explanation Answer: B) Recursive

Explanation:

The relationship where both the participating entities belong to same entity type is called Recursive relationship

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

Q:

The no of entities participating in a relation is called

A) Relation B) Degree of relationship
C) Recursive relationship D) None of the above
 
Answer & Explanation Answer: B) Degree of relationship

Explanation:

The no of entities participating in relation is called Degree of relationship

Report Error

View Answer Report Error Discuss

Filed Under: Database
Job Role: Database Administration

Q:

An entity is a thing in the real world with an independent existence.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

Entity is a real world object

Report Error

View Answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration