ISM 3253 Exam I Spring 2009

Size: px
Start display at page:

Download "ISM 3253 Exam I Spring 2009"

Transcription

1 ISM 3253 Exam I Spring 2009 Directions: You have exactly 75 minutes to complete this test. Time available is part of the exam conditions and all work must cease when "Stop work" is announced. Failing to stop at the first announcement will result in a 10% penalty. Failing to stop at the second announcement will be a 100% penalty. Be sure to read each question carefully. Determine what is being asked. Some questions ask for more than one response from you. You do not need to provide any information that is not specifically asked for in the question. You may separate the exam pages if you would like but there will be a penalty for not reassembling them in the proper order. Some questions may have multiple correct answers. You only need to provide one correct answer unless specifically told otherwise. Partial credit will be given. Coding Rules: 1. Do not comment your code 2. Do use appropriate variable and control naming. 3. All variables must be declared unless the question states otherwise. 1. (10 points) Refer to the form to the right. What will be the contents of the label lblone.text and lbltwo.text when the code for the btnanswer Click event finishes running? Control names are shown in the labels next to the controls. Name (Print) Private Sub btnanswer_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btnanswer.click Dim intone As Integer Dim inttwo As Integer = 2 intone = Val(txtOne.Text) intone = intone + inttwo lblone.text = intone.tostring inttwo = inttwo + intone lbltwo.text = inttwo.tostring End Sub lblone.text lbltwo.text

2 2. (10 points) List five control types with a property of that control that can be directly changed by user action when the form is running Control Property 3. (6 points) Pick one of the properties you specified above that can accept a string value. Write a line of code to set this property to the value of the variable called strvariable. Assume that the variable has already been appropriately declared and set with a value from previous code. 4. (6 points) Name a control type and property that can be directly affected by user interaction where the property contains a Boolean (True/False) value. 5. (6 points) Name two controls needing event code in Homework #3 and the event for each that you will use. The two controls must be of different types Control Event 2

3 6. (8 points) Consider the VB code and chart below. If btnquestion6 is clicked two times with the values for txtinput shown in the chart indicate the values that will be set into the three labels each time the button is pushed. Assume that the program continues to run (it is not shut down) for each execution of the event. Public Class Form1 Dim intfirst As Integer Private Sub btnquestion6_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btnquestion6.click Dim intsecond as Integer intfirst = intfirst + intsecond lblfirst.text = intfirst.tostring intsecond = Val(txtInput.Text) lblsecond.text = intsecond.tostring intfirst = intfirst + intsecond lblthird.text = intfirst.tostring End Sub End Class Click # txtinput lblfirst lblsecond lblthird (5 points) Write the following math expression using VB syntax using x as a variable name in the VB: 8. (10 points) If x = 5 and y = 2 what is the value of the following VB expressions? a. x + (5 * y) / x y b. (4 ^ y / 2 + x) * y / 4 3

4 9. (10 points) Refer to the form below with two textboxes, txtprice and txtqty and the button btntotal. Write code for the TextChanged event below that will enable the button if both text boxes contain numeric values > 0 and are not empty and which will disable the button if either text box is not numeric or is empty. Note that the event code template below will execute if the.text property of either text box changes. The enabled status of the button is set with the btntotal.enabled property which may be set to either True or False. As shown the button s initial.enabled property value is False. Private Sub txtprice_textchanged(byval sender As System.Object, _ ByVal e As System.EventArgs) _ Handles txtprice.textchanged, txtqty.textchanged 4

5 10. (10 points) Assume that the variable stralumni will always contain a former student s Social Security Number as a 9- digit string of numbers, the Last Name in a 20-character string filled with spaces if necessary, and the first name as a 15- character string also padded with spaces if necessary. Three sample values for stralumni might look like this Jones Willimina Frederickson-Smith Joe Alberts Billy-Bob Assume that the variable stralumni has already been declared and loaded with a value. Write the code to extract just the first and last names from this string and store them without any spaces into the variables called strfirstname and strlastname. Your code must work for any value of stralumni following these formatting rules, not just one of the samples shown above. You do not need to write any Sub or End Sub statements. 11. (10 points) While I almost never give True/False exams I will make an exception for this case. Evaluate the expressions below and determine whether they are True or False: a. (TRUE AND FALSE) OR (TRUE OR FALSE) b. NOT FALSE OR (FALSE OR TRUE) OR FALSE c. (FALSE OR NOT TRUE OR FALSE) 5

6 12. (10 points) Consider the form to the right which contains a list of student class standing titles in a list box called lststatus. Students get different start times for course registration depending on their standing as shown below. Senior Junior Sophomore Freshman 8:00 AM 11:00 AM 2:00 PM 5:00 PM Write code for the btntime Click event that will load the start time as a string for the selected status into the label lblstarttime. lststatus.text will give you the text of the item the user has selected while lststatus.selectedindex will give the position in the list (starting with zero) of the item the user has selected. Do not attempt to treat the start time as a date-time value as we have not covered this yet. Just treat it as a string. Private Sub btntime_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btntime.click End Sub 6

7 ISM 3253 Exam II Fall 2009 Dr. West Directions: You have exactly 75 minutes to complete this test. Time available is part of the exam conditions and all work must cease when "Stop work" is announced. Failing to stop at the first announcement will result in a 10% penalty. Failing to stop at the second announcement will be a 100% penalty. Be sure to read each question carefully. Determine what is being asked. Some questions ask for more than one response from you. You do not need to provide any information that is not specifically asked for in the question. You may separate the exam pages if you would like but there will be a penalty for not reassembling them in the proper order. Some questions may have multiple correct answers. You only need to provide one correct answer unless specifically told otherwise. Partial credit will be given. Coding Rules: 1. Do not comment your code 2. Do use appropriate variable and control naming when appropriate 3. All variables must be declared unless the question states otherwise. Name (Print) 1. (11 points) Consider the four sections of code below. For each, indicate what will be displayed in Label1.Text when the code has finished. Just write your answer inside the box containing the code. Dim intcount as Integer Dim x as Integer For x = 0 to 4 intcount += 3 Next x Label1.Text = intcount.tostring Dim intcount as Integer intcount = 0 Do While intcount < 5 intcount += 1 Loop Label1.Text = intcount.tostring Label1.Text = Dim intcount as Integer Dim x as Integer For x = 0 to 3 intcount += x Next x Label1.Text = x Label1.Text = Dim intcount as Integer intcount = 0 Do Until intcount > 5 intcount += intcount Loop Label1.Text = intcount.tostring Label1.Text = Label1.Text =

8 2. (11 points) Assume that you are modifying an existing application and that the application creates a single-dimension array called sglprices( ) of type Single that is sized and populated elsewhere in the application code. Write code that will total all of the values in the array and store the total into a variable called sgltotal. 3. (11 points) Assume that you are writing code on FormA to show FormB. Write three different examples of code on FormA that will show FormB while making FormA unavailable for user interaction. 2

9 4. (11 points) Assume that your application code has the two-dimensioned string array called strtrans scoped at the module level. This array is used to hold the values for our checkbook program instead of using independent arrays. In addition, the variables sglbalance and intcount are scoped at the module level and sglbalance was filled by the btnsave code just as should have been done in HW #3 & #4. Remember that the check number text box contains Dep if the transaction is a deposit. Each btnrecord_click event executes the following code: ReDim Preserve strtrans(4, intcount) strtrans(0, intcount) = txtchecknum.text strtrans(1, intcount) = dtptransdate.text strtrans(2, intcount) = txtpayee.text strtrans(3, intcount) = txtpurpose.text strtrans(4, intcount) = txtamount.text intcount = intcount + 1 Write the code to calculate the total balance in the account if the starting balance is stored in a variable called sglbalance. This code will run AFTER the code shown above. 3

10 5. (11 points) Consider the structure of the Try End Try block shown below: Try Catch ex As OverflowException Catch ex As IndexOutOfRangeException Catch ex As Exception Finally End Try a. What happens if an error occurs between the Try statement and the first Catch statement? b. Why are there multiple Catch statements inside this block? c. Why should any Try End Try include a Catch ex As Exception statement and why should this statement be the last Catch statement in the block? d. If the Finally statement is present, when will the code between Finally and End Try execute? 4

11 6. (11 points) Write a function that will receive as two passed parameters an integer value for starting mileage, a second integer value for ending mileage, and a single precision value for gallons used. The function must return the miles per gallon achieved for these values as a single precision value 7. (11 points) Write a subroutine that will receive two integer values as passed parameters and display the lowest of the two values in the text box txtresult. 5

12 8. (11 points) Any form in a multiform application can reference any other form in two ways, by referring to the form by name in code or by creating an object variable instance of the other form and referring to the object variable instance. What are the differences between using these two techniques for referencing one form from another form? 9. (11 points) Homework #3 & #4 required you to write a subroutine that would receive an entire text box control as a passed parameter as well as a validation string (e.g., ) and validate the text box s contents to ensure that it contained characters in the validation string. What is the advantage of writing this code in a subroutine instead of putting the validation code in the TextChanged event of each text box on the form? 6

13 ISM 3253 Final Exam Fall 2009 Section 01 Directions: You have exactly 105 minutes (1 hour 45 minutes) to complete this exam. Time available is part of the exam conditions and all work must cease when "Stop work" is announced. Failing to stop at the first announcement will result in a 10% penalty. Failing to stop at the second announcement will be a 100% penalty. Be sure to read each question carefully. Determine what is being asked. Some questions ask for more than one response from you. You do not need to provide any information that is not specifically asked for in the question. Some questions may have multiple correct answers. You only need to provide one correct answer unless specifically told otherwise. Partial credit will be given. Coding Rules: 1. Do not comment your code 2. Do use appropriate variable and control naming when appropriate 3. All variables you create must be declared unless the question states otherwise. Name (Print)

14 1. Assume that the variable strinfo will always contain the Product ID as a 4 character string containing a number, a colon, the Product Name (which may include spaces), a colon, the Product Price with just numbers and a decimal point, a colon, and the quantity currently in stock. Two sample values for strinfo might look like this 0012:Joe s Pickled Gopher Gizzards:34.56: :Wanda s Candied Dragonfly Hearts:19.95:4567 Write the code to extract just the product name from this string and store it into a variable called strname. You do not need to write any Sub header for the code. 2. Write a function that will receive as two passed parameters a single precision value for product price and an integer value for quantity. The function must return the total amount owed for this item including a sales tax of 6%. You must write the entire function structure including the Function and End Function lines. 2

15 3. Assume that your application code has the two-dimensioned string array called strtrans scoped at the module level. This array is used to hold the values for our checkbook program instead of using independent arrays. In addition, the variables sglstartbalance and intcount are scoped at the module level. sglstartbalance is set one time elsewhere in the code and is not changed by any code. Remember that the check number text box contains Dep if the transaction is a deposit. Each btnrecord_click event executes the following code: ReDim Preserve strtrans(4, intcount) strtrans(0, intcount) = txtchecknum.text strtrans(1, intcount) = dtptransdate.text strtrans(2, intcount) = txtpayee.text strtrans(3, intcount) = txtpurpose.text strtrans(4, intcount) = txtamount.text intcount = intcount + 1 Write the code to calculate the total balance in the account if the starting balance is stored in a local variable called sglbalance. This code will run AFTER the code shown above. You must recalculate the new balance from values stored in the array and sglstartbalance. 3

16 4. Assume that an employee s record has been loaded from a data file and that the variable dtbirthdate contains a date value for the employee s birth date. Write the code to set the employee s current age in years into an integer variable called intage. 5. What is the difference in behavior between the following two lines of code if the file f:\sample.txt already exists? A. Dim fstest As New FileStream( f:\sample.txt, FileMode.Append, FileAcces.Write) B. Dim fstest As New FileStream( f:\sample.txt, FileMode.Create, FileAcces.Write) 6. Answer each of the questions below: A. What value to programmers do classes, user defined controls (user controls), and dynamic link library (DLL) projects have in common? B. When working with sequential data files we had to add the statement Imports System.IO to a form. On the last day of class we saw the statement Imports System.Data.SQLClient. What capability that was demonstrated does this statement provide? 4

17 Questions 7 & 8 Refer to the Form and Data File on page 9 of the exam only. Do not consider the class definition on page 10 when answering these two questions. 7. Refer to the Peer Evaluation form and data file for the peer evaluation application. Write all of the code for the btnsave Click event to record a rating in the file. You do not need to perform any validation in this code. Remember that names must be concatenated to the form First-space-Last for writing and that the rated student s name is the first one in the record followed by the rating student s name second. Private Sub btnsave_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btnsave.click 5

18 8. Write all of the code for the btnaverages button click event on the Peer Scores form to calculate the effort, effectiveness, and overall average scores for the student named in the text boxes and display the results in the appropriate labels. Remember that the rated student s name is the first one in the list. Private Sub btnaverages_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btnaverages.click 6

19 Questions 9 & 10 Refer to the Form and Data File on page 9 and the class definition on page Refer to the sample form and data file and class definition for the peer evaluation program. Write an Effort property for the class that will receive and validate a score for effort according to the rules listed below. If the score is valid it must be passed through to the private variable m_sgleffort. The property must also allow reading m_sgleffort. A. The score can never be negative (zero is allowed) B. The score cannot be greater than ten C. The score must be numeric D. The score must exist 7

20 10. Refer to the sample form and data file and class definition for the peer evaluation application and note the empty WriteRecord method (Sub) in the class. Assume that this method contains the correct code for writing a record to the data file (very similar to your answer to Question #7) except that the code uses the member variables shown in the class (m_strratedlast, etc.) as the values to be written. Write the declaration for the class and the code for the Click Event of the btnsave button on the form that will save an evaluation into the data file using the capabilities of the class. Your code must test the status of the class error property before executing the actual save. You are not writing the actual class code to execute the write operation. You are writing code on the form file. Public Class PeerEvaluations Private Sub btnsave_click(byval sender As System.Object, _ ByVal e As System.EventArgs) Handles btnsave.click 8

21 You may remove this page from the exam if you wish. Some of the exam questions refer to the forms and data file illustrated below. The data mimics that used in peer evaluations in my classes where students work in project teams. Each student rates each of their teammates on a 0-10 scale on both Effort and Effectiveness. The data file shows a sample of transactions. Assume that all data in the file is for one class only. Textbox and relevant label names are shown as the.text properties for the controls in the screen shots. Note that even though names are entered separately as First and Last they are recorded as First-space-Last. Also note that the rated student s name is the first name in the data record. c:\rating.txt Joe Smith Wanda McGillicutty 8 5 Sally Jones Marty Alberts Joe Smith Mary Cunningham 6 5 : : Wanda McGillicutty Joe Smith 10 2 Mary Cunningham Al Hirt 9 8 Remember the rated student is the first of the two names while the student giving the rating is the second. 9

22 Imports System.IO Public Class FinalExamClass Private m_strratedfirst As String Private m_strratedlast As String Private m_strratingfirst As String Private m_strratinglast As String Private m_sgleffort As Single Private m_sgleffect As Single Private m_blniserror As Boolean Public ReadOnly Property IsError() As Boolean Get Return m_blniserror End Get End Property Public Property RatedFirst() As String Get Return m_strratedfirst End Get Set(ByVal value As String) If Len(Trim(value)) > 0 Then m_strratedfirst = value Else m_blniserror = True m_strratedfirst = "" End If End Set End Property Public Property RatedLast() As String Public Property RatingFirst() As String Public Property RatingLast() As String Public Property Effort() As String Public Property Effect() As String Public Sub WriteRecord() End Sub Code details for the properties to the left have been omitted. Code details for the method to the left have been omitted End Class 10

Year 12 : Visual Basic Tutorial.

Year 12 : Visual Basic Tutorial. Year 12 : Visual Basic Tutorial. STUDY THIS Input and Output (Text Boxes) The three stages of a computer process Input Processing Output Data is usually input using TextBoxes. [1] Create a new Windows

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

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

Write the code for the click event for the Move>> button that emulates the behavior described above. Assume you already have the following code:

Write the code for the click event for the Move>> button that emulates the behavior described above. Assume you already have the following code: IS 320 Spring 2000 page 1 1. (13) The figures below show two list boxes before and after the user has clicked on the Move>> button. Notice that the selected items have been moved to the new list in the

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

Introduction To Programming. Chapter 5: Arrays and More

Introduction To Programming. Chapter 5: Arrays and More Introduction To Programming Chapter 5: Arrays and More Introduction Arrays are like groups of variables that allow you to store sets of similar data A single dimension array is useful for storing and working

More information

NOTES: Procedures (module 15)

NOTES: Procedures (module 15) Computer Science 110 NAME: NOTES: Procedures (module 15) Introduction to Procedures When you use a top-down, structured program design, you take a problem, analyze it to determine what the outcome should

More information

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS

VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS VISUAL BASIC II CC111 INTRODUCTION TO COMPUTERS Intended Learning Objectives Able to build a simple Visual Basic Application. 2 The Sub Statement Private Sub ControlName_eventName(ByVal sender As System.Object,

More information

DEVELOPING OBJECT ORIENTED APPLICATIONS

DEVELOPING OBJECT ORIENTED APPLICATIONS DEVELOPING OBJECT ORIENTED APPLICATIONS By now, everybody should be comfortable using form controls, their properties, along with methods and events of the form class. In this unit, we discuss creating

More information

VISUAL BASIC 2005 EXPRESS: NOW PLAYING

VISUAL BASIC 2005 EXPRESS: NOW PLAYING VISUAL BASIC 2005 EXPRESS: NOW PLAYING by Wallace Wang San Francisco ADVANCED DATA STRUCTURES: QUEUES, STACKS, AND HASH TABLES Using a Queue To provide greater flexibility in storing information, Visual

More information

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result.

In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Simple Calculator In this tutorial we will create a simple calculator to Add/Subtract/Multiply and Divide two numbers and show a simple message box result. Let s get started First create a new Visual Basic

More information

Chapter 8. Arrays and More Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of

Chapter 8. Arrays and More Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 8 Arrays and More Addison Wesley is an imprint of 2011 Pearson Addison-Wesley. All rights reserved. Introduction Arrays are like groups of variables that allow you to store sets of similar data

More information

To enter the number in decimals Label 1 To show total. Text:...

To enter the number in decimals Label 1 To show total. Text:... Visual Basic tutorial - currency converter We will use visual studio to create a currency converter where we can convert a UK currency pound to other currencies. This is the interface for the application.

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

Revision for Final Examination (Second Semester) Grade 9

Revision for Final Examination (Second Semester) Grade 9 Revision for Final Examination (Second Semester) Grade 9 Name: Date: Part 1: Answer the questions given below based on your knowledge about Visual Basic 2008: Question 1 What is the benefit of using Visual

More information

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types

Unit 4. Lesson 4.1. Managing Data. Data types. Introduction. Data type. Visual Basic 2008 Data types Managing Data Unit 4 Managing Data Introduction Lesson 4.1 Data types We come across many types of information and data in our daily life. For example, we need to handle data such as name, address, money,

More information

Registrar Data Instructions

Registrar Data Instructions Registrar Data Instructions Registrar data must be submitted for report generation and to confirm the accuracy of reporting. Institutions should carefully review the instructions for descriptions and accepted

More information

Chapter 2 Exploration of a Visual Basic.Net Application

Chapter 2 Exploration of a Visual Basic.Net Application Chapter 2 Exploration of a Visual Basic.Net Application We will discuss in this chapter the structure of a typical Visual Basic.Net application and provide you with a simple project that describes the

More information

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism

Objectives. After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Polymorphism Objectives After completing this topic, the students will: Understand of the concept of polymorphism Know on How to implement 2 types of polymorphism Definition Polymorphism provides the ability

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

Registrar Data Instructions

Registrar Data Instructions Registrar Data Instructions Registrar data must be submitted for report generation and to confirm the accuracy of reporting. Institutions should carefully review the instructions for descriptions and accepted

More information

Tutorial 03 understanding controls : buttons, text boxes

Tutorial 03 understanding controls : buttons, text boxes Learning VB.Net Tutorial 03 understanding controls : buttons, text boxes Hello everyone welcome to vb.net tutorials. These are going to be very basic tutorials about using the language to create simple

More information

Learning VB.Net. Tutorial 15 Structures

Learning VB.Net. Tutorial 15 Structures Learning VB.Net Tutorial 15 Structures 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.

More information

CSE 131 Introduction to Computer Science Fall 2016 Exam I. Print clearly the following information:

CSE 131 Introduction to Computer Science Fall 2016 Exam I. Print clearly the following information: CSE 131 Introduction to Computer Science Fall 2016 Given: 29 September 2016 Exam I Due: End of Exam Session This exam is closed-book, closed-notes, no electronic devices allowed The exception is the "sage

More information

Learning VB.Net. Tutorial 16 Modules

Learning VB.Net. Tutorial 16 Modules Learning VB.Net Tutorial 16 Modules 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

Lab 6B Coin Collection

Lab 6B Coin Collection HNHS Computer Programming I / IPFW CS 11400 Bower - Page 1 Lab 6B Coin Collection You will create a program that allows users to enter the quantities of an assortment of coins (quarters, dimes, nickels,

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

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year! EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : 70-547(VB) Title : PRO:Design and Develop Web-Basd

More information

Lecture 6. Assignments. Java Scanner. User Input 1/29/18. Reading: 2.12, 2.13, 3.1, 3.2, 3.3, 3.4

Lecture 6. Assignments. Java Scanner. User Input 1/29/18. Reading: 2.12, 2.13, 3.1, 3.2, 3.3, 3.4 Assignments Reading: 2.12, 2.13, 3.1, 3.2, 3.3, 3.4 Lecture 6 Complete for Lab 4, Project 1 Note: Slides 12 19 are summary slides for Chapter 2. They overview much of what we covered but are not complete.

More information

Authoring Business Rules in IBM Case Manager 5.2

Authoring Business Rules in IBM Case Manager 5.2 Authoring Business Rules in IBM Case Manager 5.2 Create and use text-based rules and tablebased business rules in IBM Case Manager 5.2 This article covers creating Business Rules in IBM Case Manager, the

More information

CS608 Lecture Notes. Visual Basic.NET Programming. Object-Oriented Programming Creating Custom Classes & Objects. (Part I) (Lecture Notes 2A)

CS608 Lecture Notes. Visual Basic.NET Programming. Object-Oriented Programming Creating Custom Classes & Objects. (Part I) (Lecture Notes 2A) CS608 Lecture Notes Visual Basic.NET Programming Object-Oriented Programming Creating Custom Classes & Objects (Part I) (Lecture Notes 2A) Prof. Abel Angel Rodriguez CHAPTER 5 INTRODUCTION TO OBJECT-ORIENTED

More information

Test 1 October 19, 2007

Test 1 October 19, 2007 Name:, (last) (first) Student Number: Section: _A Instructor: P. Cribb York University aculty of Science and Engineering Department of Computer Science and Engineering COSC1530.03 - Introduction to Computer

More information

Lecture 6. Assignments. Summary - Variables. Summary Program Parts 1/29/18. Reading: 3.1, 3.2, 3.3, 3.4

Lecture 6. Assignments. Summary - Variables. Summary Program Parts 1/29/18. Reading: 3.1, 3.2, 3.3, 3.4 Assignments Lecture 6 Complete for Project 1 Reading: 3.1, 3.2, 3.3, 3.4 Summary Program Parts Summary - Variables Class Header (class name matches the file name prefix) Class Body Because this is a program,

More information

C16 Visual Basic Net Programming

C16 Visual Basic Net Programming C16 Visual Basic Net Programming Student ID Student Name Date - Module Tutor - 1 P a g e Report Contents Introduction... 2 Software Development Process... 3 Self Reflection... 6 References... 6 Appendices...

More information

Introduction to Data Entry and Data Types

Introduction to Data Entry and Data Types 212 Chapter 4 Variables and Arithmetic Operations STEP 1 With the Toolbox visible (see Figure 4-21), click the Toolbox Close button. The Toolbox closes and the work area expands in size.to reshow the Toolbox

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

S.2 Computer Literacy Question-Answer Book

S.2 Computer Literacy Question-Answer Book S.2 C.L. Half-yearly Examination (2012-13) 1 12-13 S.2 C.L. Question- Answer Book Hong Kong Taoist Association Tang Hin Memorial Secondary School 2012-2013 Half-yearly Examination S.2 Computer Literacy

More information

Student Performance Q&A:

Student Performance Q&A: Student Performance Q&A: 2016 AP Computer Science A Free-Response Questions The following comments on the 2016 free-response questions for AP Computer Science A were written by the Chief Reader, Elizabeth

More information

Déclaration du module

Déclaration du module Déclaration du module Imports System.IO Module ModuleStagiaires Public Structure Stagiaire Private m_code As Long Private m_nom As String Private m_prenom As String Public Property code() As Long Get Return

More information

MIS 216 SPRING 2018 PROJECT 4

MIS 216 SPRING 2018 PROJECT 4 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

More information

DRAWING AND MOVING IMAGES

DRAWING AND MOVING IMAGES DRAWING AND MOVING IMAGES Moving images and shapes in a Visual Basic application simply requires the user of a Timer that changes the x- and y-positions every time the Timer ticks. In our first example,

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

Learning VB.Net. Tutorial 17 Classes

Learning VB.Net. Tutorial 17 Classes Learning VB.Net Tutorial 17 Classes 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

Developing Student Programming and Problem-Solving Skills With Visual Basic

Developing Student Programming and Problem-Solving Skills With Visual Basic t e c h n o l o g y Del Siegle, Ph.D. Developing Student Programming and Problem-Solving Skills With Visual Basic TThree decades have passed since computers were first introduced into American classrooms.

More information

Learning VB.Net. Tutorial 10 Collections

Learning VB.Net. Tutorial 10 Collections Learning VB.Net Tutorial 10 Collections 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.

More information

CSE548, AMS542: Analysis of Algorithms, Fall 2012 Date: October 16. In-Class Midterm. ( 11:35 AM 12:50 PM : 75 Minutes )

CSE548, AMS542: Analysis of Algorithms, Fall 2012 Date: October 16. In-Class Midterm. ( 11:35 AM 12:50 PM : 75 Minutes ) CSE548, AMS542: Analysis of Algorithms, Fall 2012 Date: October 16 In-Class Midterm ( 11:35 AM 12:50 PM : 75 Minutes ) This exam will account for either 15% or 30% of your overall grade depending on your

More information

Ex: If you use a program to record sales, you will want to remember data:

Ex: If you use a program to record sales, you will want to remember data: Data Variables Programs need to remember values. Ex: If you use a program to record sales, you will want to remember data: A loaf of bread was sold to Sione Latu on 14/02/19 for T$1.00. Customer Name:

More information

CS608 Lecture Notes. Visual Basic.NET Programming. Object-Oriented Programming Inheritance (Part II) (Part II of II) (Lecture Notes 3B)

CS608 Lecture Notes. Visual Basic.NET Programming. Object-Oriented Programming Inheritance (Part II) (Part II of II) (Lecture Notes 3B) CS608 Lecture Notes Visual Basic.NET Programming Object-Oriented Programming Inheritance (Part II) (Part II of II) (Lecture Notes 3B) Prof. Abel Angel Rodriguez CHAPTER 8 INHERITANCE...3 8.2 Inheritance

More information

Level 3 Computing Year 1 Lecturer: Phil Smith

Level 3 Computing Year 1 Lecturer: Phil Smith Level 3 Computing Year 1 Lecturer: Phil Smith Previously.. We looked at forms and controls. The event loop cycle. Triggers. Event handlers. Objectives for today.. 1. To gain knowledge and understanding

More information

ERTSS INSTRUCTOR AREA User Guide Version 1.3

ERTSS INSTRUCTOR AREA User Guide Version 1.3 ERTSS INSTRUCTOR AREA User Guide Version 1.3 LOGIN PROCESS To Login to the ERTSS Instructor Area Portal, you will need to have a Username and Password. Your User name will be the Email Address you have

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

Burrows & Langford Chapter 10 page 1 Learning Programming Using VISUAL BASIC.NET

Burrows & Langford Chapter 10 page 1 Learning Programming Using VISUAL BASIC.NET Burrows & Langford Chapter 10 page 1 CHAPTER 10 WORKING WITH ARRAYS AND COLLECTIONS Imagine a mail-order company that sells products to customers from all 50 states in the United States. This company is

More information

1. Which of the following is the correct expression of character 4? a. 4 b. "4" c. '\0004' d. '4'

1. Which of the following is the correct expression of character 4? a. 4 b. 4 c. '\0004' d. '4' Practice questions: 1. Which of the following is the correct expression of character 4? a. 4 b. "4" c. '\0004' d. '4' 2. Will System.out.println((char)4) display 4? a. Yes b. No 3. The expression "Java

More information

Week 4 EECS 183 MAXIM ALEKSA. maximal.io

Week 4 EECS 183 MAXIM ALEKSA. maximal.io Week 4 EECS 183 MAXIM ALEKSA maximal.io Agenda Functions Scope Conditions Boolean Expressions Lab 2 Project 2 Q&A Lectures 15% 36% 19% 8:30am 10:00am with Bill Arthur 10:00am 11:30am with Mary Lou Dorf

More information

Spring Semester 08, Dr. Punch. Exam #1 (2/12), form 1 B

Spring Semester 08, Dr. Punch. Exam #1 (2/12), form 1 B Spring Semester 08, Dr. Punch. Exam #1 (2/12), form 1 B Last name (printed): First name (printed): Directions: a) DO NOT OPEN YOUR EXAM BOOKLET UNTIL YOU HAVE BEEN TOLD TO BEGIN. b) You have 80 minutes

More information

Mr.Khaled Anwar ( )

Mr.Khaled Anwar ( ) The Rnd() function generates random numbers. Every time Rnd() is executed, it returns a different random fraction (greater than or equal to 0 and less than 1). If you end execution and run the program

More information

Music and Videos. with Exception Handling

Music and Videos. with Exception Handling VISUAL BASIC LAB with Exception Handling Copyright 2015 Dan McElroy - Lab Assignment Develop a Visual Basic application program that is used to input the number of music songs and the number of videos

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

Spring Semester 08, Dr. Punch. Exam #1 (2/12), form 1 A

Spring Semester 08, Dr. Punch. Exam #1 (2/12), form 1 A Spring Semester 08, Dr. Punch. Exam #1 (2/12), form 1 A Last name (printed): First name (printed): Directions: a) DO NOT OPEN YOUR EXAM BOOKLET UNTIL YOU HAVE BEEN TOLD TO BEGIN. b) You have 80 minutes

More information

Review for Exam 2. IF Blocks. Nested IF Blocks. School of Business Eastern Illinois University. Represent computers abilities to make decisions

Review for Exam 2. IF Blocks. Nested IF Blocks. School of Business Eastern Illinois University. Represent computers abilities to make decisions School of Business Eastern Illinois University Review for Exam 2 - IF Blocks - Do s - Select Case Blocks (Week 10, Friday 3/21/2003) Abdou Illia, Spring 2003 IF Blocks 2 Represent computers abilities to

More information

Variable A variable is a value that can change during the execution of a program.

Variable A variable is a value that can change during the execution of a program. Declare and use variables and constants Variable A variable is a value that can change during the execution of a program. Constant A constant is a value that is set when the program initializes and does

More information

Computer Net Revision

Computer Net Revision First:In the following Form window, if it is required to store entries from the user in variables. Define the corresponding Data Type for each input. 1. 2. 3. 4. 1 2 3 4 1- Less number of bytes means more

More information

Senior Software Engineering Project CSSP Project CEN April 5, Adam Cox Tass Oscar

Senior Software Engineering Project CSSP Project CEN April 5, Adam Cox Tass Oscar Senior Software Engineering Project CSSP Project CEN 4935 April 5, 2006 Adam Cox Tass Oscar 1. Introduction One of the ways in which social worker professionals and students evaluate their clients is with

More information

The subject line should have your name and class number and class meeting time.

The subject line should have your name and class number and class meeting time. E-mail rules for students: I usually have more than 400 students each term, so I often spend hours per week reading and responding to e-mails. An overwhelming number of these e-mails are unnecessary. To

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

Chapter 4 : Selection (pp )

Chapter 4 : Selection (pp ) Page 1 of 40 Printer Friendly Version User Name: Stephen Castleberry email Id: scastleberry@rivercityscience.org Book: A First Book of C++ 2007 Cengage Learning Inc. All rights reserved. No part of this

More information

Lab 3 The High-Low Game

Lab 3 The High-Low Game Lab 3 The High-Low Game LAB GOALS To develop a simple windows-based game named High-Low using VB.Net. You will use: Buttons, Textboxes, Labels, Dim, integer, arithmetic operations, conditionals [if-then-else],

More information

COSC 122 Computer Fluency. Iteration and Arrays. Dr. Ramon Lawrence University of British Columbia Okanagan

COSC 122 Computer Fluency. Iteration and Arrays. Dr. Ramon Lawrence University of British Columbia Okanagan COSC 122 Computer Fluency Iteration and Arrays Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Key Points 1) A loop repeats a set of statements multiple times until some

More information

3. Can every Do-Loop loop be written as a For-Next loop? Why or why not? 4. Name two types of files that can be opened and used in a VB program.

3. Can every Do-Loop loop be written as a For-Next loop? Why or why not? 4. Name two types of files that can be opened and used in a VB program. CE 311 K Fall 005 Second Exam - Examples Answers at the bottom. 1. What are two categories of flow control structures?. Name three logical operators in Visual Basic (VB). 3. Can every Do-Loop loop be written

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

Prelim 1 Solutions. CS 2110, March 10, 2015, 5:30 PM Total Question True False. Loop Invariants Max Score Grader

Prelim 1 Solutions. CS 2110, March 10, 2015, 5:30 PM Total Question True False. Loop Invariants Max Score Grader Prelim 1 Solutions CS 2110, March 10, 2015, 5:30 PM 1 2 3 4 5 Total Question True False Short Answer Recursion Object Oriented Loop Invariants Max 20 15 20 25 20 100 Score Grader The exam is closed book

More information

Chapter 3. Iteration

Chapter 3. Iteration Chapter 3 Iteration Iteration Iteration is the form of program control that allows us to repeat a section of code. For this reason this form of control is often also referred to as repetition. The programming

More information

1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events

1 Dept: CE.NET Programming ( ) Prof. Akash N. Siddhpura. Working with Form: properties, methods and events Working with Form: properties, methods and events To create a New Window Forms Application, Select File New Project. It will open one dialog box which is shown in Fig 2.1. Fig 2.1 The New Project dialog

More information

VB FUNCTIONS AND OPERATORS

VB FUNCTIONS AND OPERATORS VB FUNCTIONS AND OPERATORS In der to compute inputs from users and generate results, we need to use various mathematical operats. In Visual Basic, other than the addition (+) and subtraction (-), the symbols

More information

Database Design. Database Design I: The Entity-Relationship Model. Entity Type (con t) Representation in Relational Model.

Database Design. Database Design I: The Entity-Relationship Model. Entity Type (con t) Representation in Relational Model. Database Design Database Design I: The Entity-Relationship Model Chapter 5 Goal: specification of database schema Methodology: Use E-R R model to get a high-level graphical view of essential components

More information

Practice Final Examination #2

Practice Final Examination #2 Nick Troccoli Practice Final 2 CS 106A August 16, 2017 Practice Final Examination #2 Final Exam Time: Friday, August 18th, 12:15P.M. 3:15P.M. Final Exam Location: Various (see website) Based on handouts

More information

Starting Out With C++: Early Objects, Seventh Edition Solutions to End-of-Chapter Review Questions

Starting Out With C++: Early Objects, Seventh Edition Solutions to End-of-Chapter Review Questions Starting Out With C++: Early Objects, Seventh Edition Solutions to End-of-Chapter Review Questions Chapter 1 1. programmed 12. key 2. CPU 13. programmer-defined symbols 3. arithmetic logic unit (ALU) and

More information

ADO.NET 2.0. database programming with

ADO.NET 2.0. database programming with TRAINING & REFERENCE murach s ADO.NET 2.0 database programming with (Chapter 3) VB 2005 Thanks for downloading this chapter from Murach s ADO.NET 2.0 Database Programming with VB 2005. We hope it will

More information

END-TERM EXAMINATION

END-TERM EXAMINATION (Please Write your Exam Roll No. immediately) END-TERM EXAMINATION DECEMBER 2006 Exam. Roll No... Exam Series code: 100274DEC06200274 Paper Code : MCA-207 Subject: Front End Design Tools Time: 3 Hours

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

Midterm Exam (REGULAR SECTION)

Midterm Exam (REGULAR SECTION) Data Structures (CS 102), Professor Yap Fall 2014 Midterm Exam (REGULAR SECTION) October 28, 2014 Midterm Exam Instructions MY NAME:... MY NYU ID:... MY EMAIL:... Please read carefully: 0. Do all questions.

More information

Interacting with External Applications

Interacting with External Applications Interacting with External Applications DLLs - dynamic linked libraries: Libraries of compiled procedures/functions that applications link to at run time DLL can be updated independently of apps using them

More information

Connecting YOUR Quick Base and QuickBooks

Connecting YOUR Quick Base and QuickBooks Connecting YOUR Quick Base and QuickBooks 1 Table of Contents Q2QConnect Configuration... 3 Connection Setup... 4 Quick Base Section... 4 QuickBooks Section... 5 Connecting the Database... 7 Mapping the

More information

20. VB Programming Fundamentals Variables and Procedures

20. VB Programming Fundamentals Variables and Procedures 20. VB Programming Fundamentals Variables and Procedures 20.1 Variables and Constants VB, like other programming languages, uses variables for storing values. Variables have a name and a data type. Array

More information

'Numerical Reasoning' Results For JOE BLOGGS. Numerical Reasoning. Summary

'Numerical Reasoning' Results For JOE BLOGGS. Numerical Reasoning. Summary 'Numerical Reasoning' Results For JOE BLOGGS Numerical Reasoning Summary Name Numerical Reasoning Test Language English Started - Finished 30th Sep 2016 12:16:45-30th Sep 2016 12:48:06 Time Available00:30:00

More information

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485)

VISUAL BASIC PROGRAMMING (44) Technical Task KEY. Regional 2013 TOTAL POINTS (485) 5 Pages VISUAL BASIC PROGRAMMING (44) Technical Task KEY Regional 2013 TOTAL POINTS (485) Graders: Please double-check and verify all scores! Property of Business Professionals of America. May be reproduced

More information

Else. End If End Sub End Class. PDF created with pdffactory trial version

Else. End If End Sub End Class. PDF created with pdffactory trial version Dim a, b, r, m As Single Randomize() a = Fix(Rnd() * 13) b = Fix(Rnd() * 13) Label1.Text = a Label3.Text = b TextBox1.Clear() TextBox1.Focus() Private Sub Button2_Click(ByVal sender As System.Object, ByVal

More information

ECOR Come to the PASS workshop with your mock exam complete. During the workshop you can work with other students to review your work.

ECOR Come to the PASS workshop with your mock exam complete. During the workshop you can work with other students to review your work. It is most beneficial to you to write this mock midterm UNDER EXAM CONDITIONS. This means: Complete the midterm in 1.5 hour(s). Work on your own. Keep your notes and textbook closed. Attempt every question.

More information

COMP 110 Introduction to Programming. What did we discuss?

COMP 110 Introduction to Programming. What did we discuss? COMP 110 Introduction to Programming Fall 2015 Time: TR 9:30 10:45 Room: AR 121 (Hanes Art Center) Jay Aikat FB 314, aikat@cs.unc.edu Previous Class What did we discuss? COMP 110 Fall 2015 2 1 Today Announcements

More information

Lab 1: Input, Processing, and Output This lab accompanies Chapter 2 of Starting Out with Programming Logic & Design.

Lab 1: Input, Processing, and Output This lab accompanies Chapter 2 of Starting Out with Programming Logic & Design. Starting Out with Programming Logic and Design 1 Lab 1: Input, Processing, and Output This lab accompanies Chapter 2 of Starting Out with Programming Logic & Design. Lab 1.1 Algorithms Name: Critical Review

More information

A Complete Tutorial for Beginners LIEW VOON KIONG

A Complete Tutorial for Beginners LIEW VOON KIONG I A Complete Tutorial for Beginners LIEW VOON KIONG Disclaimer II Visual Basic 2008 Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been

More information

Microsoft Visual Basic 2005: Reloaded

Microsoft Visual Basic 2005: Reloaded Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 3 Variables, Constants, Methods, and Calculations Objectives After studying this chapter, you should be able to: Declare variables and named

More information

Page 1 CCM6+ Unit 10 Graphing UNIT 10 COORDINATE PLANE. CCM Name: Math Teacher: Projected Test Date:

Page 1 CCM6+ Unit 10 Graphing UNIT 10 COORDINATE PLANE. CCM Name: Math Teacher: Projected Test Date: Page 1 CCM6+ Unit 10 Graphing UNIT 10 COORDINATE PLANE CCM6+ 2015-16 Name: Math Teacher: Projected Test Date: Main Concept Page(s) Vocabulary 2 Coordinate Plane Introduction graph and 3-6 label Reflect

More information

BSc (Hons) Computer Science with. Network Security. BSc (Hons) Business Information Systems. Examinations for 2018 / Semester 1

BSc (Hons) Computer Science with. Network Security. BSc (Hons) Business Information Systems. Examinations for 2018 / Semester 1 BSc (Hons) Computer Science with Network Security BSc (Hons) Business Information Systems Cohort: BCNS/17A/FT Examinations for 2018 / Semester 1 Resit Examinations for BIS/16B/FT, BCNS/15A/FT, BCNS/15B/FT,

More information

AP Computer Science A

AP Computer Science A 2017 AP Computer Science A Sample Student Responses and Scoring Commentary Inside: RR Free Response Question 1 RR Scoring Guideline RR Student Samples RR Scoring Commentary 2017 The College Board. College

More information

What we will do today Explain and look at examples of. Programs that examine data. Data types. Topic 4. variables. expressions. assignment statements

What we will do today Explain and look at examples of. Programs that examine data. Data types. Topic 4. variables. expressions. assignment statements Topic 4 Variables Once a programmer has understood the use of variables, he has understood the essence of programming -Edsger Dijkstra What we will do today Explain and look at examples of primitive data

More information

CS112 Lecture: Working with Numbers

CS112 Lecture: Working with Numbers CS112 Lecture: Working with Numbers Last revised January 30, 2008 Objectives: 1. To introduce arithmetic operators and expressions 2. To expand on accessor methods 3. To expand on variables, declarations

More information

Conditional Execution

Conditional Execution Unit 3, Part 3 Conditional Execution Computer Science S-111 Harvard University David G. Sullivan, Ph.D. Review: Simple Conditional Execution in Java if () { else {

More information

STRING Represents group of characters Each character 1 byte CIE, AB304 BOOLEAN Logical Datatype, return true or False Memory Required 1

STRING Represents group of characters Each character 1 byte CIE, AB304 BOOLEAN Logical Datatype, return true or False Memory Required 1 2.2 Data representation 2.2.1 Data types A data type is a method of interpreting a pattern of bits. There are numerous different data types but here explained ones are according to CIE syllabus: Integer

More information

Higher Computing Science Software Design and Development - Programming Summary Notes

Higher Computing Science Software Design and Development - Programming Summary Notes Higher Computing Science Software Design and Development - Programming Summary Notes Design notations A design notation is the method we use to write down our program design. Pseudocode is written using

More information