Home > 2011 Winter BTI420 > Final exam Friday April 15

Final exam Friday April 15

The BTI420 Final Exam is scheduled for today, Friday April 15. Open this post for full details.


Date, Time, Location

The BTI420 final exam for the Winter 2011 semester is scheduled for Friday, April 15, 2011, at 2:00pm ET.

You can sit in TEL Building room T2108, or in room T2110.

When you enter a room, select your seat so that there’s an empty chair between you and your classmate(s).


Format of the final exam

The exam has two parts:

There are 15 multiple-choice questions that ask you about your understanding of ASP.NET web forms application software development concepts. You will answer these questions on the exam paper.

There is a programming exercise that asks you to create web page content, where you can show that you can apply the concepts you learned in this course and have the necessary programming skills.


Information about the programming exercise

As noted above, you will be asked to do a programing exercise. You will create a new web site, with a number of web forms. Each web form (page) will have specific content.

What can you expect?

Well, think about it – there’s no mystery. For weeks, we have been looking at concepts, techniques, and skills to create interactive data-driven web applications.

It is possible that you will need to work with and program any or all of the following:

  • Interactive web form(s)
  • Create and use an Entity Framework data model for data access
  • Read from, and/or write to, files located on your web site
  • Use a web service “server”
  • Use, configure, and customize data display controls like the GridView and DetailsView


Reference material

The following lists the reference resources which are permitted and those which are not allowed. The philosophy is that you will do your own thinking about the question and solve it yourself, rather than relying on constructing answers from bits of copy-paste code.


  • One single hand-printed paper-based reference sheet (see the “Reference Sheet Guidelines” in my web site Course Policies section)
  • Access to online material or other printed material

Not allowed:

  • Complete, or substantially complete, program code listings on your reference sheet
  • Any means that lets you easily copy-and-paste complete or substantially complete sections of code

Please read my web site’s “Your responsibilities” and “Course Policies” pages, especially the Tests and Other Graded Work section.

WARNING! You will simply not be able to construct working answers using a copy-paste method, where you try to find the “right” blocks of code, and build, Frankenstein style, a working program. Believe me – you won’t have time to do that.

You can use the existing code resources as a reference, but then you must WRITE YOUR OWN CODE. And be warned, I do NOT want to see MY code in your pages! If you do use my code, you will be in violation of the College’s academic honesty policies.


Best wishes on the exam.


Prepare for the exam

You will be required to create a new web site for the final exam. The reason is that we do not want anything in your current (root) web site interfering with your ability to do the final exam successfully.

If you do not create a new web site, there will be a deduction of ten (10) marks. This is a significant penalty, representing one-third of the marks available on the programming exercise.


On your own computer, create a new web site, called “BTI420Exam”, using the following settings:

  • Visual C#
  • .NET Framework 4
  • ASP.NET Empty Web Site
  • Web location is “File System”


Near the end of the final exam time slot, you will “Copy Web Site” to the warp server.

Please remember that the web site root for this new web site, as reported by Server.MapPath(“~”), will be the “exam” folder, and NOT your root/home folder. Therefore, if you are working with file system paths, you will have to remember this.

Also, remember the warp-to-warp issue with web services. If a warp-based requestor is working with a warp-based web service, the host name must be “web1”.


Working with data display web server controls

On the exam, you will probably be using data display controls like the GridView and DetailsView. You may be working with others too, including the familiar list controls.

For the GridView, make sure you know how to customize the appearance of the bound columns/fields. Also, make sure that you know how to create and customize other columns/fields. In the past, we have worked with a hyperlink field, an image field, and a template field.

For all data display controls, make sure you know how to work with data sources, and know how data binding works. Make sure you know how to work with EntityDataSource controls, an Entity Framework data model, and a web service.

If you do not use an Entity Framework data model, there will be a deduction of ten (10) marks. This is a significant penalty, representing one-third of the marks available on the programming exercise.


Inspect and work with the web service

On the exam, you will be working with the professor’s web service that delivers administrative data about the School of Computer Studies. The web service is located at this URI:



Append “/help” to view a list of  supported URIs. You can use a standard web browser to request a URI and view the results. Microsoft Internet Explorer is ideal for this work, but other browsers may be suitable too.

The web service is RESTful. It delivers data by default in XML format. (You can request JSON data, but don’t. We will use the default XML format on the final exam.)

For the final exam, you should focus on inspecting, learning about, and working with the following four resource types:

  • Course
  • Employee
  • Program
  • Room


As you learned (in the Monday April 11 2011 lecture), you will create “model classes” for each resource type, so that you can process the results of a request to a web service URI.

Create the model classes BEFORE the exam. Use them to learn, experiment, and study.


You will also create an Entity Framework data model, which will include entities for the four resource types. The data model will enable you to process and persist objects in your own persistent store.

Create the Entity Framework data model BEFORE the exam. Use it to learn, experiment, and study.


What will you be asked to do in the programming exercise?

Well, it won’t be a mystery. Inspect and work with the web service methods. Study the data that is returned by a web service URI. Then, think about how the results could be viewed and/or processed.


During the exam, work locally, and then “copy web site” to submit your test

During the test, we strongly recommend that you work locally, on a “file system web site”, on your local computer.

Then, before you leave the room, you will “Copy Web Site” to a NEW sub-web site, on the warp server. Make sure you allow about ten minutes for this process.

Suggestion: Before you attempt the Copy Web Site operation, create a zip file with the contents of your web site, and retain it. Also, send a copy by email to me. That way, if you encounter a delay during the Copy Web Site operation, your work is still valid.

It should be obvious to you that you are not permitted to change the content of your “exam” web site on warp after the end of the final exam time slot (i.e. at 4:00pm on Friday April 15). Your professor will inspect the time stamps of your web site resources. If content changes after the end of the final exam, it will be considered a violation of the College’s Academic Honesty policy.


Although you are now very familiar with the Copy Web Site procedure, here is an overview of what you will have to do:

In your Solution Explorer panel, click to select your web site. Then, from either the Solution Explorer toolbar, or from the Visual Studio menu, choose “Copy Web Site”.

On the Copy Web Site window/panel, click the Connect button. On the “Open Web Site” dialog, click (on the left side) “Remote Site”. Enter the “Web site location” as shown in the example below:


Notice the web site address format:


Obviously, replace <yourWebSiteName> with the “bti420…” name of your warp web site.

And, replace <subwebName> with the name of the new subweb web site (example – “abcd”).

Note: The name of the sub-web site will be “exam”.


You will then be prompted as follows. Answer Yes.


Visual Studio will create your new sub-web site. Then, on the “Copy Web” window/panel, you can can select and copy content from your local file system web site, to the warp-based web site (similar to what you’ve done many times before).

When you browse to the sub-web Default.aspx page, you will enter its name in the browser’s address bar as follows:



Categories: 2011 Winter BTI420
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: