Moss 2007 - Workflow + Infopath + Sp Object Model + Webparts

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Pravinmohite
P
Pravinmohite
Community Contributor
Quizzes Created: 2 | Total Attempts: 538
| Attempts: 64 | Questions: 19
Please wait...
Question 1 / 19
0 %
0/100
Score 0/100
1.   SPWebApplication object represent?

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.

Submit
Please wait...
About This Quiz
Moss 2007 - Workflow + Infopath + Sp Object Model + Webparts - Quiz

This quiz assesses skills in SharePoint 2007 workflow development using Visual Studio, InfoPath, and the SharePoint Object Model. It covers default activities, workflow templates, types, and task creation in the context of an accounts department workflow.

Personalize your quiz and earn a certificate with your name on it!
2.   Can SharePoint be linked to an external data source?  

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.

Submit
3. Following is the default activity availabel while a developer uses a Visual Studio to create a sequential workflow.

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.

Submit
4. For creating workflow using visual studio, developer need to use 'Workflow History'. whats the type of 'Workflow history' ?

Explanation

The type of 'Workflow History' in creating a workflow using Visual Studio is a 'List'.

Submit
5.   Following are the workflow types avaliable in Visual Studio.

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.

Submit
6. 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  

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.

Submit
7. Can we use Replicator activity to assign the tasks parallely and serially ?

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.

Submit
8.   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.

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.

Submit
9. 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?  

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.

Submit
10. Web parts are inherited from.

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.

Submit
11. What are the below options avaliable to trigger the workflow.

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.

Submit
12.   What is a SPSite and SPWeb object, and what is the difference between each of the objects?

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.

Submit
13. What are the types of input forms that can be created for a workflow?

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.

Submit
14. How many type of connections can be crated from Infopath?

Explanation

not-available-via-ai

Submit
15.   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.

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.

Submit
16. Following are the workflow templates avaliable in the MOSS 2007

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.

Submit
17. How can we change the item level permission ?

Explanation

not-available-via-ai

Submit
18. 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.

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.

Submit
19.   Which of the following is correct

Explanation

The correct answer is "SPWeb web = SPContext.Current.Site.RootWeb". This statement assigns the RootWeb of the current site to the web variable.

Submit
View My Results

Quiz Review Timeline (Updated): Jun 22, 2023 +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Jun 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 31, 2011
    Quiz Created by
    Pravinmohite
Cancel
  • All
    All (19)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
  SPWebApplication object represent?
  ...
Following is the default activity availabel while a developer uses a...
For creating workflow using visual studio, developer need to use...
  ...
You are developing a workflow for account department, you need to...
Can we use Replicator activity to assign the tasks parallely and...
  ...
Add a current datetime as item in list 'Log', whenever...
Web parts are inherited from.
What are the below options avaliable to trigger the workflow.
  ...
What are the types of input forms that can be created for a workflow?
How many type of connections can be crated from Infopath?
  ...
Following are the workflow templates avaliable in the MOSS 2007
How can we change the item level permission ?
You are developing a workflow for account department, you need to...
  Which of the following is correct
Alert!

Advertisement