Free Essay

Mis 505 Week 2 Review Question

In: Computers and Technology

Submitted By shwetapatil080
Words 1104
Pages 5
MIS505: Essentials of Information Systems Programming
Due Date: Wednesday September 16 @ 11:59 PM

Complete Chapter 2 Review Questions 1-20 (20 POINTS)

1. What does a declaration provide for a variable? o a. a name o b. a data type o c. both of the above o d. none of the above

2. A variable's data type describes all of the following except __________.
a. what values the variable can hold
b. how the variable is stored in memory
c. what operations can be performed with the variable
d. the scope of the variable

3. The value stored in an uninitialized variable is __________.
a. garbage
b. null
c. compost
d. its identifier

4. The value 3 is a __________.
a. numeric variable
b. numeric constant
c. string variable
d. string constant

5. The assignment operator _________.
a. is a binary operator
b. has left-to-right associativity
c. is most often represented by a colon
d. two of the above

6. Which of the following is true about arithmetic precedence?
a. Multiplication has a higher precedence than division.
b. Operators with the lowest precedence always have left-to-right associativity.
c. Division has higher precedence than subtraction.
d. all of the above

7. Which of the following is a term used as a synonym for “module” in any programming language?
a. method
b. procedure
c. both of these
d. none of these 8. Which of the following is a reason to use modularization?
a. Modularization avoids abstraction.
b. Modularization reduces overhead.
c. Modularization allows you to more easily reuse your work.
d. Modularization eliminates the need for syntax.

9. What is the name for the process of paying attention to important properties while ignoring nonessential details?
a. abstraction
b. extraction
c. extinction
d. modularization

10. Every module has all of the following except __________.
a. a header
b. local variables
c. a body
d. a return statement

11. Programmers say that one module can __________ another, meaning that the first module causes the second module to execute.
a. declare
b. define
c. enact
d. call

12. The more that a module's statements contribute to the same job, the greater the __________ of the module.
a. structure
b. modularity
c. functional cohesion
d. size 13. In most modern programming languages, when a variable or constant is declared in a module, the variable or constant is __________ in that module.
a. global
b. invisible
c. in scope
d. undefined

14. Which of the following is not a typical housekeeping task?
a. displaying instructions
b. printing summaries
c. opening files
d. displaying report headings

15. Which module in a typical program will execute the most times?
a. the housekeeping module
b. the detail loop
c. the end-of-job module
d. It is different in every program.

16. A hierarchy chart tells you __________.
a. what tasks are to be performed within each program module
b. when a module executes
c. which routines call which other routines
d. all of the above

17. What are nonexecuting statements that programmers place within their code to explain program statements in English?
a. comments
b. pseudocode
c. trivia
d. user documentation

18. Program comments are __________.
a. required to create a runnable program
b. a form of external documentation
c. both of the above
d. none of the above

19. Which of the following is valid advice for naming variables?
a. To save typing, make most variable names one or two letters.
b. To avoid conflict with names that others are using, use unusual or unpronounceable names.
c. To make names easier to read, separate long words by using underscores or capitalization for each new word.
d. To maintain your independence, shun the conventions of your organization.

20. A message that asks a user for input is a __________.
a. comment
b. prompt
c. echo
d. declaration

Complete Chapter 2 Exercises 1 & 2 (10 POINTS)

1. Explain why each of the following names does or does not seem like a good variable name to you.

o a. c - Yes does seem like a good variable. But it is not descriptive enough. o b. cost - Yes does seem like a good variable. It is a descriptive and meaningful name. o c. costAmount - Yes does seem like a good variable. It is a descriptive and meaningful name. o d. cost amount - No does not seem like a good variable. Because it has space in between two words which is not acceptable. o e. cstofdngbsns - Yes does seem like a good variable. But it is completely gibberish and has no meaning. o f. costOfDoingBusinessThisFiscalYear - Yes does seem like a good variable. But it is too long. o g. costYear2012 - Yes does seem like a good variable. It is a descriptive and meaningful name. o h. 2012YearCost - No does not seem like a good variable. Because using digits to start a variable name is not acceptable.

2. If myAge and yourRate are numeric variables, and departmentName is a string variable, which of the following statements are valid assignments? If a statement is not valid, explain why not. o myAge = 23 - Yes it is a valid statement. o myAge = yourRate - Yes it is a valid statement. o myAge = departmentName - No it is not a valid statement. Because they are two different data types. o myAge = “departmentName” - No it is not a valid statement. Because they are two different data types. o 42 = myAge - No it is not a valid statement. Because a constant cannot be equal to a variable. o yourRate = 3.5 - Yes it is a valid statement. o yourRate = myAge - Yes it is a valid statement. o yourRate = departmentName - No it is not a valid statement. Because they are two different data types.

o 6.91 = yourRate - No it is not a valid statement. Because left side of equal sign needs a variable not value. o departmentName = Personnel - No it is not a valid statement. Because the value should be within double quotes. o departmentName = “Personnel” - Yes it is a valid statement. o departmentName = 413 - No it is not a valid statement. Because they are two different data types.

o departmentName = “413” - Yes it is a valid statement. o departmentName = myAge - No it is not a valid statement. Because they are two different data types. o departmentName = yourRate - No it is not a valid statement. Because they are two different data types. o 413 = departmentName - No it is not a valid statement. Because a constant cannot be equal to a variable. o “413” = departmentName - No it is not a valid statement. Because left side of equal sign needs variable not value.

Similar Documents

Premium Essay

It Strategies

...[pic] Blekinge Institute of Technology Ronneby-Sweden School of Management June 2005 Do organizations have IT Strategies? A Study on how organizations describe their IT Strategies. Masters Thesis in Business Administration (FED 006) Author Stephen Rupia Lyabandi Executive Summary Title: Do organizations have IT Strategies? A Study on how organizations describe their IT Strategies. Author: Stephen Rupia Lyabandi Tutor: Anders Hederstierna Problem: The research problem of this study is lack of insight on how organizations describe their IT strategies in relation to other strategies. IT strategy continues to be a major challenge for Information Technology intensive organizations and managers. Over the last two decades, the way researchers on information systems have viewed and analyzed IT strategy in organizational systems has not significantly been modified. Recent studies show that one of the main problems is that the concept of IT strategy has been around for nearly two decades and although many organizations have been using it, the meaning and reference of the idea remains elusive. Those who have attempted to define it have not reached an agreement. Purpose: The purpose of this study is to define the problem and explore whether......

Words: 20248 - Pages: 81

Premium Essay


...professionals with an historical perspective, and possible solutions—for organizations and employees alike—to work/life balance. Three factors—global competition, personal lives/family values, and an aging workforce—present challenges that worsen work/life balance. This article offers the perspective that supervisor and professionals can assist their companies to capitalize on these factors by using work/life initiatives to gain a competitive advantage in the marketplace. Table of Contents Abstract IV CHAPTER 1. INTRODUCTION 1 Summary 1 Introduction to the Problem 1 Background of the Study 4 Statement of the Problem 5 Research Questions 5 Significance of the Study 6 Research Designed and Methodology 6 Organization of the Study 7 CHAPTER 2. LITERATURE REVIEW 8 CHAPTER 3. Is stress a factor in creating an 18 imbalance between work and life? CHAPTER 4. Does the lack of formal job training leads to an 22 imbalance between work and life CHAPTER 5. Does poor job performance creates an 25 imbalance between work...

Words: 9867 - Pages: 40

Premium Essay

Application of Qualitative and Quantitave Techniques of Management

...APPLICATIONS OF QUALITATIVE AND QUANTITATIVE TECHNIQUES OF MANAGEMENT IN ADMINISTRATIVE/ACADEMIC DECISION-MAKING IN INSTITUTIONS OF HIGHER EDUCATION IN VIRGINIA by Carlos A. Valero Dissertation submitted to the Faculty of the Virginia Polytechnic Institute and State University in partial fulfillment of the requirements for the degree of DOCTOR OF EDUCATION in Educational Administration APPROVED: ______________________ Don G. Creamer, Chairman __________________________________ ____________________________ Karl T. Hereford _________________________ Stephen R. Parson January, 1997 Blacksburg, Virginia David J. Parks ____________________ John W. Dickey APPLICATIONS OF QUALITATIVE AND QUANTITATIVE TECHNIQUES OF MANAGEMENT IN ADMINISTRATIVE/ACADEMIC DECISION-MAKING IN INSTITUTIONS OF HIGHER EDUCATION IN VIRGINIA by Carlos A. Valero Educational Administration Don G. Creamer, Chair Abstract The purpose of this study was to examine the status and extent to which administrators of colleges and universities in the state of Virginia apply qualitative and quantitative techniques of management in planning, directing, reporting, and controlling activities for enhancing their administrative and academic decision-making capability. The study was directed to the top and operative organizational levels in two categories of administrators (nonacademic and academic) to determine the types of managerial techniques used, degrees of familiarity with these techniques, frequency......

Words: 49968 - Pages: 200

Free Essay


...RESEARCH NOTE EXHAUSTION FROM INFORMATION SYSTEM CAREER EXPERIENCE: IMPLICATIONS FOR TURN-AWAY INTENTION1 Deborah J. Armstrong Entrepreneurship, Strategy & Information Systems Department, College of Business, Florida State University, 821 Academic Way, Tallahassee, FL 32306-1110 U.S.A. {} Nita G. Brooks Computer Information Systems, Jones College of Business, Middle Tennessee State University, MTSU Box 45, Murfreesboro, TN 37132 U.S.A. {} Cynthia K. Riemenschneider Management Information Systems Department, Hankamer School of Business, Baylor University, 1 Bear Place #98005, Waco, TX 76798-8005 U.S.A. {} 1 While the U.S. economy is recovering slowly, reports tell us that the supply of information systems (IS) professionals is declining and demand is once again on the rise. With organizations challenged in their efforts to hire additional staff, IS professionals are being asked to do even more, often leading to burnout, turnover, and turnaway intentions. Building on Ahuja et al.’s (2007) work on turnover intentions and using the job demands– resources model of burnout as an organizing framework for the antecedents to exhaustion from IS career experience (EISCE), this illustrative research note draws attention to exhaustion in IS professionals that spans an individual’s professional career. Findings indicate that IS professionals’ perceived workload (demand) was associated......

Words: 17039 - Pages: 69

Free Essay

Working Capital

...United States Copyright Act, without the prior written permission of the publisher. This publication is a creative work fully protected by all applicable copyright laws, as well as by misappropriation, trade secret, unfair competition, and other applicable laws. The authors and editors of this work have added value to the underlying factual material herein through one or more of the following: unique and original selection, coordination, expression, arrangement, and classification of the information. For product information and technology assistance, contact us at Gale Customer Support, 1-800-877-4253. For permission to use material from this text or product, submit all requests online at Further permissions questions can be emailed to While every effort has been made to ensure the reliability of the information presented in this publication, Gale, a part of Cengage Learning, does not guarantee the accuracy of the data contained herein. Gale accepts no...

Words: 121839 - Pages: 488

Premium Essay

Situation Analysis of Mobile Internet

...Mobile Internet User Behavior 1 Situation Analysis of Mobile Internet User Behavior of the Six Mobile Operators: A Case in Bangladesh 1 Dr. Md. Mahfuz Ashraf, 2Najmul Hasan, 3Tonmoy Kumar Poddar 1 Director & Assistant Professor, Department of MIS, University of Dhaka 2 Student, Department of MIS, University of Dhaka 3 Student, Department of MIS, University of Dhaka Mobile Internet User Behavior Abstract 2 This study discloses mobile internet user behavior towards telecommunication operators. People in Bangladesh are becoming more familiar in using internet than previous. People in various occupations and income levels are using internet intensively for their occupational purpose and personal purpose as well. There are six mobile operators providing different internet facilities which make easy access to internet to mobile users in Bangladesh. Both primary and secondary data were used and data were collected from respondents by means of a survey method, using self-administered questionnaires distributed to the respondents at the study area irrespective of respondents’ socio-demographic characteristics. Easy access of the operate the internet, Price of the line rent of the internet, Usages of mobile internet in various purposes, advantages of usages, trust of using internet are the major concerns of this investigative study. We explore the implications of these findings and suggest actions to companies for further improvement in this arena. Keywords:......

Words: 5375 - Pages: 22

Free Essay


...Introductory Physics I Elementary Mechanics by Robert G. Brown Duke University Physics Department Durham, NC 27708-0305 Copyright Notice Copyright Robert G. Brown 1993, 2007, 2013 Notice This physics textbook is designed to support my personal teaching activities at Duke University, in particular teaching its Physics 141/142, 151/152, or 161/162 series (Introductory Physics for life science majors, engineers, or potential physics majors, respectively). It is freely available in its entirety in a downloadable PDF form or to be read online at:∼rgb/Class/intro physics 1.php It is also available in an inexpensive (really!) print version via Lulu press here: where readers/users can voluntarily help support or reward the author by purchasing either this paper copy or one of the even more inexpensive electronic copies. By making the book available in these various media at a cost ranging from free to cheap, I enable the text can be used by students all over the world where each student can pay (or not) according to their means. Nevertheless, I am hoping that students who truly find this work useful will purchase a copy through Lulu or a bookseller (when the latter option becomes available), if only to help subsidize me while I continue to write inexpensive textbooks in physics or other subjects. This textbook is organized for ease of presentation and ease of learning. In particular, they......

Words: 224073 - Pages: 897

Premium Essay

Management Accounting

...Technology Books website at for further information Notice No responsibility is assumed by the publisher for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions or ideas contained in the material herein. British Library Cataloguing in Publication Data A catalogue record for this book is available from the British Library Library of Congress Cataloging-in-Publication Data A catalog record for this book is available from the Library of Congress ISBN: 978-0-08-055450-1 (Volume 3) ISBN: 978-0-08-087929-1 (Volumes 1, 2 and 3) For information on all Elsevier publications visit our website at Printed and bound in Hungary 09 10 11 12 13 10 9 8 7 6 5 4 3 2 1 Contributors to Volume 3 Robert H. Chenhall Mark A. Covaleski Antonio Davila Mark W. Dirsmith David A....

Words: 187223 - Pages: 749

Premium Essay

Aau Catalog

...Provost Eric Sharkey, M.Ed., Director of Education Bill Luton, Ph.D., Director of Assessment and Dean of Business Carlo Tannoury, Ph.D. Candidate, Dean of Computer Information Systems Patricia Drown, Ph.D., Dean of Criminal Justice and General Studies C.J. Bishop, M.B.A., Institutional Research Frank Vazquez, Operations Director Parrish Nicholls, J.D., Director of Compliance Lindsay Oglesby, Admissions Director Abby Dolan, B.A., Registrar Sasha Heard, M.B.A., Student Services Manager Barbara Jobin, B.S.B.A., Career Center Manager Hugo Aguilar, B.A., Chief Financial Officer Richard Madrigal, B.A., Financial Aid Officer As a prospective student at Allied American University, you are encouraged to review this catalog prior to signing an enrollment agreement. You are also encouraged to review the student performance fact sheet which must be provided to you prior to signing an enrollment agreement. This catalog is not a contract between the student, AAU, or any party or parties. Reasonable effort was made at the time this document was created to ensure that all policies and provisions of this catalog were correct. AAU reserves the right to make changes and addendums to current policy as required. Students affected by policy changes will be advised by a message in the iBoard learning system. TABLE OF CONTENTS ACCREDITATION AND STATE APPROVAL...

Words: 52297 - Pages: 210

Premium Essay

Myself the American Psychological Association, Inc. 0022-0663/90/$00.7S College Students' Time Management: Correlations With Academic Performance and Stress Therese Hoff Macan University of Missouri-St. Louis Cornila Shahani Hofstra University Robert L. Dipboye and Amanda Peek Phillips Rice University Many college students may find the academic experience very stressful (Swick, 1987). One potential coping strategy frequently offered by university counseling services is time management. One hundred and sixty-five students completed a questionnaire assessing their time management behaviors and attitudes, stress, and self-perceptions of performance and grade point average. The study revealed 2 major findings. The Time Management Behavior Scale consists of 4 relatively independent factors; the most predictive was Perceived Control of Time. Students who perceived control of their time reported significantly greater evaluations of their performance, greaterwork and life satisfaction, less role ambiguity, less role overload, and fewer job-induced and somatic tensions. Findings are consistent with theory and advice on time management (e.g., Schuler, 1979) but also indicate that the dynamics of time management are more complex than previously believed. In trying to read all the books and chapters assigned, meet paper deadlines, and participate in extracurricular activities,......

Words: 7533 - Pages: 31

Premium Essay

Effects of Drugs on Mucus Clearance

...taken with drugs depressing MCC as an undesired side-effect, independently of their therapeutic indication. Since cough clearance (CC) serves as a back-up system when MCC fails, the influence of drugs must be examined not only on MCC but also on CC. Ultimately, the clinical repercussions of alterations in mucus transport induced by drug administration must be studied. Tertiary ammonium compounds (anticholinergics), aspirin, anaesthetic agents and benzodiazepines have been shown to be capable of depressing the mucociliary transport system. Cholinergics, methylxanthines, sodium cromoglycate, hypertonic saline, saline as well as water aerosol have been shown to increase MCC. Adrenergic antagonists, guaifenesin, S-carboxymethylcysteine, sodium 2-mercapto-ethane sulphonate and frusemide have been reported not to alter the mucociliary transport significantly. Amiloride, uridine 5'-triphosphate (UTP), quaternary ammonium compounds...

Words: 15666 - Pages: 63

Premium Essay

Customer Satisfaction

...Customer Satisfaction towards Retailers ICA, ICA NÄRA and COOP FORUM Author: Phuc Hong Lu Ian Grace.B. Lukoma Subject: Master Thesis in Business Administration 15 ECTS Program: Master of International Management Gotland University Spring semester 2011 Supervisor: Ph.D Bo Lennstrand ABSTRACT In the midst of stiff and fierce competition and increased number of grocery retail outlets providing a variety of products, customers have become accustomed to patronizing multiple outlets. Retailers have recognized this trend and are of the view that customer satisfaction plays a role in the success of business strategies. Therefore it has become important for grocery retail stores to try and manage customer satisfaction. This paper was thus developed to investigate the satisfaction levels of customers in supermarkets. Data was collected from three supermarkets in Visby, Gotland. The study examined the importance of overall dimensions and specific elements of customer satisfaction towards the measurement of satisfaction levels. In addition, comparative analysis was conducted between the three relative grocery stores. Customer satisfaction levels were measured. The highest percentage of customers of the whole sample belonged to medium level of satisfaction. The statistical result concluded that customers of ICA Nära and customers of ICA were higher satisfied than those of Coop Forum. The results showed that customers felt satisfied with Location, Staff courtesy and Reliability of......

Words: 16512 - Pages: 67

Free Essay

Economic Nexus in Washington State

...2/5/2012 ECONOMIC NEXUS IN WASHINGTON STATE: DEFINING SUBSTANTIAL NEXUS Armikka R. Bryant* I. INTRODUCTION This Article explores the evolving framework of nexus and examines the constitutional constraints imposed on states’ tax jurisdiction and how states overcome those limitations. In 2010, the Washington State Legislature declared that out-of-state businesses with no physical presence in Washington were earning significant income from Washington residents by providing services or collecting royalties on the use of intangible property in the state.1 The Legislature also determined that, although these out-of-state businesses did not have a physical presence in the state and were not paying their fair share of Washington State taxes, they were nonetheless receiving the following significant benefits provided by the state: • Laws providing protection of business interests or regulating consumer credit; • Access to courts and judicial process to enforce business rights, including debt collection and intellectual property rights; • An orderly and regulated marketplace; and • Police and fire protection and a transportation system benefiting in-state agents and other representatives of out-of-state businesses.2 * Armikka R. Bryant, Tax Policy Counsel, Washington State Department of Revenue; J.D., 2001, The University of Iowa; LL.M. (Taxation), 2004, The University of Washington; B.A., 1997, The University of Michigan; member of Washington State Bar. I......

Words: 13223 - Pages: 53

Free Essay

Artificial Neural Network for Biomedical Purpose

...for the accuracy of information contained in the published articles. The publisher assumes no responsibility for any damage or injury to persons or property arising out of the use of any materials, instructions, methods or ideas contained in the book. Publishing Process Manager Ivana Lorkovic Technical Editor Teodora Smiljanic Cover Designer Martina Sirotic Image Copyright Bruce Rolff, 2010. Used under license from First published March, 2011 Printed in India A free online edition of this book is available at Additional hard copies can be obtained from Artificial Neural Networks - Methodological Advances and Biomedical Applications Edited by Kenji Suzuki p. cm. ISBN 978-953-307-243-2 free online editions of InTech Books and Journals can be found at Contents Preface Part 1...

Words: 43079 - Pages: 173

Premium Essay

Ebook Strategic Planning

... All Rights Reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except under the terms of the Copyright, Designs and Patents Act 1988 or under the terms of a licence issued by the Copyright Licensing Agency, 90 Tottenham Court Road, London, UK W1P 9HE without the permission in writing of the publisher. Other Wiley Editorial Offices John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, USA Wiley-VCH Verlag GmbH, Pappelallee 3, D-69469 Weinheim, Germany John Wiley Australia Ltd, 33 Park Road, Milton, Queensland 4064, Australia John Wiley & Sons (Asia) Pte Ltd, 2 Clementi Loop #02-01. Jin Xing Distripark, Singapore 129809 John Wiley & Sons (Canada) Ltd, 22 Worcester Road, Rexdale, Ontario M9W 1L1, Canada British Library Cataloguing in Publication Data A catalogue record for this book is available from the British Library ISBN 0-470-84147-8 Project management by Originator, Gt Yarmouth (typeset in 10/12pt Times) Printed and bound in Great Britain by Biddles Ltd, Guildford and King’s Lynn This book is printed on acid-free paper responsibly manufactured from sustainable forestry, in which at least two trees are planted for each one used for paper production. Wiley Series in Information Systems CURRENT VOLUMES IN THE SERIES Currie: The Global Information...

Words: 228455 - Pages: 914