Software Architect Questions


Q:

A university library budget committee must reduce exactly five of eight areas of expenditure—I, J, K, L, M, N, O and P—in accordance with the following conditions:

If both I and O are reduced, P is also reduced.
If L is reduced, neither N nor O is reduced.
If M is reduced, J is not reduced.
Of the three areas J, K, and N exactly two are reduced.

 

Question :

If both K and N are reduced, which one of the following is a pair of areas neither of which could be reduced?

A) I, L B) J, L
C) J, M D) I, J
 
Answer & Explanation Answer: B) J, L

Explanation:

This question concerns a committee’s decision about which five of eight areas of expenditure to reduce. The question requires you to suppose that K and N are among the areas that are to be reduced, and then to determine which pair of areas could not also be among the five areas that are reduced.

The fourth condition given in the passage on which this question is based requires that exactly two of K, N, and J are reduced. Since the question asks us to suppose that both K and N are reduced, we know that J must not be reduced:

Reduced         ::      K, N
Not reduced   ::      J

The second condition requires that if L is reduced, neither N nor O is reduced. So L and N cannot both be reduced. Here, since N is reduced, we know that L cannot be. Thus, adding this to what we’ve determined so far, we know that J and L are a pair of areas that cannot both be reduced if both K and N are reduced:

Reduced        ::      K, N
Not reduced  ::      J, L

Answer choice (B) is therefore the correct answer.

Report Error

View Answer Report Error Discuss

14 10885
Q:

What is the most important step in prioritizing goals?

A) deciding what is most important B) having multiple tasks lined up for each goal
C) determining categories for various goals D) writing a list of goals
 
Answer & Explanation Answer: A) deciding what is most important

Explanation:

Always prioritize by what's most important to what is less important to us to reach our goals as soon as possible.

Report Error

View Answer Report Error Discuss

7 10621
Q:

What is the Standard Template Library?

Answer

A library of container templates approved by the ANSI committee for inclusion in the standard C++ specification. A programmer who then launches into a discussion of the generic programming model, iterators, allocators, algorithms, and such, has a higher than average understanding of the new technology that STL brings to C++ programming

Report Error

View answer Workspace Report Error Discuss

Subject: C++
Job Role: Software Architect

2 10537
Q:

Solve the Riddle :: Three men were on a boat that was stuck one mile from the shore.

One was afraid of Sharks. The other couldn't Swim. And the last one didn't have a life jacket. However, they reached the shore without any problems. How did they do it?

Answer

They walked and did this.


It was never specified that the boat was at sea. Since this logic is observed by them to tackle situation.

Report Error

View answer Workspace Report Error Discuss

22 10273
Q:

What is the difference between _construct() and _destruct() methods in php?

Answer

These two methods are bulid-in methods  in php. with  construct() we can overwride the parent class method. The inverse of the __construct() PHP capacity while making another class, is the __destruct() technique. The __destruct() technique will consequently keep running, after you've completed with the PHP class.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP
Job Role: Software Architect

5 10070
Q:

Computer storage units smallest to largest?

Answer

The smallest unit of data storage in a computer is called Bit (Binary Digit). Half a byte (four bits) is called a Nibble.


 


1 bit (binary digit) = the value of 0 or 1


8 bits = 1 byte


1024 bytes = 1 kilobyte


1024 kilobytes = 1 megabyte


1024 megabytes = 1 gigabyte


1024 gigabytes = 1 terabyte


1024 terabytes = 1 petabyte


 


Hence, Computer storage units smallest to largest i.e, in ascending order is


 1 bit  <  1 byte  <  1 KB  <  1 MB  <  1 GB  <  1TB  <  1 PB.

Report Error

View answer Workspace Report Error Discuss

9 9956
Q:

Expansion cards are inserted into

A) Peripheral Devices B) Pegs
C) Slots D) The back of the computer
 
Answer & Explanation Answer: C) Slots

Explanation:

In computing, the expansion card or board or accessory card is a printed circuit board that can be inserted into an electrical connector or expansion slot, on a computer motherboard, to add functionality to a computer system via the expansion bus.

Report Error

View Answer Report Error Discuss

13 9927
Q:

In 1990 a person is 15 years old. In 2000 that same person is 5 years old. How can this be possible?

Answer

 It can be possible in only B.C. i.e, Before Christ. That was about 2000 years ago.


 Given, 


 In 1990 B.C = 2000 + 1990 = 3990 years ago, a person is 15 years Old  


=> In 1995 B.C = 2000 + 1995 = 3995 years ago, the same person will be 10 years Old 


Therefore, In 2000 B.C = 2000 + 2000 = 4000 years ago, the same person will be 5 years Old.

Report Error

View answer Workspace Report Error Discuss

48 9681