Looping and Multiple Forms TEST REVIEW

Slides:



Advertisements
Similar presentations
Objectives Understand the software development lifecycle Perform calculations Use decision structures Perform data validation Use logical operators Use.
Advertisements

ITEC113 Algorithms and Programming Techniques
Visual Basic.NET BASICS Lesson 10 Do Loops. 2 Objectives Explain what a loop is. Use the Do While and Do Until loops. Use the InputBox function. Use the.
Do/Loops A loop repeats a series of instructions. An iteration is a single execution of the statement(s) in the loop. Used when the exact number of iterations.
1 Prototyping for HCI Spring 2004 (Week 7) Jorge A. Toro.
Tutorial 12 Working with Arrays, Loops, and Conditional Statements
instance variables property procedures for the mintQuantity instance variable.
Adding Automated Functionality to Office Applications.
Games and Simulations O-O Programming in Java The Walker School
Microsoft Visual Basic 2005 CHAPTER 8 Using Procedures and Exception Handling.
Chapter 5 Java Script And Forms JavaScript, Third Edition.
Microsoft Visual Basic 2008 CHAPTER NINE Using Arrays and File Handling.
Microsoft Visual Basic 2005 CHAPTER 9 Using Arrays and File Handling.
Microsoft Visual Basic 2010: Reloaded Fourth Edition Chapter Six Repeating Program Instructions.
Using Arrays and File Handling
 What are the different types of loops? ◦ Do….While  Performs statements within loop while a condition is true ◦ Do….Until  Performs statements within.
VB.NET PROGRAMMING FINAL EXAM TEST REVIEW.
5-1 Chapter 5 The Repetition Process in VB.NET. 5-2 Learning Objectives Understand the importance of the repetition process in programming. Describe the.
4 1 Array and Hash Variables CGI/Perl Programming By Diane Zak.
1 Week 6 The Repetition Structure. 2 The Repetition Structure (Looping) Lesson A Objectives After completing this lesson, you will be able to:  Code.
Visual Basic Programming Chapter Six Notes Repetition and the Do Statement ADDING ICONS TO YOUR FORM –It is possible to add an ______________ to your title.
Tutorial 51 Programming Structures Sequence - program instructions are processed, one after another, in the order in which they appear in the program Selection.
Tutorial 6 The Repetition Structure
Visual Basic.net Loops. Used to do multiple executions of the same block of code Do while loops Do until loops For next loops.
Programming with Microsoft Visual Basic 2008 Fourth Edition Chapter Eight String Manipulation.
Chapter 3 Control Structures. The If…Then Statement The If…Then statement is a Decision statement = that executes a set of statements when a condition.
7-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Program Organization Sequential Execution: One line done after the other Conditional Execution: If a test is true, one section is done, otherwise another.
Iterations (aka Loops). 2 Loops Loops (iterations) are segments of code that may be executed several times. Fixed-count (definite) loops repeat a fixed.
Visual Basic.NET BASICS Lesson 11 List Boxes, For Next Loops, and Label Settings.
Controlling Program Flow with Looping Structures
Unit 6 Repetition Processing Instructor: Brent Presley.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 5 Decision Making.
5a – While Loops Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 6 Looping and Multiple Forms.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 6 Looping and Multiple Forms.
Arrays 1.
Chapter 8 Multiple Forms, Modules, and Menus. Introduction This chapter demonstrates how to: – Add multiple forms to a project – Create a module to hold.
Chapter 5 Validating Form Data with JavaScript
Chapter 6: Loops.
Creating LOVs and Editors
Files.
Pseudocode Upsorn Praphamontripong CS 1110 Introduction to Programming
CSCI 3327 Visual Basic Chapter 4: Control Statements in Visual Basic (Part 2B) UTPA – Fall 2011 Part of the slides is from Dr. John Abraham’s previous.
Java Programming: Guided Learning with Early Objects
Using Procedures and Exception Handling
Introducing Do While & Do Until Loops & Repetition Statements
VISUAL BASIC FINAL EXAM REVIEW SHEET
Repeating Program Instructions
Chapter 6 – Repetition 6.1 Do Loops 6.2 For...Next Loops
Arrays, For loop While loop Do while loop
Microsoft Visual Basic 2005: Reloaded Second Edition
Exploring Microsoft Excel
MSIS 655 Advanced Business Applications Programming
Chapter (3) - Looping Questions.
CIS 16 Application Development Programming with Visual Basic
VB.NET PROGRAMMING FINAL EXAM TEST REVIEW.
Introduction to Problem Solving and Control Statements
Computer Science Core Concepts
Additional Topics in VB.NET
Object-Oriented Programming: Inheritance and Polymorphism
Topics Introduction to Value-returning Functions: Generating Random Numbers Writing Your Own Value-Returning Functions The math Module Storing Functions.
ICT Gaming Lesson 3.
CIS16 Application Development and Programming using Visual Basic.net
Language Constructs Construct means to build or put together. Language constructs refers to those parts which make up a high level programming language.
CIS16 Application Development and Programming using Visual Basic.net
Programming Logic and Design Fifth Edition, Comprehensive
IPC144 Introduction to Programming Using C Week 4 – Lesson 2
Introduction to Computer Programming IT-104
Presentation transcript:

Looping and Multiple Forms TEST REVIEW Chapter 6 Looping and Multiple Forms TEST REVIEW

QUESTION 1: It’s possible to add an icon to your title bar by setting the form’s ____________ property. Answer: ICON

QUESTIONS 2 & 3: Determines how items display in the ListView Control. ANSWER QUESTION 2: VIEW PROPERTY Switch to __________ if you want multiple columns to show up in the listview control. ANSWER QUESTION 3: DETAILS

QUESTION 4: Rather than having to code changes for the width, height, and location of every control, VB.NET allows you to set a fixed location, or _____________, for controls to specified sides of a form. ANSWER ANCHOR

QUESTIONS 5 & 6: Most .NET applications contain more than one form. ANSWER: TRUE If the first form is used to launch the second form it is sometimes referred to as the __________. ANSWER PARENT

QUESTIONS 7 & 8: The ________________________ is used in applications to allow a user to specify one of two conditions, such as on or off, yes or no, or true or false. ANSWER CHECKBOX CONTROL Determines whether the box is checked or not. It’s either True or False. CHECKED PROPERTY

QUESTION 9: Well, as is the case with all forms, the Today’s Sales Entry Form is a ____________, which means that an instance of the class must be declared before it can be used. This can be done with an _________________________. ANSWER CLASS OBJECT VARIABLE

QUESTIONS 10 & 11: ANSWER NEW KEYWORD The _______________________ determines whether the variable contains a complete instance of the object. ANSWER NEW KEYWORD If the New keyword is not used, then the variable is declared for future use but no memory is set aside for the contents of the object. If the New Keyword is used, the object is said to be _____________________ and memory is set aside for a complete copy of the object. You can’t use a new form until this is done. Answer INSTANTIATED

QUESTIONS 12 & 13 If the __________________ is used in a form’s code to open another form, then both forms still can receive focus and be accessed by the user. This is called a ____________________ – meaning that the user can flip back and forth between the forms. ANSWERS Show() Method, modeless The ______________________ is used to open a ________________ form. This means that the user must complete the action on the modal form before they will be allowed to continue work on other forms. Show Dialog(), modal

QUESTION 14 One of the most powerful aspects of computer programming is the capability of performing a set of operations repeatedly based on certain conditions. In programming, the process of repeating a set of instructions is known as ______________. ANSWER LOOPING OR REPETITION

QUESTION 15: This statement repeatedly executes a series of statements in the loop as long as the condition is true. ANSWER: DO WHILE Two examples: (one tests at the top of the structure, one tests at the bottom of the structure) Do While intCount <=20 Do intCount = intCount +1 intCount = intCount +1 Loop Loop While intCount <=20

QUESTION 16: This statement loops until the condition becomes true. ANSWER: DO UNTIL Two examples: (one tests at the top of the structure, one tests at the bottom of the structure) Do Until intCount >= 20 Do intCount = intCount +1 intCount = intCount +1 Loop Loop Until intCount >= 20

QUESTIONS 17 & 18: A __________________ is a group of one or more objects that can be accessed and operated on as a single entity. ANSWER: COLLECTION VB.NET assigns an unique ____________ to each item in a collection. This comes in handy when writing code for a ListView Control. ANSWER INDEX NUMBER

QUESTIONS 20, 21 & 22: __________________ – this property always displays as the first column in the ListView Control. If you have more than one column in a ListView control, a ________________ collection is created. Each Item and SubItem has an ___________________ ANSWERS TEXT PROPERTY SUBITEMS INDEX PROPERTY

QUESTION 23 & 24 For Example lstTodaysSales.Items(1).Text = _______________ lstTodaysSales.Items(0).SubItems(2).Text = ________

QUESTIONS 25 & 26: Loop that has an automatic counter and condition built in. ANSWER: FOR …. NEXT LOOP List Three Benefits of For … Next Loops: More efficient than a Do While Loop Easier to read Uses less memory Faster execution

QUESTIONS 27 & 28: For example: The ___________________ allows you to retrieve part of a string (from a larger string) based on a start position and the number of characters to retrieve. ANSWER SUBSTRING METHOD For example: strExample = “Christy Garrett” strLastName = strExample.Substring ( ___ , ___) (8, 7)

STUDY, STUDY, STUDY THE TEST IS TOUGH! MAKE SURE YOU READ OVER ALL OF YOUR NOTES!