Searching for "st"

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:

A team of 8 students goes on an excursion, in two cars, of which one can seat 5 and the other only 4. In how many ways can they travel?

A) 126 B) 240
C) 120 D) 260
 
Answer & Explanation Answer: A) 126

Explanation:

There are 8 students and the maximum capacity of the cars together is 9.

 

We may divide the 8 students as follows

 

Case I: 5 students in the first car and 3 in the second Or

 

Case II: 4 students in the first car and 4 in the second

 

Hence,     in Case I: 8 students are divided into groups of 5 and 3 in 8C3 ways.

 

Similarly, in Case II: 8 students are divided into two groups of 4 and 4 in 8C4 ways.

 

Therefore, the total number of ways in which 8 students can travel is

 

8C3+8C4 = 56 + 70 = 126.

Report Error

View Answer Report Error Discuss

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 ways can 10 letters be posted in 5 post boxes, if each of the post boxes can take more than 10 letters ?

A) 5^10 B) 10^5
C) 5P5 D) 5C5
 
Answer & Explanation Answer: A) 5^10

Explanation:

Each of the 10 letters can be posted in any of the 5 boxes.

 

So, the first letter has 5 options, so does the second letter and so on and so forth for all of the 10 letters.

 

i.e. 5*5*5*….*5 (upto 10 times) = 5 ^ 10.

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:

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

Q:

Physical data models describe the details of how data is stored in the computers

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

Explanation:

They describe the details of how data is stored in the computers

Report Error

View Answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration

Q:

Database is a collection of concepts that can be used to describe the structure of a database

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

Explanation:

Database provides necessary means to achieve this abstraction. By structure of a database we mean the data types, relations, and constraints that should hold on the data.

Report Error

View Answer Workspace Report Error Discuss

Subject: Database
Job Role: Database Administration