Searching for "its"

Q:

How many 7 digit numbers can be formed using the digits 1, 2, 0, 2, 4, 2, 4?

A) 120 B) 360
C) 240 D) 424
 
Answer & Explanation Answer: B) 360

Explanation:

There are 7 digits 1, 2, 0, 2, 4, 2, 4 in which 2 occurs 3 times, 4 occurs 2 times.

 

 Number of 7 digit numbers = 7!3!×2! = 420

 

But out of these 420 numbers, there are some numbers which begin with '0' and they are not 7-digit numbers. The number of such numbers beginning with '0'.

 

=6!3!×2! = 60

 

Hence the required number of 7 digits numbers = 420 - 60 = 360

Report Error

View Answer Report Error Discuss

Filed Under: Permutations and Combinations
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Bank Clerk , Bank PO

Q:

The largest producer of fruits in the Anglo-American Region is _____

A) New - England Region B) Greak Lakes Region
C) California D) Application Region
 
Answer & Explanation Answer: C) California

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

Q:

Pelagic deposits consists of _____

A) Terrigenous materials B) Cosmic materials
C) Inorganic materials D) Organic ooze materials
 
Answer & Explanation Answer: D) Organic ooze materials

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: World Geography

Q:

From a tank of petrol, which contains 200 litres of petrol, the seller replaces each time with kerosene when he sells 40 litres of petrol(or its mixture). Everytime he sells out only 40 litres of petrol(pure or impure). After replacing the petrol with kerosen 4th time, the total amount of kerosene in the mixture is 

A) 81.92L B) 96L
C) 118.08L D) None of these
 
Answer & Explanation Answer: C) 118.08L

Explanation:

The amount of petrol left after 4 operations  

200 × 1-402004  

200 × 454  

200 × 256625  

= 81.92 litres

 

Hence the amount of kerosene = 200 - 81.92 = 118. 08 litres

Report Error

View Answer Report Error Discuss

Filed Under: Alligation or Mixture
Exam Prep: GATE , CAT , Bank Exams , AIEEE
Job Role: Bank PO , Bank Clerk

Q:

What is IUnknown and what are its three parts?

Answer

IUnknown as an interface of a COM object. Every COM object has to support IUnknown, besides optionally adding other interfaces.


IUnknown is made of QueryInterface, AddRef and Release.

Report Error

View answer Workspace Report Error Discuss

Q:

What is the need to code COMMITS in batch programs?

Answer

COMMIT statements are used to release locks which are required for that unit of work, and then permit a new unit of work. In other words, if COMMITS are not coded in the program and the program has been sent for execution, then while processing, in place of just going back to a few inserts since the nearest commit, the program has to go back to the inserts which were made during the entire run of the program. This extra process takes around twice or thrice the time taken normally.

Report Error

View answer Workspace Report Error Discuss

Q:

Define stored procedure. What are its advantages and disadvantages?

Answer

A stored procedure is a segment of declarative SQL statements stored inside the database catalog. A stored procedure can be invoked by triggers, other stored procedures or applications such as Java, C#, PHP, etc.


Advantages 



- Typically stored procedures help increase the performance of the applications. Once created, stored procedures are compiled and stored in the database. However MySQL implements the stored procedures slightly different. MySQL stored procedures are compiled on demand. After compiling a stored procedure, MySQL puts it to a cache. And MySQL maintains its own stored procedure cache for every single connection. If an application uses a stored procedure multiple times in a single connection, the compiled version is used, otherwise the stored procedure works like a query.


- Stored procedures helps reduce the traffic between application and database server because instead of sending multiple lengthy SQL statements, the application has to send only name and parameters of the stored procedure.


- Stored procedures are reusable and transparent to any applications. Stored procedures expose the database interface to all applications so that developers don’t have to develop functions that are already supported in stored procedures.


- Stored procedures are secure. Database administrator can grant appropriate permissions to applications that access stored procedures in the database without giving any permission on the underlying database tables.


Disadvantages


- If you use a lot of stored procedures, the memory usage of every connection that is using those stored procedures will increase substantially. In addition, if you overuse a large number of logical operations inside store procedures, the CPU usage will also increase because database server is not well-designed for logical operations.


- A constructs of stored procedures make it more difficult to develop stored procedures that have complicated business logic.


- It is difficult to debug stored procedures. Only few database management systems allow you to debug stored procedures. Unfortunately, MySQL does not provide facilities for debugging stored procedures.


-It is not easy to develop and maintain stored procedures. Developing and maintaining stored procedures are often required specialized skill set that not all application developers possess. This may lead to problems in both application development and maintenance phases.

Report Error

View answer Workspace Report Error Discuss

Q:

How does Microsoft classify security threats to its software?

Answer

Microsoft classifies such threats into 4 indicators, which are low, moderate, important, and critical. Such indicators are available as reference under the Microsoft bulletin.

Report Error

View answer Workspace Report Error Discuss