MIS 216 SPRING 2018 PROJECT 4

Size: px
Start display at page:

Download "MIS 216 SPRING 2018 PROJECT 4"

Transcription

1 MIS 216 SPRING 2018 PROJECT 4 Subs / Functions Arrays / Classes 1. Start a new project a. Create a folder on your desktop name it yourinitialsproject3 as in tnjproject3. b. FILE NEW PROJECT c. Change the Path to Desktop d. Change the name to yourintialsproject4 e. STOP at this point, and reduce the Visual Studio Window and look in the folder you created, do you see Form1.vb in one of the sub folders? If not delete the folder, close Visual Studio and start again. f. In the same folder as your form1.vb file, add a new folder - images 2. Your task will be build 2 forms in this project to reflect your ability to build user friendly forms that will calculate various totals for items selected or desired. 3. This project will be similar to Projects 3 in that one form will have multiple buttons to accomplish multiple samples of a new concept, however we will add an additional form to provide additional learning. A major goal of this project is to learn to repeat

2 code, we will also add comments under each button or subroutine to tell the user what the button will do. On your form shown on the previous page: a. Add a lblmessage to the top center of the form, set the borders to single and the Min Size to 200,20. Also set the fore color to something other than black b. Add 5 labels across the screen as shown c. Add 5 text boxes, name them txtinput1, txtinput2, etc. d. Add 5 buttons, name them btn1, btn2, etc., change the text property as shown e. Add two more buttons to the form, one to take you to form 2 (described later) and one to End the application. Place the proper code under the END button. 4. For all buttons, place any error messages or the valid results in the lblmessage 5. Create your first function that will return TRUE if the value entered is a number, or FALSE if it is not. Go to your code window and type the following (it should be placed immediately before the END CLASS Private Function checknumber(byval strin As String) As Boolean If Not IsNumeric(strIn) Then Return False Else Return True End If End Function We will use this function many times over the next few buttons 6. btn1 Will check for # s entered. Change the text property for the button as shown in the figure, add a comment as the first line of code under the submit button: 'Demonstrate the use of a function to test if a value entered is a number a. Now Call the function and if it returns false, display an error message, here is the first IF statement. Note we will use a Boolean to track if we have any errors Dim isok as Boolean = true If checknumber(me.txtinput1.text) = False Then Me.lblMessage.Text = "Input 1 must be a number" isok = false End If b. Repeat for txtinput2 and txtinput3 (call the function 2 more times) c. If you get to the end without any errors, place All is OK in lblmessage If isok = true then lblmessage.text = All OK End if d. Test by entering letters in txt1 to 3 and see if you get errors, then place # s in txt1 to 3 and see if you get All is OK.

3 7. Btn2 will check for # s and then check to see if the values entered are between 0 and 150. Change the text property of the button as shown, and add a comment in the first line of code in the SUB to tell the reader what the sub accomplishes. a. Copy all the code from btn1 under this button as you want to check for numbers before you can check if they are between 0 and 150. b. Now create three Single Variables to accept input from the text boxes and convert to single (sngone, sngtwo, sngthree) c. Create a new function (before the END CLASS) as started below: Private Function checkrange(byval numin As Integer) As Boolean write code here to return false if the numin is below zero or numin > 150 else return true End Function d. Back in your subroutine under btn2 (after the dim statements) - call the new function created as in: If checkrange(intone) = False Then Me.lblMessage.Text = "Input 1 must be between 0 and 150" isok = false End If e. Call the function 2 more times for the other 2 input boxes f. If you get to the end without any errors, place All are between 0 and 150 in lblmessage g. Test! 8. Btn3 Is a variation on btn2, but will let the user enter the lower and upper limits for validation to determine if a number is in the range into txtinput2 and txtinput3. So a user could enter 25 in txtiinput1, 0 in txtinput2 and 50 in txtinput3 and you would say YES it is in the range. Thus you will create a function that will not only pass the value entered in txtinput1, but also the upper and lower limits. Change the text on the button and add a comment. a. Create a new function, name it checkinputrange, it will have 3 values passed to as in: Public Function checkinputrange(byval numin As single, ByVal lowerlimit As single, ByVal upperlimit As single) As Boolean write code here to return false if the numin is below the lowerlimit or above the upper limit, else return true

4 End Function b. Repeat the steps from btn2 to check for numbers c. Repeat the steps from btn2 to convert the strings in the text boxes to Single Values d. Now call the new function as in: If checkinputrange(it will want 3 values here from your single variables) = false.. lblmessage.text = Input 1 is not between & show the upper and lower limits else lblmessage.text = Input 1 is between & show the upper and lower limits end if 9. Btn4 will calculate the GPA for 5 grades entered, Assume they are full letter grades (not + or -) Change the text on the button and add a comment. e. Create a new function Private Function getonecoursegpa(byval gradein As String) As Single i. f. In this function place a Select Case statement that will return ii. 12 if an A iii. 9 if a B iv. 6 if a C v. 3 if a D vi. Else 0 g. Under btn4, declare a variable to store the total points earned (sngpoints) h. Call your new function 5 times and add the results to sngpoints, here is the first call: sngpoints = sngpoints + getonecoursegpa(me.txtinput1.txt) i. Divide sngpoints by 15 and show the answer in the lblmessage formatted to 2 decimal places. 10. Btn5 will calculate the GPA for 5 grades entered, Assume there might be + and grades entered. Change Text and add a comment. j. Create a new function (getonecoursegpaplusminus) k. Copy your Select Case from your previous function, but add in new cases for: vii. A-, 11; B+, 10; B-, 8; C+ 7; C- 5, D+, 4; D- 2 l. Call this new function and show the results formatted to 2 decimal places. 11. Add a new form to your project m. Right click on the name of your project in the Solution Explorer Window n. Then click ADD, and then NEW ITEM o. Then Windows Form, change the name to be frmarrays p. Save

5 12. Change the code on the original form under the Go To Form 2 to be: q. frmarrays.show 13. Build the form as shown in the next figure, names should be lsttemps, btn1 to 4, lblmessage 14. Into lsttemps, place the values shown in the previous figure, these are the actual highs for February, 2014 for Wilmington. Check your values. 15. Now we will build an array that we can use in ALL our buttons. On your code page, place this definition of the array, on the line after the Public Class line: Dim temps(27) As Integer 16. Create a subroutine (name it: buildarray), the subroutine should: a. Dim an intctr as an integer set to zero b. Build a FOR EACH statement to go through the list box and move the values to the array: For Each intitem As Integer In Me.lstTemps.Items temps(intctr) = intitem intctr += 1

6 Next 17. btn 1 you will calculate the average high temperature for February, change the text of the button and add a comment. c. First call the function to load the array as in : buildarray() d. Write a function that will average the temperature based on the number of entries in the array (so it could be used for any month), think of the use of.count e. Display the average in lblmessage to 2 decimals, with a comment like: viii. The average high temperature for February was: & ##.## 18. Btn2 will ask the user to enter a date and you will report back the high temperature for that date, change the text and add a comment. Here are the first three lines of this button: buildarray() Dim intdatedesired As Integer = 0 intdatedesired = InputBox("Enter date for the high temperature ") lblmessage should now be a clear comment as in: ix. On February xxx the high was xxx 19. Btn3 will report the highest temperature and date for the month. a. This code will help you get started: buildarray() then think of using the max function b. You will need a FOR EACH statement here and loop through the ARRAY to determine the high. c. Will discuss this in class, so if you miss get notes from a student d. lblmessage should result in: The highest temperature in February was xxx on xxx 20. Btn4 is the reverse of btn3 and should report the low temperature and date Test your work Zip your folder Load your folder to entropy for Project 4 (make sure the size is not less than 10K when you upload it), Click the VERIFY Uploads link in Entropy to see the size.

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals

VARIABLES. 1. STRINGS Data with letters and/or characters 2. INTEGERS Numbers without decimals 3. FLOATING POINT NUMBERS Numbers with decimals VARIABLES WHAT IS A VARIABLE? A variable is a storage location in the computer s memory, used for holding information while the program is running. The information that is stored in a variable may change,

More information

Create a Login System in Visual Basic. Creating a login system. Start a new visual basic Windows Forms application project. Call it Login System

Create a Login System in Visual Basic. Creating a login system. Start a new visual basic Windows Forms application project. Call it Login System Creating a login system Start a new visual basic Windows Forms application project Call it Login System Change the form TITLE from Form1 to Login System Add the following to the form Component Text Name

More information

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop

Decision Structures. Start. Do I have a test in morning? Study for test. Watch TV tonight. Stop Decision Structures In the programs created thus far, Visual Basic reads and processes each of the procedure instructions in turn, one after the other. This is known as sequential processing or as the

More information

(Subroutines in Visual Basic)

(Subroutines in Visual Basic) Ch 7 Procedures (Subroutines in Visual Basic) Visual Basic Procedures Structured Programs To simplify writing complex programs, most Programmers (Designers/Developers) choose to split the problem into

More information

Engr 123 Spring 2018 Notes on Visual Studio

Engr 123 Spring 2018 Notes on Visual Studio Engr 123 Spring 2018 Notes on Visual Studio We will be using Microsoft Visual Studio 2017 for all of the programming assignments in this class. Visual Studio is available on the campus network. For your

More information

Moodle 2.2 Student User Guide My Private Files

Moodle 2.2 Student User Guide My Private Files Moodle 2.2 Student User Guide My Private Files Using My Private Files My Private Files saves files in the cloud. Only the user may access it, but you can access it from any computer where you can access

More information

Programming with Visual Studio Higher (v. 2013)

Programming with Visual Studio Higher (v. 2013) Programming with Visual Studio Higher (v. 2013) Contents/Requirements Checklist Multiple selection: using ifs & case While Loops Using arrays Filling arrays Displaying array contents Types of variables:

More information

Repetition Structures

Repetition Structures Repetition Structures There are three main structures used in programming: sequential, decision and repetition structures. Sequential structures follow one line of code after another. Decision structures

More information

BASIC ELEMENTS OF A COMPUTER PROGRAM

BASIC ELEMENTS OF A COMPUTER PROGRAM BASIC ELEMENTS OF A COMPUTER PROGRAM CSC128 FUNDAMENTALS OF COMPUTER PROBLEM SOLVING LOGO Contents 1 Identifier 2 3 Rules for naming and declaring data variables Basic data types 4 Arithmetic operators

More information

Function: function procedures and sub procedures share the same characteristics, with

Function: function procedures and sub procedures share the same characteristics, with Function: function procedures and sub procedures share the same characteristics, with one important difference- function procedures return a value (e.g., give a value back) to the caller, whereas sub procedures

More information

Computer Programming C++ (wg) CCOs

Computer Programming C++ (wg) CCOs Computer Programming C++ (wg) CCOs I. The student will analyze the different systems, and languages of the computer. (SM 1.4, 3.1, 3.4, 3.6) II. The student will write, compile, link and run a simple C++

More information

Making Decisions and Working with Strings

Making Decisions and Working with Strings GADDIS_CH04 12/16/08 6:47 PM Page 193 CHAPTER 4 Making Decisions and Working with Strings TOPICS 4.1 The Decision Structure 4.2 The If...Then Statement 4.3 The If...Then...Else Statement 4.4 The If...Then...ElseIf

More information

Unit 6 - Software Design and Development LESSON 3 KEY FEATURES

Unit 6 - Software Design and Development LESSON 3 KEY FEATURES Unit 6 - Software Design and Development LESSON 3 KEY FEATURES Last session 1. Language generations. 2. Reasons why languages are used by organisations. 1. Proprietary or open source. 2. Features and tools.

More information

Please answer questions in the space provided. Question point values are shown in parentheses.

Please answer questions in the space provided. Question point values are shown in parentheses. IS 320 Spring 99 Page 1 Please answer questions in the space provided. Question point values are shown in parentheses. 1. (15) Assume you have the following variable declarations and assignments: Dim A

More information

NOTES: Variables & Constants (module 10)

NOTES: Variables & Constants (module 10) Computer Science 110 NAME: NOTES: Variables & Constants (module 10) Introduction to Variables A variable is like a container. Like any other container, its purpose is to temporarily hold or store something.

More information

The Culminating Project: Sophomore Year. for the Class of 2017 and Beyond

The Culminating Project: Sophomore Year. for the Class of 2017 and Beyond The Culminating Project: Sophomore Year for the Class of 2017 and Beyond Presentation Overview Culminating Project Overview How to Log On to the Naviance Website How to Access the Sophomore Tasks for the

More information

Unit: Rational Number Lesson 3.1: What is a Rational Number? Objectives: Students will compare and order rational numbers.

Unit: Rational Number Lesson 3.1: What is a Rational Number? Objectives: Students will compare and order rational numbers. Unit: Rational Number Lesson 3.: What is a Rational Number? Objectives: Students will compare and order rational numbers. (9N3) Procedure: This unit will introduce the concept of rational numbers. This

More information

Microsoft Expression Web Basics of Creating a Web Site

Microsoft Expression Web Basics of Creating a Web Site Information Technology Department Pyle Center 1204 Wilmington College Wilmington, OH 45177 (800) 341-9318, ext. 459 helpdesk@wilmington.edu Microsoft Expression Web Basics of Creating a Web Site The first

More information

Visual C# Program: Temperature Conversion Program

Visual C# Program: Temperature Conversion Program C h a p t e r 4B Addendum Visual C# Program: Temperature Conversion Program In this chapter, you will learn how to use the following Visual C# Application functions to World Class standards: Writing a

More information

ACCUPLACER Placement Validity Study Guide

ACCUPLACER Placement Validity Study Guide ACES ACES (Admitted Class Evaluation Service TM ) ACCUPLACER Placement Validity Study Guide February 2018 COLLEGEBOARD.ORG/ACES Table of Contents Page ACES Overview ACCUPLACER Placement Validity Study

More information

Digital Media. Seasons Assignment. 1. Copy and open the file seasonsbegin.fla from the Read folder.

Digital Media. Seasons Assignment. 1. Copy and open the file seasonsbegin.fla from the Read folder. Digital Media Seasons Assignment 1. Copy and open the file seasonsbegin.fla from the Read folder. 2. Make a new layer for buttons. Create a button that the user will click to start the interaction. (Be

More information

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE

************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE Program 10: 40 points: Due Tuesday, May 12, 2015 : 11:59 p.m. ************ THIS PROGRAM IS NOT ELIGIBLE FOR LATE SUBMISSION. ALL SUBMISSIONS MUST BE RECEIVED BY THE DUE DATE/TIME INDICATED ABOVE HERE *************

More information

Click on the links below to navigate to the corresponding section of the document. Section 4: Completed Assessment Activities

Click on the links below to navigate to the corresponding section of the document. Section 4: Completed Assessment Activities Student Learning Assessment Management System Faculty Directions https://prd-stem.temple.edu/slam Click on the links below to navigate to the corresponding section of the document. Part 1: The Faculty

More information

RECOMMENDED PROCEDURE

RECOMMENDED PROCEDURE RECOMMENDED PROCEDURE Maintaining values entered in Information Store and downloading Financial Statements Template and VERSION 2.00 PROCEDURE SUMMARY 1. Open CaseWare Working Papers to go to Templates...

More information

Lab Sheet 4.doc. Visual Basic. Lab Sheet 4: Non Object-Oriented Programming Practice

Lab Sheet 4.doc. Visual Basic. Lab Sheet 4: Non Object-Oriented Programming Practice Visual Basic Lab Sheet 4: Non Object-Oriented Programming Practice This lab sheet builds on the basic programming you have done so far, bringing elements of file handling, data structuring and information

More information

First Visual Basic Lab Paycheck-V1.0

First Visual Basic Lab Paycheck-V1.0 VISUAL BASIC LAB ASSIGNMENT #1 First Visual Basic Lab Paycheck-V1.0 Copyright 2013 Dan McElroy Paycheck-V1.0 The purpose of this lab assignment is to enter a Visual Basic project into Visual Studio and

More information

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution.

Condition-Controlled Loop. Condition-Controlled Loop. If Statement. Various Forms. Conditional-Controlled Loop. Loop Caution. Repetition Structures Introduction to Repetition Structures Chapter 5 Spring 2016, CSUS Chapter 5.1 Introduction to Repetition Structures The Problems with Duplicate Code A repetition structure causes

More information

Excel Tables and Pivot Tables

Excel Tables and Pivot Tables A) Why use a table in the first place a. Easy to filter and sort if you only sort or filter by one item b. Automatically fills formulas down c. Can easily add a totals row d. Easy formatting with preformatted

More information

Lecture 3 (02/06, 02/08): Condition Statements Decision, Operations & Information Technologies Robert H. Smith School of Business Spring, 2017

Lecture 3 (02/06, 02/08): Condition Statements Decision, Operations & Information Technologies Robert H. Smith School of Business Spring, 2017 Lecture 3 (02/06, 02/08): Condition Statements Decision, Operations & Information Technologies Robert H. Smith School of Business Spring, 2017 K. Zhang BMGT 404 The modulus operator It works on integers

More information

CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points

CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points CS 1803 Pair Homework 3 Calculator Pair Fun Due: Wednesday, September 15th, before 6 PM Out of 100 points Files to submit: 1. HW3.py This is a PAIR PROGRAMMING Assignment: Work with your partner! For pair

More information

SAS Clinical Data Integration 2.6

SAS Clinical Data Integration 2.6 SAS Clinical Data Integration 2.6 User s Guide SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2015. SAS Clinical Data Integration 2.6: User's Guide.

More information

Level 3 Computing Year 2 Lecturer: Phil Smith

Level 3 Computing Year 2 Lecturer: Phil Smith Level 3 Computing Year 2 Lecturer: Phil Smith Previously We started to build a GUI program using visual studio 2010 and vb.net. We have a form designed. We have started to write the code to provided the

More information

Python Activity 5: Boolean Expressions and Selection Statements

Python Activity 5: Boolean Expressions and Selection Statements Python Activity 5: Boolean Expressions and Selection Statements "True or False and making choices" Learning Objectives Students will be able to: Content: Explain the three types of programming structures

More information

Introduction to Programming in Turing. Input, Output, and Variables

Introduction to Programming in Turing. Input, Output, and Variables Introduction to Programming in Turing Input, Output, and Variables The IPO Model The most basic model for a computer system is the Input-Processing-Output (IPO) Model. In order to interact with the computer

More information

Instructions for Using the e-learning Module on Service-Learning for Students

Instructions for Using the e-learning Module on Service-Learning for Students Instructions for Using the e-learning Module on Service-Learning for Students I. Accessing the e-learning module 1.1 Login to LEARN@PolyU (https://learn.polyu.edu.hk) with your NetID and password 1.2 Under

More information

UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING

UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING UNIT 2 USING VB TO EXPAND OUR KNOWLEDGE OF PROGRAMMING... 1 IMPORTANT PROGRAMMING TERMINOLOGY AND CONCEPTS... 2 Program... 2 Programming Language...

More information

Once file and folders are added to your Module Content area you will need to link to them using the Item tool.

Once file and folders are added to your Module Content area you will need to link to them using the Item tool. VITAL how to guides elearning Unit Last updated: 01.10.2010 Course Files tool Overview Course Files tool enables you to: Quickly copy large numbers of files into a VITAL module. Files can be dragged and

More information

Computing Science Unit 1

Computing Science Unit 1 Computing Science Unit 1 Software Design and Development Programming Practical Tasks Business Information Technology and Enterprise Contents Input Validation Find Min Find Max Linear Search Count Occurrences

More information

HireaHawk Job Posting Instructions

HireaHawk Job Posting Instructions HireaHawk Job Posting Instructions TABLE OF CONTENTS We highly encourage you to start at STEP I. These instructions will take you through posting a job and all the options that you have related to your

More information

COMPUTER SCIENCE SECTION A

COMPUTER SCIENCE SECTION A Total No. of Printed Pages 16 X/13/CSc 0 1 3 COMPUTER SCIENCE ( CANDIDATES WITH PRACTICAL/INTERNAL ASSESSMENT ) Full Marks : 80 Pass Marks : 4 ( CANDIDATES WITHOUT PRACTICAL/INTERNAL ASSESSMENT ) Full

More information

Initial Coding Guidelines

Initial Coding Guidelines Initial Coding Guidelines ITK 168 (Lim) This handout specifies coding guidelines for programs in ITK 168. You are expected to follow these guidelines precisely for all lecture programs, and for lab programs.

More information

Simple sets of data can be expressed in a simple table, much like a

Simple sets of data can be expressed in a simple table, much like a Chapter 1: Building Master and Detail Pages In This Chapter Developing master and detail pages at the same time Building your master and detail pages separately Putting together master and detail pages

More information

St. Benedict s High School. Computing Science. Software Design & Development. (Part 1 Computer Programming) National 5

St. Benedict s High School. Computing Science. Software Design & Development. (Part 1 Computer Programming) National 5 Computing Science Software Design & Development (Part 1 Computer Programming) National 5 VARIABLES & DATA TYPES Variables provide temporary storage for information that will be needed while a program is

More information

If user is School. Fig On successful login you would be presented with screen as shown in Fig 2: Fig.2

If user is School. Fig On successful login you would be presented with screen as shown in Fig 2: Fig.2 1. Select role as School 2. Enter username and password to login. If user is School Fig.1 3. On successful login you would be presented with screen as shown in Fig 2: Fig.2 4. This is the home page of

More information

Unit 6 - Software Design and Development LESSON 3 KEY FEATURES

Unit 6 - Software Design and Development LESSON 3 KEY FEATURES Unit 6 - Software Design and Development LESSON 3 KEY FEATURES Last session 1. Language generations. 2. Reasons why languages are used by organisations. 1. Proprietary or open source. 2. Features and tools.

More information

Introduction to Decision Structures. Boolean & If Statements. Different Types of Decisions. Boolean Logic. Relational Operators

Introduction to Decision Structures. Boolean & If Statements. Different Types of Decisions. Boolean Logic. Relational Operators Boolean & If Statements Introduction to Decision Structures Chapter 4 Fall 2015, CSUS Chapter 4.1 Introduction to Decision Structures Different Types of Decisions A decision structure allows a program

More information

V cover. Front cover. DB2 Stored Procedures Programming Workshop. (Course Code CF71) Student Exercises ERC 4.0. IBM Certified Course Material

V cover. Front cover. DB2 Stored Procedures Programming Workshop. (Course Code CF71) Student Exercises ERC 4.0. IBM Certified Course Material V2.0.0.1 cover Front cover DB2 Stored Procedures Programming Workshop (Course Code CF71) Student Exercises ERC 4.0 IBM Certified Course Material Student Exercises Trademarks IBM is a registered trademark

More information

The following are required to duplicate the process outlined in this document.

The following are required to duplicate the process outlined in this document. Technical Note ClientAce WPF Project Example 1. Introduction Traditional Windows forms are being replaced by Windows Presentation Foundation 1 (WPF) forms. WPF forms are fundamentally different and designed

More information

1 Exporting Files from Maestro Ortho Studio Great Lakes Orthodontics

1 Exporting Files from Maestro Ortho Studio Great Lakes Orthodontics SMPI123Rev123113 Exporting Files from Maestro Ortho Studio The following instructions will explain how to export, or save, models using Maestro Ortho Studio. When you are working with models in Ortho Studio

More information

Student Learning Assessment Management System Assessment Committee Member Directions

Student Learning Assessment Management System Assessment Committee Member Directions Student Learning Assessment Management System Assessment Committee Member Directions https://prd-stem.temple.edu/slam Click on the links below to navigate to the corresponding section of the document.

More information

IS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses.

IS 320 Spring 96 Page 1 Exam 1. Please use your own paper to answer the following questions. Point values are shown in parentheses. IS 320 Spring 96 Page 1 Please use your own paper to answer the following questions. Point values are shown in parentheses. 1. (10) Consider the following segment of code: If txtansicode.text < "0" Or

More information

IS 320 A/B Spring 97 Page 1 Exam 1

IS 320 A/B Spring 97 Page 1 Exam 1 IS 320 A/B Spring 97 Page 1 Please use the paper supplied by the instructor to answer the questions. Question point values are shown in parentheses. 1. (18) What output is generated by the three MsgBox

More information

Discussion 1H Notes (Week 3, April 14) TA: Brian Choi Section Webpage:

Discussion 1H Notes (Week 3, April 14) TA: Brian Choi Section Webpage: Discussion 1H Notes (Week 3, April 14) TA: Brian Choi (schoi@cs.ucla.edu) Section Webpage: http://www.cs.ucla.edu/~schoi/cs31 More on Arithmetic Expressions The following two are equivalent:! x = x + 5;

More information

Chapter 4 The If Then Statement

Chapter 4 The If Then Statement The If Then Statement Conditional control structure, also called a decision structure Executes a set of statements when a condition is true The condition is a Boolean expression For example, the statement

More information

Unit 6 - Software Design and Development LESSON 4 DATA TYPES

Unit 6 - Software Design and Development LESSON 4 DATA TYPES Unit 6 - Software Design and Development LESSON 4 DATA TYPES Previously Paradigms Choice of languages Key features of programming languages sequence; selection eg case, if then else; iteration eg repeat

More information

Where Did My Files Go? How to find your files using Windows 10

Where Did My Files Go? How to find your files using Windows 10 Where Did My Files Go? How to find your files using Windows 10 Have you just upgraded to Windows 10? Are you finding it difficult to find your files? Are you asking yourself Where did My Computer or My

More information

CS 101, Spring 2016 March 22nd Exam 2

CS 101, Spring 2016 March 22nd Exam 2 CS 101, Spring 2016 March 22nd Exam 2 Name: Question 1. [3 points] Which of the following loop statements would most likely cause the loop to execute exactly n times? You may assume that n will be set

More information

Introduction to the C++ Programming Language

Introduction to the C++ Programming Language LESSON SET 2 Introduction to the C++ Programming Language OBJECTIVES FOR STUDENT Lesson 2A: 1. To learn the basic components of a C++ program 2. To gain a basic knowledge of how memory is used in programming

More information

Customer Access to ipromise Documents through System 3i

Customer Access to ipromise Documents through System 3i Customer Access to ipromise Documents through System 3i ipromise Page 43 To access the customer portion of ipromise, log into System 3i and from the Borrower Search page click the Applications tab and

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

CMPSCI 187 / Spring 2015 Hangman

CMPSCI 187 / Spring 2015 Hangman CMPSCI 187 / Spring 2015 Hangman Due on February 12, 2015, 8:30 a.m. Marc Liberatore and John Ridgway Morrill I N375 Section 01 @ 10:00 Section 02 @ 08:30 1 CMPSCI 187 / Spring 2015 Hangman Contents Overview

More information

Creating the Data Layer

Creating the Data Layer Creating the Data Layer When interacting with any system it is always useful if it remembers all the settings and changes between visits. For example, Facebook has the details of your login and any conversations

More information

Carta User s Manual for Faculty and Staff

Carta User s Manual for Faculty and Staff Carta User s Manual for Faculty and Staff Overview I. How to submit a proposal A. Global Study Tours B. Journeys II. Logging into and navigating the system III. Search for an individual student IV. Reviewing

More information

Review: Exam 1. Your First C++ Program. Declaration Statements. Tells the compiler. Examples of declaration statements

Review: Exam 1. Your First C++ Program. Declaration Statements. Tells the compiler. Examples of declaration statements Review: Exam 1 9/20/06 CS150 Introduction to Computer Science 1 1 Your First C++ Program 1 //*********************************************************** 2 // File name: hello.cpp 3 // Author: Shereen Khoja

More information

Copy: IF THE PROGRAM or OUTPUT is Copied, then both will have grade zero.

Copy: IF THE PROGRAM or OUTPUT is Copied, then both will have grade zero. THIS IS HOMEWORK FOR PART-1 OF C/C++ COURSE Instructor: Prof Yahia Halabi Submit: Before exam-1 period [one week from 24/02/2013] Groups: Allowed to work in groups, but at the end, everyone should submit

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 22.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

cd h: mkdir -p CS101 cd CS101 curl -O unzip zipfile cd CS101_Exam4

cd h: mkdir -p CS101 cd CS101 curl -O   unzip zipfile cd CS101_Exam4 CS 101, Spring 2013 May 2nd Exam 4 Note: Make sure your programs produce the output in exactly the format described, including capitalization and punctuation. You may not receive credit for programs that

More information

In order to follow this set of directions you will need the following

In order to follow this set of directions you will need the following How to Create Maps & Figures in ArcView 9x In order to follow this set of directions you will need the following 1) the Jenny s Louisiana GIS Instructional CD 2) a computer with ArcGIS on it (version 9.0

More information

15-110: Principles of Computing, Spring 2018

15-110: Principles of Computing, Spring 2018 15-110: Principles of Computing, Spring 2018 Programming Assignment 3 Due: Tuesday, February 6 by 9PM Note: You are responsible for protecting your solutions to the following problems from being seen by

More information

Web-CAT Guidelines. 1. Logging into Web-CAT

Web-CAT Guidelines. 1. Logging into Web-CAT Contents: 1. Logging into Web-CAT 2. Submitting Projects via jgrasp a. Configuring Web-CAT b. Submitting Individual Files (Example: Activity 1) c. Submitting a Project to Web-CAT d. Submitting in Web-CAT

More information

The Culminating Project: Freshman Year. for the Class of 2017 and Beyond

The Culminating Project: Freshman Year. for the Class of 2017 and Beyond The Culminating Project: Freshman Year for the Class of 2017 and Beyond Presentation Overview Culminating Project Overview How to Log On to the Naviance Website How to Access the 9 th Grade Tasks for the

More information

EECE.2160: ECE Application Programming Spring 2018

EECE.2160: ECE Application Programming Spring 2018 EECE.2160: ECE Application Programming Spring 2018 1. (46 points) C input/output; operators Exam 1 Solution a. (13 points) Show the output of the short program below exactly as it will appear on the screen.

More information

Repetition Structures

Repetition Structures Repetition Structures Chapter 5 Fall 2016, CSUS Introduction to Repetition Structures Chapter 5.1 1 Introduction to Repetition Structures A repetition structure causes a statement or set of statements

More information

The specific steps to build Wooden Crafts database are here: 1. Create New Database. i. After opening Access, click Blank Desktop Database :

The specific steps to build Wooden Crafts database are here: 1. Create New Database. i. After opening Access, click Blank Desktop Database : Highline College - Busn 216: Computer Applications for Business (Fun and Power with Computers) Office 2016 Video #39: Access 2016: Create Database, Import Excel, Create Tables & Forms, Build Relationships

More information

CSE 1530: Introduction to Computer Use II - Programming. 1a. [4 points, one point each] Define/explain any four of the following terms.

CSE 1530: Introduction to Computer Use II - Programming. 1a. [4 points, one point each] Define/explain any four of the following terms. 1. Basic Knowledge 1a. [4 points, one point each] Define/explain any four of the following terms. Algorithm: A set of step-by-step instructions that when completed, solve a problem. Procedural programming:

More information

HHH Instructional Computing Fall

HHH Instructional Computing Fall Quick Start Guide for School Web Lockers Teacher log-on is the same as for Infinite Campus Student log-on is the same initial log on to the network except no school year is required before their user name

More information

Use the scantron sheet to enter the answer to questions (pages 1-6)

Use the scantron sheet to enter the answer to questions (pages 1-6) Use the scantron sheet to enter the answer to questions 1-100 (pages 1-6) Part I. Mark A for True, B for false. (1 point each) 1. Abstraction allow us to specify an object regardless of how the object

More information

15-110: Principles of Computing, Spring 2018

15-110: Principles of Computing, Spring 2018 15-110: Principles of Computing, Spring 2018 Programming Assignment 5 Due: Tuesday, February 27 by 9PM Note: You are responsible for protecting your solutions to the following problems from being seen

More information

Lab # 02. Basic Elements of C++ _ Part1

Lab # 02. Basic Elements of C++ _ Part1 Lab # 02 Basic Elements of C++ _ Part1 Lab Objectives: After performing this lab, the students should be able to: Become familiar with the basic components of a C++ program, including functions, special

More information

Learning VB.Net. Tutorial 11 Functions

Learning VB.Net. Tutorial 11 Functions Learning VB.Net Tutorial 11 Functions Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you enjoy it. If

More information

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment.

IT3101 -Rapid Application Development Second Year- First Semester. Practical 01. Visual Basic.NET Environment. IT3101 -Rapid Application Development Second Year- First Semester Practical 01 Visual Basic.NET Environment. Main Area Menu bar Tool bar Run button Solution Explorer Toolbox Properties Window Q1) Creating

More information

Making Decisions In Python

Making Decisions In Python Making Decisions In Python In this section of notes you will learn how to have your programs choose between alternative courses of action. Decision Making Is All About Choices My next vacation? Images:

More information

I. True/False: (2 points each)

I. True/False: (2 points each) CS 102 - Introduction to Programming Midterm Exam #2 - Prof. Reed Spring 2008 What is your name?: (2 points) There are three sections: I. True/False..............54 points; (27 questions, 2 points each)

More information

CSE 1325 Project Description

CSE 1325 Project Description CSE 1325 Summer 2016 Object-Oriented and Event-driven Programming (Using Java) Instructor: Soumyava Das Graphical User Interface (GUI), Event Listeners and Handlers Project IV Assigned On: 07/28/2016 Due

More information

Appendix A1 Visual Basics for Applications (VBA)

Appendix A1 Visual Basics for Applications (VBA) Credit Risk Modeling Using Excel and VBA with DVD By Gunter Löffler and Peter N. Posch 2011 John Wiley & Sons, Ltd. Appendix A1 Visual Basics for Applications (VBA) MACROS AND FUNCTIONS In this book, we

More information

Lecture 8. Conditionals & Control Flow

Lecture 8. Conditionals & Control Flow Lecture 8 Conditionals & Control Flow Announcements For This Lecture Readings Sections 5.1-5.7 today Chapter 4 for Tuesday Assignment 2 Posted Today Written assignment Do while revising A1 Assignment 1

More information

CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question)

CS/B.TECH/CSE(New)/SEM-5/CS-504D/ OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70 GROUP A. (Multiple Choice Type Question) CS/B.TECH/CSE(New)/SEM-5/CS-504D/2013-14 2013 OBJECT ORIENTED PROGRAMMING Time Allotted : 3 Hours Full Marks : 70 The figures in the margin indicate full marks. Candidates are required to give their answers

More information

Chapter 2.4: Common facilities of procedural languages

Chapter 2.4: Common facilities of procedural languages Chapter 2.4: Common facilities of procedural languages 2.4 (a) Understand and use assignment statements. Assignment An assignment is an instruction in a program that places a value into a specified variable.

More information

Learning VB.Net. Tutorial 19 Classes and Inheritance

Learning VB.Net. Tutorial 19 Classes and Inheritance Learning VB.Net Tutorial 19 Classes and Inheritance Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple applications, hope you

More information

DATA AND ABSTRACTION. Today you will learn : How to work with variables How to break a program down Good program design

DATA AND ABSTRACTION. Today you will learn : How to work with variables How to break a program down Good program design DATA AND ABSTRACTION Today you will learn : How to work with variables How to break a program down Good program design VARIABLES Variables are a named memory location Before you use a variable you must

More information

CS313D: ADVANCED PROGRAMMING LANGUAGE

CS313D: ADVANCED PROGRAMMING LANGUAGE CS313D: ADVANCED PROGRAMMING LANGUAGE Computer Science department Lecture 2 : C# Language Basics Lecture Contents 2 The C# language First program Variables and constants Input/output Expressions and casting

More information

Accessing Web Version of Life Illustrator

Accessing Web Version of Life Illustrator Accessing Web Version of Life Illustrator After signing into the Nationwide Financial Sales and Service Center website, the web version of Life Illustrator can be accessed by clicking on Products>Life>Resources>Tools>Nationwide

More information

July 19th 23rd, 2017 Detroit, Michigan

July 19th 23rd, 2017 Detroit, Michigan 2017 Sigma Beta Club Leadership Conference Awards Packet July 19th 23rd, 2017 Detroit, Michigan NATIONAL AND REGIONAL SBC MEMBER AWARD FORM (page 1) SBC Member s Name: Age: School: Classification: GPA:

More information

CSCI 135 Programming Exam #1 Fundamentals of Computer Science I Fall 2014

CSCI 135 Programming Exam #1 Fundamentals of Computer Science I Fall 2014 CSCI 135 Programming Exam #1 Fundamentals of Computer Science I Fall 2014 This part of the exam is like a mini- programming assignment. You will create a program, compile it, and debug it as necessary.

More information

Computers and FORTRAN Language Fortran 95/2003. Dr. Isaac Gang Tuesday March 1, 2011 Lecture 3 notes. Topics:

Computers and FORTRAN Language Fortran 95/2003. Dr. Isaac Gang Tuesday March 1, 2011 Lecture 3 notes. Topics: Computers and FORTRAN Language Fortran 95/2003 Dr. Isaac Gang Tuesday March 1, 2011 Lecture 3 notes Topics: - Program Design - Logical Operators - Logical Variables - Control Statements Any FORTRAN program

More information

Parent. Access. Manual

Parent. Access. Manual EDUCATIONAL SERVICES Parent Access Manual GENESIS STUDENT INFORMATION SYSTEM PARENT ACCESS I. Introduction II. Logging In III. Student Summary Dashboard Screen A. Viewing the Dashboard B. Choosing a Student

More information

Practicing on word processor, spreadsheet, search engines, citation and referencing, and creating zipped files.

Practicing on word processor, spreadsheet, search engines, citation and referencing,  and creating zipped files. Practicing on word processor, spreadsheet, search engines, citation and referencing, email and creating zipped files. 1 Exercise 1: Creating MS Word document 1. Create a new folder in My Documents and

More information

The Big Python Guide

The Big Python Guide The Big Python Guide Big Python Guide - Page 1 Contents Input, Output and Variables........ 3 Selection (if...then)......... 4 Iteration (for loops)......... 5 Iteration (while loops)........ 6 String

More information

Doc Sharing-Faculty. Click Add Category (see illustration above). The Add Category window will display (see illustration below).

Doc Sharing-Faculty. Click Add Category (see illustration above). The Add Category window will display (see illustration below). Doc Sharing-Faculty This option is used for sharing between instructors and students. Instructors and students can upload documents, images, worksheets, presentations, zip files, and HTML pages. Students

More information

Q1: Multiple choice / 20 Q2: C input/output; operators / 40 Q3: Conditional statements / 40 TOTAL SCORE / 100 EXTRA CREDIT / 10

Q1: Multiple choice / 20 Q2: C input/output; operators / 40 Q3: Conditional statements / 40 TOTAL SCORE / 100 EXTRA CREDIT / 10 EECE.2160: ECE Application Programming Spring 2016 Exam 1 February 19, 2016 Name: Section (circle 1): 201 (8-8:50, P. Li) 202 (12-12:50, M. Geiger) For this exam, you may use only one 8.5 x 11 double-sided

More information