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

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Pravinmohite
P
Pravinmohite
Community Contributor
Quizzes Created: 2 | Total Attempts: 534
Questions: 19 | Attempts: 63

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


WorkflowInfoPathSP Object ModelWebParts


Questions and Answers
  • 1. 

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

    • A.

      OnWorkflowStarted

    • B.

      OnWorkflowInitiated

    • C.

      OnWorkflowActivated

    • D.

      WorkflowActivated

    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.

    Rate this question:

  • 2. 

    Following are the workflow templates avaliable in the MOSS 2007

    • A.

      Three State Workflow

    • B.

      Collect Feedback

    • C.

      Collect Signature

    • D.

      Disposition Workflow

    • E.

      Three State Workflow

    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.

    Rate this question:

  • 3. 

    Following are the workflow types avaliable in Visual Studio.

    • A.

      State Level Workflow

    • B.

      Sequential Workflow

    • C.

      Approval Workflow

    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.

    Rate this question:

  • 4. 

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

    • A.

      List

    • B.

      Document Library

    • C.

      Form Library

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

    Rate this question:

  • 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

    • A.

      SPWorkflowTaskProperties

    • B.

      WorkflowTaskProperties

    • C.

      SPTaskProperties

    • D.

      SPWorkflowTask

    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.

    Rate this question:

  • 6. 

    What are the below options avaliable to trigger the workflow.

    • A.

      User can manually start the workflow.

    • B.

      The workflow start automatically when an item is deleted.

    • C.

      The workflow start automatically when an item is Moved.

    • D.

      The workflow start automatically when an item is Changed.

    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.

    Rate this question:

  • 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.

    • A.

      Assign CorrelationToken to username

    • B.

      Assign CorrelationToken to AnyUniqueString

    • C.

      Assign OwnerActivityName to ScopeofTask

    • D.

      Assign newly created GUID to TaskId

    • E.

      Assign OwnerActivityName to Username

    • F.

      Assign Name to TaskName

    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.

    Rate this question:

  • 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.

    • A.

      Replicator Activity

    • B.

      Parallel Activity

    • C.

      While Activity

    • D.

      IF else Activity

    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.

    Rate this question:

  • 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.

    • A.

      Parallel Activity

    • B.

      Task Activity

    • C.

      Replicator Activity

    • D.

      While Activity

    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.

    Rate this question:

  • 10. 

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

    • A.

      Only Serially

    • B.

      Only Parallely

    • C.

      Both

    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.

    Rate this question:

  • 11. 

    Web parts are inherited from.

    • A.

      ASP.NET Web Part

    • B.

      SharePoint Web Part

    • C.

      .NET Web Part

    • D.

      System Web Part

    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.

    Rate this question:

  • 12. 

    How can we change the item level permission ?

    • A.

      Using Site Settings

    • B.

      Using List Settings

    • C.

      Using Site Permissions

    • D.

      Using List Permissions

    • E.

      None of above

    Correct Answer
    E. None of above
  • 13. 

    Can SharePoint be linked to an external data source?

    • A.

      Yes

    • B.

      No

    • C.

      Only possible for WSS or SharePoint Foundation Service

    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.

    Rate this question:

  • 14. 

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

    • 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.

    • D.

      None of above

    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.

    Rate this question:

  • 15. 

    Which of the following is correct

    • A.

      SPWeb web = SPContext.Current.Site.RootWeb

    • B.

      SPSite site = new SPSite(SPContext.Current.Web.Url);

    • C.

      SPWeb web = site.OpenWeb();

    • D.

      SPWeb web = SPContext.Current.Site.RootWeb;

    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.

    Rate this question:

  • 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?

    • A.

      Timer Job

    • B.

      Event Handler using SharePoint Object Model

    • C.

      Workflow

    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.

    Rate this question:

  • 17. 

    SPWebApplication object represent?

    • A.

      SharePoint Site Collection

    • B.

      SharePoint Web Application

    • C.

      SharePoint Sub Site

    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.

    Rate this question:

  • 18. 

    How many type of connections can be crated from Infopath?

    • A.

      Submit

    • B.

      Retrive

    • C.

      Save

    • D.

      Receive/

    • E.

      Get&Set/

    Correct Answer(s)
    A. Submit
    D. Receive/
  • 19. 

    what are the types of input forms that can be created for a workflow?

    • A.

      Association

    • B.

      Initiation

    • C.

      Modification

    • D.

      Task

    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.

    Rate this question:

Quiz Review Timeline +

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
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.