Sovb4 ans_review_questions

sovb4 ans_review_questions
Download Document
Showing pages : 1 - 3 of 45
Answers to Review Questions Chapter 1 Fill-in-the-blank 1. Central Processing Unit (CPU) 2. Disk 3. Operating systems, applications 4. Instructions 5. Programming 6. Machine language 7. Key words 8. Programmer-defined names 9. Operators 10. Remark or comment 11. Syntax 12. Input 13. Output 14. Algorithm 15. Flowchart 16. Pseudocode 17. Tools 18. View 19. Solution 20. Project 21. Solution Explorer 22. Properties 23. Docked 24. Double-click 25. Title bar 26. Standard toolbar 27. Design 28. Toolbox 29. Help 30. Tooltip Short Answer 1. Main memory (RAM) is usually a volatile type of memory, used only for temporary storage. When the computer is turned off, the contents of main memory are erased. Secondary storage is a type of memory that can hold data for long periods of time – even when there is no power to the computer. Frequently used programs are stored in secondary memory, and loaded into main memory as needed.
Background image of page 1
2. An operating system is a set of programs that manages the computer's hardware devices and controls their processes. Application software refers to programs that make the computer useful to the user. These programs solve specific problems, or perform general operations that satisfy the needs of the user. Word processing, spreadsheet, and database packages are all examples of application software. 3. Procedural programming refers to the way of designing programs around procedures (rather than objects). A procedure is a named sequence of executable statements. 4. Object-oriented programming is centered on creating objects. An object is a programming element that contains data (attributes) and actions. In Visual Basic, an object's attributes are called properties . The actions that an object performs are known as methods . The object is, conceptually, a self-contained unit consisting of data (properties) and actions (methods). 5. Event-driven programs respond to events. An event is an action that takes place, such as the clicking of a button with the mouse. When an event occurs, the application responds by executing a special type of method known as an event procedure. 6. Although GUIs have made programs friendlier and easier to interact with, they have not simplified the task of programming. GUIs make it necessary for the programmer to create a variety of on-screen elements such as windows, dialog boxes, buttons, menus, and other items. Each of these on-screen elements can be modeled in software by an object. 7. A Label control is used to display text information. The user cannot enter a value into a Label control, or change the value it displays. The user can, however, enter information into a TextBox control. It is appropriate to use a Label control when displaying data that the user cannot change. It is appropriate to use a TextBox control when the user must enter data. What Do You Think?
Background image of page 2
Image of page 3