Project Manager Questions


Q:

There are 209 doctors and nurses in a hospital. If the ratio of the doctors to the nurses is 11 : 8, then how many nurses are there in the hospital?

A) 88 B) 96
C) 108 D) 121
 
Answer & Explanation Answer: A) 88

Explanation:

Given,
The ratio of the doctors to the nurses is 11 : 8
Number of nurses = 8/19 x 209 = 88.

Report Error

View Answer Report Error Discuss

4 5612
Q:

In the following pieces of code, B and D will compile without any error. True or false ?

A: StringBuffer sb1 = "abcd";

B: Boolean b = new Boolean("abcd");

C: byte b = 255;

D: int x = 0x1234;

E: float fl = 1.2;

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

Explanation:

The code segments B and D will compile without any error. A is not a valid way to construct a StringBuffer, you need to create a StringBuffer object using "new". B is a valid construction of a Boolean (any string other than "true" or "false" to the Boolean constructor will result in a Boolean with a value of "false"). C will fail to compile because the valid range for a byte is -128 to +127 (i.e., 8 bits, signed). D is correct, 0x1234 is the hexadecimal representation in java. E fails to compile because the compiler interprets 1.2 as a double being assigned to a float (down-casting), which is not valid. You either need an explicit cast, as in "(float)1.2" or "1.2f", to indicate a float.

Report Error

View Answer Workspace Report Error Discuss

6 5605
Q:

Which of the following is NOT an objective of service transition ?

A) To plan and manage the capacity and resource requirements to manage a release B) To provide quality knowledge and information about services and service assets
C) To provide training and certification in project management D) To ensure that a service can be operated, managed and supported
 
Answer & Explanation Answer: C) To provide training and certification in project management

Explanation:
Report Error

View Answer Report Error Discuss

7 5585
Q:

Which dml command is used in conjunction with @@identity?

A) INSERT and UPDATE B) UPDATE and DELETE
C) SCOPE_IDENTITY and IDENT_CURRENT D) Commit and rollback
 
Answer & Explanation Answer: C) SCOPE_IDENTITY and IDENT_CURRENT

Explanation:

Using automatically incrementing IDENTITY columns is very popular with database developers. You don’t need to explicitly calculate unique surrogate keys when inserting new data, the IDENTITY column functionality does that for you. The IDENTITY feature also allows you to specify useful Seed and Increment properties. When you use an INSERT statement to insert data into a table with an IDENTITY column defined, SQL Server will generate a new IDENTITY value.

 

You can use the @@IDENTITY variable and the SCOPE_IDENTITY and IDENT_CURRENT functions to return the last IDENTITY value that has been generated by SQL Server. This is very useful when you need to return the key for the row that has just been inserted, back to the caller.

Report Error

View Answer Report Error Discuss

8 5477
Q:

GUI stands for

A) Graphical Universal Interface B) Graph Use Interface
C) Graphical Unique Interface D) Graphical User Interface
 
Answer & Explanation Answer: D) Graphical User Interface

Explanation:

GUI stands for Graphical User Interface.

 

A Graphical User Interface is a computer interface that allows users to interact with a device through graphical elements such as pictures and animations, as opposed to text-based commands.

Report Error

View Answer Report Error Discuss

9 5342
Q:

Explain soundex() and metaphone() ?

Answer

soundex()
The soundex() function calculates the soundex key of a string. A soundex key is a four character long alphanumeric string that represent English pronunciation of a word. he soundex() function can be used for spelling applications.
< ?php
$str = "hello";
echo soundex($str);
? >


metaphone()
The metaphone() function calculates the metaphone key of a string. A metaphone key represents how a string sounds if said by an English speaking person. The metaphone() function can be used for spelling applications.
< ?php
echo metaphone("world");
? >

Report Error

View answer Workspace Report Error Discuss

6 5209
Q:

A line is an undefined term because it

Answer

A line is an undefined term because of it :


 


1. Contains an infinite number of points


2. can be used to create other geometric shapes


3. is a term that does not have a formal definition


 


In Geometry, unless it's stated, a line will extend in one dimension and goes on forever in both ways.

Report Error

View answer Workspace Report Error Discuss

17 5189
Q:

Which entity owns ITIL now?

Answer

ITIL (Information Technology Infrastructure Library) is owned by Axelos since, 2013.

Report Error

View answer Workspace Report Error Discuss

8 5169