Chapter-1 checkpoints:
- List five major hardware components of a computer system.
- The CPU, main memory, secondary storage devices, input devices, output devises.
- What is main memory? What is its purpose?
- Main memory is the computers work area. This is where the computer stores a program while the program is running, as well as the data that the program is working with. RAM is volatile type memory. Temporary storage
- Explain why computers have both main memory and secondary storage.
- Main memory does not save information as secondary storage does.
- What are two general categories of software?
- Operating systems and application software. Operating system is a set of programs that manages the computers hardware devices and control their processes. Applications of ware refers to programs that make the computer useful to the user.
- What is an algorithm?
- An algorithm is a set of well defined steps for performing a task or solving a problem
- Why were computer programming languages invented?
- They were invented to ease the task. They use words instead of numbers.
- What is an object? What is a control?
- An object is an item in a program that contains data and has the ability to perform operations . The data that an object contains is referred to as properties or attributes. A control is a specific type of object that usually appears in a programs graphical user interface.
- What does event -driven mean?
- An event is an action that takes place within a program , such as clicking of a control. If you wish for a control to respond to a specific event , you must write a set of programming statements known as event handler
- What is a property?
- A property is simply a piece of data that determines some characteristics of the control.
- Why should the programmer change the name of a control from its default name?
- Controls play an active role in the applications event handlers and their names appear in the applications programming statements.
- If a control has the programmer -defined name txtRadius what type of control is it?
- Text box
- What is the default name given to the first Text box control created in an application?
- Text box
- Is txtFirst+Lastname an acceptable control name? Why or why not?
- The first three letters of the name should be a lowercase prefix indicating the controls type. The first letter of each word should be capitalized. The part of the control name that appears after the three-letter prefix should describe the controls purpose in the application
- What four items should be identified when defining what a program is to do?
- Clearly define what the application is to do. Purpose , Input, Process , Output
- Describe the importance of good planning in the process of creating a Visual Basic application.
- Clearly define what the application is to do.
- Visualize the application running on the computer and design it’s user interface.
- Determine the controls needed
- Define the values of each controls relevant properties
- Determine the event handlers and other code needed for each control
- Create a flowchart or pseudo code version of the code
- Check the flowchart or pseudo code for errors
- Start Visual Studio and create the forms and other controls identified in step 3
- Use the flowcharts or pseudo code version of the code
- Check the flowchart or pseudo code for errors
- Start Visual Studio and create the forms and other controls identified in Step 3
- Attempt to run the application Correct any syntax errors found and repeat this step as many times necessary
- Once all syntax errors are corrected , run the program with test data for input. Correct any runtime errors. Repeat this step as many times as necessary.
- What does it mean to visualize a program running?
- What is the value of such an activity? To create it in your mind, to imagine what the screen will look like and sketch the former or forms in the application
- What is a flowchart?
- A flowchart is a diagram that graphically depicts the flow of a method. It uses boxes and other symbols to represent each step.
- What is pseudocode?
- Pseudocode is human readable code that looks similar to programming language.
- What is runtime error?
- Runtime errors are mistakes that do not prevent an application from executing but cause it to produce incorrect results
- What is the purpose of testing a program with sample data or input?
- This step must be repeated until the program reliably produces satisfactory results.
- How much testing should you perform on a new program?
- Until the program reliably produces satisfactory results
- Briefly describe the purpose of the Solution Explorer window.
- The Solution Explorer Window is a container for holding Visual Basic projects. When you create a new VA project a new solution is automatically created to contain it. The Solution Explorer window allows you to navigate among the files in a visual Basic project
- Briefly describe the purpose of the Properties window.
- When you are creating a Visual Basic application you use the properties window to examine and change a controls properties
- What is the difference between the too bar and the toolbox?
- The toolbox is a window that allows you to select the controls that you want to use in an applications user interface.
- Toolbox is a window that allows you to select the controls that you want to use in an applications user interface. A toolbar contains buttons that execute frequently used commands
- What is a Tool tip?
- A tool tip is a small rectangular box that pops up when you hover the mouse pointer over a button on the toolbar or in the toolbox for a few seconds. It contains a short description of the buttons purpose
created at 21-Nov-2017 ALL RIGHTS RESERVED ©DaniyalYounis
No comments:
Post a Comment