Free Essay

Unit 1 Review Question

In:

Submitted By prvntvmd
Words 641
Pages 3
UNIT 1 REVIEW QUESTIONS
Richard H. Hendrix Jr.
Post University
Author Note
Programming Fundamentals CIS 200 taught by Mohamed Ben Haj Frej
Chapter 1 Review Questions
3. Describe the role of each of the five main areas of the Alice interface: the World window, the Object tree, the Details area, the Editor area, and the Events area.
 The World Window – Contains a view of the virtual Alice world. The set of blue arrows below the window controls the Alice camera, which provides you with the view in the window.
 The Object Tree – The object tree appears to the left of the World window. It shows the objects in the current Alice world organized as a tree of tiles, with a tile for each object. The plus sign next to an object shows that it has sub parts, which may be seen by clicking the plus sign.
 The Details Area – The Details area of the Alice interface is located below the Object tree. It has tabs to show properties, methods, and functions for the currently selected Alice object. Properties contain information about an object, such as its color and position in the world. Methods are programs that manipulate an object. A function is a method that returns a value, such as the distance between two objects.
 The Editor Area – The largest area of the Alice interface is the Editor area, which appears to the right of the Details area. Here, you assemble and edit methods by clicking and dragging tiles from other parts of the interface. The bottom of the Editor area has a row of logic and control tiles that can be used to put branching, looping, and other logical structures into the algorithms that will make up an object’s methods.
 The Events Area – The Events area in Alice is above the Editor area. The Events area shows existing events and is used to create new events. An event consists of a condition, called an event trigger, and a method, called an event handler. Whenever the event trigger occurs, the event handler is called into action.
Chapter 2 Review Questions
5. How does the practice of object-oriented programming encourage the development of reusable code? Reusable code makes programming easier because you need to develop the solution to a problem only once; then you can use that code whenever you need it. You can also save the modules you have developed and reuse them later in other projects, modifying them if necessary to fit new situations. Over time, you can build libraries of software modules for different tasks. All computer programs, from the lowest levels of an operation system that directly control hardware to the most complex user applications, are made up of layers of short programming modules that are constantly reused in different situations. Object-oriented programming, by its very nature, encourages the development of reusable code. Objects created for one project can be reused as needed for other projects.
8. What are the differences between primitive methods and user-defined methods in Alice? Which of these are encapsulated methods, and what does that mean? Alice objects have two kinds of methods – primitive methods and user-defined methods. Primitive methods are built-in, predefined methods that are part of each Alice object. They provide simple basic behaviors, such as move, turn, and roll. User-defined methods are written by people who use Alice. Some of the objects in the Alice object galleries already include user-defined methods in addition to the standard set of primitive methods. Primitive methods are also encapsulated methods. Encapsulation means that the details of a method are hidden from the user; the user cannot see or edit the details of the method. All primitive methods are encapsulated.

References
Herbert, C. W. (2011). An Introduction to Programming Using Alice 2.2 (2nd ed.). Boston: Course Technology.

Similar Documents

Premium Essay

Dsadsadsad

...ACC305 – Auditing and Professional Practice Unit Outline – 2015 Unit Coordinator: Dr Chun Jiang (PhD, FCPA) 1|P age Introduction Welcome to Elite Education and ACC305 – Auditing and Professional Practice. This document provides you with information relevant to successful completion of this unit; including schedule of lecture topics, prescribed texts, assessment policies, assessment tasks, examinations, academic and administrative contacts and online learning support facilities. Student Handbook and Administration Office The Elite Student Handbook provides valuable general information for students and a printed copy will be provided to you. In addition, the Institute staff are available to assist you personally during office hours. Office Contact Details: Elite Education Institute 1 James Place, North Sydney, NSW 2060 Tel: 02 9212 2120 Unit Overview This unit introduces the major conceptual and technical aspects of auditing and assurance services. Accordingly, the unit provides critical insights into the auditor's legal and societal role, the underlying conceptual theory of auditing, professional auditing techniques, and contemporary auditing issues. The core theme of this unit is the external audit of corporations, from initial planning to final reporting in the context of a professional environment. Assumed Knowledge Prerequisite:    ACC101 – Fundamentals of Accounting I, ACC102 – Fundamentals of Accounting II, and ACC204 – Advanced...

Words: 2264 - Pages: 10

Free Essay

Network

...Integration Unit 1 Homework The following homework is designed to cover the course objectives for this unit. Assignment 1.1: Textbook/Workbook Assignments • Complete the following exercises and questions from Routers and Routing Basics: CCNA 3 Labs and Study Guide: Vocabulary Exercise: Matching on page 3 VLSM Subnetting a Subnet Exercises on pages 9-11 VLSM Addressing Design Scenarios 1-6 on pages 15-20 Summary Route Exercises on pages 21-24 Concept Questions on pages 25-27 VLSM Case Study on page 27 Internet Research on page 29 (Use the ITT Tech Virtual Library.) • Complete Chapter 9 Review Questions 2-7, 10, 14, 20-22 on pages 258-259 of Introduction to Telecommunications. Submit your written answers to your instructor at the beginning of Unit 2. . Assignment 1.2: Virtual Labs • Complete Virtual Labs 6, 7, and 8 from the CCNA 640-802 CCNA Simulator, which you can find by clicking through these paths: ICND1 Troubleshooting Scenarios Lab 6: IP Addressing and Routing. ICND1 Troubleshooting Scenarios ICND1 Part 4: Troubleshooting Labs Lab 7: IP Routing I ICND 2 Troubleshooting Scenarios Lab 13: IP Routing II Submit your written answers to your instructor at the beginning of Unit 2. ©ITT Educational Services, Inc: Date: 03/13/09 Network Technology and Service Integration Unit 2 Homework The following homework is designed to cover the course objectives for this unit. Assignment 2.1: Textbook/Workbook Assignments • Complete the following exercises and questions from Routers...

Words: 2825 - Pages: 12

Premium Essay

Ssss

...UNIT OUTLINE Read this document to learn essential details about your unit. It will also help you to get started with your studies. BMA247 Organisational Behaviour Semester 2, 2015 THIS UNIT IS BEING OFFERED IN: SHANGHAI OCEANS UNIVERSITY (SOU) Taught by: Dr Sarah Dawkins (UTAS Unit Coordinator) & Cindy He (SOU Lecturer) CRICOS Provider Code: 00586B BMA247, Organisational Behaviour 2 Contents Contact Details ........................................................................................................................................ 2 Unit Description ...................................................................................................................................... 3 Prior Knowledge &/or Skills OR Pre-Requisite Unit(s) ............................................................................ 3 Enrolment in the Unit ............................................................................................................................. 3 When does the unit commence? ............................................................................................................ 3 Intended Learning Outcomes and Generic Graduate Attributes for BMA247, Organisational Behaviour ................................................................................................................................................ 4 Learning Expectations and Teaching Strategies/Approach ........................................

Words: 5809 - Pages: 24

Premium Essay

Gfgdgd

...MBA 6053, Economics for Managers Course Syllabus Course Description Review of managerial economics and problems encountered in firm management. Examines changing economic environment, business trends and fluctuations, and introduces forecasting techniques. Prerequisites None Course Textbook Keat, P., & Young, P. (2009). Managerial economics (6th ed.). Upper Saddle River, NJ: Prentice Hall. Course Learning Objectives Upon completion of this course, students should be able to: 1. Discuss managerial economics and its relationship to microeconomics and other related fields of study such as finance, marketing, and statistics. 2. Decide economic goals for the firm and develop optimal decisions that will bring the firm closest to those goals. 3. Define supply, demand, and equilibrium price. 4. Apply the concepts of price elasticity, cross-elasticity, and income elasticity. 5. Specify the components of a regression model that can be used to estimate a demand equation. 6. Define production function, and explain the difference between a short-run and a long-run production function. 7. Distinguish between economic cost and accounting cost. 8. Describe the key characteristics of the four basic market types used in economic analysis. 9. Cite the main differences between monopolistic competition and oligopoly. 10. Analyze the practice of cartel pricing. 11. Illustrate game theory, and explain how it helps better understand mutually interdependent management decisions. 12. Define...

Words: 1441 - Pages: 6

Premium Essay

Aaaaa

...J. C., & Griffin, M. (2013). Business research methods (9th ed.). Mason, OH: South-Western. Course Learning Outcomes Upon completion of this course, students should be able to: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Design and plan a research study. Apply statistical methods to business research. Apply research techniques to commerce and business issues. Differentiate between descriptive and inferential statistics. Devise the sampling theory into appropriate sampling distributions. Write and test a hypothesis. Contrast and compare descriptive, correlational, and qualitative non-experimental research. Contrast and compare experimental and quasi-experimental research. Write a publishable research proposal paper using APA guidelines. Apply ethical research standards. Credits Upon completion of this course, the students will earn three (3) hours of college credit. Course Structure 1. Unit Learning Outcomes: Each unit contains Learning Outcomes that specify the measurable skills and knowledge students should gain upon completion of the unit. 2. Unit Lesson: Each unit contains a Unit Lesson, which discusses unit material. 3. Reading Assignments: Each unit contains Reading Assignments from one or more chapters from the textbook. Suggested Readings are provided in the Unit I, II, III, IV, V, and VIII study guides to aid students in their course of study. The readings themselves are not provided in the course, but students are encouraged to read the...

Words: 3803 - Pages: 16

Free Essay

Aar Lesson

...AFTER ACTION REVIEW SECTION I. ADMINISTRATIVE DATA Task(s) Task Number Task Title Taught or After Action Review Supported Task(s) Task Number Task Title Supported N/A NA Academic The academic hours to teach this class are as follows: Hours PEACETIME HOURS/METHODS 100 mins/CO/PE/ 20 minutes video Total Hours 2 hrs Test Lesson Type of Test: Brigade Certification Test Number Total Hours: 3 hours Prerequisite Lesson Number Lesson Title Lesson(s) None None Clearance There are no clearance or access requirements for this lesson. and Access References |NUMBER |TITLE |DATE |PARA/ | | | | |PAGE | | | | |NO. ALL | |TC 25-20 |A Leader’s Guide To After Action Reviews |Sept 93 |All | |TC 25-10 |A Leader’s Guide To Lane Training |Aug 96 |Chapter 5 | Student Provide Slides to students one day prior to the start of class. Students Study must be prepared to discuss the Slides during class. Scan TC 25-20. Assignments Instructor One instructor, familiar with TC 25-20, Requirements Additional...

Words: 4137 - Pages: 17

Premium Essay

Mba5501 Syllabus

...Objectives Upon completion of this course, students should be able to: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. Explain both the Marketing Concept and the Holistic Marketing Concept. Analyze the macroenvironments as related to the marketing process. Illustrate the use of marketing research and the forecasting of demand. Describe the development of customer value, satisfaction, and loyalty. Explain the use of customer relationship management in cultivating customer relationship. Illustrate the consumer buying process and the organizational buying process. Illustrate market segmentation, market targeting, and brand equity. Describe positioning and differentiation strategies. Illustrate the development of product strategy and explain competitive strategies. Explain the marketing strategies for service companies. Identify and explain the various pricing strategies. Describe the management of the retail and wholesale business. Classify the management of advertising, sales promotion, events, and public relations. Identify and explain direct marketing and personal selling. Outline and describe new product development. Credits Upon completion of this course, the students will earn three (3) hours of college credit. Course Structure 1. Unit Learning Objectives: Each unit contains Learning Objectives that specify the measurable skills and knowledge students should gain upon completion of the unit. 2....

Words: 3472 - Pages: 14

Premium Essay

Mba 6301 Business Ethics

...Upon completion of this course, students should be able to: 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. Analyze the concepts of business ethics from a personal and an organizational perspective. Assess the ethical issues facing business leaders. Evaluate and distinguish between the concepts of social responsibility, integrity, and business ethics. Explain the framework required to make ethical decisions in today's business environment and how it improves the business climate. Summarize how moral philosophies, on a corporate and individual level, influence ethical decision-making in business. Analyze the influence of corporate culture, including leadership, power, and motivation, on business ethics in the workplace. Explain the pressures that influence ethical decision making in the organization. Evaluate the need for ethical standards, codes of ethics and practices in business. Assess the auditing process to assure ethical practices are being followed. Analyze the role that culture plays in global business ethics. Credits Upon completion of this course, the students will earn three (3) hours of college credit. Course Structure 1. Unit Learning Outcomes: Each unit contains Learning Outcomes that specify the measurable skills and knowledge students should gain upon completion of the unit. 2. Unit Lesson: Each unit contains a Unit Lesson, which discusses unit material. 3. Reading Assignments: Each unit contains Reading Assignments from one or more...

Words: 3592 - Pages: 15

Premium Essay

Aas Sss Sss Cccs Sss

...UNIT OUTLINE Read this document to learn essential details about your unit. It will also help you to get started with your studies. BMA604 Consumer Decision Making Semester 2, 2015 THIS UNIT IS BEING OFFERED IN: HOBART & BY DISTANCE Taught by: Professor Aron O’Cass (Unit Coordinator) CRICOS Provider Code: 00586B BMA604, Consumer Decision Making 2 Contents Contact Details ........................................................................................................................................ 2 Unit Description ...................................................................................................................................... 3 Prior Knowledge &/or Skills OR Pre-Requisite Unit(s) ............................................................................ 3 Enrolment in the Unit ............................................................................................................................. 3 When does the unit commence? ............................................................................................................ 3 University of Tasmania Graduate Quality Statement ............................................................................. 3 Intended Learning Outcomes for BMA604 ............................................................................................. 4 Learning Expectations and Teaching Strategies/Approach ..........................................................

Words: 6677 - Pages: 27

Free Essay

Docx

...English IE2 READING & WRITING 1. Course Statistics : 120 periods (8 credits) Number of instruction weeks : 10 Number of sessions : 30 Number of sessions per week :3 Number of periods per session 2. Pre-requisite Number of periods :4 Students who achieved IE1 course score > 50 or scored from 35-60 on the Placement Test are required to take this course. 3. Learning outcome Students who have successfully completed the course are expected to have English proficiency at high intermediate level or higher. 4. Course books Reading Activator (Intermediate) Reading Activator (Advanced) Writing Activator (Intermediate) Writing Activator (Advanced) 5. Additional material ESP Handouts NorthStar 3 – Reading and Writing (3rd edition) 6. Lab Practice 2 sessions 7. Weekly Guide: Week 1 2 Session 1 ESP Unit 01: Information Technology - Handout 1 HW: NorthStar 3 Unit 1: The World of Advertising (pp 01- 10) Unit 02: Construction - Handout 2 HW: NorthStar 3 Unit 03: Going to Extremes Sports and Obsession (pp 3948) Unit 03: Engineering 3 4 Vocabulary and Reference Introduction & Review - Introduction to Reading Skills - R.A.I: pp 14-15; 18-31 - R.A.A: pp19-27 - Introduction to Writing Skills - Review: Paragraph writing (designed by the instructor) Fact and Negative Fact - R.A.I: pp 34-47 - R.A.A: pp 35-43 Independent writing Handout 1 - Overview of independent writing ...

Words: 938 - Pages: 4

Free Essay

Deis

...UNIT OUTLINE Read this document to learn essential details about your unit. It will also help you to get started with your studies. BMA604 Consumer Decision Making Semester 2, 2015 THIS UNIT IS BEING OFFERED IN: HOBART & BY DISTANCE Taught by: Professor Aron O’Cass (Unit Coordinator) CRICOS Provider Code: 00586B BMA604, Consumer Decision Making 2 Contents Contact Details ........................................................................................................................................ 2 Unit Description ...................................................................................................................................... 3 Prior Knowledge &/or Skills OR Pre-Requisite Unit(s) ............................................................................ 3 Enrolment in the Unit ............................................................................................................................. 3 When does the unit commence? ............................................................................................................ 3 University of Tasmania Graduate Quality Statement ............................................................................. 3 Intended Learning Outcomes for BMA604 ............................................................................................. 4 Learning Expectations and Teaching Strategies/Approach ........................................................

Words: 6673 - Pages: 27

Premium Essay

Atha Corp Executive Plan

...Atha Coorporation’s Executive Plan Table of contents: Executive Summary……………………………………………………………………………………………….. 1 Description of functional area and purpose statement………………………………………….. 1 Goals and Activities…………………………………………………………………………………………………3 Organizational Structure………………………………………………………………………………........... 5 Interview Questions……………………………………………………………………………………………….. 6 Performance Standards………………………………………………………………………………………….. 6 Conclusion of Personal Insight………………………………………………………………………………… 7 Appendices…………………………………………………………………………………………………………….. 7 Human Resources SAW…………………………………………………………………………………………...7 Operations and Production SAW……………………………………………………………………………..12 Human Resources Organizational Chart…………………………………………………………………..17 Operations and Production Organizational Chart…………………………………………………….18 Executive summary: This project was organizing, planning, and developing both the HR functional area as well as the Operations and Production functional area. This consisted of revamping the Org chart to add the new employees, creating important interview questions for hiring new employees, and setting standards for each department. Along with these tasks, there was also creating a purpose for the department which is one of the most vital tasks of this project, without a purpose what is the department there to do? Description of the functional area and purpose statement. Human Resource As the Human Resource Department we strive to ensure that the Atha...

Words: 4590 - Pages: 19

Free Essay

Essay Formatting

...BUILDING EVIDENCE-BASED ARGUMENTS DEVELOPING CORE PROFICIENCIES ENGLISH LANGUAGE ARTS / LITERACY UNIT GRADE 7 “Doping can be that last 2 percent.” OD LL DUCATION www.odelleducation.com OD LL DUCATION Page 1 EVIDENCE-BASED ARGUMENTATION Literacy – the integrated abilities to read texts closely, to investigate ideas and deepen understanding through research, to make and evaluate evidence-based claims, and to communicate one’s perspective in a reasoned way – is fundamental to participation in civic life. Thus, the importance of a literate citizenry was understood and expressed by Thomas Jefferson early in the life of our democratic nation. Today, students face the prospect of participating in a civic life that stretches beyond the boundaries of a single nation and has become increasingly contentious, characterized by entrenched polarization in response to complex issues. Citizens have access to a glut of information (some of which is nothing more than opinion passed off as fact) and are often bombarded by bombast rather than engaged in reasoned and civil debate. Learning the skills and habits of mind associated with argumentation – how to conceive and communicate “arguments to support claims, using valid reasoning and sufficient evidence” [CCSS W1] as well as how to “delineate and evaluate the argument[s]” and “the validity of the reasoning and relevance and sufficiency of the evidence” presented by others [CCSS R8] – is therefore...

Words: 23215 - Pages: 93

Premium Essay

Ata308 Unit Outline

...School School of Accounting  Unit Outline 309875 Accounting Theory and Analysis 308 Semester 1, 2014 Unit study package number: Mode of study: Tuition pattern summary: 309875 Internal Lecture: 1 x 1.5 Hours Weekly Workshop: 1 x 1.5 Hours Weekly This unit does not have a fieldwork component. Credit Value: Pre-requisite units: Co-requisite units: Anti-requisite units: Result type: Approved incidental fees: Unit coordinator: 25.0 305229 (v.0) Advanced Financial Accounting 260 or any previous version Nil Nil Grade/Mark Information about approved incidental fees can be obtained from our website. Visit fees.curtin.edu.au/incidental_fees.cfm for details. Lisa Cullen Name: +618 9266 7567 Phone: Lisa.Cullen@curtin.edu.au Email: 407 Building: 406A - Level 4 Room: Consultation times: Tuesday 2-4pm and Thursday 12.30-2.30pm Name: Phone: Email: Building: Room: Name: Phone: Email: Building: Room: Name: Phone: Email: Building: Room: Administrative contact: Name: Phone: Email: Building: Room: Andrew Reynolds +61 8 9266 3602 A.Reynolds@curtin.edu.au 407 426 John Evans +618 9266 3156 John.Evans@curtin.edu.au 407 407 Clive Oliver +618 92667295 Clive.Oliver@curtin.edu.au 407 412 Lesley Hill +618 9266 7295 Lesley.Hill@cbs.curtin.edu.au 407 412  Teaching Staff: Learning Management System: Blackboard (lms.curtin.edu.au) 309875 Accounting Theory and Analysis 308 Bentley Campus 19 Feb 2014 School of Accounting, Curtin Business School Page: 1 of 9 CRICOS Provider Code WA 00301J...

Words: 3789 - Pages: 16

Premium Essay

Unit 1 Labs

...ITT TECHNICAL INSTITUTE NT1210 Introduction to Networking Onsite Course GRADED ASSIGNMENTS Graded Assignment Requirements Retain all handouts issued in every unit, as well as any assignment, research, or lab documents you prepare as part of assignments and labs. Some may be used more than once in different units. NOTE: Always check with your instructor for specific due dates of assignments. Graded Assignments Unit 1 Assignment 1: Computer Basics Review Course Objectives and Learning Outcomes Identify the major needs and major stakeholders for computer networks and network applications. Describe how digital devices store data. Describe the differences between input and output devices. Assignment Requirements In the Chapter Review Activities at the end of Chapter 1 in the Odom textbook (answers can be found in the textbook): Respond to the multiple-choice questions. Complete the List the Words inside Acronyms table. Required Resources Odom textbook Computer with word processing software Internet access Printer Submission Requirements: Submit your responses as a typed document using Arial or Times New Roman 12-point font, double-spaced. Label your assignment Unit 1 Assignment 1. Unit 2 Assignment 1: Identifying Network Topologies Course Objectives and Learning Outcomes * Identify the major needs and major stakeholders for computer networks and network applications. * Identify the classifications of networks and how they are...

Words: 16182 - Pages: 65