A software design pattern used to enhance the functionality of an object at runtime is: (1) Adapter (2) Decorator (3) Delegation (4) Proxy

1 Answer

Answer :

Answer: 2

Related questions

Description : While estimating the cost of software, Lines of Code (LOC) and Function Points (FP) are used to measure which one of the following? (A) Length of code (B) Size of software (C) Functionality of software (D) None of the above

Last Answer : (B) Size of software

Description : When an array is passed as a parameter to a function which of the following statements is correct? (A) The function can change values in the original array. (B) The function cannot change values in the original array. (C) Results in compilation error. (D) Results in runtime error.

Last Answer : (A) The function can change values in the original array.

Description : Which of the following differentiates between overloaded functions and overridden functions ? (A) Overloading is a dynamic or runtime binding and overridden is a static or compile time binding. ... function overloading, while redefining a function in a friend class is called function overriding.

Last Answer : (B) Overloading is a static or compile time binding and overriding is dynamic or runtime binding.

Description : The runtime for traversing all the nodes of a binary search tree with n nodes and printing them in an order is (A) O(lg n) (B) O(n lg n) (C) O(n) (D) O(n2 ) 

Last Answer : (C) O(n) 

Description : Java Servlet i) is key component of server side java development ii) is a small pluggable extension to a server that enhances functionality iii) runs only in Windows Operating System iv) allows developers to customize any java ... & iv are true C) ii, iii & iv are true D) i, ii & iv are true

Last Answer : D) i, ii & iv are true

Description : An outstanding functionality of SQL is its support for automatic ………… to the target data. A) programming B) functioning C) navigation D) notification

Last Answer : C) navigation

Description : State whether the following statement are true. i) An application-level gateway is often referred to as a proxy. ii) In proxy, a direct connection is established between the client and destination server. A) True, False B) False, True C) True, True D) False, False

Last Answer : A) True, False

Description : State whether the following statement is true. i) It takes less time to terminate a thread than a process. ii) Threads enhance efficiency in communication between different executing programs. A) i-True, ii-False B) i-True, ii-True C) i-False, ii-True D) i-False, ii-False

Last Answer : B) i-True, ii-True

Description : How do you find a really good, creative and talented interior decorator?

Last Answer : I would do it myself.

Description : What credentials are required of a certified interior decorator?

Last Answer : Interior decorators are licensed state by state. Make sure you check the requirements in your state before hiring. He or she should be able to show you proof she is licensed.

Description : Is an added charge necessary if you hire a certified interior decorator even though I would rather do the work myself?

Last Answer : A certified interior decorator is not necessary if you plan to do the work yourself. There can be advisement fees if you hire a certified interior decorator.

Description : Superficially the term object-oriented , means that, we organize software as a (A) collection of continuous objects that incorporates both data structure and behaviour. (B) collection of ... and behaviour. (D) collection of objects that incorporates both discrete data structure and behaviour.

Last Answer : (C) collection of discrete objects that incorporates both data structure and behaviour.

Description : Abstraction and encapsulation are fundamental principles that underlie the object oriented approach to software development. What can you say about the following two statements? I. Abstraction allows us to focus on what something ... and II are correct. (3) Only II is correct. (4) Only I is correct.

Last Answer : (1) Neither I nor II is correct.

Description : Which of the following statement(s) regarding a linker software is/are true? I. A function of a linker is to combine several object modules into a single load module. II. A function of a linker is to replace absolute ... modules. (1) Only I (2) Only II (3) Both I and II (4) Neither I nor Il

Last Answer : Answer: 1

Description : A good software design must have (A) High module coupling, High module cohesion (B) High module coupling, Low module cohesion (C) Low module coupling, High module cohesion (D) Low module coupling, Low module cohesion

Last Answer : (C) Low module coupling, High module cohesion

Description : The software ................. of a program or a computing system is the structure or structures of the system, which comprise software components, the externally visible properties of those components, and the relationships among them. (A) Design (B) Architecture (C) Process (D) Requirement

Last Answer : (B) Architecture

Description : A software design is highly modular if : (A) cohesion is functional and coupling is data type. (B) cohesion is coincidental and coupling is data type. (C) cohesion is sequential and coupling is content type. (D) cohesion is functional and coupling is stamp type.

Last Answer : (A) cohesion is functional and coupling is data type.

Description : The quick design of a software that is visible to end users leads to ............ (A) iterative model (B) prototype model (C) spiral model (D) waterfall model 

Last Answer : (B) prototype model

Description : Upper CASE tools are used to create diagrams and generate code for database tables  system functionality during the design phase.

Last Answer : Ans: False

Description : The package design of a bag of flour would most likely be criticized for being 1. unsafe to the environment 2. unsafe to the user 3. deceptive 4. functionality deficient 5. well suited for multiple-unit packaging

Last Answer : functionality deficient

Description : Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A. ^pat B. $pat C. pat$ D. pat^ E. None of the above

Last Answer : A. ^pat

Description : . ………….. function sets the fill pattern and color. A) floodfill () B) setcolor() C) setfillstyle() D) fillstyle ()

Last Answer : C) setfillstyle()

Description : The Excess-3 decimal code is a self-complementing code because (A) The binary sum of a code and its 9’s complement is equal to 9. (B) It is a weighted code. (C) Complement can be generated by inverting each bit pattern. (D) The binary sum of a code and its 10’s complement is equal to 9.

Last Answer : Answer: A, C

Description : The PM distributed a document to the stakeholders, which described the software to be  developed, the functionality, the users it would serve and the installation timeline. The document  was an example of: ... scope  4. It was not complete enough to be either a product or a project scope document

Last Answer : 4. It was not complete enough to be either a product or a project scope document

Description : _____and extensions are software that extends or modifies the functionality of another piece of software and require that software be used in order to function: a) Plugs Stan b) Plug outs c) Plugins d) None of These

Last Answer : c) Plugins

Description : Does proxy servers and IP address altering/hiding software available to the public truly work ?

Last Answer : Yes it works, but it can be traced, though that takes quite a bit of effort. I suppose for low level crimes they won't bother tracing it. I think the reason why most do not try to mask their IP is ... not know how to, or they think they will not get caught anyway and are just to lazy to do it.

Description : Which of the following systems run an application layer firewall using proxy software? 1) Proxy NAT 2) Proxy client 3) Client 32 4) Proxy server

Last Answer : 4) Proxy server

Description : Which of the following systems run an application layer firewall using proxy software? 1 Proxy NAT 2 Proxy client 3 Client 32 4 Proxy server

Last Answer : 4 Proxy server

Description : What does runtime error bad argument #1 to pairs (table expected, got nil) mean?

Last Answer : answer:It means that the programmer of the game made a mistake while writing the code. At some point, there is a function called pairs being run, and it has an input that should be of the data type ... what to do with this input so its only option is to crash, which is what a runtime error is.

Description : What are the built-ins that are used for setting the LOV properties at runtime?

Last Answer : get_lov_property set_lov_property

Description : Can you resize an array at runtime?

Last Answer : No

Description : What type of errors are not detected by assemblers: a. Syntax error b. Runtime error c. Logical error

Last Answer : c. Logical error

Description : What is true about PaaS? A. PaaS tool is a fully integrated development environment. B. PaaS systems support standards such as HTML, JavaScript, or other rich media technologies. C. PaaS offers the runtime environment for applications. D. All of the above

Last Answer : All of the above

Description : . _______ provides the runtime environment for applications, development and deployment tools, etc. A. IaaS B. PaaS C. SaaS D. XaaS

Last Answer : B. PaaS

Description : GAE contains the several runtime environments including : JAVA, Python, _______ & a) C# & MySQL b) Net & Ruby c) PHP & GO d) Closure & Scala

Last Answer : PHP & GO

Description : Does the Python runtime environment include a Python Interpreter? a) Yes, but it needs to be enabled in the .conf file b) No, it has to be purchased from the python store c) No, but it can be added later d) Yes

Last Answer : Yes

Description : Can I import same package/class twice? Will the JVM load the package twice at runtime?

Last Answer : Ans. One can import the same package or same class multiple times. Neither compiler nor JVM complains wil complain about it. And the JVM will internally load the class only once no matter how many times you import the same class.

Description : Define runtime variables.

Last Answer : Plans to gather and use information are represented using short hand  Notation called runtime variables (n).  Example  [Look up (Agent, “Phone number (Divya)”.N), Dial (n)]

Description : Using white space around an object will: A. Waste space that could be used for marketing B. Decrease readability C. Enhance the object and draw attention to it D. Make a borde

Last Answer : C. Enhance the object and draw attention to it

Description : Over half of the Congressional delegation from Oklahoma voted to deny Hurricane Sandy relief aid. Are you comfortable paying to rebuild their state tomorrow when they ask for aid?

Last Answer : Excellent question. I’d say let them squirm for a bit and hold up the aid, but we have people hurting. Let’s ram it through as fast as we can. Fucking politicians. We’ll deal with them later.

Description : Maintenance of intended delegation requires that decisions lying within the individual managers' authority should be made by them and not referred upwards in the organizational hierarchy. This is ... scalar principle (C) authority level principle (D) principle of absoluteness of responsibility

Last Answer : Answer: authority level principle

Description : Wider span of control is effective in organization where– (A) authority delegation is inadequate (B) tasks are complex (C) thorough subordinate training scheme exists (D) the leadership style is authoritarian

Last Answer : Answer: thorough subordinate training scheme exists

Description : Delegation of authority signifies the delegation of– (A) Authority (B) Responsibility (C) Both of the above (D) None of the above

Last Answer : Answer: Both of the above

Description : Principle of ‘Unity of Command’ means– (A) Unity of directions (B) To receive orders from one officer only (C) A fixed place for every person (D) Proper delegation to subordinates

Last Answer : Answer: To receive orders from one officer only

Description : Legitimate power is the right to manage derived from delegation based on ownership or property rights. Which of the statements given above is/are correct ? (A) 1 only (B) 2 only (C) Both 1 and 2 (D) Neither 1 nor 2

Last Answer : Answer: Both 1 and 2

Description : Who nominates persons for various parliamentary delegation to foreign countries? (1) The Speaker of Lok Sabha (2) The Prime Minister (3) The President (4) The Chairman of Rajya Sabha

Last Answer : (1) The Speaker of Lok Sabha Explanation: The Speaker has certain other functions to perform as the head of the Lok Sabha. She is the ex officio President of the Indian Parliamentary Group ( ... . Besides, she is the Chairman of the Conference of Presiding Officers of Legislative Bodies in India.

Description : The proposal for framing of the Constitution of India by an elected Constituent Assembly was made by - (1) Simon Commissions (2) Government of India Act, 1935 (3) Cripps Mission (4) British cabinet Delegation

Last Answer : (4) British cabinet Delegation Explanation: The proposal for framing of the constitution of India by an elected constituent assembly was made by British cabinet delegation.

Description : Local self-government can be best explained as an exercise in - (1) Federalism (2) Democratic decentralization (3) Administrative delegation (4) Direct democracy

Last Answer : (2) Democratic decentralization Explanation: Balwant Rai G Mehta Committee submitted its report in November 1957 and recommended the establishment of the scheme of 'democratic decentralization', which ultimately came to be known as Panchayati Raj.

Description : What is delegation of authority?

Last Answer : Sharing organizational authority to different levels and positions of an organization.