Premium Essay

Test1

In:

Submitted By CDSinstructor
Words 282
Pages 2
In this homework, you will design a program to perform the following task:

Criteria

Exceeds

Meets

Does not meet

Design

20 points

(18-20 points) Employs Modularity (including proper use of parameters, use of local variables etc.) most of the time Employs correct & appropriate use of programming structures (loops, conditionals, classes etc.) most of the time Efficient algorithms used most of the time 17 points

(15-17 points) Employs Modularity (including proper use of parameters, use of local variables etc.) some of the time Employs correct & appropriate use of programming structures (loops, conditionals, classes etc.) some of the time Efficient algorithms used some of the time 14 points

(0-14 points) Rarely employs Modularity (including proper use of parameters, use of local variables etc.) Rarely employs correct & appropriate use of programming structures (loops, conditionals, classes etc.) Poorly structured and inefficient algorithms

Functionality

40 points

(36-40 points) Program fulfills all functionality All requirements were fulfilled Extra effort was apparent 35 points

(29-35 points) Program fulfills most functionality Most requirements were fulfilled 28 points

(0-28 points) Program does not fulfill functionality Few requirements were fulfilled

Test

20 points

(18-20 points) Comprehensive test plan 17 points

(15-17 points) Good test plan included 14 points

(0-14 points) No test plan included

Documentation

20 points

(18-20 points) Excellent comments Comprehensive lessons learned Excellent possible improvements included Excellent approach discussion and references 17 points

(15-17 points) Good comments Some lessons learned

Similar Documents

Premium Essay

Test1

...1. What is the supreme law of the land? A: The Constitution 2. What does the Constitution do? A: sets up the government A: defines the government A: protects basic rights of Americans 3. The idea of self-government is in the first three words of the Constitution. What are these words? A: We the People 4. What is an amendment? A: a change (to the Constitution) A: an addition (to the Constitution) 5. What do we call the first ten amendments to the Constitution? A: The Bill of Rights 6. What is one right or freedom from the First Amendment?* A: speech A: religion A: assembly A: press A: petition the government 7. How many amendments does the Constitution have? A: twenty-seven (27) 8. What did the Declaration of Independence do? A: announced our independence (from Great Britain) A: declared our independence (from Great Britain) A: said that the United States is free (from Great Britain) 9. What are two rights in the Declaration of Independence? A: life A: liberty A: pursuit of happiness 10. What is freedom of religion? A: You can practice any religion, or not practice a religion. 11. What is the economic system in the United States?* A: capitalist economy A: market economy 12. What is the "rule of law"? A: Everyone must follow the law. A: Leaders must obey the law. A: Government must obey the law. A: No one is above the law. B. System of Government 13. Name one branch or part of the government.* A: Congress A: legislative A: President A:...

Words: 2497 - Pages: 10

Free Essay

Test1

...You should answer all of the questions listed below as they relate to the financial statements of any U.S. public company of your choice in its latest annual report. You can find the financial statements of any U.S. public company by visiting Morningstar, Yahoo Finance or MSN Money, and using the stock market symbol for your chosen company (which can be looked up on Morningstar, Yahoo Finance or MSN Money). If you work for a U.S. public company, you may want to use the financial statements of your company - but the choice is up to you. It is useful to compare financial ratios for a company with financial ratios of its industry. Industry financial ratios can be found on Morningstar.com, Yahoo Finance and MSN Money. 1) What 3 items of important information does the income statement reveal about the financial performance of the company over the last three years? The income statement shows that HCA is making a profit. Example below Revenue = 36,918,000 Expenses = 25,091,000 profit = 11,827,000 Income statement can also help spot trends and turnarounds when compared to previous periods. It shows that the company has been making a profit the last two years 2) What 3 items of important information does the balance sheet reveal about the financial position of the company over the last two years? Answer shown in excel below 3) Can you identify the major sources of funding used by the company from the information presented in the company's annual report? If not, how...

Words: 595 - Pages: 3

Premium Essay

Test1

...1. How has Islam shaped conceptions of music for the peoples of the Middle East? In the Middle East, Islam is not just a religion; it is a way of life. Islam’s influence spread in the Middle East music conceptions. For example, the Arabic scale is strongly melodic, based around various maqamat or modes. Also, Mann explains that “under the wide rule of Islam, vulgar lyrics and suggestive dancing by women became illegal. Much post-Islamic music is used in ceremonial dance and recreation. (Mann)” In the Middle East, people may hear their songs of praise and prayer. The “World Music: A global Journey, says that “in addition to being suspicious of the sensual aspects of music Islamic aesthetics frowns on realistic representation in art, especially of the human form, to avoid the temptation toward idol worship. But as with sound, it may not always be obvious to outsiders what is considered art and what is not. (Miller 255)” Because, the influence of Islam has had great impact on people related with music, and people used to meditation, trance, and self-flagellation with one’s a higher sense of God while listening music. 2. What is modal improvisation? Is it primarily a compositional or a freely expressive form of performance? According to Henry, modal improvisation is that “a typical modal tune may have only two or three chords, and each may last 8 or even 16 measures. In one sense, modal playing is much easier than playing changes, since it does not require your brain to do as...

Words: 295 - Pages: 2

Free Essay

Test1

...* Dayani Herrera * Week 2 Assignment The Chain of Custody Process Limiting Access to the Evidence * When a piece of evidence is collected, there are numerous individuals who will have access to it before the case goes to trial. The investigator, evidence technician,
property officer, laboratory technician, prosecutor and defense attorney all may have custody. Each individual in this chain has a responsibility for the safe-keeping and preservation of the evidence while it is in their possession.

 Initial Collection * Before any evidence is removed from the crime scene, there should be an evidence custodian designated as the person in charge of initiating and maintaining all evidence. This person needs to document the crime scene location, as well as his time of arrival. There should also be a crime scene log established, witness list and documentation of identification, arrival and departure times of all law enforcement crime scene personnel.

 Record Keeping * The investigator who handles the evidence initially should affix her name, badge number and assignment to the package containing the evidence. When the evidence leaves the officer's possession, a record should be made in her case notes identifying to whom the evidence was given, the date and time, and the reason it was turned over. A signed receipt should be obtained from the person accepting the evidence and another signed receipt should be obtained when the item is returned. When the item...

Words: 667 - Pages: 3

Free Essay

Test1

...Designing Parallel Programs Automatic vs Manuel Parallelization - Very often, manually developing parallel codes is a: Time Consuming Complex Error-prone and Iterative Process - The most commonn type of tool used to automatically parallelize a serial program is a parallelizing compiler or pre-processor. - A parallelizing compiler generally works in two different ways: A. Fully Automatic - The compiler analyzes the source code and identifies opportunities for parallelism. - The analysis includes identifying inhibitors to parallelism and possibly a cost weighting on whether or not the parallelism would actually improve performance. - Loops (do,for) are the most frequent target for automatic parallelization. B. Programmer Directed - Using "compiler directives" or possibly compiler flags, the programmer explicitly tells the compiler how to parallelize the code. - May be able to be used in conjunction with some degree of automatic parallelization also. - The most common compiler generated parallelization is done using on-node shared memory and threads (such as OpenMP). Caveats (warning/caution) that apply to automatic parallelization: 1. Wrong results may be produced. 2. Performance may actually degrade. 3. Much less flexible than manual parallelization. 4. Limited to a subset (mostly loops) of code. 5. May actually not parallelize code if the compiler analysis suggests there are inhibitors or the code is too complex. Understand the...

Words: 1298 - Pages: 6

Free Essay

Test1

...Four types of mandatory parameters: 1. Value: declared without any modifiers 2. Ref: ref modifier 3. Out: out modifier 4. Param: declared with the params modifier REF&OUT: Advantage: method can change multiple variables Disadvantage: they allow multiple methods to have access to the same data Parameter array: Local array declared within the method header by using the keyword params. Only one param keyboard is permitted in a method declaration Week 3 Overloading: Involves using one term to indicate diverse meanings When you overload a c# method, you can write multiple methods with a shared name. The compiler understands your meaning based on the arguments you use with the methods Methods are overloaded correctly when they have the same identifier but difference parameter lists Overloaded only means that you have more than one method signature Ex: DisplayWithBorder (int) and DisplayWithBorder (string) Overload resolution: determines which method to execute when a method call could execute multiple overloaded methods Applicable methods: a set of methods that can accept a call with a specific list of arguments Betterness rules: that determine which method version to call Ambiguous methods: a situation which the compiler cannot tell which method to use. Occurs when you overload a method ex simplemethod (inum, inum); // error! Call is ambiguous Optional parameter: only value params can be given default values. All optional parameters in a list...

Words: 301 - Pages: 2

Premium Essay

Test1

...1. Managerial accounting: A) is more future oriented than financial accounting. B) tends to summarize information more than financial accounting C) is primarily concerned with providing information to external users. D) is more concerned with precision than timeliness. 2. The function of management that compares planned results to actual results is known as: A) planning. B) directing and motivating. C) controlling. D) decision making. 3. Which of the functions of management involves overseeing day-to-day activities? A) Planning B) Directing and motivating C) Controlling D) Decision making 4. Ideally, how many units should be produced in a just-in-time manufacturing system? A) budgeted customer demand for the current week. B) budgeted customer demand for the following week. C) actual customer demand for the current week. D) maximum production capacity for the current week. 5. After careful planning, Jammu Manufacturing Corporation has decided to switch to a just-in-time inventory system. At the beginning of this switch, Jammu has 30 units of product in inventory. Jammu has 2,000 labor hours available in the first month of this switch. These hours could produce 500 units of product. Customer demand for this first month is 400 units. If just-in-time principles are correctly followed, how many units should Jammu plan to produce in the first month of the switch? A) 370 B) 400 C) 430 D) 470 6. Management accounting focuses...

Words: 1225 - Pages: 5

Premium Essay

Test1

...My thoughts about Grandma Mary, the epitome of love. I want to say to you all the things I wish I’d said to my other loved ones who left too soon, before I could make sure to tell them all they meant to me. Grandma Mary, you are one of a kind. Your life is a reminder of the best attributes of the people who built our great country, an example for those who will come after you. You’re a reminder of the virtues that matter, a precious treasure to all who know you. Though you’d be quick to remind me you’re not perfect and have your human faults, it could not diminish all the wonderful things you are. Godly Beautiful Thankful Wise Tender Loving Giving Frugal Fun Good Precious Caring Kind Dignified Polite Unselfish Tough Laughter Commitment Honest Devotion Independent Faithful I wrote this when we were visiting you and I showed it to Tina, I was just trying to list all the fruits of the spirit that you have so consistently demonstrated with your beautiful life. Now I realized I never shared it with you, so here it is… I love you, Grandma. I never really had a Grandma growing up, as my my Mom’s mother died when I was young, and my father’s mother had dementia by the time I was a teenager, and even the childhood years only hold a few memories of her. I was the middle child of eight children, so there was a lot of competition to get attention from adults, and I never imagined having a Grandma like you, who always has a hug and a kiss, along with gentle...

Words: 317 - Pages: 2

Free Essay

Test1

...Test  2     Math  510  Fall  2015   All  work  must  be  competed  on  your  own.     19  Nov  2015     Complete  the  following  work  using  R  Studio  and  submit  the  rmd  file  to  Github.   Name  the  file  TEST2_R.  Make  sure  to  include  comments.     Using  the  abalone  data:     1.   Take  samples  of  1%,  10%,  25%,  50%,  80%,  and  100%  of  the  data.  Calculate   the  min,  max,  mean  and  variance  of  the  Whole_wgt  column  from  each  sample   and  store  in  a  dataframe.  There  should  be  6  columns  and  four  rows  in  the   dataframe  (a  column  for  each  sample  size  and  a  row  for  each  measure).   Name  the  mean  row  SampleMean,  the  other  rows  appropriately,  and  the   columns  based  on  the  %  sample.     2.   Create  a  grid  of  histograms  that  contains  all  sample  sizes.     3.   Implement  a  loop  that  takes  1,000  samples  at  each  of  the  sample  sizes  in  1   above  (except  the  100%  sample!).  Calculate  a  mean  at...

Words: 330 - Pages: 2

Free Essay

It 210 Week 7

...form: student (String), test1 (Integer), test2 (Integer), test3 (Integer) Analysis Processes   1. Display Input student name and test scores screen   2. Prompt for Student name   3. Prompt scores   4. Perform calculations   5. Provide student names, scores and total Input   1. Student Name   2. Test Scores Output   1. Display Student name, scores and total Declare StudentName as string Declare Test1 as integer Declare Test2 as integer Declare Test3 as integer Open “GRADES” For Output As TestScores Set Test1, Test2, Test3 = 0 Write “Enter students name and test scores.” Write “Enter ZZZ for students name when finished.” Input StudentName, Test1, Test2, Test3 While StudentName “ZZZ” Write TestScores, StudentName, Test1, Test2, Test3 Write “Enter students name and test scores.” Write “Enter ZZZ for students name when finished.” Input StudentName, Test1, Test2, Test3 End While Close TestScores 2. Display the contents of the file GRADES created in Problem 1. Each student’s record should appear on a separate line and include the total score (the sum of the three tests) for that student. For example, a line of output might be as follows: R. Abrams 76 84 82 242 Declare Sum as integer Open “GRADES” For Input As TestScores While Not (TestScores) Read TestScores, StudentName, Test1, Test2, Test3 Add Test1 + Test2 + Test3 = Sum ...

Words: 286 - Pages: 2

Free Essay

Letter Grade Flowchart

...Design a program to calculate the numerical and apathetical scores. 3. Test your program with the following data: Student: SJohnson Test1 95 Test2 88 Test 3 73 Solution Page [pic] Code: /** * This program will calculate the average score of three test for a specific student. * The output will be in both numerical and alphabetical form. * * @author Jeannie Ray) * @version (10/02/06) */ import java.util.Scanner; public class GradeCalculator { public static void main (String[] args) { // instance variables - int test1 = 0; int test2 = 0; int test3 = 0; int avgTest = 0; Scanner in = new Scanner (System.in); //allow for user name input System.out.print ("What is your name? "); String input = in.next(); //allow user to input test scores System.out.print ("What is your score on the first test? "); test1 = in.nextInt(); System.out.println("Thank you!"); System.out.println(); System.out.print ("What is your score on the second test? "); test2 = in.nextInt(); System.out.println ("Thank you!"); System.out.println(); System.out.print ("What is your score on the third test?"); test3 = in.nextInt(); System.out.println ("Thank you!"); System.out.println(); //calculate the average score from all three tests avgTest = (test1 + test2 +...

Words: 383 - Pages: 2

Free Essay

Nmq8 Revision Question

...Botho University NMQ8 QUESTION BANK FOR LINUX BOOKS SECTION A QUESTIONS 1. What are the features of Linux OS?(5) 2. What are the advantages of Linux?(3) 3. What is the Kernel and its usage?(3) 4. Discuss the three types of Linux users.(6) 5. Where is the difference between a logical volume and a physical volume?(4) 6. What is RAID and its usage?(6) 7. Which directory contains system settings and configuration files?(2) 8. What are the features of the X-Window System? 9. Where is the difference between a swap partition and a primary partition?(3) 10. Complete the following table of Linux commands. [5] Command | Description | ls | | | Display contents of a file | | Changes the current working directory | vi | | mkswap | | | | 11. A file has the following writes “-r-x-rxr-x” Convert this into a numeric value. (5) 12. What is the output of the following code segment? (5) x=1 while [ x le 30 ] do w=expr 10 \* $x echo “ $x ” x = $((x + 2)) done SECTION B QUESTIONS 1. When you install Linux OS you need to select an appropriate installation method.[10] i. Give one (1) factor that affect or determine the installation method to be selected.[2] ii. State and discuss any five (4) Linux installation methods[8] 2. X Window System consist of various components called sub system. i. Give three sub system of X Window System.[3] ii. State and discuss the three main features of the X...

Words: 431 - Pages: 2

Free Essay

Computer

...Lab 9 worksheet FILE AND PRINT SERVICES |Exercise 9.1 |Installing The File and Print Services Roles | |Overview |In this exercise, you prepare your server to be a print and file server and to provide these services| | |to network users. You will start by installing the roles that implement the advanced file and print | | |tools in Windows Server 2008. | |Completion time |minutes | 1. Advises me that I have reached limit.?.? 2. [pic] |Exercise 9.2 |Creating a Volume Using Share and Storage Management | |Overview |In this exercise you will use create a Volume on your server to store shared files and folders using | | |the new Share and Storage Management console in Windows Server 2008. | |Completion time |15 minutes | 10. Take a screen shot showing the Volumes tab in the Share and Storage Management console, showing the volume you just...

Words: 627 - Pages: 3

Premium Essay

Feature

...The Agilent Advantage Agilent Technologies The World’s Premier Measurement Company When measurement matters, engineers, scientists, researchers, manufacturers, businesses, universities, and government agencies rely on Agilent Technologies’ tools and solutions. From home entertainment to homeland security, from food safety to network reliability, and from communicating wirelessly to discovering the genetic basis of disease, Agilent Technologies provides the measurement capabilities that make our world more productive and a safer, healthier, more enjoyable place to live. Agilent Technologies operates two primary businesses — (1) electronic measurement (EMG) and (2) life sciences and chemical analysis (LSCA) — supported by a central research group, Agilent Laboratories. Our businesses excel in applying measurement technologies to develop products that sense, analyze, display, and communicate data. Agilent Technologies’ 19,000 employees serve customers in more than 110 countries. These customers include many of the world’s leading high-technology firms, which rely on our products and services to increase profitability and competitiveness, from research and development through manufacturing, installation, and maintenance. We enable our customers to speed their time to market and achieve volume production and high-quality precision manufacturing. In fiscal year 2006, Agilent Technologies had net revenue of $5 billion. More than half of this revenue was generated from outside...

Words: 2239 - Pages: 9

Free Essay

Analytics

...Requirements for Project. A company produces three types of switches – S1, S2, and S3 – and supplies them to a retailer. It is contractually obligated to meet the demands of the retailer for each type of switch. Because of limited capacity the company may not have sufficient machining, assembly, and finishing time available to satisfy the entire demand in each period through in-house production alone. Contractual obligation requires the company to make up the shortfall in production by procuring it from an external supplier at higher costs. The company aims to meet the retailer’s demands at minimum cost. LP Formulation: Task 1: Formulate a linear programming (LP) model that may be solved to identify the optimal production and procurement plan for the company in each time period. | Specifically, you must define the decision variables, objective function, and constraints in your LP model using the following parameters: In each time period, for each product i∈(1, 2, 3): * Di is the demand (number of units required) for product i. * CiP is the cost (in dollars) for producing each unit of product i. * CiS is the cost (in dollars) for procuring each unit of product i from the external supplier. * tim is the machining time (in minutes) required to produce each unit of product i. * tia is the assembly time (in minutes) required to produce each unit of product i. * tif is the finishing time (in minutes) required to produce each unit of product...

Words: 950 - Pages: 4