Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Working with a Program with Record Structures - Fall 2008 | IST 256, Lab Reports of Information Technology

Material Type: Lab; Class: Application Programming for Information Systems; Subject: Information Studies; University: Syracuse University; Term: Fall 2008;

Typology: Lab Reports

Pre 2010

Uploaded on 08/09/2009

koofers-user-2l7
koofers-user-2l7 🇺🇸

10 documents

1 / 2

Toggle sidebar

Partial preview of the text

Download Working with a Program with Record Structures - Fall 2008 | IST 256 and more Lab Reports Information Technology in PDF only on Docsity! IST 256 Lab Week 13, Part 1 – November 17, 2008 (There is no lab for Week 12.) 1. Working with a program with Record Structures Use the new process for opening a Visual Studio project: a. Go to the C: drive and make a folder at the top level with your name or userid, something like: C:\njmccrac b. Open Visual Studio and go to create a new project/solution When this Dialog box opens, i. name: pick a name for the project – something like StudentRecords ii. Use Save All to save the project in the folder on the C drive c. In this first part, create the form for the program discussed in class. Making the form: make four Buttons, three Labels and a TextBox on the form that looks something like: |__Read Student Records__| Status (label) |__Number__| Number of Females (label) Number of Males (label) |__Find Oldest Student__| |_______________| (textbox) |_Close_| d. Copy the data file “students.txt” from the web page and save it in the C:\name\StudentRecords\bin\Debug part of the project folder. Click on the buttons to write the program. Use the program given in class, possibly renaming Labels or TextBoxes. This program contains code for all four of the buttons on the form. Be sure to check that the label names are in the code match yours on the form. Test this program. f. Now we are going to add two things to the program. First, we are going to add a field to the student record structure. For every student, we also want to have the grade point average. Open the data file, “students.txt” in Notepad, and on every line add a comma and a GPA number. For example, line 1 could be: Alex, M, 20, 73, 3.06
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved