SAMPLE. Faculty contact information and office hours can be found on the faculty profile page

ITS320: Basic Programming Faculty Information E 3 This is a 3-credit course, offered in accelerated format. This means that 16 weeks of material is...
Author: Alexandra Eaton
2 downloads 0 Views 764KB Size
ITS320: Basic Programming

Faculty Information

E

3 This is a 3-credit course, offered in accelerated format. This means that 16 weeks of material is covered in 8 weeks. The exact number of hours per week that you can expect to spend on each course will vary based upon the weekly coursework, as well as your study style and preferences. You should plan to spend 14-20 hours per week in each course reading material, interacting on the discussion boards, writing papers, completing projects, and doing research.

PL

Credit Hours: Contact Hours:

Faculty contact information and office hours can be found on the faculty profile page.

Course Description and Outcomes

M

Course Description: This course provides a detailed overview of fundamental programming, design and testing concepts using Microsoft Visual Basic .NET. Students are introduced to object-oriented programming, how to plan and create interactive Windows applications, GUI design skills, and common programming structures such as conditional statements, switches, loops, iteration, and error debugging. An emphasis on sound programming conventions and constructs is provided.

SA

Course Overview: ITS320 is the first course in a series of courses in computer technology at CSU-Global wherein students learn about software programming. This course was designed for students with no programming experience. Students are introduced to how to plan and create their own interactive Windows applications, GUI design skills, objectoriented concepts, and planning tools such as TOE charts, pseudocode, and flowcharts. Students also learn to create and manipulate variables, constants, strings, sequential access files, structures, classes, and arrays. Finally, students will learn how to create both static and dynamic Web applications, how to connect an application to a database and then use Language-Integrated Query (LINQ) to query the database. This course teaches programming concepts using hands-on approach. Students are able to gain mastery of these skills by performing the practical exercises in each module. After the successful completion of this course, students will be able to develop applications that are used in the workplace.

Course Learning Outcomes:

1. Configure Visual Studio on a personal computer. 2. Explain the terminology used in programming and the tasks performed by a programmer.

3. Develop application using variables, constants, selection structure and repetition structure. 4. Develop application using function procedures, string manipulation, arrays, sequential access files, classes and objects. 5. Develop web application, connecting to a database and working with LINQ.

Participation & Attendance

E

Prompt and consistent attendance in your online courses is essential for your success at CSU-Global Campus. Failure to verify your attendance within the first 7 days of this course may result in your withdrawal. If for some reason you would like to drop a course, please contact your advisor.

Course Materials Required:

PL

Online classes have deadlines, assignments, and participation requirements just like on-campus classes. Budget your time carefully and keep an open line of communication with your instructor. If you are having technical problems, problems with your assignments, or other problems that are impeding your progress, let your instructor know as soon as possible.

Zak, D. (2016). Programming with Microsoft Visual Basic 2015 (7th ed.). Boston, MA: Cengage Learning. ISBN-13: 9781285860268

M

You will need either Microsoft Visual Studio Ultimate 2015 or Visual Studio Community Edition installed on your own computer. You can download a free copy of the Community Edition at https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx NOTE: All non-textbook required readings and materials necessary to complete assignments, discussions, and/or supplemental or required exercises are provided within the course itself. Please read through each course module carefully.

SA

Course Schedule Due Dates

The Academic Week at CSU-Global begins on Monday and ends the following Sunday. • Discussion Boards: The original post must be completed by Thursday at 11:59 p.m. MT and Peer Responses posted by Sunday 11:59 p.m. MT. Late posts may not be awarded points. • Opening Exercises: Take the opening exercise before reading each week’s content to see which areas you will need to focus on. You may take these exercises as many times as you need. The opening exercises will not affect your final grade. • Mastery Exercises: Students may access and retake mastery exercises through the last day of class until they achieve the scores they desire. • Critical Thinking: Assignments are due Sunday at 11:59 p.m. MT. Week #

Readings

Assignments

• •

2

• •

3

• •

4

• • •

5

• • • •

Chapters 3, 4, & 5 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Variable Declaration in Visual Basic. MSDN Library.

Chapters 6 & 7 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Procedures in Visual Basic. MSDN Library. Microsoft. (2016). Function Procedures in Visual Basic. MSDN Library. Chapters 8, 9, & 10 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Strings in Visual Basic. MSDN Library. Microsoft. (2016). Arrays in Visual Basic. MSDN Library. Chapter 11 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Objects and Classes in Visual Basic. MSDN Library.

M

6

Chapters 1 & 2 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Developing applications with Visual Basic. MSDN Library.



7



Chapter 12 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Walkthrough: Creating a Web Application Using Visual C# or Visual Basic. MSDN Library. Chapters 13 & 14 in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). Introduction to LINQ in Visual Basic. MSDN Library. Microsoft. (2016). How to: Query a Database by Using LINQ (Visual Basic). MSDN Library.

SA



8

• •

Assignment Details

This course includes the following assignments/projects: Module 1

• • • • • • • • • • • • • • • •

Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (50 points) Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (50 points) Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (50 points) Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (50 points)

• • • •

Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (50 points)

• • • • • • • •

Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (60 points) Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Critical Thinking (60 points)

• • • •

Discussion (25 points) Opening Exercise (0 points) Mastery Exercise (10 points) Portfolio (350 points)

E

1

“Read This Before You Begin” and “Overview” in Programming with Microsoft Visual Basic 2015 Microsoft. (2016). What’s new for visual basic. MSDN Library.

PL



CRITICAL THINKING ASSIGNMENT (50 points) Complete the assignment below. Ensure that all of your assignment deliverables are attached before submitting your assignment. Execute a Visual Basic .NET Application For this first Critical Thinking assignment you will be locate and execute a Visual Basic .NET application. You will need to download the data files for the course text. The data files can be downloaded from CengageBrain.com.

Below are the steps for completing this assignment:

E

Each chapter in this book has its own set of data files, which are stored in a separate folder within the VB2015 folder. The files for Chapter 1 are stored in the VB2015\Chap01 folder. Similarly, the files for Chapter 2 are stored in the VB2015\Chap02 folder. Throughout the course textbook, you will be instructed to open files from or save files to these folders.

First you will need to install Visual Studio on your computer if you don’t have it already installed. Follow the instructions on Page xxii: Read This Before You Begin in the course text.



Launch Visual Studio 2015. When the application is opened, take a screen shot, showing your computer desktop on the background to ensure that you completed this activity in your computer.



Use Windows to locate and then open the VB2015\Overview folder on your computer’s hard disk or on the device designated by your instructor. Right-click Monthly Payment Calculator (Monthly Payment Calculator.exe) in the list of filenames and then click the Open button (Zak, 2016, p. 4). Take a screen shot of the application, showing your computer desktop on the background to ensure that you completed this activity in your computer.

PL



Assignment Deliverables (all in a single Word or PDF file, with steps numbered, and steps in order): A Screenshot of Visual Studio showing it was successfully installed on your computer. A Screenshot of the Monthly Payment Calculator program.

M

1. 2.

Module 2

CRITICAL THINKING ASSIGNMENT (50 points) Choose one of the following two assignments to complete this week. Do not do both assignments. Identify your assignment choice in the title of your submission. Ensure that all of your assignment deliverables are attached before submitting your assignment.

SA

Option #1: Create a Visual Basic .NET Application – User Interface Design Diagram (Lesson A Exercise 1, Zak, 2016, p. 70) The annual property tax in Richardson County is $1.50 for each $100 of a property’s assessed value. The county clerk wants you to create an application that will display the property tax after he enters the property’s assessed value. Prepare a TOE chart ordered by task, and then rearrange the TOE chart so that it is ordered by object. Be sure to include buttons that allow the user to both clear and print the screen. Draw a sketch of the user interface. (Note: If you select this option, you must complete Option 1 for the Critical Thinking assignment in Modules 3 when you will create the interface.) Assignment Deliverables (all in a single Word or PDF file, with steps numbered, and steps in order): 1. 2.

TOE chart ordered by task and TOE chart ordered by object. The diagram of the User Interface design.

Option #2: Create a Visual Basic .NET Application – User Interface Design Diagram (Lesson A Exercise 2, Zak, 2016, p. 71)

E

All employees at Jordan Sports Store are paid based on an annual salary rather than an hourly wage. However, some employees are paid weekly, while others are paid every other week. Employees paid weekly receive 52 paychecks; employees paid every other week receive 26 paychecks. The payroll clerk wants you to create an application that allows her to enter an employee’s annual salary. The application should display both the weekly gross pay and the biweekly gross pay. Prepare a TOE chart ordered by task, and then rearrange the TOE chart so that it is ordered by object. Be sure to include buttons that allow the user to both clear and print the screen. Draw a sketch of the user interface. (Note: If you select this option, you must complete Option 2 for the Critical Thinking assignment in Modules 3 when you will create the interface.) Assignment Deliverables (all in a single Word or PDF file, with steps numbered, and steps in order): 1. 2.

TOE chart ordered by task and TOE chart ordered by object. The diagram of the User Interface design.

PL

Module 3

CRITICAL THINKING ASSIGNMENT (50 points) Choose one of the following two assignments to complete this week – select the option that aligns with the option you selected in Module 2. Do not do both assignments. Identify your assignment choice in the title of your submission. Ensure that all of your assignment deliverables are attached before submitting your assignment. Option #1: Create a Visual Basic .NET Application – User Interface Elements (Lesson B Exercise 1, Zak, 2016, p. 83) In this exercise, you will continue creating the Richardson County application from Module 2 Critical Thinking assignment Option 1. Open the VB2015\Chap02\Richardson Solution\Richardson Solution (Richardson Solution.sln) file. If necessary, open the designer window. Figure 2-18 (Zak, 2016) shows the completed interface. Add the missing txtAssessed and lblTax controls to the form. Set the lblTax control’s TextAlign property to MiddleCenter. Lock the controls on the form. Assign the access keys (shown in the figure) to the text box and buttons. Set the TabIndex values appropriately. Save the solution and then start the application. Verify that the tab order is correct. Also verify that the access keys work appropriately. Use the Exit button to end the application. Save the solution file as “Your name”.sln.

M

• • •



SA

Assignment Deliverables: •

The zip file containing the Visual Studio solution and project files.

Option #2: Create a Visual Basic .NET Application – User Interface Design Diagram (Lesson B Exercise 2, Zak, 2016, p. 84) In this exercise, you will continue creating the Jordan Sports Store application from Module 2 Critical Thinking assignment Option 2. •





Create a Visual Basic Windows application. Use the following names for the solution and project, respectively: Jordan Solution and Jordan Project. Save the application in the VB2015\Chap02 folder. Change the form file’s name to Main Form.vb. Change the form’s name to frmMain. The form should be centered on the screen when it first appears; set the appropriate property. Create the interface shown in Figure 2-19 on the course text. Use the following names for the text box, labels, and buttons: txtAnnual, lblWeekly, lblBiweekly, btnCalc, btnPrint, btnClear, and btnExit. (Or, use

• • •

the names from the TOE chart you created in Module 2.) The contents of the lblWeekly and lblBiweekly controls should be centered; set the appropriate property. Lock the controls on the form. Set the TabIndex values appropriately. The Exit button should end the application when it is clicked; code the appropriate event procedure. Save the solution, and then start the application. Verify that the tab order is correct. Also verify that the access keys work properly. Use the Exit button to end the application. Save the solution file as “Your name-mod3ct”.sln.

Assignment Deliverables: The zip file containing the Visual Studio solution and project files.

E



Module 4

PL

CRITICAL THINKING ASSIGNMENT (50 points) Choose one of the following two assignments to complete this week. Do not do both assignments. Identify your assignment choice in the title of your submission. Ensure that all of your assignment deliverables are attached before submitting your assignment. Option #1: Visual Basic .NET Application – Coding Exercise 1 (Exercise 13, Zak, 2016, p. 347)

For this coding exercise, write the Visual Basic code for a pretest loop that uses an Integer variable named intEven to display the even integers from 2 through 20 in the lblEven control. • • •

M

• •

Use the For...Next statement. Display each number on a separate line in the control. Then create an application to test your code using the following names for the solution and project, respectively: Even Solution and Even Project. Save the application in the VB2015\ Chap06 folder. Add a button and a label to the interface. Enter your code in the button’s Click event procedure, and then test the application appropriately. Save the solution file as “Your name”.sln.



Assignment Deliverables; •

The zip file containing the Visual Studio solution and project files.

Option #2: Visual Basic .NET Application – Coding Exercise 1 (Exercise 24, Zak, 2016, p. 348)

SA

For this coding exercise: • • • •

OpentheVB2015\Chap06\MultiplicationSolution(MultiplicationSolution.sln)file. Code the application to display a multiplication table similar to the one shown in Figure 6-31 (Zak, 2016). Use the For...Next statement in the btnForNext_Click procedure, and use the Do...Loop statement in the btnDoLoop_Click procedure. Test the application appropriately. Save the solution file as “Your name-mod4ct”.sln.

Assignment Deliverables: •

The zip file containing the Visual Studio solution and project files.

Module 5

CRITICAL THINKING ASSIGNMENT (50 points)

Choose one of the following two assignments to complete this week. Do not do both assignments. Identify your assignment choice in the title of your submission. Ensure that all of your assignment deliverables are attached before submitting your assignment. Option #1: Visual Basic .NET Application – Coding Exercise 2 (Exercise 6, Zak, 2016, p. 575)

Structure MyFriend Public strName As String Public strBirthday As String End Structure

• • •

Write a Dim statement that declares a five-element one-dimensional array of MyFriend variables. Name the array home. Then write an assignment statement that assigns the value in the txtName control to the strName member contained in the last array element. Finally, write an assignment statement that assigns the value in the txtBirthday control to the strBirthday member contained in the last array element. Save the solution file as “Your name”.sln.

PL



E

An application contains the Structure statement shown here.

Assignment Deliverables: •

The zip file containing the Visual Studio solution and project files.

Option #2: Visual Basic .NET Application – Coding Exercise 2 (Exercise 5, Zak, 2016, p. 575) An application contains the Structure statement shown here.

M

Structure Computer Public strModel As String Public decCost As Decimal End Structure





SA



Write a Private statement that declares a 10-element one-dimensional array of Computer variables. Name the array business. Then write an assignment statement that assigns the string “AR456” to the strModel member contained in the first array element. Finally, write an assignment statement that assigns the number 699.99 to the decCost member contained in the first array element. Save the solution file as “Your name-mod5ct”.sln.



Assignment Deliverables: •

The zip file containing the Visual Studio solution and project files.

Module 6

CRITICAL THINKING ASSIGNMENT (60 points) Complete the assignment below. Ensure that all of your assignment deliverables are attached before submitting your assignment. Visual Basic .NET Application – Coding Exercise 3 (Exercise 13, Zack, 2016, p. 642) For this coding exercise:

• • • •





Create an application that can be used to calculate the cost of installing a fence around a rectangular area. Create the application, using the following names for the solution and project, respectively: Fence Solution and Fence Project. Save the application in the VB2015\Chap11 folder. Use Windows to copy the Rectangle.vb file from the VB2015\Chap11 folder to the Fence Solution\Fence Project folder. Use the Project menu to add the Rectangle.vb class file to the project. Modify the class to use Double (rather than Integer) variables and properties. Add a method named GetPerimeter to the Rectangle class. The method should calculate and return the perimeter of a rectangle. To calculate the perimeter, the method will need to add together the length and width measurements, and then multiply the sum by 2. Create the interface shown in Figure 11-30 (zak, 2016). The image for the picture box is stored in the VB2015\Chap11\Fence.png file. Code the application and then test it appropriately. (Hint: Using 120 feet as the length, 75 feet as the width, and 10 as the cost per linear foot of fencing, the installation cost is $3,900.00.) Save the solution file as “Your name-mod6ct”.sln.



PL

Assignment Deliverables:

E

• •

The zip file containing the Visual Studio solution and project files.

Module 7

CRITICAL THINKING ASSIGNMENT (60 points) Complete the assignment below. Ensure that all of your assignment deliverables are attached before submitting your assignment. Visual Basic .NET Application – Coding Exercise 4 (Exercise 2, Zak, 2016, p. 692)

M

In this exercise, • •



SA

• •

Create an empty website application named Carnival and save it in the VB2015\ Chap12 folder. Add a new webpage named Default.aspx to the application. Change the DOCUMENT object’s Title property to Brookfield. Create a webpage similar to the one shown in Figure 12-25. The image on the webpage is stored in the VB2015\ Chap12\Carnival.png file. (Hint: To position the image as shown in the figure, click the image, click Format on the menu bar, click Position, and then click the Left button in the Wrapping style section of the Position dialog box.) Save and then start the application. Close the browser window and then close the application. Save the solution file as “Your name-mod7ct”.sln.

Assignment Deliverables (The solution folder and project files should be in included in a zip [archive] file): •

The zip file containing the Visual Studio solution and project files.

Module 8

PORTFOLIO PROJECT (350 Points)

Throughout this course you have been developing programs to learn about different features of the VB.NET language. For your final Portfolio Project assignment: 1.

Submit all completed programs, with corrections as necessary, and output screen snapshots to demonstrate that they all perform properly to meet the specifications.

2. 3. 4. 5.

Include the IDE screen snapshots, complete source code listings of all classes for all programs including any corrections you had to make, and the complete outputs for each correctly functioning program. For each program, write a short summary of the VB.NET features that were highlighted by this program, e.g., processing user inputs, inheritance, constructor modification, GUI features, handling user events, etc. Write a short summary (2-4 double-spaced pages) of your experience with VB.NET in this course and how you feel you've progressed with your ability to write programs using VB.NET. Include any lessons learned. This summary should follow the CSU-Global Guide to Writing and APA. Do not include anything from Module 1 in your Portfolio, only Coding Exercise 1-4 programs.

Course Policies

E

Ensure that all of your project deliverables are attached before submitting your assignment.

Grading Scale and Policies

Course Grading A A-

95.0 – 100

90.0 – 94.9

PL

20% Discussion Participation 0% Opening Exercises 8% Mastery Exercises 37% Critical Thinking Assignments 35% Final Portfolio Project

B+

86.7 – 89.9

B

83.3 – 86.6

B-

80.0 – 83.2

C+

75.0 – 79.9

C

70.0 – 74.9

D

60.0 – 69.9

M

F 59.9 or below In-Classroom Policies For information on late work and incomplete grade policies, please refer to our In-Classroom Student Policies and Guidelines or the Academic Catalog for comprehensive documentation of CSU-Global institutional policies.

SA

Academic Integrity Students must assume responsibility for maintaining honesty in all work submitted for credit and in any other work designated by the instructor of the course. Academic dishonesty includes cheating, fabrication, facilitating academic dishonesty, plagiarism, reusing /re-purposing your own work (see CSU-Global Guide to Writing and APA Requirements for percentage of repurposed work that can be used in an assignment), unauthorized possession of academic materials, and unauthorized collaboration. The CSU-Global Library provides information on how students can avoid plagiarism by understanding what it is and how to use the Library and Internet resources.

Citing Sources with APA Style All students are expected to follow the CSU-Global Guide to Writing and APA Requirements when citing in APA (based on the APA Style Manual, 6th edition) for all assignments. For details on CSU-Global APA style, please review the APA resources within the CSU-Global Library under the “APA Guide & Resources” link. A link to this document should also be provided within most assignment descriptions in your course. Disability Services Statement CSU–Global is committed to providing reasonable accommodations for all persons with disabilities. Any student with a documented disability requesting academic accommodations should contact the Disability Resource

Coordinator at 720-279-0650 and/or email [email protected] for additional information to coordinate reasonable accommodations for students with documented disabilities. Netiquette Respect the diversity of opinions among the instructor and classmates and engage with them in a courteous, respectful, and professional manner. All posts and classroom communication must be conducted in accordance with the student code of conduct. Think before you push the Send button. Did you say just what you meant? How will the person on the other end read the words?

E

Maintain an environment free of harassment, stalking, threats, abuse, insults or humiliation toward the instructor and classmates. This includes, but is not limited to, demeaning written or oral comments of an ethnic, religious, age, disability, sexist (or sexual orientation), or racist nature; and the unwanted sexual advances or intimidations by email, or on discussion boards and other postings within or connected to the online classroom.

SA

M

PL

If you have concerns about something that has been said, please let your instructor know.

Suggest Documents