1.
Following is the default activity availabel while a developer uses a Visual Studio to create a sequential workflow.
Correct Answer
C. OnWorkflowActivated
Explanation
The correct answer is "OnWorkflowActivated" because this is the default activity that occurs when a developer uses Visual Studio to create a sequential workflow. This activity is triggered when the workflow is activated and allows the developer to perform any necessary actions or logic at the start of the workflow.
2.
Following are the workflow templates avaliable in the MOSS 2007
Correct Answer(s)
A. Three State Workflow
B. Collect Feedback
C. Collect Signature
D. Disposition Workflow
E. Three State Workflow
Explanation
The given answer lists the available workflow templates in MOSS 2007, which are: Three State Workflow, Collect Feedback, Collect Signature, and Disposition Workflow. The repetition of "Three State Workflow" in the answer suggests that it is available as a template multiple times.
3.
Following are the workflow types avaliable in Visual Studio.
Correct Answer(s)
A. State Level Workflow
B. Sequential Workflow
Explanation
The correct answer is State Level Workflow and Sequential Workflow. These are two types of workflows available in Visual Studio. State Level Workflow is used to manage the state of an item or process, while Sequential Workflow is used to define a series of steps that need to be executed in a specific order. These workflows are commonly used in software development to automate and streamline business processes.
4.
For creating workflow using visual studio, developer need to use 'Workflow History'. whats the type of 'Workflow history' ?
Correct Answer
A. List
Explanation
The type of 'Workflow History' in creating a workflow using Visual Studio is a 'List'.
5.
You are developing a workflow for account department, you need to assign the task for user to get the amounts and other details. you used create task activity. which of the below class you used to create new task object.
createTaskIdCheck.TaskProperties = new
Correct Answer
A. SPWorkflowTaskProperties
Explanation
The correct answer is SPWorkflowTaskProperties. This class is used to create a new task object in the workflow for the account department. It contains properties that can be set for the task, such as the title, description, due date, and assigned user. By using this class, the workflow can assign the task to the appropriate user and provide them with the necessary details and amounts.
6.
What are the below options avaliable to trigger the workflow.
Correct Answer(s)
A. User can manually start the workflow.
D. The workflow start automatically when an item is Changed.
Explanation
The correct answer is "User can manually start the workflow" and "The workflow start automatically when an item is Changed". These options are available to trigger the workflow. The user has the choice to manually start the workflow whenever they want. Additionally, the workflow can also be triggered automatically when an item is changed, ensuring that any changes made to an item will initiate the workflow.
7.
You are developing a workflow for account department, you need to assign the task for user to get the amounts and other details. you used create task activity. which of the below properties you need to set.
Correct Answer(s)
B. Assign CorrelationToken to AnyUniqueString
C. Assign OwnerActivityName to ScopeofTask
D. Assign newly created GUID to TaskId
Explanation
In order to assign the task for a user to get the amounts and other details in the workflow for the account department, the following properties need to be set:
- Assign CorrelationToken to AnyUniqueString: This is used to correlate the task with a unique identifier.
- Assign OwnerActivityName to ScopeofTask: This assigns the name of the activity that owns the task.
- Assign newly created GUID to TaskId: This assigns a newly created globally unique identifier to the task.
8.
You are developing a workflow for account department, you need to assign the task for user to get the amounts and other details. you used create task activity from the tool menu. Which of the below activity will helpful to create multiple tasks and all tasks need to be generated at single instance to all.
Correct Answer
B. Parallel Activity
Explanation
The Parallel Activity would be helpful in this scenario as it allows for the creation of multiple tasks at a single instance. It enables the workflow to execute multiple tasks simultaneously, which is ideal for generating multiple tasks for the account department.
9.
You are developing a workflow for account department, you need to assign the task for user to get the amounts and other details. the task need to create for all, based on the name mentinoed by the users while submiting the form to account department.
Which of the below activity will help you to create tasks for unknow no of users, at run time.
Correct Answer
C. Replicator Activity
Explanation
The Replicator Activity is the correct answer because it allows for the creation of tasks for an unknown number of users at runtime. This activity can be used to replicate a set of child activities multiple times based on a collection of data, in this case, the names mentioned by the users while submitting the form. Each replicated instance of the child activities can be assigned to a different user, allowing for the creation of tasks for multiple users dynamically.
10.
Can we use Replicator activity to assign the tasks parallely and serially ?
Correct Answer
C. Both
Explanation
The Replicator activity in a workflow allows for the creation of multiple instances of a task, which can be assigned and executed in parallel or serially. Therefore, it is possible to use the Replicator activity to assign tasks both parallely and serially, depending on the requirements of the workflow.
11.
Web parts are inherited from.
Correct Answer(s)
A. ASP.NET Web Part
B. SharePoint Web Part
Explanation
Web parts are a type of component used in web development to create modular and reusable sections of a web page. They can be customized and added to a web page to provide specific functionality or content. In this case, the correct answer is ASP.NET Web Part and SharePoint Web Part. Both ASP.NET and SharePoint are web development frameworks that provide built-in support for creating and using web parts. ASP.NET web parts are used in general web development, while SharePoint web parts are specific to the SharePoint platform. The other options, .NET Web Part and System Web Part, are not commonly used terms and do not accurately describe the inheritance of web parts.
12.
How can we change the item level permission ?
Correct Answer
E. None of above
13.
Can SharePoint be linked to an external data source?
Correct Answer
A. Yes
Explanation
SharePoint can be linked to an external data source. This allows users to access and interact with data from external systems within the SharePoint environment. This integration enables organizations to consolidate and centralize their data, making it easier for users to find and utilize relevant information. Additionally, linking SharePoint to external data sources enhances collaboration and improves decision-making processes by providing real-time access to up-to-date data.
14.
What is a SPSite and SPWeb object, and what is the difference between each of the objects?
Correct Answer(s)
A. The SPSite object represents a collection of sites (site collection [a top level sites and all its subsites])
B. The SPWeb object represents an instance SharePoint Web, and SPWeb object contains things like the actual content
C. A SPSite object contains the various subsites and the information regarding them.
Explanation
The SPSite object represents a collection of sites, including the top-level site and all its subsites. It contains information about the site collection such as its URL and properties. On the other hand, the SPWeb object represents an individual SharePoint web within a site collection. It contains the actual content of the web, including lists, libraries, and pages. Essentially, the SPSite object represents the entire site collection, while the SPWeb object represents a specific web within that collection.
15.
Which of the following is correct
Correct Answer(s)
A. SPWeb web = SPContext.Current.Site.RootWeb
B. SPSite site = new SPSite(SPContext.Current.Web.Url);
C. SPWeb web = site.OpenWeb();
Explanation
The correct answer is "SPWeb web = SPContext.Current.Site.RootWeb". This statement assigns the RootWeb of the current site to the web variable.
16.
Add a current datetime as item in list 'Log', whenever user adds a item to list 'ParcelOut'.
To perform this scenario which method is useful?
Correct Answer
B. Event Handler using SharePoint Object Model
Explanation
Event Handler using SharePoint Object Model is the most suitable method for performing this scenario. An event handler can be attached to the "ItemAdded" event of the "ParcelOut" list. Whenever a new item is added to the list, the event handler will be triggered and the current datetime can be added to the "Log" list using SharePoint Object Model code. This allows for real-time logging of the datetime whenever a new item is added to the "ParcelOut" list.
17.
SPWebApplication object represent?
Correct Answer
B. SharePoint Web Application
Explanation
The correct answer is SharePoint Web Application. The SPWebApplication object represents a SharePoint Web Application. A SharePoint Web Application is a container for site collections and provides the infrastructure for hosting SharePoint sites. It is responsible for managing settings, security, and services for the sites within it. Therefore, the SPWebApplication object is used to interact with and manage the properties and functionality of a SharePoint Web Application.
18.
How many type of connections can be crated from Infopath?
Correct Answer(s)
A. Submit
D. Receive/
19.
what are the types of input forms that can be created for a workflow?
Correct Answer(s)
A. Association
B. Initiation
C. Modification
D. Task
Explanation
Different types of input forms can be created for a workflow, including Association forms, Initiation forms, Modification forms, and Task forms. Association forms are used to associate a form with a workflow template. Initiation forms are used to collect initial data when starting a workflow. Modification forms allow users to modify data during the workflow process. Task forms are used to collect data for specific tasks within the workflow. These different types of forms enable the collection and processing of data at various stages of the workflow.