Pos 410 Individual Assignment

Store ten student names and their individual score in a text file such as Notepad. There will be one score per student.

Write a C# program using Microsoft® Visual Studio® to retrieve the names and the scores.

Display the student name with the highest score and the average score of the class.
Show what is being written in the new file.

Hint: You might consider adding delimiters between the data values in the original text file to simplify retrieving and processing the data.

This tutorial includes two C# project Console Application and Windows Form Application.



This slideshow requires JavaScript.


This assignment includes a Visual Studio (c#) project

  • Attachments
    • POS_409_Week_3.zip (136.99 KB)
      • POS409-Week-3-Screenshot.png
      • Visual Studio project
        • POS409Week3
          • POS409Week3
            • App.config
            • bin
              • Debug
                • POS409Week3.exe
                • POS409Week3.exe.config
                • POS409Week3.pdb
                • POS409Week3.vshost.exe
                • POS409Week3.vshost.exe.config
                • POS409Week3.vshost.exe.manifest
                • students.txt
            • obj
              • Debug
                • DesignTimeResolveAssemblyReferencesInput.cache
                • POS409Week3.csproj.FileListAbsolute.txt
                • POS409Week3.exe
                • POS409Week3.pdb
                • TempPE
            • POS409Week3.csproj
            • Program.cs
            • Properties
            • Student.cs
          • POS409Week3.sln
          • POS409Week3.v12.suo

    Preview random excerpt

    xxxxxxx xxxxxx xxxx

    {

    xxxx

    // xxxx xxxx xxxx xx xxx xxxx xxxx x xxxxxx xxxxx. xxxx xxxxxxx

    // xx xxx xxxxx xx xxx xxxx xx xxx xxxx.

    xxxxxx

    [] lines =

    xxxxxx

    .IO.

    xxxx

    .ReadAllLines("students.txt");

    xxx

    count =

    x

    ;

    xxxxxxx

    (string line

    xx

    lines) {

    xxxxxx

    []

    x

    =

    xxxx

    .Split('#');

    xxx

    {

    xxxx

    .

    xxx

    (new Student(

    x

    [0], double.Parse(s[

    x

    ])));

    xxxxx

    ++;

    xx

    (count == 10)

    {

    xxxxx;

    }

    - - - more text follows - - -

    Preview random excerpt

    xxxxxxx xxxxxx xxxx;

    xxxxxxx xxxxxx xxxxx;

    xxxxxx xxxxxxx()

    {

    }

    xxxxxx

    xxxxxxx

    (

    xxxxxx

    xxxx

    , double score) {

    xxxxxxx

    (name);

    xxxxxxxx

    (score); } public

    xxxxxx

    getName()

    {

    xxxxxx xxxx;

    }

    - - - more text follows - - -

    • POS_409_Week_3_Windows_Form.zip (113.41 KB)
      • POS409-Week-3-Windows-Form-Screenshot.png
      • Visual Studio project
        • POS409Week3_WindowsForm
          • POS409Week3_WindowsForm
            • App.config
            • bin
              • Debug
                • POS409Week3_WindowsForm.vshost.exe
                • POS409Week3_WindowsForm.vshost.exe.config
                • POS409Week3_WindowsForm.vshost.exe.manifest
                • students.txt
            • Form1.cs
            • Form1.Designer.cs
            • obj
              • Debug
                • DesignTimeResolveAssemblyReferences.cache
                • DesignTimeResolveAssemblyReferencesInput.cache
                • TempPE
            • POS409Week3_WindowsForm.csproj
            • Program.cs
            • Properties
              • AssemblyInfo.cs
              • Resources.Designer.cs
              • Settings.Designer.cs
              • Settings.settings
            • Student.cs
          • POS409Week3_WindowsForm.sln
          • POS409Week3_WindowsForm.v12.suo

    Preview random excerpt

    xxxxxxxxx xxx409xxxx3_xxxxxxxxxxx

    {

    xxxxxx xxxxxxx xxxxx xxxx1 : xxxx

    {

    xxxxxx xxxx1()

    {

    xxxxxxxxxxxxxxxxxxx

    (); }

    xxxxxxx

    xxxxxx

    List getStudents() {

    xxxx

    list =

    xxx

    List(); //

    xxxx

    each line of

    xxx

    xxxx

    into a string array.

    xxxx

    element //

    xx

    xxx

    array is

    xxx

    xxxx

    xx

    xxx

    file.

    xxxxxx

    [] lines =

    xxxxxx

    .IO.

    xxxx

    .ReadAllLines(

    xxxxxxxxx

    .txt");

    xxx xxxxx = 0;

    xxxxxxx (xxxxxx xxxx xx xxxxx)

    {

    - - - more text follows - - -

    Preview random excerpt

    xxxxx xxxxxx;

    xxxxx xxxxxx.xxxxxxxxxxx.xxxxxxx;

    xxxxx xxxxxx.xxxx;

    xxxxx xxxxxx.xxxxxxxxx.xxxxx;

    xxxxx xxxxxx.xxxxxxx.xxxxx;

    xxxxxxxxx

    POS409Week3_WindowsForm {

    xxxxxx

    class Program { /// ///

    xxx

    main

    xxxxx

    point for the

    xxxxxxxxxxx

    . /// [

    xxxxxxxxx

    ]

    xxxxxx

    xxxx

    Main()

    {

    xxxxxxxxxxx.xxxxxxxxxxxxxxxxxx();

    xxxxxxxxxxx.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(xxxxx);

    - - - more text follows - - -

    Preview random excerpt

    xxxxxxx xxxxxx xxxx;

    xxxxxxx xxxxxx xxxxx;

    xxxxxx xxxxxxx()

    {

    } public Student(

    xxxxxx

    name, double score) {

    xxxxxxx

    (name);

    xxxxxxxx

    (score); }

    xxxxxx

    string getName()

    {

    xxxxxx xxxx;

    }

    - - - more text follows - - -



Purchasing Instruction
List Price:$19

Buy More Save More
Buy at least TWO items & save up to 30% OFF your ENTIRE order!
Rack up instant rebates in your shopping cart. Simply add items to your cart, and see the savings add up.
Discounts will automatically be applied on eligible orders.

MOAC 70-410 - Installing and Configuring Windows Server 2012 Lab Manual In addition to the computers, you also require the software listed in Table 2-2 to complete Lab 2. Table 2-2 Software Required for Lab 2 Software Location Lab 2 student worksheet Lab02_worksheet.docx (provided by instructor) Working with Lab Worksheets Each lab in this manual requires that you answer questions, create screen shots, and perform other activities that you will document in a worksheet named for the lab, such as Lab02_worksheet.docx. It is recommended that you use a USB flash drive to store your worksheets, so you can submit them to your instructor for review. As you perform the exercises in each lab, open the appropriate worksheet file, fill in the required information, and save the file to your flash drive. After completing this lab, you will be able to:  Complete the initial setup tasks required on a newly installed server  Convert a Windows Server 2012 interface from GUI to Server Core and back again  Add roles and features using the wizard and Windows PowerShell Estimated lab time: 50 minutes Exercise 2.1 Completing Post-Installation Tasks Overview In this exercise, you complete the tasks necessary to set up a server on which Windows Server 2012 has just been installed. Mindset When you purchase a server from an original equipment manufacturer (OEM) with Windows Server 2012 installed, the factory runs a program called Sysprep.exe that prepares the server for distribution by erasing all the user-specific information on the system. Completion time 20 minutes 1. Select the SVR-MBR-B computer, on which Windows Server 2012 has just been installed. The Settings page appears, displaying the server’s license terms. 2. Select the I accept the license terms for using Windows check box and click Accept. The Region and Language page appears.

Categories: 1

0 Replies to “Pos 410 Individual Assignment”

Leave a comment

L'indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *