0

web technology Online Quiz - 60

Description: web technology Online Quiz - 60
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

test5

  1. 2

  2. 8

  3. 9

  4. 0


Correct Option: B

The result of below statement will be - Select * from employee where EMPID = 100 AND CITY = "NEW YORK"

  1. All Employees data

  2. Employees data whose employee ID is 100 and City is NEW YORK

  3. Employees data whose employee ID is either 100 or city is NEW YORK

  4. Employees data whose employee ID lies between 1000 and 100 and city is NEW YORK


Correct Option: B

What are the new data controls introduced in .NET 3.5?

  1. ListView and DataPager

  2. TextBox and ListBox

  3. RadioButton and RadioButtonList

  4. AdRotator and XML


Correct Option: A

.NET 3.5 framework does not support which version?

  1. Microsoft .NET 2.0

  2. Microsoft .NET 3.0

  3. Microsoft .NET 3.5

  4. Microsoft .NET 1.1


Correct Option: D

What is the new tool introduced for merging pre-compiled assemblies?

  1. ILDASM tool

  2. Remote Spy

  3. ASP.NET Merge Tool

  4. Remote File Viewer


Correct Option: C

Intellisense has been provided for?

  1. JavaScript and AJAX

  2. CSS

  3. LINQ

  4. HTML


Correct Option: A

ASP.NET 3.5 uses a different engine as of ASP.NET 2.0?

  1. True

  2. False


Correct Option: B

When is a UML Usecase diagram iused?

  1. while doing developments

  2. . while requirement gathering

  3. all of the above.

  4. None of the above


Correct Option: B

Which of the following statements are TRUE about Use Cases?

  1. Use case diagrams are the primary tool to document requirements

  2. Use cases provide the basis of communication between sponsors and developers in planning phase

  3. Use cases description provides a good source to identify domain concepts

  4. A fully-dressed use case should include both "whats" and "hows" so that they are ready for "realization"


Correct Option: A

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) Use case diagrams are the primary tool to document requirements - This option is TRUE. Use case diagrams are a visual representation of the functional requirements of a system. They show the interactions between actors (users or external systems) and the system itself. Use case diagrams are commonly used to document and communicate the requirements of a system.

Option B) Use cases provide the basis of communication between sponsors and developers in the planning phase - This option is NOT mentioned in the question. Therefore, we cannot determine its truthfulness based on the given information.

Option C) Use cases description provides a good source to identify domain concepts - This option is NOT mentioned in the question. Therefore, we cannot determine its truthfulness based on the given information.

Option D) A fully-dressed use case should include both "whats" and "hows" so that they are ready for "realization" - This option is NOT TRUE. A fully-dressed use case includes the "what" or the goal or objective of the use case, but it does not include the "how" or the implementation details. The "how" or the implementation details are typically documented separately, such as in the form of activity diagrams or sequence diagrams.

The correct answer is A) Use case diagrams are the primary tool to document requirements. This option is correct because use case diagrams are commonly used to document and communicate the requirements of a system.

UseCase and Sequence diagram are static diagrams, true or false.

  1. True

  2. False


Correct Option: B

Knowing UML means one can handle object-oriented analysis and design

  1. True

  2. False


Correct Option: B

Three items of interest in use case diagrams are:

  1. Objects, activities, and communications

  2. Actors, messages, and activities

  3. Objects, use cases, and activities

  4. Actors, use cases, and communications


Correct Option: D

Classes in class diagrams may be grouped into packages in order to illustrate the overall organization of a model.

  1. True

  2. False


Correct Option: A

What is the symbol for a component in a deployment diagram?

  1. There is no symbol because components are not allowed in deployment diagrams.

  2. rounded rectangle, just like a state in a state diagram

  3. 3-dimensional rectangular solid (like a box).

  4. rectangle with tabs on its left side.


Correct Option: D

AI Explanation

To answer this question, you need to understand the symbols used in deployment diagrams. Let's go through each option to understand why it is correct or incorrect:

Option A) There is no symbol because components are not allowed in deployment diagrams. - This option is incorrect. Components are indeed represented in deployment diagrams, so there is a symbol for them.

Option B) Rounded rectangle, just like a state in a state diagram - This option is incorrect. While a rounded rectangle is used to represent states in a state diagram, it is not the symbol used for components in a deployment diagram.

Option C) 3-dimensional rectangular solid (like a box) - This option is incorrect. While a 3-dimensional rectangular solid is used to represent nodes in a deployment diagram, it is not the symbol used for components.

Option D) Rectangle with tabs on its left side - This option is correct. In a deployment diagram, components are represented by rectangles with tabs on their left side. This symbol helps to differentiate components from nodes.

The correct answer is Option D. This option is correct because a rectangle with tabs on its left side is the symbol used to represent a component in a deployment diagram.

Which of the following statement about statechart diagrams is correct?

  1. . All actions in a statechart diagram are attached to transitions.

  2. An event may cause an object to remain in the same state it was prior to the event.

  3. Once an object leaves a state, it cannot return to that state.

  4. Two different transitions out of the same state may overlap (they can be triggered by the same event).


Correct Option: B

AI Explanation

To answer this question, let's go through each option to understand why it is correct or incorrect:

Option A) All actions in a statechart diagram are attached to transitions. This option is incorrect. While actions in a statechart diagram can be attached to transitions, they can also be attached to states. Actions in a state are executed when an object enters or exits that state, regardless of the triggering event.

Option B) An event may cause an object to remain in the same state it was prior to the event. This option is correct. In a statechart diagram, an event can occur and cause a transition from one state to another. However, it is also possible for an event to occur and have no effect on the object's state, causing it to remain in the same state it was in prior to the event.

Option C) Once an object leaves a state, it cannot return to that state. This option is incorrect. In a statechart diagram, an object can enter and exit states multiple times. The statechart allows for transitions that can loop back to a previous state, allowing an object to return to a state it has previously been in.

Option D) Two different transitions out of the same state may overlap (they can be triggered by the same event). This option is incorrect. In a statechart diagram, two different transitions out of the same state cannot overlap. Only one transition can be triggered by a specific event at a given time.

The correct answer is B) An event may cause an object to remain in the same state it was prior to the event. This option is correct because it acknowledges that an event can occur without causing a state change, allowing the object to remain in the same state.

Which of the following statements is correct?

  1. Collaboration diagrams are dynamic models.

  2. Sequence numbers in collaboration diagrams are optional

  3. Collaboration diagrams do not show iteration since that is a low-level implementation detail.

  4. Collaboration diagrams cannot show when an object sends itself a message


Correct Option: A

AI Explanation

To answer this question, you need to understand collaboration diagrams and their characteristics. Let's go through each option to understand why it is correct or incorrect:

Option A) Collaboration diagrams are dynamic models - This option is correct. Collaboration diagrams are indeed dynamic models that represent the interactions between objects in a system. They show the flow of messages between objects and the order in which these messages are exchanged.

Option B) Sequence numbers in collaboration diagrams are optional - This option is incorrect. Sequence numbers are essential in collaboration diagrams as they help to depict the order of messages being exchanged between objects. They ensure that the interactions are represented accurately.

Option C) Collaboration diagrams do not show iteration since that is a low-level implementation detail - This option is incorrect. Collaboration diagrams can depict iteration or looping structures. They can represent repetitive interactions between objects. However, it is important to note that collaboration diagrams focus on the high-level interactions rather than the low-level implementation details.

Option D) Collaboration diagrams cannot show when an object sends itself a message - This option is incorrect. Collaboration diagrams can indeed show when an object sends itself a message. This self-message is represented by an arrow pointing to the same object.

The correct answer is A) Collaboration diagrams are dynamic models. This option is correct because collaboration diagrams are indeed dynamic models that represent the interactions between objects in a system.

Who is the key stakeholder in an UML model

  1. Business Analyst

  2. Designer

  3. Developer

  4. All of the Above


Correct Option: D

Which statements are false when partitioning a class into subclass?

  1. The subclass has additional attributes of interest

  2. . The subclass has additional associations of interest.

  3. Some of the attributes/operations in super class are not applicable to subclass

  4. The subclass concept is operated on, handled, reacted to, or manipulated differently than the superclass or other subclasses in ways that are of interest.


Correct Option: C

AI Explanation

To answer this question, you need to understand the concepts of class partitioning and subclassing in object-oriented programming.

Let's go through each option to understand why it is correct or incorrect:

Option A) The subclass has additional attributes of interest - This option is true. When partitioning a class into subclasses, it is common for each subclass to have additional attributes specific to its own characteristics or requirements.

Option B) The subclass has additional associations of interest - This option is true. Similar to additional attributes, a subclass can have additional associations or relationships with other classes that are specific to its own behavior or functionality.

Option C) Some of the attributes/operations in the superclass are not applicable to the subclass - This option is false. When creating subclasses, all the attributes and operations defined in the superclass are inherited by the subclasses. The subclasses can choose to override or extend these attributes and operations, but they cannot remove them entirely.

Option D) The subclass concept is operated on, handled, reacted to, or manipulated differently than the superclass or other subclasses in ways that are of interest - This option is true. Subclasses can define their own specialized behavior and functionality, which may be different from the superclass or other subclasses. This is one of the main reasons for partitioning a class into subclasses.

Therefore, the correct answer is C. Some of the attributes/operations in the superclass are not applicable to the subclass.

Which diagram are useful to testers

  1. Deployment Diagram

  2. Class Diagram

  3. Activity Diagram

  4. Use case diagram


Correct Option: D

Which of the following statement is true about visibility?

  1. UML uses # for public element

  2. UML uses - for private element

  3. UML uses * for protected element

  4. All of the above


Correct Option: B

AI Explanation

To answer this question, you need to understand the UML notation for visibility.

In UML, visibility is used to indicate the accessibility of an element in a class. There are three types of visibility in UML:

  • Public: Denoted by a '+' symbol. It indicates that the element is accessible by all other elements.
  • Private: Denoted by a '-' symbol. It indicates that the element is only accessible within the class where it is defined.
  • Protected: Denoted by a '#' symbol. It indicates that the element is accessible within the class where it is defined, as well as its subclasses.

Let's go through each option to understand why it is correct or incorrect:

Option A) UML uses # for public element - This option is incorrect because UML uses '+' for public elements, not '#'.

Option B) UML uses - for private element - This option is correct because UML uses '-' for private elements. Private elements are only accessible within the class where they are defined.

Option C) UML uses * for protected element - This option is incorrect because UML uses '#' for protected elements, not '*'.

Option D) All of the above - This option is incorrect because UML uses '+' for public elements, not '#'.

The correct answer is B) UML uses - for private element. This option is correct because UML uses '-' to denote that an element is private and can only be accessed within the class where it is defined.

- Hide questions