Write c sharp application to read a data, Programming Languages

A number of simple student records are written to a text file.

The format of some typical linesshould be -

Task (1):

Using a text editor, create a file with 10 such records, all different, with Dates of Birth NOT in chronological order.

Task (2):

Write a C# console application program which reads the data and allows the user to browse the data record (student) by record, allowing the user to specify First, Last, Previous and Next by typing a letter on the keyboard. The letter should not be case sensitive.Typing X should terminate the program.

Task (3):

When the user specifies Sort, the records are sorted in chronological order on the date of birth.It should be possible to continue browsing.

Task (4):

The application should be robust enough to flag an error (and terminate) if any of the following input errors are present in the data file -

(a)     There are not exactly five fields of data (including the optionally blank secondname)

(b)     The number of records exceeds 10

(c)     Any record is blank (except secondname)

(d)     The date of birth is in an incorrect format

(e)     The gender is not correct (must be the single uppercase letter M or F).

Posted Date: 3/22/2013 3:55:32 AM | Location : United States







Related Discussions:- Write c sharp application to read a data, Assignment Help, Ask Question on Write c sharp application to read a data, Get Answer, Expert's Help, Write c sharp application to read a data Discussions

Write discussion on Write c sharp application to read a data
Your posts are moderated
Related Questions
In analytical geometry, a convex polygon can be represented by the Cartesian coordinates of its vertices, x and y. Assume such data of a polygon are stored in a file called "vertic

Objective: In a programming language of your choice, write an intelligent agent able to play block Dominoes against a player. Together with this assignment you will find two pa

Objective: to show if the sizes of the clusters influence the communication cost among a set on nodes Write a K-Means  program  for a set of M points randomly distributed on an

Write a Prolog predicate remove_nth(N,L1,L2) that is true if list L2 is just list L1 with its Nth element removed. If L1 does not have an Nth element then the predicate should fail

Flatten the tree Consider the following XML input, which groups people into two categories-salaried and hourly: Warren Rosenbaum 37 5.75

What is DOM? The Document Object Model is a platform- and language-neutral interface that will allow programs and scripts to dynamically access and update the content, structure an

I have 9 assignments to be completed

The purpose of the HB Programming test is to assess whether a candidate has sufficient knowledge to join our team here and beyond that where they would fit within our teams. The

The reader-writer problem can be stated as follows: A shared memory location can be concurrently read by any number of tasks, but when a task must write to the shared memory locati

Often, DNA sequences are represented as a sequence of characters (String) and each character in the sequence corresponds with one of four nucleotides. A = adenine, C = cytosine,